Step
*
1
2
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))))
⊢ (λa.<if a ∈b firstn(n - 1;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>) 
  ((λ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
{ ((GenConclAtAddrType ⌈ConsensusState⌉ [2]⋅ THENA (Try (Unfold `consensus-state4` 0) THEN Auto))
   THEN RenameVar `z' (-2)
   )⋅ }
1
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)>)
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))))
\mvdash{}  (\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)>) 
    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
((GenConclAtAddrType  \mkleeneopen{}ConsensusState\mkleeneclose{}  [2]\mcdot{}  THENA  (Try  (Unfold  `consensus-state4`  0)  THEN  Auto))
  THEN  RenameVar  `z'  (-2)
  )\mcdot{}
Home
Index