Nuprl Lemma : pv11_p1-p2b
∀[Cmd:{T:Type| valueall-type(T)} ]. ∀[accpts,ldrs:bag(Id)]. ∀[ldrs_uid:Id ⟶ ℤ]. ∀[reps:bag(Id)].
∀[mf:pv11_p1_headers_type{i:l}(Cmd)]. ∀[es:EO+(Message(mf))]. ∀[e:E]. ∀[d:ℤ]. ∀[i:Id]. ∀[auth:𝔹]. ∀[i1:Id].
∀[p:pv11_p1_Ballot_Num()]. ∀[k:ℤ]. ∀[p1:pv11_p1_Ballot_Num()].
  (<d, i, mk-msg(auth;``pv11_p1 p2b``;<i1, p, k, p1>)> ∈ pv11_p1_main(Cmd;accpts;ldrs;ldrs_uid;reps;mf)(e)
  ⇐⇒ loc(e) ↓∈ accpts
      ∧ ((header(e) = ``pv11_p1 p2a`` ∈ Name) ∧ has-es-info-type(es;e;mf;Id × pv11_p1_Ballot_Num() × ℤ × Cmd))
      ∧ (d = 0 ∈ ℤ)
      ∧ (i = (fst(msgval(e))) ∈ Id)
      ∧ auth = pv11_p1_init_active()
      ∧ (i1 = loc(e) ∈ Id)
      ∧ (p = (fst(snd(msgval(e)))) ∈ pv11_p1_Ballot_Num())
      ∧ (k = (fst(snd(snd(msgval(e))))) ∈ ℤ)
      ∧ (p1 = (fst(pv11_p1_AcceptorStateFun(Cmd;ldrs_uid;mf;es;e))) ∈ pv11_p1_Ballot_Num()))
Proof
Definitions occuring in Statement : 
pv11_p1_main: pv11_p1_main(Cmd;accpts;ldrs;ldrs_uid;reps;mf), 
pv11_p1_AcceptorStateFun: pv11_p1_AcceptorStateFun(Cmd;ldrs_uid;mf;es;e), 
pv11_p1_init_active: pv11_p1_init_active(), 
pv11_p1_headers_type: pv11_p1_headers_type{i:l}(Cmd), 
pv11_p1_Ballot_Num: pv11_p1_Ballot_Num(), 
msg-interface: Interface, 
mk-msg: mk-msg(auth;hdr;val), 
es-info-body: msgval(e), 
has-es-info-type: has-es-info-type(es;e;f;T), 
es-header: header(e), 
Message: Message(f), 
classrel: v ∈ X(e), 
event-ordering+: EO+(Info), 
es-loc: loc(e), 
es-E: E, 
Id: Id, 
name: Name, 
cons: [a / b], 
nil: [], 
valueall-type: valueall-type(T), 
bool: 𝔹, 
uall: ∀[x:A]. B[x], 
pi1: fst(t), 
pi2: snd(t), 
iff: P ⇐⇒ Q, 
and: P ∧ Q, 
set: {x:A| B[x]} , 
function: x:A ⟶ B[x], 
pair: <a, b>, 
product: x:A × B[x], 
natural_number: $n, 
int: ℤ, 
token: "$token", 
universe: Type, 
equal: s = t ∈ T, 
bag-member: x ↓∈ bs, 
bag: bag(T)
Definitions unfolded in proof : 
uall: ∀[x:A]. B[x], 
member: t ∈ T, 
pv11_p1_headers_type: pv11_p1_headers_type{i:l}(Cmd), 
subtype_rel: A ⊆r B, 
listp: A List+, 
name: Name, 
prop: ℙ, 
and: P ∧ Q, 
implies: P ⇒ Q, 
sq_stable: SqStable(P), 
l_all: (∀x∈L.P[x]), 
all: ∀x:A. B[x], 
so_lambda: λ2x.t[x], 
vatype: ValueAllType, 
so_apply: x[s], 
iff: P ⇐⇒ Q, 
int_seg: {i..j-}, 
lelt: i ≤ j < k, 
le: A ≤ B, 
less_than': less_than'(a;b), 
false: False, 
not: ¬A, 
less_than: a < b, 
squash: ↓T, 
length: ||as||, 
list_ind: list_ind, 
pv11_p1_headers: pv11_p1_headers(), 
cons: [a / b], 
nil: [], 
it: ⋅, 
true: True, 
select: L[n], 
subtract: n - m, 
uimplies: b supposing a, 
guard: {T}, 
rev_implies: P ⇐ Q, 
pv11_p1_headers_fun: pv11_p1_headers_fun(Cmd), 
name_eq: name_eq(x;y), 
name-deq: NameDeq, 
list-deq: list-deq(eq), 
band: p ∧b q, 
ifthenelse: if b then t else f fi , 
atom-deq: AtomDeq, 
eq_atom: x =a y, 
bfalse: ff, 
btrue: tt, 
null: null(as), 
bag-member: x ↓∈ bs, 
has-es-info-type: has-es-info-type(es;e;f;T), 
make-msg-interface: make-msg-interface(i;l;m), 
classrel: v ∈ X(e), 
pi1: fst(t), 
pi2: snd(t), 
top: Top, 
cand: A c∧ B, 
nat: ℕ, 
or: P ∨ Q, 
exists: ∃x:A. B[x], 
pv11_p1_headers_no_rep: pv11_p1_headers_no_rep(), 
no_repeats: no_repeats(T;l), 
ge: i ≥ j , 
satisfiable_int_formula: satisfiable_int_formula(fmla), 
pv11_p1_init_active: pv11_p1_init_active(), 
uiff: uiff(P;Q), 
assert: ↑b
Latex:
\mforall{}[Cmd:\{T:Type|  valueall-type(T)\}  ].  \mforall{}[accpts,ldrs:bag(Id)].  \mforall{}[ldrs$_{uid}$:Id  {}\mrightarrow{}\000C  \mBbbZ{}].  \mforall{}[reps:bag(Id)].
\mforall{}[mf:pv11\_p1\_headers\_type\{i:l\}(Cmd)].  \mforall{}[es:EO+(Message(mf))].  \mforall{}[e:E].  \mforall{}[d:\mBbbZ{}].  \mforall{}[i:Id].  \mforall{}[auth:\mBbbB{}].
\mforall{}[i1:Id].  \mforall{}[p:pv11\_p1\_Ballot\_Num()].  \mforall{}[k:\mBbbZ{}].  \mforall{}[p1:pv11\_p1\_Ballot\_Num()].
    (<d,  i,  mk-msg(auth;``pv11\_p1  p2b``;<i1,  p,  k,  p1>)>  \mmember{}  pv11\_p1\_main(Cmd;accpts;ldrs;ldrs$_\000C{uid}$;reps;mf)(e)
    \mLeftarrow{}{}\mRightarrow{}  loc(e)  \mdownarrow{}\mmember{}  accpts
            \mwedge{}  ((header(e)  =  ``pv11\_p1  p2a``)
                \mwedge{}  has-es-info-type(es;e;mf;Id  \mtimes{}  pv11\_p1\_Ballot\_Num()  \mtimes{}  \mBbbZ{}  \mtimes{}  Cmd))
            \mwedge{}  (d  =  0)
            \mwedge{}  (i  =  (fst(msgval(e))))
            \mwedge{}  auth  =  pv11\_p1\_init\_active()
            \mwedge{}  (i1  =  loc(e))
            \mwedge{}  (p  =  (fst(snd(msgval(e)))))
            \mwedge{}  (k  =  (fst(snd(snd(msgval(e))))))
            \mwedge{}  (p1  =  (fst(pv11\_p1\_AcceptorStateFun(Cmd;ldrs$_{uid}$;mf;es;e)))))
Date html generated:
2016_05_17-PM-03_10_26
Last ObjectModification:
2016_04_03-PM-09_39_12
Theory : paxos!synod
Home
Index