Nuprl Lemma : loop-class-state-fun-eq

[Info,B:Type]. ∀[init:Id ⟶ bag(B)]. ∀[X:EClass(B ⟶ B)]. ∀[es:EO+(Info)]. ∀[e:E].
  (loop-class-state(X;init)(e)
     if e ∈b then if first(e) then X@e sv-bag-only(init loc(e)) else X@e loop-class-state(X;init)(pred(e)) fi 
       if first(e) then sv-bag-only(init loc(e))
       else loop-class-state(X;init)(pred(e))
       fi 
     ∈ B) supposing 
     ((∀l:Id. single-valued-bag(init l;B)) and 
     single-valued-classrel(es;X;B ⟶ B) and 
     (∀l:Id. (1 ≤ #(init l))))


Proof




Definitions occuring in Statement :  loop-class-state: loop-class-state(X;init) classfun-res: X@e classfun: X(e) single-valued-classrel: single-valued-classrel(es;X;T) member-eclass: e ∈b X eclass: EClass(A[eo; e]) event-ordering+: EO+(Info) es-first: first(e) es-pred: pred(e) es-loc: loc(e) es-E: E Id: Id ifthenelse: if then else fi  uimplies: supposing a uall: [x:A]. B[x] le: A ≤ B all: x:A. B[x] apply: a function: x:A ⟶ B[x] natural_number: $n universe: Type equal: t ∈ T sv-bag-only: sv-bag-only(b) single-valued-bag: single-valued-bag(b;T) bag-size: #(bs) bag: bag(T)
Definitions unfolded in proof :  uall: [x:A]. B[x] member: t ∈ T uimplies: supposing a all: x:A. B[x] implies:  Q bool: 𝔹 unit: Unit it: btrue: tt uiff: uiff(P;Q) and: P ∧ Q ifthenelse: if then else fi  subtype_rel: A ⊆B bfalse: ff exists: x:A. B[x] prop: or: P ∨ Q sq_type: SQType(T) guard: {T} bnot: ¬bb assert: b false: False so_lambda: λ2x.t[x] so_apply: x[s] nat: so_lambda: λ2y.t[x; y] so_apply: x[s1;s2] loop-class-state: loop-class-state(X;init) eclass-cond: eclass-cond(X;Y) classfun: X(e) eclass3: eclass3(X;Y) class-ap: X(e) top: Top eclass: EClass(A[eo; e]) iff: ⇐⇒ Q decidable: Dec(P) le: A ≤ B satisfiable_int_formula: satisfiable_int_formula(fmla) not: ¬A rev_implies:  Q classfun-res: X@e squash: T true: True

Latex:
\mforall{}[Info,B:Type].  \mforall{}[init:Id  {}\mrightarrow{}  bag(B)].  \mforall{}[X:EClass(B  {}\mrightarrow{}  B)].  \mforall{}[es:EO+(Info)].  \mforall{}[e:E].
    (loop-class-state(X;init)(e)
          =  if  e  \mmember{}\msubb{}  X
                  then  if  first(e)
                            then  X@e  sv-bag-only(init  loc(e))
                            else  X@e  loop-class-state(X;init)(pred(e))
                            fi 
              if  first(e)  then  sv-bag-only(init  loc(e))
              else  loop-class-state(X;init)(pred(e))
              fi  )  supposing 
          ((\mforall{}l:Id.  single-valued-bag(init  l;B))  and 
          single-valued-classrel(es;X;B  {}\mrightarrow{}  B)  and 
          (\mforall{}l:Id.  (1  \mleq{}  \#(init  l))))



Date html generated: 2016_05_16-PM-11_36_38
Last ObjectModification: 2016_01_17-PM-07_15_45

Theory : event-ordering


Home Index