Nuprl Lemma : pv11_p1-p2a

[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:ℤ]. ∀[v:Cmd].
  (<d, i, mk-msg(auth;``pv11_p1 p2a``;<i1, p, k, v>)> ∈ pv11_p1_main(Cmd;accpts;ldrs;ldrs_uid;reps;mf)(e)
  ⇐⇒ loc(e) ↓∈ ldrs
      ∧ i ↓∈ accpts
      ∧ (d 0 ∈ ℤ)
      ∧ auth pv11_p1_init_active()
      ∧ (i1 loc(e) ∈ Id)
      ∧ (↓(((header(e) [propose] ∈ Name) ∧ has-es-info-type(es;e;mf;ℤ × Cmd))
          ∧ ((↑(fst(snd(pv11_p1_LeaderStateFun(Cmd;ldrs_uid;mf;es;e)))))
            ∧ (¬↑(pv11_p1_in_domain(Cmd) (fst(msgval(e))) (snd(snd(pv11_p1_LeaderStateFun(Cmd;ldrs_uid;mf;es;e)))))))
          ∧ (p (fst(pv11_p1_LeaderStateFun(Cmd;ldrs_uid;mf;es;e))) ∈ pv11_p1_Ballot_Num())
          ∧ (<k, v> msgval(e) ∈ (ℤ × Cmd)))
          ∨ (((header(e) ``pv11_p1 adopted`` ∈ Name)
             ∧ has-es-info-type(es;e;mf;pv11_p1_Ballot_Num() × ((pv11_p1_Ballot_Num() × ℤ × Cmd) List)))
            ∧ ((fst(msgval(e))) (fst(pv11_p1_LeaderStateFun(Cmd;ldrs_uid;mf;es;e))) ∈ pv11_p1_Ballot_Num())
            ∧ ((<k, v> ↓∈ snd(snd(pv11_p1_LeaderStateFun(Cmd;ldrs_uid;mf;es;e)))
              ∧ (∃p2:Cmd. (<k, p2> ∈ pv11_p1_pmax(Cmd;ldrs_uid) (snd(msgval(e)))))))
              ∨ (∃v2:pv11_p1_Ballot_Num()
                  (<v2, k, v> ↓∈ snd(msgval(e))
                  ∧ (∃z5:pv11_p1_Ballot_Num(). ∃z8:Cmd. ((↑(v2  < z5)) ∧ (<z5, k, z8> ∈ snd(msgval(e)))))))))
            ∧ (p (fst(msgval(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_LeaderStateFun: pv11_p1_LeaderStateFun(Cmd;ldrs_uid;mf;es;e) pv11_p1_init_active: pv11_p1_init_active() pv11_p1_in_domain: pv11_p1_in_domain(Cmd) pv11_p1_pmax: pv11_p1_pmax(Cmd;ldrs_uid) pv11_p1_headers_type: pv11_p1_headers_type{i:l}(Cmd) pv11_p1_lt_bnum: pv11_p1_lt_bnum(ldrs_uid) 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 l_member: (x ∈ l) cons: [a b] nil: [] list: List valueall-type: valueall-type(T) assert: b 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 function: x:A ─→ B[x] pair: <a, b> product: x:A × B[x] natural_number: $n int: token: "$token" universe: Type equal: t ∈ T bag-member: x ↓∈ bs bag: bag(T)
Lemmas :  sq_stable__and equal_wf cons_wf_listp nil_wf listp_wf vatype_wf cons_wf list_wf equal-wf-T-base sq_stable__equal squash_wf int_seg_wf length_wf name_wf pv11_p1_headers_wf l_all_iff l_member_wf pv11_p1_headers_fun_wf cons_member equal-wf-base iff_weakening_equal classrel_wf msg-interface_wf pv11_p1_main_wf make-msg-interface_wf mk-msg_wf subtype_rel_weakening ext-eq_weakening bag-member_wf es-loc_wf event-ordering+_subtype int_subtype_base bool_wf or_wf es-header_wf has-es-info-type_wf assert_wf pv11_p1_LeaderStateFun_wf es-info-body_wf not_wf pv11_p1_in_domain_wf list-subtype-bag exists_wf pv11_p1_pmax_wf pv11_p1_lt_bnum_wf pv11_p1_Ballot_Num_wf es-E_wf event-ordering+_wf Message_wf subtype_rel_dep_function pv11_p1_headers_type_wf bag_wf Id_wf set_wf valueall-type_wf pv11_p1-ilf eo-forward_wf pv11_p1_init_ballot_num_wf less_than_wf bag-size_wf pv11_p1_ScoutStateFun_wf nat_wf pv11_p1_threshold_wf make-Msg_wf member-eo-forward-E eo-forward-header eo-forward-has-es-info-type equal-wf-base-T pv11_p1_CommanderStateFun_wf no-classrel-in-interval_wf eclass2_wf eclass1_wf pv11_p1_p2b'base_wf pv11_p1_commander_output_wf pv11_p1_CommanderState_wf es-first_wf2 no-prior-classrel_wf pv11_p1_p1b'base_wf pv11_p1_scout_output_wf pv11_p1_ScoutState_wf es-le_wf pv11_p1_upd_bnum_wf pv11_p1_is_bnum_wf pv11_p1_AcceptorStateFun_wf msg-header_wf hdrmkmsg_lemma hdrmakeMsg_lemma sq_stable__no_repeats true_wf false_wf and_wf make-Msg-as-mk-msg mk-msg-equal bfalse_wf null_nil_lemma btrue_wf reduce_tl_cons_lemma tl_wf null_wf3 subtype_rel_list top_wf null_cons_lemma btrue_neq_bfalse equal_functionality_wrt_subtype_rel2 strong-subtype-implies strong-subtype-set2 es-le-self member_wf sq_stable__bag-member eo-forward-info-body

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{}[v:Cmd].
    (<d,  i,  mk-msg(auth;``pv11\_p1  p2a``;<i1,  p,  k,  v>)>  \mmember{}  pv11\_p1\_main(Cmd;accpts;ldrs;ldrs$_\mbackslash{}\000Cff7buid}$;reps;mf)(e)
    \mLeftarrow{}{}\mRightarrow{}  loc(e)  \mdownarrow{}\mmember{}  ldrs
            \mwedge{}  i  \mdownarrow{}\mmember{}  accpts
            \mwedge{}  (d  =  0)
            \mwedge{}  auth  =  pv11\_p1\_init\_active()
            \mwedge{}  (i1  =  loc(e))
            \mwedge{}  (\mdownarrow{}(((header(e)  =  [propose])  \mwedge{}  has-es-info-type(es;e;mf;\mBbbZ{}  \mtimes{}  Cmd))
                    \mwedge{}  ((\muparrow{}(fst(snd(pv11\_p1\_LeaderStateFun(Cmd;ldrs$_{uid}$;mf;es;e)))))
                        \mwedge{}  (\mneg{}\muparrow{}(pv11\_p1\_in\_domain(Cmd)  (fst(msgval(e))) 
                                    (snd(snd(pv11\_p1\_LeaderStateFun(Cmd;ldrs$_{uid}$;mf;es;e))))))\000C)
                    \mwedge{}  (p  =  (fst(pv11\_p1\_LeaderStateFun(Cmd;ldrs$_{uid}$;mf;es;e))))
                    \mwedge{}  (<k,  v>  =  msgval(e)))
                    \mvee{}  (((header(e)  =  ``pv11\_p1  adopted``)
                          \mwedge{}  has-es-info-type(es;e;mf;pv11\_p1\_Ballot\_Num()
                              \mtimes{}  ((pv11\_p1\_Ballot\_Num()  \mtimes{}  \mBbbZ{}  \mtimes{}  Cmd)  List)))
                        \mwedge{}  ((fst(msgval(e)))  =  (fst(pv11\_p1\_LeaderStateFun(Cmd;ldrs$_{uid}$;m\000Cf;es;e))))
                        \mwedge{}  ((<k,  v>  \mdownarrow{}\mmember{}  snd(snd(pv11\_p1\_LeaderStateFun(Cmd;ldrs$_{uid}$;mf;es;\000Ce)))
                            \mwedge{}  (\mneg{}(\mexists{}p2:Cmd.  (<k,  p2>  \mmember{}  pv11\_p1\_pmax(Cmd;ldrs$_{uid}$)  (snd(msgva\000Cl(e)))))))
                            \mvee{}  (\mexists{}v2:pv11\_p1\_Ballot\_Num()
                                    (<v2,  k,  v>  \mdownarrow{}\mmember{}  snd(msgval(e))
                                    \mwedge{}  (\mneg{}(\mexists{}z5:pv11\_p1\_Ballot\_Num()
                                                \mexists{}z8:Cmd.  ((\muparrow{}(v2    <  z5))  \mwedge{}  (<z5,  k,  z8>  \mmember{}  snd(msgval(e)))))))))
                        \mwedge{}  (p  =  (fst(msgval(e)))))))



Date html generated: 2015_07_23-PM-04_42_14
Last ObjectModification: 2015_02_04-PM-02_18_31

Home Index