Step * 1 2 2 2 1 of Lemma near-root-rational

.....assertion..... 
1. {2...}
2. : ℤ
3. : ℕ+
4. : ℕ+
5. (0 ≤ p) ∨ (↑isOdd(k))
6. : 𝔹
7. (q =z 1) ∧b (n =z 1)
8. : ℕ+
9. if then else fi  ∈ ℕ+
10. : ℕ+
11. b^(k 1) ∈ ℕ+
12. : ℤ
13. if then else fi  ∈ ℤ
14. : ℕ+
15. (if then else fi  1) ∈ ℕ+
16. : ℕ
17. : ℕ+
18. |a| y^k < (x b)^k
19. (x b)^k ≤ ((|a| d) y^k)
20. (0 ≤ p)  (0 ≤ if p <then -x else fi )
21. (0 ≤ p)  0 ≤ if p <then -x else fi 
22. |a| if p <then -a else fi  ∈ ℤ
⊢ (r(p)/r(q)) (r(a)/r(b^k))
BY
(BLemma `req-int-fractions`
   THEN Auto
   THEN Eliminate ⌜a⌝⋅
   THEN Eliminate ⌜c⌝⋅
   THEN AutoSplit
   THEN ((RW (AddrC [2;2] (LemmaC `exp_step`)) THENA Auto) THEN GenConclAtAddr [2;2;2])⋅}

1
1. : ℕ+
2. {2...}
3. : 𝔹
4. : ℤ
5. : ℕ+
6. : ℕ+
7. : ℕ+
8. (0 ≤ p) ∨ (↑isOdd(k))
9. (q =z 1) ∧b (n =z 1)
10. if then else fi  ∈ ℕ+
11. b^(k 1) ∈ ℕ+
12. : ℤ
13. if then b^(k 1) else b^(k 1) fi  ∈ ℤ
14. : ℕ+
15. (if then b^(k 1) else b^(k 1) fi  1) ∈ ℕ+
16. : ℕ
17. : ℕ+
18. |if then b^(k 1) else b^(k 1) fi y^k < (x b)^k
19. (x b)^k ≤ ((|if then b^(k 1) else b^(k 1) fi d) y^k)
20. (0 ≤ p)  (0 ≤ if p <then -x else fi )
21. (0 ≤ p)  0 ≤ if p <then -x else fi 
22. |if then b^(k 1) else b^(k 1) fi |
if p <then -if then b^(k 1) else b^(k 1) fi 
  if then b^(k 1)
  else b^(k 1)
  fi 
∈ ℤ
23. ↑s
24. : ℕ+
25. b^(k 1) v ∈ ℕ+
⊢ (p v) ((p v) q) ∈ ℤ

2
1. : ℕ+
2. {2...}
3. : 𝔹
4. ¬↑s
5. : ℤ
6. : ℕ+
7. : ℕ+
8. : ℕ+
9. (0 ≤ p) ∨ (↑isOdd(k))
10. ff (q =z 1) ∧b (n =z 1)
11. (q n) ∈ ℕ+
12. b^(k 1) ∈ ℕ+
13. : ℤ
14. (p b^(k 1)) ∈ ℤ
15. : ℕ+
16. (b^(k 1) 1) ∈ ℕ+
17. : ℕ
18. : ℕ+
19. |p b^(k 1)| y^k < (x b)^k
20. (x b)^k ≤ ((|p b^(k 1)| d) y^k)
21. (0 ≤ p)  (0 ≤ if p <then -x else fi )
22. (0 ≤ p)  0 ≤ if p <then -x else fi 
23. |p b^(k 1)| if p <then -(p b^(k 1)) else b^(k 1) fi  ∈ ℤ
24. : ℕ+
25. b^(k 1) v ∈ ℕ+
⊢ (p v) ((p v) q) ∈ ℤ


Latex:


Latex:
.....assertion..... 
1.  k  :  \{2...\}
2.  p  :  \mBbbZ{}
3.  q  :  \mBbbN{}\msupplus{}
4.  n  :  \mBbbN{}\msupplus{}
5.  (0  \mleq{}  p)  \mvee{}  (\muparrow{}isOdd(k))
6.  s  :  \mBbbB{}
7.  s  =  (q  =\msubz{}  1)  \mwedge{}\msubb{}  (n  =\msubz{}  1)
8.  b  :  \mBbbN{}\msupplus{}
9.  b  =  if  s  then  2  else  q  *  n  fi 
10.  c  :  \mBbbN{}\msupplus{}
11.  c  =  b\^{}(k  -  1)
12.  a  :  \mBbbZ{}
13.  a  =  if  s  then  p  *  2  *  c  else  p  *  n  *  c  fi 
14.  d  :  \mBbbN{}\msupplus{}
15.  d  =  (if  s  then  2  *  c  else  c  fi    -  1)
16.  x  :  \mBbbN{}
17.  y  :  \mBbbN{}\msupplus{}
18.  |a|  *  y\^{}k  <  (x  *  b)\^{}k
19.  (x  *  b)\^{}k  \mleq{}  ((|a|  +  d)  *  y\^{}k)
20.  (0  \mleq{}  p)  {}\mRightarrow{}  (0  \mleq{}  if  p  <z  0  then  -x  else  x  fi  )
21.  (0  \mleq{}  p)  \mLeftarrow{}{}  0  \mleq{}  if  p  <z  0  then  -x  else  x  fi 
22.  |a|  =  if  p  <z  0  then  -a  else  a  fi 
\mvdash{}  (r(p)/r(q))  =  (r(a)/r(b\^{}k))


By


Latex:
(BLemma  `req-int-fractions`
  THEN  Auto
  THEN  Eliminate  \mkleeneopen{}a\mkleeneclose{}\mcdot{}
  THEN  Eliminate  \mkleeneopen{}c\mkleeneclose{}\mcdot{}
  THEN  AutoSplit
  THEN  ((RW  (AddrC  [2;2]  (LemmaC  `exp\_step`))  0  THENA  Auto)  THEN  GenConclAtAddr  [2;2;2])\mcdot{})




Home Index