Step * 1 2 1 1 1 1 1 1 of Lemma three-cs-safety1

.....assertion..... 
1. Type
2. eq EqDecider(V)
3. Id List
4. : ℕ+
5. no_repeats(Id;A)
6. ||A|| ((3 t) 1) ∈ ℤ
7. {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. (V List) ⟶ V
11. ∀vs:V List. ∀v:V.
      ((||vs|| ((2 t) 1) ∈ ℤ ((t 1) ≤ ||filter(λx.(eqof(eq) v);vs)||)  ((f vs) v ∈ V))
12. V
13. V
14. ts-type(three-consensus-ts(V;A;t;f))
15. ts-init(three-consensus-ts(V;A;t;f)) (ts-rel(three-consensus-ts(V;A;t;f))^*) s
16. s ∈ {a:Id| (a ∈ A)}  ⟶ (consensus-rcv(V;A) List)
17. two-intersection(A;W)
18. : ℤ@i
19. ws {a:Id| (a ∈ A)}  List@i
20. V@i
21. no_repeats({a:Id| (a ∈ A)} ;ws)@i
22. ||ws|| ((2 t) 1) ∈ ℤ@i
23. (∀a∈ws.∃L:consensus-rcv(V;A) List. (L ≤ a ∧ archive-condition(V;A;t;f;i;x;L)))@i
⊢ ∀d:ℕ
    (0 < d
     (∀b:{a:Id| (a ∈ A)} 
          ((b ∈ ws)
           (∀z:V. ∀L:consensus-rcv(V;A) List.  (L ≤  archive-condition(V;A;t;f;i d;z;L)  (z x ∈ V))))))
BY
(InductionOnNat THEN Auto) }

1
1. Type
2. eq EqDecider(V)
3. Id List
4. : ℕ+
5. no_repeats(Id;A)
6. ||A|| ((3 t) 1) ∈ ℤ
7. {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. (V List) ⟶ V
11. ∀vs:V List. ∀v:V.
      ((||vs|| ((2 t) 1) ∈ ℤ ((t 1) ≤ ||filter(λx.(eqof(eq) v);vs)||)  ((f vs) v ∈ V))
12. V
13. V
14. ts-type(three-consensus-ts(V;A;t;f))
15. ts-init(three-consensus-ts(V;A;t;f)) (ts-rel(three-consensus-ts(V;A;t;f))^*) s
16. s ∈ {a:Id| (a ∈ A)}  ⟶ (consensus-rcv(V;A) List)
17. two-intersection(A;W)
18. : ℤ@i
19. ws {a:Id| (a ∈ A)}  List@i
20. V@i
21. no_repeats({a:Id| (a ∈ A)} ;ws)@i
22. ||ws|| ((2 t) 1) ∈ ℤ@i
23. (∀a∈ws.∃L:consensus-rcv(V;A) List. (L ≤ a ∧ archive-condition(V;A;t;f;i;x;L)))@i
24. : ℤ
25. 0 < d
26. 0 < 1
 (∀b:{a:Id| (a ∈ A)} 
      ((b ∈ ws)
       (∀z:V. ∀L:consensus-rcv(V;A) List.  (L ≤  archive-condition(V;A;t;f;i (d 1);z;L)  (z x ∈ V)))))
27. 0 < d@i
28. {a:Id| (a ∈ A)} @i
29. (b ∈ ws)@i
30. V@i
31. consensus-rcv(V;A) List@i
32. L ≤ b@i
33. archive-condition(V;A;t;f;i d;z;L)@i
⊢ x ∈ V


Latex:


Latex:
.....assertion..... 
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.  W  :  \{a:Id|  (a  \mmember{}  A)\}    List  List
8.  \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)\}  ;w\000Cs))
9.  three-intersection(A;W)
10.  f  :  (V  List)  {}\mrightarrow{}  V
11.  \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))
12.  v  :  V
13.  w  :  V
14.  s  :  ts-type(three-consensus-ts(V;A;t;f))
15.  ts-init(three-consensus-ts(V;A;t;f)) 
        (ts-rel(three-consensus-ts(V;A;t;f))\^{}*) 
        s
16.  s  \mmember{}  \{a:Id|  (a  \mmember{}  A)\}    {}\mrightarrow{}  (consensus-rcv(V;A)  List)
17.  two-intersection(A;W)
18.  i  :  \mBbbZ{}@i
19.  ws  :  \{a:Id|  (a  \mmember{}  A)\}    List@i
20.  x  :  V@i
21.  no\_repeats(\{a:Id|  (a  \mmember{}  A)\}  ;ws)@i
22.  ||ws||  =  ((2  *  t)  +  1)@i
23.  (\mforall{}a\mmember{}ws.\mexists{}L:consensus-rcv(V;A)  List.  (L  \mleq{}  s  a  \mwedge{}  archive-condition(V;A;t;f;i;x;L)))@i
\mvdash{}  \mforall{}d:\mBbbN{}
        (0  <  d
        {}\mRightarrow{}  (\mforall{}b:\{a:Id|  (a  \mmember{}  A)\} 
                    ((b  \mmember{}  ws)
                    {}\mRightarrow{}  (\mforall{}z:V.  \mforall{}L:consensus-rcv(V;A)  List.
                                (L  \mleq{}  s  b  {}\mRightarrow{}  archive-condition(V;A;t;f;i  +  d;z;L)  {}\mRightarrow{}  (z  =  x))))))


By


Latex:
(InductionOnNat  THEN  Auto)




Home Index