Nuprl Lemma : State-loc-comb-classrel-mem2

∀[Info,B,A:Type]. ∀[f:Id ⟶ A ⟶ B ⟶ B]. ∀[init:Id ⟶ bag(B)].
  ∀X:EClass(A). ∀es:EO+(Info). ∀e:E.
    ∀[v:B]
      (v ∈ State-loc-comb(init;f;X)(e)
      ⇐⇒ if e ∈b X
          then ↓∃w:B. ∃a:A. (w ∈ Memory-loc-class(f;init;X)(e) ∧ (v = (f loc(e) a w) ∈ B) ∧ a ∈ X(e))
          else v ∈ Memory-loc-class(f;init;X)(e)
          fi )


Proof




Definitions occuring in Statement :  State-loc-comb: State-loc-comb(init;f;X),  Memory-loc-class: Memory-loc-class(f;init;X),  classrel: v ∈ X(e),  member-eclass: e ∈b X,  eclass: EClass(A[eo; e]),  event-ordering+: EO+(Info),  es-loc: loc(e),  es-E: E,  Id: Id,  ifthenelse: if b then t else f fi ,  uall: ∀[x:A]. B[x],  all: ∀x:A. B[x],  exists: ∃x:A. B[x],  iff: P ⇐⇒ Q,  squash: ↓T,  and: P ∧ Q,  apply: f a,  function: x:A ⟶ B[x],  universe: Type,  equal: s = t ∈ T,  bag: bag(T)
Definitions unfolded in proof :  iff: P ⇐⇒ Q,  and: P ∧ Q,  implies: P ⇒ Q,  member: t ∈ T,  prop: ℙ,  uall: ∀[x:A]. B[x],  rev_implies: P ⇐ Q,  all: ∀x:A. B[x],  bool: 𝔹,  unit: Unit,  it: ⋅,  btrue: tt,  ifthenelse: if b then t else f fi ,  uiff: uiff(P;Q),  uimplies: b supposing a,  so_lambda: λ2x.t[x],  subtype_rel: A ⊆r B,  so_apply: x[s],  bfalse: ff,  exists: ∃x:A. B[x],  or: P ∨ Q,  sq_type: SQType(T),  guard: {T},  bnot: ¬bb,  assert: ↑b,  false: False,  so_lambda: λ2x y.t[x; y],  so_apply: x[s1;s2],  squash: ↓T,  classrel: v ∈ X(e),  bag-member: x ↓∈ bs,  cand: A c∧ B,  rev_uimplies: rev_uimplies(P;Q),  not: ¬A

Latex:
\mforall{}[Info,B,A:Type].  \mforall{}[f:Id  {}\mrightarrow{}  A  {}\mrightarrow{}  B  {}\mrightarrow{}  B].  \mforall{}[init:Id  {}\mrightarrow{}  bag(B)].
    \mforall{}X:EClass(A).  \mforall{}es:EO+(Info).  \mforall{}e:E.
        \mforall{}[v:B]
            (v  \mmember{}  State-loc-comb(init;f;X)(e)
            \mLeftarrow{}{}\mRightarrow{}  if  e  \mmember{}\msubb{}  X
                    then  \mdownarrow{}\mexists{}w:B.  \mexists{}a:A.  (w  \mmember{}  Memory-loc-class(f;init;X)(e)  \mwedge{}  (v  =  (f  loc(e)  a  w))  \mwedge{}  a  \mmember{}  X(e))
                    else  v  \mmember{}  Memory-loc-class(f;init;X)(e)
                    fi  )



Date html generated: 2016_05_17-AM-10_01_46
Last ObjectModification: 2016_01_17-PM-11_05_36

Theory : classrel!lemmas


Home Index