Nuprl Lemma : new_23_sig-notify

[Cmd:{T:Type| valueall-type(T)} ]. ∀[clients:bag(Id)]. ∀[cmdeq:EqDecider(Cmd)]. ∀[coeff,flrs:ℤ].
[notify,propose:Atom List]. ∀[reps:bag(Id)]. ∀[slots:set-sig{i:l}(ℤ)].
[f:new_23_sig_headers_type{i:l}(Cmd;notify;propose)]. ∀[es:EO+(Message(f))]. ∀[e:E]. ∀[d:ℤ]. ∀[i:Id]. ∀[auth:𝔹].
[k:ℤ]. ∀[v:Cmd].
  (<d, i, mk-msg(auth;notify;<k, v>)> ∈ new_23_sig_main()(e)
  ⇐⇒ loc(e) ↓∈ reps
      ∧ (↓∃z2:Cmd
           ∃e':{e':E| e' ≤loc 
            ((header(e) ``new_23_sig decided`` ∈ Name)
            ∧ has-es-info-type(es;e;f;ℤ × Cmd)
            ∧ i ↓∈ clients
            ∧ (d 0 ∈ ℤ)
            ∧ auth ff
            ∧ (<k, v> msgval(e) ∈ (f notify))
            ∧ (((header(e') propose ∈ Name)
              ∧ has-es-info-type(es;e';f;ℤ × Cmd)
              ∧ (<fst(msgval(e)), z2> msgval(e') ∈ (ℤ × Cmd)))
              ∨ ((header(e') ``new_23_sig vote`` ∈ Name)
                ∧ has-es-info-type(es;e';f;ℤ × ℤ × Cmd × Id)
                ∧ ((fst(msgval(e))) (fst(fst(fst(msgval(e'))))) ∈ ℤ)
                ∧ (z2 (snd(fst(msgval(e')))) ∈ Cmd)))
            ∧ (¬↑(set-sig-member(slots) (fst(msgval(e))) new_23_sig_ReplicaStateFun(Cmd;notify;propose;slots;f;es;e')))
            ∧ (no (new_23_sig_decision(Cmd;clients;notify;propose;f) 
                   (fst(msgval(e))) new_23_sig_decided'base(Cmd;notify;propose;f)) between e' and e))))


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_decision: new_23_sig_decision(Cmd;clients;notify;propose;f) new_23_sig_decided'base: new_23_sig_decided'base(Cmd;notify;propose;f) new_23_sig_headers_type: new_23_sig_headers_type{i:l}(Cmd;notify;propose) 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) eclass0: (f X) no-classrel-in-interval: (no between start and e) classrel: v ∈ X(e) event-ordering+: EO+(Info) es-le: e ≤loc e'  es-loc: loc(e) es-E: E Id: Id name: Name deq: EqDecider(T) cons: [a b] nil: [] list: List valueall-type: valueall-type(T) assert: b bfalse: ff bool: 𝔹 uall: [x:A]. B[x] pi1: fst(t) pi2: snd(t) exists: x:A. B[x] iff: ⇐⇒ Q not: ¬A squash: T or: P ∨ Q and: P ∧ Q set: {x:A| B[x]}  apply: a pair: <a, b> product: x:A × B[x] natural_number: $n int: token: "$token" atom: Atom universe: Type equal: t ∈ T bag-member: x ↓∈ bs bag: bag(T) set-sig-member: set-sig-member(s) set-sig: set-sig{i:l}(Item)
Lemmas :  sq_stable__and equal_wf vatype_wf cons_wf_listp cons_wf nil_wf listp_wf sq_stable__equal squash_wf int_seg_wf length_wf name_wf new_23_sig_headers_wf l_all_iff l_member_wf new_23_sig_headers_fun_wf cons_member equal-wf-base list_subtype_base atom_subtype_base iff_weakening_equal name_eq_wf eqtt_to_assert assert-name_eq sq_stable__no_repeats true_wf eqff_to_assert bool_wf bool_cases_sqequal subtype_base_sq bool_subtype_base assert-bnot classrel_wf msg-interface_wf new_23_sig_main_wf make-msg-interface_wf mk-msg_wf subtype_rel_weakening ext-eq_weakening bag-member_wf es-loc_wf event-ordering+_subtype exists_wf es-E_wf es-le_wf equal-wf-T-base es-header_wf has-es-info-type_wf es-info-body_wf int_subtype_base or_wf not_wf assert_wf set-sig-member_wf new_23_sig_ReplicaStateFun_wf no-classrel-in-interval_wf eclass0_wf new_23_sig_decided'base_wf new_23_sig_decision_wf event-ordering+_wf Message_wf subtype_rel_dep_function new_23_sig_headers_type_wf set-sig_wf list_wf deq_wf bag_wf Id_wf set_wf valueall-type_wf new_23_sig-ilf eo-forward_wf member-eo-forward-E eo-forward-header eo-forward-has-es-info-type new_23_sig_newvote_wf new_23_sig_QuorumStateFun_wf poss-maj_wf nat_wf make-Msg_wf eo-forward-E-subtype less_than_wf new_23_sig_NewRoundsStateFun_wf new_23_sig_Quorum_wf new_23_sig_Notify_wf eo-forward-info-body equal-wf-base-T msg-header_wf hdrmkmsg_lemma hdrmakeMsg_lemma false_wf and_wf make-Msg-as-mk-msg mk-msg-equal bfalse_wf subtype_rel_transitivity es-info-type_wf member_wf pi1_wf_top subtype_rel_product top_wf subtype_top subtype_rel_set

Latex:
\mforall{}[Cmd:\{T:Type|  valueall-type(T)\}  ].  \mforall{}[clients:bag(Id)].  \mforall{}[cmdeq:EqDecider(Cmd)].  \mforall{}[coeff,flrs:\mBbbZ{}].
\mforall{}[notify,propose:Atom  List].  \mforall{}[reps:bag(Id)].  \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{}[d:\mBbbZ{}].
\mforall{}[i:Id].  \mforall{}[auth:\mBbbB{}].  \mforall{}[k:\mBbbZ{}].  \mforall{}[v:Cmd].
    (<d,  i,  mk-msg(auth;notify;<k,  v>)>  \mmember{}  new\_23\_sig\_main()(e)
    \mLeftarrow{}{}\mRightarrow{}  loc(e)  \mdownarrow{}\mmember{}  reps
            \mwedge{}  (\mdownarrow{}\mexists{}z2:Cmd
                      \mexists{}e':\{e':E|  e'  \mleq{}loc  e  \} 
                        ((header(e)  =  ``new\_23\_sig  decided``)
                        \mwedge{}  has-es-info-type(es;e;f;\mBbbZ{}  \mtimes{}  Cmd)
                        \mwedge{}  i  \mdownarrow{}\mmember{}  clients
                        \mwedge{}  (d  =  0)
                        \mwedge{}  auth  =  ff
                        \mwedge{}  (<k,  v>  =  msgval(e))
                        \mwedge{}  (((header(e')  =  propose)
                            \mwedge{}  has-es-info-type(es;e';f;\mBbbZ{}  \mtimes{}  Cmd)
                            \mwedge{}  (<fst(msgval(e)),  z2>  =  msgval(e')))
                            \mvee{}  ((header(e')  =  ``new\_23\_sig  vote``)
                                \mwedge{}  has-es-info-type(es;e';f;\mBbbZ{}  \mtimes{}  \mBbbZ{}  \mtimes{}  Cmd  \mtimes{}  Id)
                                \mwedge{}  ((fst(msgval(e)))  =  (fst(fst(fst(msgval(e'))))))
                                \mwedge{}  (z2  =  (snd(fst(msgval(e')))))))
                        \mwedge{}  (\mneg{}\muparrow{}(set-sig-member(slots)  (fst(msgval(e))) 
                                    new\_23\_sig\_ReplicaStateFun(Cmd;notify;propose;slots;f;es;e')))
                        \mwedge{}  (no  (new\_23\_sig\_decision(Cmd;clients;notify;propose;f) 
                                      (fst(msgval(e)))  o  new\_23\_sig\_decided'base(Cmd;notify;propose;f))  between  e'  and
                              e))))



Date html generated: 2015_07_23-PM-03_56_54
Last ObjectModification: 2015_02_04-PM-01_26_07

Home Index