Step
*
1
2
2
1
1
of Lemma
near-root-rational
1. k : {2...}
2. p : ℤ
3. q : ℕ+
4. n : ℕ+
5. (0 ≤ p) ∨ (↑isOdd(k))
6. s : 𝔹
7. s = (q =z 1) ∧b (n =z 1)
8. b : ℕ+
9. b = if s then 2 else q * n fi  ∈ ℕ+
10. c : ℕ+
11. c = b^(k - 1) ∈ ℕ+
12. a : ℤ
13. a = if s then p * 2 * c else p * n * c fi  ∈ ℤ
14. d : ℕ+
15. d = (if s then 2 * c else c fi  - 1) ∈ ℕ+
16. x : ℕ
17. y : ℕ+
18. |a| * y^k < (x * b)^k
19. (x * b)^k ≤ ((|a| + d) * y^k)
20. (0 ≤ p) 
⇒ (0 ≤ if p <z 0 then -x else x fi )
21. (0 ≤ p) 
⇐ 0 ≤ if p <z 0 then -x else x fi 
22. ↑s
23. -1 < p * 2 * c
24. p < 0
⊢ (p * 2 * c) = (-(p * 2 * c)) ∈ ℤ
BY
{ (InstLemma `mul_preserves_lt` [⌜p⌝;⌜0⌝;⌜2 * c⌝]⋅ THEN Auto')⋅ }
Latex:
Latex:
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.  \muparrow{}s
23.  -1  <  p  *  2  *  c
24.  p  <  0
\mvdash{}  (p  *  2  *  c)  =  (-(p  *  2  *  c))
By
Latex:
(InstLemma  `mul\_preserves\_lt`  [\mkleeneopen{}p\mkleeneclose{};\mkleeneopen{}0\mkleeneclose{};\mkleeneopen{}2  *  c\mkleeneclose{}]\mcdot{}  THEN  Auto')\mcdot{}
Home
Index