Nuprl Lemma : new_23_sig_progress-step8-v3

[Cmd:ValueAllType]. ∀[eq:EqDecider(Cmd)]. ∀[reps,clients:bag(Id)]. ∀[coeff:{2...}]. ∀[flrs:ℕ].
[propose,notify:Atom List]. ∀[slots:set-sig{i:l}(ℤ)]. ∀[f:new_23_sig_headers_type{i:l}(Cmd;notify;propose)].
[es:EO+(Message(f))]. ∀[e:E]. ∀[n:ℤ]. ∀[c:Cmd]. ∀[faulty:bag(Id)].
  (msgs-interface-delivered-with-omissions(f;es;new_23_sig_main();faulty;flrs;reps)
   bag-no-repeats(Id;reps)
   (#(reps) ((coeff flrs) flrs 1) ∈ ℤ)
   loc(e) ↓∈ reps
   loc(e) ↓∈ faulty)
   <n, c> ∈ new_23_sig_Proposal(Cmd;notify;propose;f)(e)
   (¬↑(set-sig-member(slots) new_23_sig_ReplicaStateFun(Cmd;notify;propose;slots;f;es;e)))
   (↓∃e':E
        (b_all(Id;[x∈reps|
                   ¬bbag-deq-member(IdDeq;x;faulty)];i.(i
                                                         ∈ mapfilter(λe.(snd(msgval(e)));
                                                                     λe....;
                                                                     [e, e'])))
        ∧ (((coeff flrs) 1) ≤ ||mapfilter(λe.<snd(msgval(e)), e, snd(fst(msgval(e)))>;
                                              λe.new_23_sig_vote_with_ballot(Cmd;notify;propose;f;es;e;n;0);
                                              [e, e'])||))))


Proof




Definitions occuring in Statement :  new_23_sig_vote_with_ballot: new_23_sig_vote_with_ballot(Cmd;notify;propose;f;es;e;n;r) new_23_sig_main: new_23_sig_main() new_23_sig_ReplicaStateFun: new_23_sig_ReplicaStateFun(Cmd;notify;propose;slots;f;es;e) new_23_sig_Proposal: new_23_sig_Proposal(Cmd;notify;propose;f) new_23_sig_headers_type: new_23_sig_headers_type{i:l}(Cmd;notify;propose) set-sig-member: set-sig-member(s) set-sig: set-sig{i:l}(Item) msgs-interface-delivered-with-omissions: msgs-interface-delivered-with-omissions(f;es;X;faulty;failures;ids) es-info-body: msgval(e) Message: Message(f) classrel: v ∈ X(e) event-ordering+: EO+(Info) es-interval: [e, e'] es-loc: loc(e) es-E: E id-deq: IdDeq Id: Id mapfilter: mapfilter(f;P;L) l_member: (x ∈ l) length: ||as|| list: List deq: EqDecider(T) int_upper: {i...} nat: vatype: ValueAllType bnot: ¬bb assert: b uall: [x:A]. B[x] pi1: fst(t) pi2: snd(t) le: A ≤ B exists: x:A. B[x] not: ¬A squash: T implies:  Q and: P ∧ Q apply: a lambda: λx.A[x] pair: <a, b> product: x:A × B[x] multiply: m add: m natural_number: $n int: atom: Atom equal: t ∈ T bag-deq-member: bag-deq-member(eq;x;b) b_all: b_all(T;b;x.P[x]) bag-member: x ↓∈ bs bag-no-repeats: bag-no-repeats(T;bs) bag-size: #(bs) bag-filter: [x∈b|p[x]] bag: bag(T)
Definitions unfolded in proof :  vatype: ValueAllType uall: [x:A]. B[x] implies:  Q member: t ∈ T new_23_sig_headers_type: new_23_sig_headers_type{i:l}(Cmd;notify;propose) name: Name subtype_rel: A ⊆B prop: and: P ∧ Q listp: List+ sq_stable: SqStable(P) l_all: (∀x∈L.P[x]) all: x:A. B[x] so_lambda: λ2x.t[x] so_apply: x[s] iff: ⇐⇒ Q new_23_sig_headers: new_23_sig_headers(notify;propose) rev_implies:  Q guard: {T} or: P ∨ Q uimplies: supposing a new_23_sig_headers_fun: new_23_sig_headers_fun(Cmd;notify;propose) bool: 𝔹 unit: Unit it: btrue: tt uiff: uiff(P;Q) ifthenelse: if then else fi  cand: c∧ B new_23_sig_headers_no_rep: new_23_sig_headers_no_rep(notify;propose) squash: T no_repeats: no_repeats(T;l) nat: le: A ≤ B less_than': less_than'(a;b) false: False not: ¬A length: ||as|| list_ind: list_ind cons: [a b] nil: [] less_than: a < b true: True sq_type: SQType(T) int_upper: {i...} ge: i ≥  satisfiable_int_formula: satisfiable_int_formula(fmla) exists: x:A. B[x] top: Top select: L[n] subtract: m bfalse: ff bnot: ¬bb assert: b name_eq: name_eq(x;y) name-deq: NameDeq list-deq: list-deq(eq) band: p ∧b q atom-deq: AtomDeq eq_atom: =a y null: null(as) decidable: Dec(P) pi1: fst(t) pi2: snd(t) has-es-info-type: has-es-info-type(es;e;f;T) b_all: b_all(T;b;x.P[x]) mapfilter: mapfilter(f;P;L) compose: g

Latex:
\mforall{}[Cmd:ValueAllType].  \mforall{}[eq:EqDecider(Cmd)].  \mforall{}[reps,clients:bag(Id)].  \mforall{}[coeff:\{2...\}].  \mforall{}[flrs:\mBbbN{}].
\mforall{}[propose,notify:Atom  List].  \mforall{}[slots:set-sig\{i:l\}(\mBbbZ{})].
\mforall{}[f:new\_23\_sig\_headers\_type\{i:l\}(Cmd;notify;propose)].  \mforall{}[es:EO+(Message(f))].  \mforall{}[e:E].  \mforall{}[n:\mBbbZ{}].
\mforall{}[c:Cmd].  \mforall{}[faulty:bag(Id)].
    (msgs-interface-delivered-with-omissions(f;es;new\_23\_sig\_main();faulty;flrs;reps)
    {}\mRightarrow{}  bag-no-repeats(Id;reps)
    {}\mRightarrow{}  (\#(reps)  =  ((coeff  *  flrs)  +  flrs  +  1))
    {}\mRightarrow{}  loc(e)  \mdownarrow{}\mmember{}  reps
    {}\mRightarrow{}  (\mneg{}loc(e)  \mdownarrow{}\mmember{}  faulty)
    {}\mRightarrow{}  <n,  c>  \mmember{}  new\_23\_sig\_Proposal(Cmd;notify;propose;f)(e)
    {}\mRightarrow{}  (\mneg{}\muparrow{}(set-sig-member(slots)  n  new\_23\_sig\_ReplicaStateFun(Cmd;notify;propose;slots;f;es;e)))
    {}\mRightarrow{}  (\mdownarrow{}\mexists{}e':E
                (b\_all(Id;[x\mmember{}reps|
                                      \mneg{}\msubb{}bag-deq-member(IdDeq;x;faulty)];i.(i
                                                                                                                  \mmember{}  mapfilter(\mlambda{}e.(snd(msgval(e)));
                                                                                                                                          \mlambda{}e....;
                                                                                                                                          [e,  e'])))
                \mwedge{}  (((coeff  *  flrs)  +  1) 
                      \mleq{}  ||mapfilter(\mlambda{}e.<snd(msgval(e)),  e,  snd(fst(msgval(e)))>
                                                  \mlambda{}e.new\_23\_sig\_vote\_with\_ballot(Cmd;notify;propose;f;es;e;n;0);
                                                  [e,  e'])||))))



Date html generated: 2016_05_17-PM-02_38_26
Last ObjectModification: 2016_01_18-AM-09_30_10

Theory : 2!3!consensus!with!signatures


Home Index