Step
*
1
2
1
of Lemma
three-cs-safety1
1. V : Type
2. eq : EqDecider(V)
3. A : Id List
4. t : ℕ+
5. no_repeats(Id;A)
6. ||A|| = ((3 * t) + 1) ∈ ℤ
7. ∃W:{a:Id| (a ∈ A)}  List List
    ((∀ws:{a:Id| (a ∈ A)}  List. ((ws ∈ W) 
⇐⇒ (||ws|| = ((2 * t) + 1) ∈ ℤ) ∧ no_repeats({a:Id| (a ∈ A)} ws)))
    ∧ three-intersection(A;W))
8. f : (V List) ⟶ V
9. ∀vs:V List. ∀v:V.  ((||vs|| = ((2 * t) + 1) ∈ ℤ) 
⇒ ((t + 1) ≤ ||filter(λx.(eqof(eq) x v);vs)||) 
⇒ ((f vs) = v ∈ V))
10. v : V
11. w : V
12. s : ts-reachable(three-consensus-ts(V;A;t;f))
13. s ∈ {a:Id| (a ∈ A)}  ⟶ (consensus-rcv(V;A) List)
14. three-cs-decided(V;A;t;f;s;w)
15. three-cs-decided(V;A;t;f;s;v)
⊢ v = w ∈ V
BY
{ (ExRepD THEN OnMaybeHyp 9 (\h. (FLemma `three-intersection-two-intersection`[h] THENA Auto))) }
1
1. V : Type
2. eq : EqDecider(V)
3. A : Id List
4. t : ℕ+
5. no_repeats(Id;A)
6. ||A|| = ((3 * t) + 1) ∈ ℤ
7. W : {a:Id| (a ∈ A)}  List List
8. ∀ws:{a:Id| (a ∈ A)}  List. ((ws ∈ W) 
⇐⇒ (||ws|| = ((2 * t) + 1) ∈ ℤ) ∧ no_repeats({a:Id| (a ∈ A)} ws))
9. three-intersection(A;W)
10. f : (V List) ⟶ V
11. ∀vs:V List. ∀v:V.
      ((||vs|| = ((2 * t) + 1) ∈ ℤ) 
⇒ ((t + 1) ≤ ||filter(λx.(eqof(eq) x v);vs)||) 
⇒ ((f vs) = v ∈ V))
12. v : V
13. w : V
14. s : ts-reachable(three-consensus-ts(V;A;t;f))
15. s ∈ {a:Id| (a ∈ A)}  ⟶ (consensus-rcv(V;A) List)
16. three-cs-decided(V;A;t;f;s;w)
17. three-cs-decided(V;A;t;f;s;v)
18. two-intersection(A;W)
⊢ v = w ∈ V
Latex:
Latex:
1.  V  :  Type
2.  eq  :  EqDecider(V)
3.  A  :  Id  List
4.  t  :  \mBbbN{}\msupplus{}
5.  no\_repeats(Id;A)
6.  ||A||  =  ((3  *  t)  +  1)
7.  \mexists{}W:\{a:Id|  (a  \mmember{}  A)\}    List  List
        ((\mforall{}ws:\{a:Id|  (a  \mmember{}  A)\}    List.  ((ws  \mmember{}  W)  \mLeftarrow{}{}\mRightarrow{}  (||ws||  =  ((2  *  t)  +  1))  \mwedge{}  no\_repeats(\{a:Id|  (a  \mmember{}  A)\}\000C  ;ws)))
        \mwedge{}  three-intersection(A;W))
8.  f  :  (V  List)  {}\mrightarrow{}  V
9.  \mforall{}vs:V  List.  \mforall{}v:V.
          ((||vs||  =  ((2  *  t)  +  1))  {}\mRightarrow{}  ((t  +  1)  \mleq{}  ||filter(\mlambda{}x.(eqof(eq)  x  v);vs)||)  {}\mRightarrow{}  ((f  vs)  =  v))
10.  v  :  V
11.  w  :  V
12.  s  :  ts-reachable(three-consensus-ts(V;A;t;f))
13.  s  \mmember{}  \{a:Id|  (a  \mmember{}  A)\}    {}\mrightarrow{}  (consensus-rcv(V;A)  List)
14.  three-cs-decided(V;A;t;f;s;w)
15.  three-cs-decided(V;A;t;f;s;v)
\mvdash{}  v  =  w
By
Latex:
(ExRepD  THEN  OnMaybeHyp  9  (\mbackslash{}h.  (FLemma  `three-intersection-two-intersection`[h]  THENA  Auto)))
Home
Index