Step * 1 1 of Lemma consensus-safety1


1. Type@i'
2. ∀v1,v2:V.  Dec(v1 v2 ∈ V)@i
3. {∃v,v':V. (v v' ∈ V))}@i
4. ∀L:V List. Dec(∃v:V. (v ∈ L)))@i
5. Id List@i
6. {a:Id| (a ∈ A)}  List List@i
7. ||W|| ≥ @i
8. two-intersection(A;W)@i
9. ∀f:ConsensusState ⟶ (consensus-state3(V) List)
     (cs-ref-map-constraints(V;A;W;f)  ts-refinement(consensus-ts3(V);consensus-ts4(V;A;W);f))
10. ConsensusState ⟶ (consensus-state3(V) List)
11. cs-ref-map-constraints(V;A;W;f)
12. ts-refinement(consensus-ts1(V);consensus-ts3(V);(λx.if cs-is-decided(x) then else UNDECIDED fi )
                   L.cs-ref-map3(L)))
⊢ ∃f:ConsensusState ⟶ consensus-state1(V)
   ((∀v:V. ∀s:ts-reachable(consensus-ts4(V;A;W)).
       ((f s) Decided[v] ∈ consensus-state1(V) ⇐⇒ ∃i:ℕin state s, inning has committed v))
   ∧ ts-refinement(consensus-ts1(V);consensus-ts4(V;A;W);f))
BY
((InstHyp [⌜f⌝(-4)⋅ THENA Auto) THEN Thin (-5)) }

1
1. Type@i'
2. ∀v1,v2:V.  Dec(v1 v2 ∈ V)@i
3. {∃v,v':V. (v v' ∈ V))}@i
4. ∀L:V List. Dec(∃v:V. (v ∈ L)))@i
5. Id List@i
6. {a:Id| (a ∈ A)}  List List@i
7. ||W|| ≥ @i
8. two-intersection(A;W)@i
9. ConsensusState ⟶ (consensus-state3(V) List)
10. cs-ref-map-constraints(V;A;W;f)
11. ts-refinement(consensus-ts1(V);consensus-ts3(V);(λx.if cs-is-decided(x) then else UNDECIDED fi )
                   L.cs-ref-map3(L)))
12. ts-refinement(consensus-ts3(V);consensus-ts4(V;A;W);f)
⊢ ∃f:ConsensusState ⟶ consensus-state1(V)
   ((∀v:V. ∀s:ts-reachable(consensus-ts4(V;A;W)).
       ((f s) Decided[v] ∈ consensus-state1(V) ⇐⇒ ∃i:ℕin state s, inning has committed v))
   ∧ ts-refinement(consensus-ts1(V);consensus-ts4(V;A;W);f))


Latex:


Latex:

1.  V  :  Type@i'
2.  \mforall{}v1,v2:V.    Dec(v1  =  v2)@i
3.  \{\mexists{}v,v':V.  (\mneg{}(v  =  v'))\}@i
4.  \mforall{}L:V  List.  Dec(\mexists{}v:V.  (\mneg{}(v  \mmember{}  L)))@i
5.  A  :  Id  List@i
6.  W  :  \{a:Id|  (a  \mmember{}  A)\}    List  List@i
7.  ||W||  \mgeq{}  1  @i
8.  two-intersection(A;W)@i
9.  \mforall{}f:ConsensusState  {}\mrightarrow{}  (consensus-state3(V)  List)
          (cs-ref-map-constraints(V;A;W;f)  {}\mRightarrow{}  ts-refinement(consensus-ts3(V);consensus-ts4(V;A;W);f))
10.  f  :  ConsensusState  {}\mrightarrow{}  (consensus-state3(V)  List)
11.  cs-ref-map-constraints(V;A;W;f)
12.  ts-refinement(consensus-ts1(V);consensus-ts3(V);
                                    (\mlambda{}x.if  cs-is-decided(x)  then  x  else  UNDECIDED  fi  )  o  (\mlambda{}L.cs-ref-map3(L)))
\mvdash{}  \mexists{}f:ConsensusState  {}\mrightarrow{}  consensus-state1(V)
      ((\mforall{}v:V.  \mforall{}s:ts-reachable(consensus-ts4(V;A;W)).
              ((f  s)  =  Decided[v]  \mLeftarrow{}{}\mRightarrow{}  \mexists{}i:\mBbbN{}.  in  state  s,  inning  i  has  committed  v))
      \mwedge{}  ts-refinement(consensus-ts1(V);consensus-ts4(V;A;W);f))


By


Latex:
((InstHyp  [\mkleeneopen{}f\mkleeneclose{}]  (-4)\mcdot{}  THENA  Auto)  THEN  Thin  (-5))




Home Index