MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  aalioulem5 Structured version   Visualization version   GIF version

Theorem aalioulem5 26672
Description: Lemma for aaliou 26674. (Contributed by Stefan O'Rear, 16-Nov-2014.)
Hypotheses
Ref Expression
aalioulem2.a 𝑁 = (deg‘𝐹)
aalioulem2.b (𝜑 → 𝐹 ∈ (Poly‘ℤ))
aalioulem2.c (𝜑 → 𝑁 ∈ ℕ)
aalioulem2.d (𝜑 → 𝐴 ∈ ℝ)
aalioulem3.e (𝜑 → (𝐹‘𝐴) = 0)
Assertion
Ref Expression
aalioulem5 (𝜑 → ∃𝑥 ∈ ℝ+ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
Distinct variable groups:   𝜑,𝑥,𝑝,𝑞   𝑥,𝐴,𝑝,𝑞   𝑥,𝐹,𝑝,𝑞   𝑥,𝑁
Allowed substitution hints:   𝑁(𝑞, 𝑝)

Proof of Theorem aalioulem5
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 aalioulem2.a . . 3 𝑁 = (deg‘𝐹)
2 aalioulem2.b . . 3 (𝜑 → 𝐹 ∈ (Poly‘ℤ))
3 aalioulem2.c . . 3 (𝜑 → 𝑁 ∈ ℕ)
4 aalioulem2.d . . 3 (𝜑 → 𝐴 ∈ ℝ)
5 aalioulem3.e . . 3 (𝜑 → (𝐹‘𝐴) = 0)
61, 2, 3, 4, 5aalioulem4 26671 . 2 (𝜑 → ∃𝑎 ∈ ℝ+ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ (((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
7 simpr 490 . . . . 5 ((𝜑 ∧ 𝑎 ∈ ℝ+) → 𝑎 ∈ ℝ+)
8 1rp 13131 . . . . 5 1 ∈ ℝ+
9 ifcl 4527 . . . . 5 ((𝑎 ∈ ℝ+ ∧ 1 ∈ ℝ+) → if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ+)
107, 8, 9sylancl 598 . . . 4 ((𝜑 ∧ 𝑎 ∈ ℝ+) → if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ+)
1110adantr 486 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ+)
12 simprr 785 . . . . . . . . . . . . . . 15 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑞 ∈ ℕ)
1312nnrpd 13169 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑞 ∈ ℝ+)
143ad2antrr 739 . . . . . . . . . . . . . . 15 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑁 ∈ ℕ)
1514nnzd 12726 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑁 ∈ ℤ)
1613, 15rpexpcld 14398 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑞↑𝑁) ∈ ℝ+)
1711, 16rpdivcld 13188 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ∈ ℝ+)
1817rpred 13171 . . . . . . . . . . 11 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ∈ ℝ)
19 1re 11315 . . . . . . . . . . . 12 1 ∈ ℝ
2019a1i 11 . . . . . . . . . . 11 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 1 ∈ ℝ)
214ad2antrr 739 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝐴 ∈ ℝ)
22 znq 13086 . . . . . . . . . . . . . . . 16 ((𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ) → (𝑝 / 𝑞) ∈ ℚ)
23 qre 13087 . . . . . . . . . . . . . . . 16 ((𝑝 / 𝑞) ∈ ℚ → (𝑝 / 𝑞) ∈ ℝ)
2422, 23syl 18 . . . . . . . . . . . . . . 15 ((𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ) → (𝑝 / 𝑞) ∈ ℝ)
2524adantl 487 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑝 / 𝑞) ∈ ℝ)
2621, 25resubcld 11751 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝐴 − (𝑝 / 𝑞)) ∈ ℝ)
2726recnd 11344 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝐴 − (𝑝 / 𝑞)) ∈ ℂ)
2827abscld 15615 . . . . . . . . . . 11 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ)
2918, 20, 283jca 1146 . . . . . . . . . 10 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ∈ ℝ ∧ 1 ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ))
3029adantr 486 . . . . . . . . 9 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ∈ ℝ ∧ 1 ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ))
3116rprecred 13182 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (1 / (𝑞↑𝑁)) ∈ ℝ)
3211rpred 13171 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ)
33 simplr 781 . . . . . . . . . . . . . . 15 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑎 ∈ ℝ+)
3433rpred 13171 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑎 ∈ ℝ)
35 min2 13327 . . . . . . . . . . . . . 14 ((𝑎 ∈ ℝ ∧ 1 ∈ ℝ) → if(𝑎 ≤ 1, 𝑎, 1) ≤ 1)
3634, 19, 35sylancl 598 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → if(𝑎 ≤ 1, 𝑎, 1) ≤ 1)
3732, 20, 16, 36lediv1dd 13229 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (1 / (𝑞↑𝑁)))
3814nnnn0d 12674 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑁 ∈ ℕ0)
3912, 38nnexpcld 14396 . . . . . . . . . . . . . . 15 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑞↑𝑁) ∈ ℕ)
40 1nn 12353 . . . . . . . . . . . . . . . 16 1 ∈ ℕ
4140a1i 11 . . . . . . . . . . . . . . 15 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 1 ∈ ℕ)
4239, 41nnmulcld 12398 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((𝑞↑𝑁) · 1) ∈ ℕ)
4342nnge1d 12393 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 1 ≤ ((𝑞↑𝑁) · 1))
4420, 20, 16ledivmuld 13224 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((1 / (𝑞↑𝑁)) ≤ 1 ↔ 1 ≤ ((𝑞↑𝑁) · 1)))
4543, 44mpbird 260 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (1 / (𝑞↑𝑁)) ≤ 1)
4618, 31, 20, 37, 45letrd 11474 . . . . . . . . . . 11 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ 1)
4746adantr 486 . . . . . . . . . 10 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ 1)
48 ltle 11405 . . . . . . . . . . . 12 ((1 ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ) → (1 < (abs‘(𝐴 − (𝑝 / 𝑞))) → 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
4919, 28, 48sylancr 599 . . . . . . . . . . 11 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (1 < (abs‘(𝐴 − (𝑝 / 𝑞))) → 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
5049imp 412 . . . . . . . . . 10 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))
5147, 50jca 521 . . . . . . . . 9 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ 1 ∧ 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
52 letr 11411 . . . . . . . . 9 (((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ∈ ℝ ∧ 1 ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ) → (((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ 1 ∧ 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
5330, 51, 52sylc 66 . . . . . . . 8 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))
5453olcd 888 . . . . . . 7 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
55542a1d 27 . . . . . 6 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
56 pm3.21 477 . . . . . . . 8 ((abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1 → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1)))
5756adantl 487 . . . . . . 7 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1)))
5833, 16rpdivcld 13188 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑎 / (𝑞↑𝑁)) ∈ ℝ+)
5958rpred 13171 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑎 / (𝑞↑𝑁)) ∈ ℝ)
6018, 59, 283jca 1146 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ∈ ℝ ∧ (𝑎 / (𝑞↑𝑁)) ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ))
6160adantr 486 . . . . . . . . . . 11 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ∈ ℝ ∧ (𝑎 / (𝑞↑𝑁)) ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ))
62 min1 13326 . . . . . . . . . . . . . 14 ((𝑎 ∈ ℝ ∧ 1 ∈ ℝ) → if(𝑎 ≤ 1, 𝑎, 1) ≤ 𝑎)
6334, 19, 62sylancl 598 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → if(𝑎 ≤ 1, 𝑎, 1) ≤ 𝑎)
6432, 34, 16, 63lediv1dd 13229 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (𝑎 / (𝑞↑𝑁)))
6564anim1i 627 . . . . . . . . . . 11 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (𝑎 / (𝑞↑𝑁)) ∧ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
66 letr 11411 . . . . . . . . . . 11 (((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ∈ ℝ ∧ (𝑎 / (𝑞↑𝑁)) ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ) → (((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (𝑎 / (𝑞↑𝑁)) ∧ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
6761, 65, 66sylc 66 . . . . . . . . . 10 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))
6867ex 418 . . . . . . . . 9 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
6968adantr 486 . . . . . . . 8 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → ((𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
7069orim2d 982 . . . . . . 7 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → ((𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
7157, 70imim12d 82 . . . . . 6 ((((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → ((((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
7255, 71, 20, 28ltlecasei 11425 . . . . 5 (((𝜑 ∧ 𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
7372ralimdvva 3209 . . . 4 ((𝜑 ∧ 𝑎 ∈ ℝ+) → (∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ (((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
74 oveq1 7431 . . . . . . . . 9 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → (𝑥 / (𝑞↑𝑁)) = (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)))
7574breq1d 5112 . . . . . . . 8 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → ((𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))) ↔ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
7675orbi2d 929 . . . . . . 7 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → ((𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) ↔ (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
7776imbi2d 343 . . . . . 6 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → (((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) ↔ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
78772ralbidv 3226 . . . . 5 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → (∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) ↔ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
7978rspcev 3576 . . . 4 ((if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ+ ∧ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))) → ∃𝑥 ∈ ℝ+ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
8010, 73, 79syl6an 697 . . 3 ((𝜑 ∧ 𝑎 ∈ ℝ+) → (∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ (((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ∃𝑥 ∈ ℝ+ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
8180rexlimdva 3163 . 2 (𝜑 → (∃𝑎 ∈ ℝ+ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ (((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ∃𝑥 ∈ ℝ+ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
826, 81mpd 16 1 (𝜑 → ∃𝑥 ∈ ℝ+ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞↑𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  ifcif 4481   class class class wbr 5102  ‘cfv 6543  (class class class)co 7424  ℝcr 11206  0cc0 11207  1c1 11208   · cmul 11212   < clt 11350   ≤ cle 11351   − cmin 11548   / cdiv 11980  ℕcn 12342  ℤcz 12700  ℚcq 13082  ℝ+crp 13127  ↑cexp 14211  abscabs 15410  Polycply 26511  degcdgr 26514
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-inf2 9649  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284  ax-pre-sup 11285  ax-addf 11286
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4835  df-uni 4867  df-int 4907  df-iun 4952  df-iin 4953  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-isom 6552  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-of 7697  df-om 7882  df-1st 8005  df-2nd 8006  df-supp 8184  df-frecs 8306  df-wrecs 8337  df-recs 8386  df-rdg 8425  df-1o 8483  df-2o 8484  df-er 8724  df-map 8856  df-pm 8857  df-ixp 8933  df-en 8981  df-dom 8982  df-sdom 8983  df-fin 8984  df-fsupp 9361  df-fi 9410  df-sup 9441  df-inf 9442  df-oi 9511  df-card 10027  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-div 11981  df-nn 12343  df-2 12412  df-3 12413  df-4 12414  df-5 12415  df-6 12416  df-7 12417  df-8 12418  df-9 12419  df-n0 12614  df-z 12701  df-dec 12822  df-uz 12973  df-q 13083  df-rp 13128  df-xneg 13248  df-xadd 13249  df-xmul 13250  df-ioo 13487  df-ico 13489  df-icc 13490  df-fz 13647  df-fzo 13796  df-fl 13939  df-seq 14152  df-exp 14212  df-hash 14482  df-cj 15275  df-re 15276  df-im 15277  df-sqrt 15411  df-abs 15412  df-clim 15664  df-rlim 15665  df-sum 15863  df-struct 17334  df-sets 17351  df-slot 17369  df-ndx 17381  df-base 17397  df-ress 17418  df-plusg 17450  df-mulr 17451  df-starv 17452  df-sca 17453  df-vsca 17454  df-ip 17455  df-tset 17456  df-ple 17457  df-ds 17459  df-unif 17460  df-hom 17461  df-cco 17462  df-rest 17602  df-topn 17603  df-0g 17621  df-gsum 17622  df-topgen 17623  df-pt 17624  df-prds 17627  df-xrs 17683  df-qtop 17688  df-imas 17689  df-xps 17691  df-mre 17765  df-mrc 17766  df-acs 17768  df-mgm 18825  df-sgrp 18917  df-mnd 18933  df-submnd 18988  df-grp 19156  df-minusg 19157  df-mulg 19287  df-subg 19342  df-cntz 19540  df-cmn 20005  df-abl 20006  df-mgp 20370  df-rng 20384  df-ur 20417  df-ring 20470  df-cring 20471  df-subrng 20807  df-subrg 20831  df-psmet 21679  df-xmet 21680  df-met 21681  df-bl 21682  df-mopn 21683  df-fbas 21684  df-fg 21685  df-cnfld 21688  df-top 23221  df-topon 23238  df-topsp 23260  df-bases 23273  df-cld 23346  df-ntr 23347  df-cls 23348  df-nei 23425  df-lp 23463  df-perf 23464  df-cn 23554  df-cnp 23555  df-haus 23642  df-cmp 23714  df-tx 23890  df-hmeo 24083  df-fil 24174  df-fm 24266  df-flim 24267  df-flf 24268  df-xms 24648  df-ms 24649  df-tms 24650  df-cncf 25208  df-0p 26000  df-limc 26195  df-dv 26196  df-dvn 26197  df-cpn 26198  df-ply 26515  df-coe 26517  df-dgr 26518
This theorem is used by:  aalioulem6  26673
  Copyright terms: Public domain W3C validator