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) 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 then else fi  uall: [x:A]. B[x] all: x:A. B[x] exists: x:A. B[x] iff: ⇐⇒ Q squash: T and: P ∧ Q apply: a function: x:A ─→ B[x] universe: Type equal: t ∈ T bag: bag(T)
Lemmas :  classrel_wf State-loc-comb_wf member-eclass_wf bool_wf eqtt_to_assert squash_wf exists_wf Memory-loc-class_wf es-loc_wf event-ordering+_subtype eqff_to_assert equal_wf bool_cases_sqequal subtype_base_sq bool_subtype_base assert-bnot es-E_wf event-ordering+_wf eclass_wf Id_wf bag_wf State-loc-comb-classrel-non-loc State-comb-classrel-mem2 bool_cases Memory-classrel-loc assert_of_bnot Memory-class_wf

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: 2015_07_22-PM-00_23_30
Last ObjectModification: 2015_01_28-AM-10_12_22

Home Index