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

Theorem aalioulem5 24919
Description: Lemma for aaliou 24921. (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 24918 . 2 (𝜑 → ∃𝑎 ∈ ℝ+𝑝 ∈ ℤ ∀𝑞 ∈ ℕ (((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
7 simpr 487 . . . . 5 ((𝜑𝑎 ∈ ℝ+) → 𝑎 ∈ ℝ+)
8 1rp 12387 . . . . 5 1 ∈ ℝ+
9 ifcl 4510 . . . . 5 ((𝑎 ∈ ℝ+ ∧ 1 ∈ ℝ+) → if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ+)
107, 8, 9sylancl 588 . . . 4 ((𝜑𝑎 ∈ ℝ+) → if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ+)
1110adantr 483 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ+)
12 simprr 771 . . . . . . . . . . . . . . 15 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑞 ∈ ℕ)
1312nnrpd 12423 . . . . . . . . . . . . . 14 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑞 ∈ ℝ+)
143ad2antrr 724 . . . . . . . . . . . . . . 15 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑁 ∈ ℕ)
1514nnzd 12080 . . . . . . . . . . . . . 14 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑁 ∈ ℤ)
1613, 15rpexpcld 13602 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑞𝑁) ∈ ℝ+)
1711, 16rpdivcld 12442 . . . . . . . . . . . 12 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ∈ ℝ+)
1817rpred 12425 . . . . . . . . . . 11 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ∈ ℝ)
19 1re 10635 . . . . . . . . . . . 12 1 ∈ ℝ
2019a1i 11 . . . . . . . . . . 11 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 1 ∈ ℝ)
214ad2antrr 724 . . . . . . . . . . . . . 14 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝐴 ∈ ℝ)
22 znq 12346 . . . . . . . . . . . . . . . 16 ((𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ) → (𝑝 / 𝑞) ∈ ℚ)
23 qre 12347 . . . . . . . . . . . . . . . 16 ((𝑝 / 𝑞) ∈ ℚ → (𝑝 / 𝑞) ∈ ℝ)
2422, 23syl 17 . . . . . . . . . . . . . . 15 ((𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ) → (𝑝 / 𝑞) ∈ ℝ)
2524adantl 484 . . . . . . . . . . . . . 14 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑝 / 𝑞) ∈ ℝ)
2621, 25resubcld 11062 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝐴 − (𝑝 / 𝑞)) ∈ ℝ)
2726recnd 10663 . . . . . . . . . . . 12 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝐴 − (𝑝 / 𝑞)) ∈ ℂ)
2827abscld 14790 . . . . . . . . . . 11 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ)
2918, 20, 283jca 1124 . . . . . . . . . 10 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ∈ ℝ ∧ 1 ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ))
3029adantr 483 . . . . . . . . 9 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ∈ ℝ ∧ 1 ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ))
3116rprecred 12436 . . . . . . . . . . . 12 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (1 / (𝑞𝑁)) ∈ ℝ)
3211rpred 12425 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ)
33 simplr 767 . . . . . . . . . . . . . . 15 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑎 ∈ ℝ+)
3433rpred 12425 . . . . . . . . . . . . . 14 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑎 ∈ ℝ)
35 min2 12577 . . . . . . . . . . . . . 14 ((𝑎 ∈ ℝ ∧ 1 ∈ ℝ) → if(𝑎 ≤ 1, 𝑎, 1) ≤ 1)
3634, 19, 35sylancl 588 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → if(𝑎 ≤ 1, 𝑎, 1) ≤ 1)
3732, 20, 16, 36lediv1dd 12483 . . . . . . . . . . . 12 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (1 / (𝑞𝑁)))
3814nnnn0d 11949 . . . . . . . . . . . . . . . 16 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 𝑁 ∈ ℕ0)
3912, 38nnexpcld 13600 . . . . . . . . . . . . . . 15 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑞𝑁) ∈ ℕ)
40 1nn 11643 . . . . . . . . . . . . . . . 16 1 ∈ ℕ
4140a1i 11 . . . . . . . . . . . . . . 15 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 1 ∈ ℕ)
4239, 41nnmulcld 11684 . . . . . . . . . . . . . 14 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((𝑞𝑁) · 1) ∈ ℕ)
4342nnge1d 11679 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → 1 ≤ ((𝑞𝑁) · 1))
4420, 20, 16ledivmuld 12478 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((1 / (𝑞𝑁)) ≤ 1 ↔ 1 ≤ ((𝑞𝑁) · 1)))
4543, 44mpbird 259 . . . . . . . . . . . 12 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (1 / (𝑞𝑁)) ≤ 1)
4618, 31, 20, 37, 45letrd 10791 . . . . . . . . . . 11 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ 1)
4746adantr 483 . . . . . . . . . 10 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ 1)
48 ltle 10723 . . . . . . . . . . . 12 ((1 ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ) → (1 < (abs‘(𝐴 − (𝑝 / 𝑞))) → 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
4919, 28, 48sylancr 589 . . . . . . . . . . 11 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (1 < (abs‘(𝐴 − (𝑝 / 𝑞))) → 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
5049imp 409 . . . . . . . . . 10 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))
5147, 50jca 514 . . . . . . . . 9 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ 1 ∧ 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
52 letr 10728 . . . . . . . . 9 (((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ∈ ℝ ∧ 1 ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ) → (((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ 1 ∧ 1 ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
5330, 51, 52sylc 65 . . . . . . . 8 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))
5453olcd 870 . . . . . . 7 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
55542a1d 26 . . . . . 6 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ 1 < (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
56 pm3.21 474 . . . . . . . 8 ((abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1 → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1)))
5756adantl 484 . . . . . . 7 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1)))
5833, 16rpdivcld 12442 . . . . . . . . . . . . . 14 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑎 / (𝑞𝑁)) ∈ ℝ+)
5958rpred 12425 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (𝑎 / (𝑞𝑁)) ∈ ℝ)
6018, 59, 283jca 1124 . . . . . . . . . . . 12 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ∈ ℝ ∧ (𝑎 / (𝑞𝑁)) ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ))
6160adantr 483 . . . . . . . . . . 11 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ∈ ℝ ∧ (𝑎 / (𝑞𝑁)) ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ))
62 min1 12576 . . . . . . . . . . . . . 14 ((𝑎 ∈ ℝ ∧ 1 ∈ ℝ) → if(𝑎 ≤ 1, 𝑎, 1) ≤ 𝑎)
6334, 19, 62sylancl 588 . . . . . . . . . . . . 13 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → if(𝑎 ≤ 1, 𝑎, 1) ≤ 𝑎)
6432, 34, 16, 63lediv1dd 12483 . . . . . . . . . . . 12 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (𝑎 / (𝑞𝑁)))
6564anim1i 616 . . . . . . . . . . 11 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → ((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (𝑎 / (𝑞𝑁)) ∧ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
66 letr 10728 . . . . . . . . . . 11 (((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ∈ ℝ ∧ (𝑎 / (𝑞𝑁)) ∈ ℝ ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ∈ ℝ) → (((if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (𝑎 / (𝑞𝑁)) ∧ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
6761, 65, 66sylc 65 . . . . . . . . . 10 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))
6867ex 415 . . . . . . . . 9 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
6968adantr 483 . . . . . . . 8 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → ((𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))) → (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
7069orim2d 963 . . . . . . 7 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → ((𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
7157, 70imim12d 81 . . . . . 6 ((((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → ((((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
7255, 71, 20, 28ltlecasei 10742 . . . . 5 (((𝜑𝑎 ∈ ℝ+) ∧ (𝑝 ∈ ℤ ∧ 𝑞 ∈ ℕ)) → ((((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
7372ralimdvva 3179 . . . 4 ((𝜑𝑎 ∈ ℝ+) → (∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ (((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
74 oveq1 7157 . . . . . . . . 9 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → (𝑥 / (𝑞𝑁)) = (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)))
7574breq1d 5068 . . . . . . . 8 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → ((𝑥 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))) ↔ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))
7675orbi2d 912 . . . . . . 7 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → ((𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))) ↔ (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
7776imbi2d 343 . . . . . 6 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → (((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) ↔ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
78772ralbidv 3199 . . . . 5 (𝑥 = if(𝑎 ≤ 1, 𝑎, 1) → (∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) ↔ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
7978rspcev 3622 . . . 4 ((if(𝑎 ≤ 1, 𝑎, 1) ∈ ℝ+ ∧ ∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (if(𝑎 ≤ 1, 𝑎, 1) / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))) → ∃𝑥 ∈ ℝ+𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
8010, 73, 79syl6an 682 . . 3 ((𝜑𝑎 ∈ ℝ+) → (∀𝑝 ∈ ℤ ∀𝑞 ∈ ℕ (((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ∃𝑥 ∈ ℝ+𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
8180rexlimdva 3284 . 2 (𝜑 → (∃𝑎 ∈ ℝ+𝑝 ∈ ℤ ∀𝑞 ∈ ℕ (((𝐹‘(𝑝 / 𝑞)) ≠ 0 ∧ (abs‘(𝐴 − (𝑝 / 𝑞))) ≤ 1) → (𝐴 = (𝑝 / 𝑞) ∨ (𝑎 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))) → ∃𝑥 ∈ ℝ+𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞)))))))
826, 81mpd 15 1 (𝜑 → ∃𝑥 ∈ ℝ+𝑝 ∈ ℤ ∀𝑞 ∈ ℕ ((𝐹‘(𝑝 / 𝑞)) ≠ 0 → (𝐴 = (𝑝 / 𝑞) ∨ (𝑥 / (𝑞𝑁)) ≤ (abs‘(𝐴 − (𝑝 / 𝑞))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wo 843  w3a 1083   = wceq 1533  wcel 2110  wne 3016  wral 3138  wrex 3139  ifcif 4466   class class class wbr 5058  cfv 6349  (class class class)co 7150  cr 10530  0cc0 10531  1c1 10532   · cmul 10536   < clt 10669  cle 10670  cmin 10864   / cdiv 11291  cn 11632  cz 11975  cq 12342  +crp 12383  cexp 13423  abscabs 14587  Polycply 24768  degcdgr 24771
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-inf2 9098  ax-cnex 10587  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607  ax-pre-mulgt0 10608  ax-pre-sup 10609  ax-addf 10610  ax-mulf 10611
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-fal 1546  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-tp 4565  df-op 4567  df-uni 4832  df-int 4869  df-iun 4913  df-iin 4914  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-se 5509  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-isom 6358  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-of 7403  df-om 7575  df-1st 7683  df-2nd 7684  df-supp 7825  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-1o 8096  df-2o 8097  df-oadd 8100  df-er 8283  df-map 8402  df-pm 8403  df-ixp 8456  df-en 8504  df-dom 8505  df-sdom 8506  df-fin 8507  df-fsupp 8828  df-fi 8869  df-sup 8900  df-inf 8901  df-oi 8968  df-card 9362  df-pnf 10671  df-mnf 10672  df-xr 10673  df-ltxr 10674  df-le 10675  df-sub 10866  df-neg 10867  df-div 11292  df-nn 11633  df-2 11694  df-3 11695  df-4 11696  df-5 11697  df-6 11698  df-7 11699  df-8 11700  df-9 11701  df-n0 11892  df-z 11976  df-dec 12093  df-uz 12238  df-q 12343  df-rp 12384  df-xneg 12501  df-xadd 12502  df-xmul 12503  df-ioo 12736  df-ico 12738  df-icc 12739  df-fz 12887  df-fzo 13028  df-fl 13156  df-seq 13364  df-exp 13424  df-hash 13685  df-cj 14452  df-re 14453  df-im 14454  df-sqrt 14588  df-abs 14589  df-clim 14839  df-rlim 14840  df-sum 15037  df-struct 16479  df-ndx 16480  df-slot 16481  df-base 16483  df-sets 16484  df-ress 16485  df-plusg 16572  df-mulr 16573  df-starv 16574  df-sca 16575  df-vsca 16576  df-ip 16577  df-tset 16578  df-ple 16579  df-ds 16581  df-unif 16582  df-hom 16583  df-cco 16584  df-rest 16690  df-topn 16691  df-0g 16709  df-gsum 16710  df-topgen 16711  df-pt 16712  df-prds 16715  df-xrs 16769  df-qtop 16774  df-imas 16775  df-xps 16777  df-mre 16851  df-mrc 16852  df-acs 16854  df-mgm 17846  df-sgrp 17895  df-mnd 17906  df-submnd 17951  df-grp 18100  df-minusg 18101  df-mulg 18219  df-subg 18270  df-cntz 18441  df-cmn 18902  df-mgp 19234  df-ur 19246  df-ring 19293  df-cring 19294  df-subrg 19527  df-psmet 20531  df-xmet 20532  df-met 20533  df-bl 20534  df-mopn 20535  df-fbas 20536  df-fg 20537  df-cnfld 20540  df-top 21496  df-topon 21513  df-topsp 21535  df-bases 21548  df-cld 21621  df-ntr 21622  df-cls 21623  df-nei 21700  df-lp 21738  df-perf 21739  df-cn 21829  df-cnp 21830  df-haus 21917  df-cmp 21989  df-tx 22164  df-hmeo 22357  df-fil 22448  df-fm 22540  df-flim 22541  df-flf 22542  df-xms 22924  df-ms 22925  df-tms 22926  df-cncf 23480  df-0p 24265  df-limc 24458  df-dv 24459  df-dvn 24460  df-cpn 24461  df-ply 24772  df-coe 24774  df-dgr 24775
This theorem is referenced by:  aalioulem6  24920
  Copyright terms: Public domain W3C validator