Nuprl Lemma : new_23_sig_progress-step7

[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)))
   (↓∃bs:(Id × E × Cmd) List
        ((bag-map(λi.(fst(i));bs) [x∈reps|¬bbag-deq-member(IdDeq;x;faulty)] ∈ bag(Id))
        ∧ (∀x∈bs.(loc(fst(snd(x))) loc(e) ∈ Id)
             ∧ <<<n, 0>snd(snd(x))>fst(x)> ∈ new_23_sig_vote'base(Cmd;notify;propose;f)(fst(snd(x))))
        ∧ l-ordered(Id × E × Cmd;x,y.(fst(snd(x)) <loc fst(snd(y)));bs)
        ∧ (∀x∈bs.e ≤loc fst(snd(x)) )
        ∧ (((coeff flrs) 1) ≤ ||bs||))))


Proof




Definitions occuring in Statement :  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_vote'base: new_23_sig_vote'base(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) Message: Message(f) classrel: v ∈ X(e) event-ordering+: EO+(Info) es-le: e ≤loc e'  es-locl: (e <loc e') es-loc: loc(e) es-E: E id-deq: IdDeq Id: Id l_all: (∀x∈L.P[x]) 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) l-ordered: l-ordered(T;x,y.R[x; y];L) bag-member: x ↓∈ bs bag-no-repeats: bag-no-repeats(T;bs) bag-size: #(bs) bag-filter: [x∈b|p[x]] bag-map: bag-map(f;bs) 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) pi1: fst(t) pi2: snd(t) so_lambda: λ2y.t[x; y] so_apply: x[s1;s2] rev_uimplies: rev_uimplies(P;Q) new_23_sig_vote2prop: new_23_sig_vote2prop(Cmd) bag-map: bag-map(f;bs) bag-size: #(bs) msgs-interface-delivered-with-omissions: msgs-interface-delivered-with-omissions(f;es;X;faulty;failures;ids) decidable: Dec(P)

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{}bs:(Id  \mtimes{}  E  \mtimes{}  Cmd)  List
                ((bag-map(\mlambda{}i.(fst(i));bs)  =  [x\mmember{}reps|\mneg{}\msubb{}bag-deq-member(IdDeq;x;faulty)])
                \mwedge{}  (\mforall{}x\mmember{}bs.(loc(fst(snd(x)))  =  loc(e))
                          \mwedge{}  <<<n,  0>,  snd(snd(x))>,  fst(x)>  \mmember{}  new\_23\_sig\_vote'base(Cmd;notify;propose;f)(
                                                                                                  fst(snd(x))))
                \mwedge{}  l-ordered(Id  \mtimes{}  E  \mtimes{}  Cmd;x,y.(fst(snd(x))  <loc  fst(snd(y)));bs)
                \mwedge{}  (\mforall{}x\mmember{}bs.e  \mleq{}loc  fst(snd(x))  )
                \mwedge{}  (((coeff  *  flrs)  +  1)  \mleq{}  ||bs||))))



Date html generated: 2016_05_17-PM-02_36_44
Last ObjectModification: 2016_01_18-AM-09_29_46

Theory : 2!3!consensus!with!signatures


Home Index