Nuprl Lemma : pv11_p1_acc_state_fun_eq2

[Cmd:ValueAllType]. ∀[f:pv11_p1_headers_type{i:l}(Cmd)]. ∀[es:EO+(Message(f))]. ∀[e:E]. ∀[ldrs_uid:Id ⟶ ℤ].
  (pv11_p1_AcceptorStateFun(Cmd;ldrs_uid;f;es;e)
  if e ∈b pv11_p1_p1a'base(Cmd;f)
      then if first(e)
           then pv11_p1_on_p1a(Cmd;ldrs_uid) loc(e) pv11_p1_p1a'base(Cmd;f)@e pv11_p1_init_acceptor(Cmd)
           else pv11_p1_on_p1a(Cmd;ldrs_uid) loc(e) pv11_p1_p1a'base(Cmd;f)@e 
                pv11_p1_AcceptorStateFun(Cmd;ldrs_uid;f;es;pred(e))
           fi 
    if e ∈b pv11_p1_p2a'base(Cmd;f)
      then if first(e)
           then pv11_p1_on_p2a(Cmd;ldrs_uid) loc(e) pv11_p1_p2a'base(Cmd;f)@e pv11_p1_init_acceptor(Cmd)
           else pv11_p1_on_p2a(Cmd;ldrs_uid) loc(e) pv11_p1_p2a'base(Cmd;f)@e 
                pv11_p1_AcceptorStateFun(Cmd;ldrs_uid;f;es;pred(e))
           fi 
    if first(e) then pv11_p1_init_acceptor(Cmd)
    else pv11_p1_AcceptorStateFun(Cmd;ldrs_uid;f;es;pred(e))
    fi 
  ∈ (pv11_p1_Ballot_Num() × ((pv11_p1_Ballot_Num() × ℤ × Cmd) List)))


Proof




Definitions occuring in Statement :  pv11_p1_AcceptorStateFun: pv11_p1_AcceptorStateFun(Cmd;ldrs_uid;mf;es;e) pv11_p1_on_p2a: pv11_p1_on_p2a(Cmd;ldrs_uid) pv11_p1_on_p1a: pv11_p1_on_p1a(Cmd;ldrs_uid) pv11_p1_init_acceptor: pv11_p1_init_acceptor(Cmd) pv11_p1_p2a'base: pv11_p1_p2a'base(Cmd;mf) pv11_p1_p1a'base: pv11_p1_p1a'base(Cmd;mf) pv11_p1_headers_type: pv11_p1_headers_type{i:l}(Cmd) pv11_p1_Ballot_Num: pv11_p1_Ballot_Num() Message: Message(f) classfun-res: X@e member-eclass: e ∈b X event-ordering+: EO+(Info) es-first: first(e) es-pred: pred(e) es-loc: loc(e) es-E: E Id: Id list: List vatype: ValueAllType ifthenelse: if then else fi  uall: [x:A]. B[x] apply: a function: x:A ⟶ B[x] product: x:A × B[x] int: equal: t ∈ T
Definitions unfolded in proof :  vatype: ValueAllType uall: [x:A]. B[x] pv11_p1_headers_type: pv11_p1_headers_type{i:l}(Cmd) l_all: (∀x∈L.P[x]) all: x:A. B[x] and: P ∧ Q member: t ∈ T so_lambda: λ2x.t[x] subtype_rel: A ⊆B prop: so_apply: x[s] iff: ⇐⇒ Q implies:  Q listp: List+ name: Name pv11_p1_headers: pv11_p1_headers() rev_implies:  Q guard: {T} or: P ∨ Q uimplies: supposing a pv11_p1_headers_fun: pv11_p1_headers_fun(Cmd) name_eq: name_eq(x;y) name-deq: NameDeq list-deq: list-deq(eq) list_ind: list_ind cons: [a b] band: p ∧b q ifthenelse: if then else fi  atom-deq: AtomDeq eq_atom: =a y bfalse: ff btrue: tt nil: [] it: null: null(as) pv11_p1_AcceptorStateFun: pv11_p1_AcceptorStateFun(Cmd;ldrs_uid;mf;es;e) pv11_p1_AcceptorState: pv11_p1_AcceptorState(Cmd;ldrs_uid;mf) pv11_p1_p2a'base: pv11_p1_p2a'base(Cmd;mf) encodes-msg-type: hdr encodes T pv11_p1_p1a'base: pv11_p1_p1a'base(Cmd;mf) not: ¬A uiff: uiff(P;Q) bnot: ¬bb assert: b true: True bool: 𝔹 unit: Unit exists: x:A. B[x] sq_type: SQType(T) false: False

Latex:
\mforall{}[Cmd:ValueAllType].  \mforall{}[f:pv11\_p1\_headers\_type\{i:l\}(Cmd)].  \mforall{}[es:EO+(Message(f))].  \mforall{}[e:E].
\mforall{}[ldrs$_{uid}$:Id  {}\mrightarrow{}  \mBbbZ{}].
    (pv11\_p1\_AcceptorStateFun(Cmd;ldrs$_{uid}$;f;es;e)
    =  if  e  \mmember{}\msubb{}  pv11\_p1\_p1a'base(Cmd;f)
            then  if  first(e)
                      then  pv11\_p1\_on\_p1a(Cmd;ldrs$_{uid}$)  loc(e)  pv11\_p1\_p1a'base(Cmd;f)@\000Ce 
                                pv11\_p1\_init\_acceptor(Cmd)
                      else  pv11\_p1\_on\_p1a(Cmd;ldrs$_{uid}$)  loc(e)  pv11\_p1\_p1a'base(Cmd;f)@\000Ce 
                                pv11\_p1\_AcceptorStateFun(Cmd;ldrs$_{uid}$;f;es;pred(e))
                      fi 
        if  e  \mmember{}\msubb{}  pv11\_p1\_p2a'base(Cmd;f)
            then  if  first(e)
                      then  pv11\_p1\_on\_p2a(Cmd;ldrs$_{uid}$)  loc(e)  pv11\_p1\_p2a'base(Cmd;f)@\000Ce 
                                pv11\_p1\_init\_acceptor(Cmd)
                      else  pv11\_p1\_on\_p2a(Cmd;ldrs$_{uid}$)  loc(e)  pv11\_p1\_p2a'base(Cmd;f)@\000Ce 
                                pv11\_p1\_AcceptorStateFun(Cmd;ldrs$_{uid}$;f;es;pred(e))
                      fi 
        if  first(e)  then  pv11\_p1\_init\_acceptor(Cmd)
        else  pv11\_p1\_AcceptorStateFun(Cmd;ldrs$_{uid}$;f;es;pred(e))
        fi  )



Date html generated: 2016_05_17-PM-03_33_50
Last ObjectModification: 2015_12_29-PM-11_19_17

Theory : paxos!synod


Home Index