Nuprl Lemma : pv11_p1_ldr_mem_preempted

Cmd:ValueAllType. ∀f:pv11_p1_headers_type{i:l}(Cmd). ∀es:EO+(Message(f)). ∀e1,e2:E. ∀ldrs_uid:Id ─→ ℤ.
v1,v2:pv11_p1_Ballot_Num() × 𝔹 × ((ℤ × Cmd) List).
p:ℤ × Cmd pv11_p1_Ballot_Num() × ((pv11_p1_Ballot_Num() × ℤ × Cmd) List) pv11_p1_Ballot_Num().
  ((e1 <loc e2)
   p ∈ pv11_p1_propose'base(Cmd;f) (+) pv11_p1_adopted'base(Cmd;f) (+) pv11_p1_preempted'base(Cmd;f)(e1)
   v1 ∈ pv11_p1_LeaderState(Cmd;ldrs_uid;f)(e1)
   v2 ∈ pv11_p1_LeaderState(Cmd;ldrs_uid;f)(e2)
   let bnum1,active1,proposals1 v1 in 
     let bnum2,active2,proposals2 v2 in 
     case p
      of inl(x) =>
      True
      inr(x) =>
      case x
       of inl(x) =>
       True
       inr(bnum) =>
       (↑(bnum1  < bnum))  (↑(pv11_p1_leq_bnum(ldrs_uid) (pv11_p1_upd_bnum() bnum loc(e1)) bnum2)))


Proof




Definitions occuring in Statement :  pv11_p1_LeaderState: pv11_p1_LeaderState(Cmd;ldrs_uid;mf) pv11_p1_propose'base: pv11_p1_propose'base(Cmd;mf) pv11_p1_adopted'base: pv11_p1_adopted'base(Cmd;mf) pv11_p1_preempted'base: pv11_p1_preempted'base(Cmd;mf) pv11_p1_headers_type: pv11_p1_headers_type{i:l}(Cmd) pv11_p1_lt_bnum: pv11_p1_lt_bnum(ldrs_uid) pv11_p1_leq_bnum: pv11_p1_leq_bnum(ldrs_uid) pv11_p1_upd_bnum: pv11_p1_upd_bnum() pv11_p1_Ballot_Num: pv11_p1_Ballot_Num() Message: Message(f) disjoint-union-comb: (+) Y classrel: v ∈ X(e) event-ordering+: EO+(Info) es-locl: (e <loc e') es-loc: loc(e) es-E: E Id: Id list: List vatype: ValueAllType assert: b bool: 𝔹 spreadn: spread3 all: x:A. B[x] implies:  Q true: True apply: a function: x:A ─→ B[x] product: x:A × B[x] decide: case of inl(x) => s[x] inr(y) => t[y] union: left right int:
Lemmas :  int_seg_wf length_wf name_wf pv11_p1_headers_wf l_all_iff l_member_wf equal_wf pv11_p1_headers_fun_wf cons_wf_listp nil_wf listp_wf cons_member cons_wf equal-wf-base iff_weakening_equal classrel_wf squash_wf true_wf es-E_wf event-ordering+_subtype event-ordering+_wf eclass_wf pv11_p1_Ballot_Num_wf bool_wf list_wf Memory3-memory-class3 pv11_p1_init_leader_wf pv11_p1_on_propose_wf pv11_p1_propose'base_wf pv11_p1_when_adopted_wf pv11_p1_adopted'base_wf pv11_p1_when_preempted_wf pv11_p1_preempted'base_wf Memory-loc-class-mem assert_wf pv11_p1_lt_bnum_wf pv11_p1_leq_bnum_wf pv11_p1_upd_bnum_wf es-loc_wf disjoint-union-tr_wf single-bag_wf Id_wf disjoint-union-comb_wf pv11_p1_LeaderState_wf es-locl_wf Message_wf subtype_rel_dep_function vatype_wf pv11_p1_headers_type_wf set_wf valueall-type_wf disj_un_tr_ap_inl_lemma disj_un_tr_ap_inr_lemma pv11_p1_eq_bnums_wf eqtt_to_assert pv11_p1_eq_bnums-assert eqff_to_assert bool_cases_sqequal subtype_base_sq bool_subtype_base assert-bnot assert_of_bor lt_int_wf eq_int_wf assert_of_eq_int le_int_wf assert_of_lt_int iff_transitivity int_subtype_base less_than_wf iff_weakening_uiff assert_of_band or_wf le_wf assert_of_le_int le_weakening es-le-loc and_wf pv11_p1_is_bnum_wf not_over_and decidable__assert bor_wf decidable__lt false_wf less-iff-le add_functionality_wrt_le add-swap add-commutes le-add-cancel subtype_rel_sum unit_wf2 assert_elim isl_wf bfalse_wf btrue_neq_bfalse disjoint-union-comb-single-val base-headers-msg-val-single-val subtype_rel_weakening ext-eq_weakening base-disjoint-classrel not_wf name_eq_wf bnot_wf assert-name_eq assert_of_bnot sq_stable__encodes-msg-type l_all_fwd equal-wf-T-base disjoint-classrel-symm disjoint-union-comb-disjoint-classrel single-valued-bag-single

Latex:
\mforall{}Cmd:ValueAllType.  \mforall{}f:pv11\_p1\_headers\_type\{i:l\}(Cmd).  \mforall{}es:EO+(Message(f)).  \mforall{}e1,e2:E.
\mforall{}ldrs$_{uid}$:Id  {}\mrightarrow{}  \mBbbZ{}.  \mforall{}v1,v2:pv11\_p1\_Ballot\_Num()  \mtimes{}  \mBbbB{}  \mtimes{}  ((\mBbbZ{}  \mtimes{}  Cmd)  List).
\mforall{}p:\mBbbZ{}  \mtimes{}  Cmd  +  pv11\_p1\_Ballot\_Num()  \mtimes{}  ((pv11\_p1\_Ballot\_Num()  \mtimes{}  \mBbbZ{}  \mtimes{}  Cmd)  List)  +  pv11\_p1\_Ballot\_Num().
    ((e1  <loc  e2)
    {}\mRightarrow{}  p  \mmember{}
            pv11\_p1\_propose'base(Cmd;f)  (+)  pv11\_p1\_adopted'base(Cmd;f)  (+)  pv11\_p1\_preempted'base(Cmd;f)(
            e1)
    {}\mRightarrow{}  v1  \mmember{}  pv11\_p1\_LeaderState(Cmd;ldrs$_{uid}$;f)(e1)
    {}\mRightarrow{}  v2  \mmember{}  pv11\_p1\_LeaderState(Cmd;ldrs$_{uid}$;f)(e2)
    {}\mRightarrow{}  let  bnum1,active1,proposals1  =  v1  in 
          let  bnum2,active2,proposals2  =  v2  in 
          case  p
            of  inl(x)  =>
            True
            |  inr(x)  =>
            case  x
              of  inl(x)  =>
              True
              |  inr(bnum)  =>
              (\muparrow{}(bnum1    <  bnum))  {}\mRightarrow{}  (\muparrow{}(pv11\_p1\_leq\_bnum(ldrs$_{uid}$)  (pv11\_p1\_upd\_bnum\000C()  bnum  loc(e1))  bnum2)))



Date html generated: 2015_07_23-PM-04_45_35
Last ObjectModification: 2015_02_04-AM-08_54_02

Home Index