Nuprl Lemma : pv11_p1_add_if_new_iff2

A:Type. ∀p,x:A. ∀L:A List. ∀test:A ⟶ A ⟶ 𝔹.
  ((p ∈ pv11_p1_add_if_new() test L) ⇐⇒ (p ∈ L) ∨ if (∃z∈L.test z)_b then False else x ∈ fi )


Proof




Definitions occuring in Statement :  pv11_p1_add_if_new: pv11_p1_add_if_new() bl-exists: (∃x∈L.P[x])_b l_member: (x ∈ l) list: List ifthenelse: if then else fi  bool: 𝔹 all: x:A. B[x] iff: ⇐⇒ Q or: P ∨ Q false: False apply: a function: x:A ⟶ B[x] universe: Type equal: t ∈ T
Definitions unfolded in proof :  all: x:A. B[x] iff: ⇐⇒ Q and: P ∧ Q implies:  Q member: t ∈ T prop: uall: [x:A]. B[x] subtype_rel: A ⊆B rev_implies:  Q so_lambda: λ2x.t[x] so_apply: x[s] pv11_p1_add_if_new: pv11_p1_add_if_new() or: P ∨ Q uimplies: supposing a sq_type: SQType(T) guard: {T} uiff: uiff(P;Q) ifthenelse: if then else fi  btrue: tt not: ¬A bfalse: ff bool: 𝔹 unit: Unit it: false: False exists: x:A. B[x] bnot: ¬bb assert: b

Latex:
\mforall{}A:Type.  \mforall{}p,x:A.  \mforall{}L:A  List.  \mforall{}test:A  {}\mrightarrow{}  A  {}\mrightarrow{}  \mBbbB{}.
    ((p  \mmember{}  pv11\_p1\_add\_if\_new()  test  x  L)  \mLeftarrow{}{}\mRightarrow{}  (p  \mmember{}  L)  \mvee{}  if  (\mexists{}z\mmember{}L.test  x  z)\_b  then  False  else  p  =  x  fi  )



Date html generated: 2016_05_17-PM-03_16_28
Last ObjectModification: 2015_12_29-PM-11_20_54

Theory : paxos!synod


Home Index