Step
*
1
2
1
1
1
1
1
1
of Lemma
fresh-inning-reachable
.....subterm..... T:t
1:n
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
∈ ({a:Id| (a ∈ A)}  ─→ (ℤ × j:ℤ fp-> V))@i
15. a : Id@i
16. (a ∈ A)@i
17. a = A[n - 1] ∈ Id
⊢ if a ∈b firstn(n;A)) ∧b a ∈b ws) then i else Inning(x;a) fi  = i ∈ ℤ
BY
{ (ExRepD THEN SplitOnConclITE THEN Auto)⋅ }
1
.....falsecase..... 
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||
13. (A[n - 1] ∈ ws)
14. ¬(A[n - 1] ∈ firstn(n - 1;A))
15. z : ConsensusState@i
16. (λa.<if a ∈b firstn(n - 1;A)) ∧b a ∈b ws) then i else Inning(x;a) fi , Estimate(x;a)>)
= z
∈ ({a:Id| (a ∈ A)}  ─→ (ℤ × j:ℤ fp-> V))@i
17. a : Id@i
18. (a ∈ A)@i
19. a = A[n - 1] ∈ Id
20. (¬(a ∈ firstn(n;A))) ∨ (¬(a ∈ ws))
⊢ Inning(x;a) = i ∈ ℤ
Latex:
.....subterm.....  T:t
1:n
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.  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
15.  a  :  Id@i
16.  (a  \mmember{}  A)@i
17.  a  =  A[n  -  1]
\mvdash{}  if  a  \mmember{}\msubb{}  firstn(n;A))  \mwedge{}\msubb{}  a  \mmember{}\msubb{}  ws)  then  i  else  Inning(x;a)  fi    =  i
By
(ExRepD  THEN  SplitOnConclITE  THEN  Auto)\mcdot{}
Home
Index