Step
*
1
2
1
1
1
of Lemma
fresh-inning-reachable
1. [V] : Type
2. A : Id List@i
3. W : {a:Id| (a ∈ A)}  List List@i
4. ws : {a:Id| (a ∈ A)}  List@i
5. x : ConsensusState@i
6. i : ℤ@i
7. (ws ∈ W)@i
8. (∀a∈ws.Inning(x;a) < i)
9. n : ℤ@i
10. \\%3 : 0 < n@i
11. x ((λx,y. CR(in ws)[x, y] )^*) (λa.<if a ∈b firstn(n - 1;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>\000C)@i
12. n - 1 < ||A|| c∧ ((A[n - 1] ∈ ws) ∧ (¬(A[n - 1] ∈ firstn(n - 1;A))))
13. z : ConsensusState@i
14. (λa.<if a ∈b firstn(n - 1;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>) = z ∈ ConsensusState@i
⊢ z ((λx,y. CR(in ws)[x, y] )^*) (λa.<if a ∈b firstn(n;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>)
BY
{ (Subst' (λa.<if a ∈b firstn(n;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>)
   = (λb.if b = A[n - 1] then <i, Estimate(z;A[n - 1])> else z b fi )
   ∈ ConsensusState 0
   THENA Auto
   ) }
1
.....equality..... 
1. V : Type
2. A : Id List@i
3. W : {a:Id| (a ∈ A)}  List List@i
4. ws : {a:Id| (a ∈ A)}  List@i
5. x : ConsensusState@i
6. i : ℤ@i
7. (ws ∈ W)@i
8. (∀a∈ws.Inning(x;a) < i)
9. n : ℤ@i
10. 0 < n@i
11. x ((λx,y. CR(in ws)[x, y] )^*) (λa.<if a ∈b firstn(n - 1;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>\000C)@i
12. n - 1 < ||A|| c∧ ((A[n - 1] ∈ ws) ∧ (¬(A[n - 1] ∈ firstn(n - 1;A))))
13. z : ConsensusState@i
14. (λa.<if a ∈b firstn(n - 1;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>) = z ∈ ConsensusState@i
⊢ (λa.<if a ∈b firstn(n;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>)
= (λb.if b = A[n - 1] then <i, Estimate(z;A[n - 1])> else z b fi )
∈ ConsensusState
2
1. [V] : Type
2. A : Id List@i
3. W : {a:Id| (a ∈ A)}  List List@i
4. ws : {a:Id| (a ∈ A)}  List@i
5. x : ConsensusState@i
6. i : ℤ@i
7. (ws ∈ W)@i
8. (∀a∈ws.Inning(x;a) < i)
9. n : ℤ@i
10. \\%3 : 0 < n@i
11. x ((λx,y. CR(in ws)[x, y] )^*) (λa.<if a ∈b firstn(n - 1;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>\000C)@i
12. n - 1 < ||A|| c∧ ((A[n - 1] ∈ ws) ∧ (¬(A[n - 1] ∈ firstn(n - 1;A))))
13. z : ConsensusState@i
14. (λa.<if a ∈b firstn(n - 1;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>) = z ∈ ConsensusState@i
⊢ z ((λx,y. CR(in ws)[x, y] )^*) (λb.if b = A[n - 1] then <i, Estimate(z;A[n - 1])> else z b fi )
Latex:
1.  [V]  :  Type
2.  A  :  Id  List@i
3.  W  :  \{a:Id|  (a  \mmember{}  A)\}    List  List@i
4.  ws  :  \{a:Id|  (a  \mmember{}  A)\}    List@i
5.  x  :  ConsensusState@i
6.  i  :  \mBbbZ{}@i
7.  (ws  \mmember{}  W)@i
8.  (\mforall{}a\mmember{}ws.Inning(x;a)  <  i)
9.  n  :  \mBbbZ{}@i
10.  \mbackslash{}\mbackslash{}\%3  :  0  <  n@i
11.  x 
        rel\_star(ConsensusState;  \mlambda{}x,y.  CR(in  ws)[x,  y]  ) 
        (\mlambda{}a.<if  a  \mmember{}\msubb{}  firstn(n  -  1;A))  \mwedge{}\msubb{}  a  \mmember{}\msubb{}  ws)  then  i  else  Inning(x;a)  fi  ,  Estimate(x;a)>)@i
12.  n  -  1  <  ||A||  c\mwedge{}  ((A[n  -  1]  \mmember{}  ws)  \mwedge{}  (\mneg{}(A[n  -  1]  \mmember{}  firstn(n  -  1;A))))
13.  z  :  ConsensusState@i
14.  (\mlambda{}a.<if  a  \mmember{}\msubb{}  firstn(n  -  1;A))  \mwedge{}\msubb{}  a  \mmember{}\msubb{}  ws)  then  i  else  Inning(x;a)  fi  ,  Estimate(x;a)>)  =  z@i
\mvdash{}  z 
    rel\_star(ConsensusState;  \mlambda{}x,y.  CR(in  ws)[x,  y]  ) 
    (\mlambda{}a.<if  a  \mmember{}\msubb{}  firstn(n;A))  \mwedge{}\msubb{}  a  \mmember{}\msubb{}  ws)  then  i  else  Inning(x;a)  fi  ,  Estimate(x;a)>)
By
(Subst'  (\mlambda{}a.<if  a  \mmember{}\msubb{}  firstn(n;A))  \mwedge{}\msubb{}  a  \mmember{}\msubb{}  ws)  then  i  else  Inning(x;a)  fi  ,  Estimate(x;a)>)
  =  (\mlambda{}b.if  b  =  A[n  -  1]  then  <i,  Estimate(z;A[n  -  1])>  else  z  b  fi  )  0
  THENA  Auto
  )
Home
Index