Step * 1 1 1 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. 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)
13. ts-refinement(consensus-ts1(V);consensus-ts4(V;A;W);((λx.if cs-is-decided(x) then else UNDECIDED fi )
                   L.cs-ref-map3(L))) f)
⊢ (∀v:V. ∀s:ts-reachable(consensus-ts4(V;A;W)).
     (((((λx.if cs-is-decided(x) then else UNDECIDED fi L.cs-ref-map3(L))) 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);((λx.if cs-is-decided(x) then else UNDECIDED fi )
                 L.cs-ref-map3(L))) f)
BY
(D THEN Try (Trivial)) }

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)
13. ts-refinement(consensus-ts1(V);consensus-ts4(V;A;W);((λx.if cs-is-decided(x) then else UNDECIDED fi )
                   L.cs-ref-map3(L))) f)
⊢ ∀v:V. ∀s:ts-reachable(consensus-ts4(V;A;W)).
    (((((λx.if cs-is-decided(x) then else UNDECIDED fi L.cs-ref-map3(L))) f) s)
     Decided[v]
     ∈ consensus-state1(V)
    ⇐⇒ ∃i:ℕin state s, inning has committed v)


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.  f  :  ConsensusState  {}\mrightarrow{}  (consensus-state3(V)  List)
10.  cs-ref-map-constraints(V;A;W;f)
11.  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)))
12.  ts-refinement(consensus-ts3(V);consensus-ts4(V;A;W);f)
13.  ts-refinement(consensus-ts1(V);consensus-ts4(V;A;W);((\mlambda{}x.if  cs-is-decided(x)
                                                                                                                          then  x
                                                                                                                          else  UNDECIDED
                                                                                                                          fi  )  o  (\mlambda{}L.cs-ref-map3(L)))  o  f)
\mvdash{}  (\mforall{}v:V.  \mforall{}s:ts-reachable(consensus-ts4(V;A;W)).
          (((((\mlambda{}x.if  cs-is-decided(x)  then  x  else  UNDECIDED  fi  )  o  (\mlambda{}L.cs-ref-map3(L)))  o  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);((\mlambda{}x.if  cs-is-decided(x)
                                                                                                                      then  x
                                                                                                                      else  UNDECIDED
                                                                                                                      fi  )  o  (\mlambda{}L.cs-ref-map3(L)))  o  f)


By


Latex:
(D  0  THEN  Try  (Trivial))




Home Index