Nuprl Lemma : pv11_p1_scout_state_fun_eq

∀[Cmd:ValueAllType]. ∀[f:pv11_p1_headers_type{i:l}(Cmd)]. ∀[es:EO+(Message(f))]. ∀[e:E]. ∀[bnum:pv11_p1_Ballot_Num()].
∀[accpts:bag(Id)].
  (pv11_p1_ScoutStateFun(Cmd;accpts;f;bnum;es;e)
  = if e ∈b pv11_p1_p1b'base(Cmd;f)
      then if first(e)
           then pv11_p1_on_p1b(Cmd) bnum loc(e) pv11_p1_p1b'base(Cmd;f)@e pv11_p1_init_scout(Cmd;accpts)
           else pv11_p1_on_p1b(Cmd) bnum loc(e) pv11_p1_p1b'base(Cmd;f)@e 
                pv11_p1_ScoutStateFun(Cmd;accpts;f;bnum;es;pred(e))
           fi 
    if first(e) then pv11_p1_init_scout(Cmd;accpts)
    else pv11_p1_ScoutStateFun(Cmd;accpts;f;bnum;es;pred(e))
    fi 
  ∈ (bag(Id) × ((pv11_p1_Ballot_Num() × ℤ × Cmd) List)))


Proof




Definitions occuring in Statement :  pv11_p1_ScoutStateFun: pv11_p1_ScoutStateFun(Cmd;accpts;mf;x;es;e),  pv11_p1_on_p1b: pv11_p1_on_p1b(Cmd),  pv11_p1_init_scout: pv11_p1_init_scout(Cmd;accpts),  pv11_p1_p1b'base: pv11_p1_p1b'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: T List,  vatype: ValueAllType,  ifthenelse: if b then t else f fi ,  uall: ∀[x:A]. B[x],  apply: f a,  product: x:A × B[x],  int: ℤ,  equal: s = t ∈ T,  bag: bag(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 ⊆r B,  prop: ℙ,  so_apply: x[s],  iff: P ⇐⇒ Q,  implies: P ⇒ Q,  listp: A List+,  name: Name,  pv11_p1_headers: pv11_p1_headers(),  rev_implies: P ⇐ Q,  guard: {T},  or: P ∨ Q,  uimplies: b 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 b then t else f fi ,  atom-deq: AtomDeq,  eq_atom: x =a y,  bfalse: ff,  btrue: tt,  nil: [],  it: ⋅,  null: null(as),  pv11_p1_ScoutStateFun: pv11_p1_ScoutStateFun(Cmd;accpts;mf;x;es;e),  pv11_p1_ScoutState: pv11_p1_ScoutState(Cmd;accpts;mf),  pv11_p1_p1b'base: pv11_p1_p1b'base(Cmd;mf),  encodes-msg-type: hdr encodes T,  bool: 𝔹,  unit: Unit,  uiff: uiff(P;Q),  exists: ∃x:A. B[x],  sq_type: SQType(T),  bnot: ¬bb,  assert: ↑b,  false: False,  state-class1: state-class1(init;tr;X),  top: Top,  le: A ≤ B,  less_than': less_than'(a;b),  not: ¬A

Latex:
\mforall{}[Cmd:ValueAllType].  \mforall{}[f:pv11\_p1\_headers\_type\{i:l\}(Cmd)].  \mforall{}[es:EO+(Message(f))].  \mforall{}[e:E].
\mforall{}[bnum:pv11\_p1\_Ballot\_Num()].  \mforall{}[accpts:bag(Id)].
    (pv11\_p1\_ScoutStateFun(Cmd;accpts;f;bnum;es;e)
    =  if  e  \mmember{}\msubb{}  pv11\_p1\_p1b'base(Cmd;f)
            then  if  first(e)
                      then  pv11\_p1\_on\_p1b(Cmd)  bnum  loc(e)  pv11\_p1\_p1b'base(Cmd;f)@e 
                                pv11\_p1\_init\_scout(Cmd;accpts)
                      else  pv11\_p1\_on\_p1b(Cmd)  bnum  loc(e)  pv11\_p1\_p1b'base(Cmd;f)@e 
                                pv11\_p1\_ScoutStateFun(Cmd;accpts;f;bnum;es;pred(e))
                      fi 
        if  first(e)  then  pv11\_p1\_init\_scout(Cmd;accpts)
        else  pv11\_p1\_ScoutStateFun(Cmd;accpts;f;bnum;es;pred(e))
        fi  )



Date html generated: 2016_05_17-PM-03_42_17
Last ObjectModification: 2015_12_29-PM-11_17_49

Theory : paxos!synod


Home Index