Step | Hyp | Ref
| Expression |
1 | | pellexlem4 40570 |
. . 3
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → {〈𝑦,
𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
≈ ℕ) |
2 | | fzfi 13620 |
. . . 4
⊢
(-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∈ Fin |
3 | | diffi 8979 |
. . . 4
⊢
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∈ Fin → ((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2
· (√‘𝐷))))) ∖ {0}) ∈
Fin) |
4 | 2, 3 | mp1i 13 |
. . 3
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → ((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2
· (√‘𝐷))))) ∖ {0}) ∈
Fin) |
5 | | elopab 5433 |
. . . . 5
⊢ (𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
↔ ∃𝑦∃𝑧(𝑎 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷))))))) |
6 | | fveq2 6756 |
. . . . . . . . . . . 12
⊢ (𝑎 = 〈𝑦, 𝑧〉 → (1st ‘𝑎) = (1st
‘〈𝑦, 𝑧〉)) |
7 | 6 | oveq1d 7270 |
. . . . . . . . . . 11
⊢ (𝑎 = 〈𝑦, 𝑧〉 → ((1st ‘𝑎)↑2) = ((1st
‘〈𝑦, 𝑧〉)↑2)) |
8 | | fveq2 6756 |
. . . . . . . . . . . . 13
⊢ (𝑎 = 〈𝑦, 𝑧〉 → (2nd ‘𝑎) = (2nd
‘〈𝑦, 𝑧〉)) |
9 | 8 | oveq1d 7270 |
. . . . . . . . . . . 12
⊢ (𝑎 = 〈𝑦, 𝑧〉 → ((2nd ‘𝑎)↑2) = ((2nd
‘〈𝑦, 𝑧〉)↑2)) |
10 | 9 | oveq2d 7271 |
. . . . . . . . . . 11
⊢ (𝑎 = 〈𝑦, 𝑧〉 → (𝐷 · ((2nd ‘𝑎)↑2)) = (𝐷 · ((2nd
‘〈𝑦, 𝑧〉)↑2))) |
11 | 7, 10 | oveq12d 7273 |
. . . . . . . . . 10
⊢ (𝑎 = 〈𝑦, 𝑧〉 → (((1st ‘𝑎)↑2) − (𝐷 · ((2nd
‘𝑎)↑2))) =
(((1st ‘〈𝑦, 𝑧〉)↑2) − (𝐷 · ((2nd
‘〈𝑦, 𝑧〉)↑2)))) |
12 | | vex 3426 |
. . . . . . . . . . . . 13
⊢ 𝑦 ∈ V |
13 | | vex 3426 |
. . . . . . . . . . . . 13
⊢ 𝑧 ∈ V |
14 | 12, 13 | op1st 7812 |
. . . . . . . . . . . 12
⊢
(1st ‘〈𝑦, 𝑧〉) = 𝑦 |
15 | 14 | oveq1i 7265 |
. . . . . . . . . . 11
⊢
((1st ‘〈𝑦, 𝑧〉)↑2) = (𝑦↑2) |
16 | 12, 13 | op2nd 7813 |
. . . . . . . . . . . . 13
⊢
(2nd ‘〈𝑦, 𝑧〉) = 𝑧 |
17 | 16 | oveq1i 7265 |
. . . . . . . . . . . 12
⊢
((2nd ‘〈𝑦, 𝑧〉)↑2) = (𝑧↑2) |
18 | 17 | oveq2i 7266 |
. . . . . . . . . . 11
⊢ (𝐷 · ((2nd
‘〈𝑦, 𝑧〉)↑2)) = (𝐷 · (𝑧↑2)) |
19 | 15, 18 | oveq12i 7267 |
. . . . . . . . . 10
⊢
(((1st ‘〈𝑦, 𝑧〉)↑2) − (𝐷 · ((2nd
‘〈𝑦, 𝑧〉)↑2))) = ((𝑦↑2) − (𝐷 · (𝑧↑2))) |
20 | 11, 19 | eqtrdi 2795 |
. . . . . . . . 9
⊢ (𝑎 = 〈𝑦, 𝑧〉 → (((1st ‘𝑎)↑2) − (𝐷 · ((2nd
‘𝑎)↑2))) =
((𝑦↑2) − (𝐷 · (𝑧↑2)))) |
21 | 20 | ad2antrl 724 |
. . . . . . . 8
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑎 =
〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = ((𝑦↑2) − (𝐷 · (𝑧↑2)))) |
22 | | simprrl 777 |
. . . . . . . . . . 11
⊢ ((𝐷 ∈ ℕ ∧ (𝑎 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ (𝑦 ∈ ℕ
∧ 𝑧 ∈
ℕ)) |
23 | | simpl 482 |
. . . . . . . . . . 11
⊢ ((𝐷 ∈ ℕ ∧ (𝑎 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ 𝐷 ∈
ℕ) |
24 | | simprr 769 |
. . . . . . . . . . . 12
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))
→ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))) |
25 | 24 | ad2antll 725 |
. . . . . . . . . . 11
⊢ ((𝐷 ∈ ℕ ∧ (𝑎 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))) |
26 | | nnz 12272 |
. . . . . . . . . . . . . . 15
⊢ (𝑦 ∈ ℕ → 𝑦 ∈
ℤ) |
27 | 26 | ad2antrr 722 |
. . . . . . . . . . . . . 14
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → 𝑦 ∈ ℤ) |
28 | | zsqcl 13776 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ ℤ → (𝑦↑2) ∈
ℤ) |
29 | 27, 28 | syl 17 |
. . . . . . . . . . . . 13
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (𝑦↑2) ∈ ℤ) |
30 | | nnz 12272 |
. . . . . . . . . . . . . . 15
⊢ (𝐷 ∈ ℕ → 𝐷 ∈
ℤ) |
31 | 30 | ad2antrl 724 |
. . . . . . . . . . . . . 14
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → 𝐷 ∈ ℤ) |
32 | | simplr 765 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → 𝑧 ∈ ℕ) |
33 | 32 | nnzd 12354 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → 𝑧 ∈ ℤ) |
34 | | zsqcl 13776 |
. . . . . . . . . . . . . . 15
⊢ (𝑧 ∈ ℤ → (𝑧↑2) ∈
ℤ) |
35 | 33, 34 | syl 17 |
. . . . . . . . . . . . . 14
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (𝑧↑2) ∈ ℤ) |
36 | 31, 35 | zmulcld 12361 |
. . . . . . . . . . . . 13
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (𝐷 · (𝑧↑2)) ∈ ℤ) |
37 | 29, 36 | zsubcld 12360 |
. . . . . . . . . . . 12
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ ℤ) |
38 | | 1re 10906 |
. . . . . . . . . . . . . . 15
⊢ 1 ∈
ℝ |
39 | | 2re 11977 |
. . . . . . . . . . . . . . . 16
⊢ 2 ∈
ℝ |
40 | | nnre 11910 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝐷 ∈ ℕ → 𝐷 ∈
ℝ) |
41 | 40 | ad2antrl 724 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → 𝐷 ∈ ℝ) |
42 | | nnnn0 12170 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝐷 ∈ ℕ → 𝐷 ∈
ℕ0) |
43 | 42 | ad2antrl 724 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → 𝐷 ∈
ℕ0) |
44 | 43 | nn0ge0d 12226 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → 0 ≤ 𝐷) |
45 | 41, 44 | resqrtcld 15057 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (√‘𝐷) ∈
ℝ) |
46 | | remulcl 10887 |
. . . . . . . . . . . . . . . 16
⊢ ((2
∈ ℝ ∧ (√‘𝐷) ∈ ℝ) → (2 ·
(√‘𝐷)) ∈
ℝ) |
47 | 39, 45, 46 | sylancr 586 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (2 ·
(√‘𝐷)) ∈
ℝ) |
48 | | readdcl 10885 |
. . . . . . . . . . . . . . 15
⊢ ((1
∈ ℝ ∧ (2 · (√‘𝐷)) ∈ ℝ) → (1 + (2 ·
(√‘𝐷))) ∈
ℝ) |
49 | 38, 47, 48 | sylancr 586 |
. . . . . . . . . . . . . 14
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (1 + (2 ·
(√‘𝐷))) ∈
ℝ) |
50 | 49 | flcld 13446 |
. . . . . . . . . . . . 13
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (⌊‘(1 + (2 ·
(√‘𝐷)))) ∈
ℤ) |
51 | 50 | znegcld 12357 |
. . . . . . . . . . . 12
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → -(⌊‘(1 + (2
· (√‘𝐷)))) ∈ ℤ) |
52 | 37 | zred 12355 |
. . . . . . . . . . . . 13
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ ℝ) |
53 | 50 | zred 12355 |
. . . . . . . . . . . . 13
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (⌊‘(1 + (2 ·
(√‘𝐷)))) ∈
ℝ) |
54 | | nn0abscl 14952 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ ℤ →
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) ∈
ℕ0) |
55 | 37, 54 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) ∈
ℕ0) |
56 | 55 | nn0zd 12353 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) ∈ ℤ) |
57 | 56 | zred 12355 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) ∈ ℝ) |
58 | | peano2re 11078 |
. . . . . . . . . . . . . . . 16
⊢
((⌊‘(1 + (2 · (√‘𝐷)))) ∈ ℝ →
((⌊‘(1 + (2 · (√‘𝐷)))) + 1) ∈ ℝ) |
59 | 53, 58 | syl 17 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → ((⌊‘(1 + (2
· (√‘𝐷)))) + 1) ∈ ℝ) |
60 | | simprr 769 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))) |
61 | | flltp1 13448 |
. . . . . . . . . . . . . . . 16
⊢ ((1 + (2
· (√‘𝐷))) ∈ ℝ → (1 + (2 ·
(√‘𝐷))) <
((⌊‘(1 + (2 · (√‘𝐷)))) + 1)) |
62 | 49, 61 | syl 17 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (1 + (2 ·
(√‘𝐷))) <
((⌊‘(1 + (2 · (√‘𝐷)))) + 1)) |
63 | 57, 49, 59, 60, 62 | lttrd 11066 |
. . . . . . . . . . . . . 14
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < ((⌊‘(1 + (2
· (√‘𝐷)))) + 1)) |
64 | | zleltp1 12301 |
. . . . . . . . . . . . . . 15
⊢
(((abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) ∈ ℤ ∧
(⌊‘(1 + (2 · (√‘𝐷)))) ∈ ℤ) →
((abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) ≤
(⌊‘(1 + (2 · (√‘𝐷)))) ↔ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < ((⌊‘(1 + (2
· (√‘𝐷)))) + 1))) |
65 | 56, 50, 64 | syl2anc 583 |
. . . . . . . . . . . . . 14
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → ((abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) ≤ (⌊‘(1 + (2
· (√‘𝐷)))) ↔ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < ((⌊‘(1 + (2
· (√‘𝐷)))) + 1))) |
66 | 63, 65 | mpbird 256 |
. . . . . . . . . . . . 13
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) ≤ (⌊‘(1 + (2
· (√‘𝐷))))) |
67 | | absle 14955 |
. . . . . . . . . . . . . 14
⊢ ((((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ ℝ ∧
(⌊‘(1 + (2 · (√‘𝐷)))) ∈ ℝ) →
((abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) ≤
(⌊‘(1 + (2 · (√‘𝐷)))) ↔ (-(⌊‘(1 + (2
· (√‘𝐷)))) ≤ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ≤ (⌊‘(1 + (2
· (√‘𝐷))))))) |
68 | 67 | biimpa 476 |
. . . . . . . . . . . . 13
⊢
(((((𝑦↑2)
− (𝐷 · (𝑧↑2))) ∈ ℝ ∧
(⌊‘(1 + (2 · (√‘𝐷)))) ∈ ℝ) ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) ≤
(⌊‘(1 + (2 · (√‘𝐷))))) → (-(⌊‘(1 + (2
· (√‘𝐷)))) ≤ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ≤ (⌊‘(1 + (2
· (√‘𝐷)))))) |
69 | 52, 53, 66, 68 | syl21anc 834 |
. . . . . . . . . . . 12
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → (-(⌊‘(1 + (2
· (√‘𝐷)))) ≤ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ≤ (⌊‘(1 + (2
· (√‘𝐷)))))) |
70 | | elfz 13174 |
. . . . . . . . . . . . 13
⊢ ((((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ ℤ ∧
-(⌊‘(1 + (2 · (√‘𝐷)))) ∈ ℤ ∧ (⌊‘(1
+ (2 · (√‘𝐷)))) ∈ ℤ) → (((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ (-(⌊‘(1 + (2
· (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
↔ (-(⌊‘(1 + (2 · (√‘𝐷)))) ≤ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ≤ (⌊‘(1 + (2
· (√‘𝐷))))))) |
71 | 70 | biimpar 477 |
. . . . . . . . . . . 12
⊢
(((((𝑦↑2)
− (𝐷 · (𝑧↑2))) ∈ ℤ ∧
-(⌊‘(1 + (2 · (√‘𝐷)))) ∈ ℤ ∧ (⌊‘(1
+ (2 · (√‘𝐷)))) ∈ ℤ) ∧
(-(⌊‘(1 + (2 · (√‘𝐷)))) ≤ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) ≤ (⌊‘(1 + (2
· (√‘𝐷)))))) → ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ (-(⌊‘(1 + (2
· (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))) |
72 | 37, 51, 50, 69, 71 | syl31anc 1371 |
. . . . . . . . . . 11
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (𝐷 ∈ ℕ ∧
(abs‘((𝑦↑2)
− (𝐷 · (𝑧↑2)))) < (1 + (2
· (√‘𝐷))))) → ((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ (-(⌊‘(1 + (2
· (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))) |
73 | 22, 23, 25, 72 | syl12anc 833 |
. . . . . . . . . 10
⊢ ((𝐷 ∈ ℕ ∧ (𝑎 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ ((𝑦↑2) −
(𝐷 · (𝑧↑2))) ∈
(-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))) |
74 | 73 | adantlr 711 |
. . . . . . . . 9
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑎 =
〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ ((𝑦↑2) −
(𝐷 · (𝑧↑2))) ∈
(-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))) |
75 | | simprl 767 |
. . . . . . . . . 10
⊢ (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))
→ ((𝑦↑2) −
(𝐷 · (𝑧↑2))) ≠
0) |
76 | 75 | ad2antll 725 |
. . . . . . . . 9
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑎 =
〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ ((𝑦↑2) −
(𝐷 · (𝑧↑2))) ≠
0) |
77 | | eldifsn 4717 |
. . . . . . . . 9
⊢ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ ((-(⌊‘(1 + (2
· (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}) ↔ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ∈ (-(⌊‘(1 + (2
· (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷))))) ∧
((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0)) |
78 | 74, 76, 77 | sylanbrc 582 |
. . . . . . . 8
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑎 =
〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ ((𝑦↑2) −
(𝐷 · (𝑧↑2))) ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0})) |
79 | 21, 78 | eqeltrd 2839 |
. . . . . . 7
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑎 =
〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0})) |
80 | 79 | ex 412 |
. . . . . 6
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → ((𝑎 =
〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷))))))
→ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}))) |
81 | 80 | exlimdvv 1938 |
. . . . 5
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → (∃𝑦∃𝑧(𝑎 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷))))))
→ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}))) |
82 | 5, 81 | syl5bi 241 |
. . . 4
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → (𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
→ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}))) |
83 | 82 | imp 406 |
. . 3
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ 𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))})
→ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0})) |
84 | 1, 4, 83 | fiphp3d 40557 |
. 2
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → ∃𝑥
∈ ((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}){𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) |
85 | | eldif 3893 |
. . . . . 6
⊢ (𝑥 ∈ ((-(⌊‘(1 +
(2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}) ↔ (𝑥
∈ (-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷))))) ∧
¬ 𝑥 ∈
{0})) |
86 | | elfzelz 13185 |
. . . . . . . 8
⊢ (𝑥 ∈ (-(⌊‘(1 + (2
· (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
→ 𝑥 ∈
ℤ) |
87 | | simp2 1135 |
. . . . . . . . . 10
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ 𝑥 ∈
ℤ ∧ ¬ 𝑥
∈ {0}) → 𝑥 ∈
ℤ) |
88 | | velsn 4574 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ {0} ↔ 𝑥 = 0) |
89 | 88 | biimpri 227 |
. . . . . . . . . . . 12
⊢ (𝑥 = 0 → 𝑥 ∈ {0}) |
90 | 89 | necon3bi 2969 |
. . . . . . . . . . 11
⊢ (¬
𝑥 ∈ {0} → 𝑥 ≠ 0) |
91 | 90 | 3ad2ant3 1133 |
. . . . . . . . . 10
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ 𝑥 ∈
ℤ ∧ ¬ 𝑥
∈ {0}) → 𝑥 ≠
0) |
92 | 87, 91 | jca 511 |
. . . . . . . . 9
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ 𝑥 ∈
ℤ ∧ ¬ 𝑥
∈ {0}) → (𝑥
∈ ℤ ∧ 𝑥 ≠
0)) |
93 | 92 | 3exp 1117 |
. . . . . . . 8
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → (𝑥 ∈
ℤ → (¬ 𝑥
∈ {0} → (𝑥 ∈
ℤ ∧ 𝑥 ≠
0)))) |
94 | 86, 93 | syl5 34 |
. . . . . . 7
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → (𝑥 ∈
(-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
→ (¬ 𝑥 ∈ {0}
→ (𝑥 ∈ ℤ
∧ 𝑥 ≠
0)))) |
95 | 94 | impd 410 |
. . . . . 6
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → ((𝑥 ∈
(-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷))))) ∧
¬ 𝑥 ∈ {0}) →
(𝑥 ∈ ℤ ∧
𝑥 ≠
0))) |
96 | 85, 95 | syl5bi 241 |
. . . . 5
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → (𝑥 ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}) → (𝑥
∈ ℤ ∧ 𝑥 ≠
0))) |
97 | | simp2l 1197 |
. . . . . . 7
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
∧ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → 𝑥 ∈ ℤ) |
98 | | simp2r 1198 |
. . . . . . 7
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
∧ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → 𝑥 ≠ 0) |
99 | | nnex 11909 |
. . . . . . . . . . 11
⊢ ℕ
∈ V |
100 | 99, 99 | xpex 7581 |
. . . . . . . . . 10
⊢ (ℕ
× ℕ) ∈ V |
101 | | opabssxp 5669 |
. . . . . . . . . 10
⊢
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ⊆ (ℕ ×
ℕ) |
102 | | ssdomg 8741 |
. . . . . . . . . 10
⊢ ((ℕ
× ℕ) ∈ V → ({〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ⊆ (ℕ × ℕ) →
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≼ (ℕ ×
ℕ))) |
103 | 100, 101,
102 | mp2 9 |
. . . . . . . . 9
⊢
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≼ (ℕ ×
ℕ) |
104 | | xpnnen 15848 |
. . . . . . . . 9
⊢ (ℕ
× ℕ) ≈ ℕ |
105 | | domentr 8754 |
. . . . . . . . 9
⊢
(({〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≼ (ℕ × ℕ) ∧
(ℕ × ℕ) ≈ ℕ) → {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≼ ℕ) |
106 | 103, 104,
105 | mp2an 688 |
. . . . . . . 8
⊢
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≼ ℕ |
107 | | ensym 8744 |
. . . . . . . . . 10
⊢ ({𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ → ℕ ≈
{𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥}) |
108 | 107 | 3ad2ant3 1133 |
. . . . . . . . 9
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
∧ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → ℕ ≈
{𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥}) |
109 | 100, 101 | ssexi 5241 |
. . . . . . . . . 10
⊢
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ∈ V |
110 | | fveq2 6756 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑎 = 𝑏 → (1st ‘𝑎) = (1st ‘𝑏)) |
111 | 110 | oveq1d 7270 |
. . . . . . . . . . . . . . . 16
⊢ (𝑎 = 𝑏 → ((1st ‘𝑎)↑2) = ((1st
‘𝑏)↑2)) |
112 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑎 = 𝑏 → (2nd ‘𝑎) = (2nd ‘𝑏)) |
113 | 112 | oveq1d 7270 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑎 = 𝑏 → ((2nd ‘𝑎)↑2) = ((2nd
‘𝑏)↑2)) |
114 | 113 | oveq2d 7271 |
. . . . . . . . . . . . . . . 16
⊢ (𝑎 = 𝑏 → (𝐷 · ((2nd ‘𝑎)↑2)) = (𝐷 · ((2nd ‘𝑏)↑2))) |
115 | 111, 114 | oveq12d 7273 |
. . . . . . . . . . . . . . 15
⊢ (𝑎 = 𝑏 → (((1st ‘𝑎)↑2) − (𝐷 · ((2nd
‘𝑎)↑2))) =
(((1st ‘𝑏)↑2) − (𝐷 · ((2nd ‘𝑏)↑2)))) |
116 | 115 | eqeq1d 2740 |
. . . . . . . . . . . . . 14
⊢ (𝑎 = 𝑏 → ((((1st ‘𝑎)↑2) − (𝐷 · ((2nd
‘𝑎)↑2))) = 𝑥 ↔ (((1st
‘𝑏)↑2) −
(𝐷 ·
((2nd ‘𝑏)↑2))) = 𝑥)) |
117 | 116 | elrab 3617 |
. . . . . . . . . . . . 13
⊢ (𝑏 ∈ {𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ↔ (𝑏 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∧ (((1st ‘𝑏)↑2) − (𝐷 · ((2nd ‘𝑏)↑2))) = 𝑥)) |
118 | | simprl 767 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝐷 ∈
ℕ ∧ ¬ (√‘𝐷) ∈ ℚ) ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) ∧ (((1st
‘𝑏)↑2) −
(𝐷 ·
((2nd ‘𝑏)↑2))) = 𝑥) ∧ (𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ 𝑏 = 〈𝑦, 𝑧〉) |
119 | | simprrl 777 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝐷 ∈
ℕ ∧ ¬ (√‘𝐷) ∈ ℚ) ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) ∧ (((1st
‘𝑏)↑2) −
(𝐷 ·
((2nd ‘𝑏)↑2))) = 𝑥) ∧ (𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ (𝑦 ∈ ℕ
∧ 𝑧 ∈
ℕ)) |
120 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑏 = 〈𝑦, 𝑧〉 → (1st ‘𝑏) = (1st
‘〈𝑦, 𝑧〉)) |
121 | 120 | oveq1d 7270 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑏 = 〈𝑦, 𝑧〉 → ((1st ‘𝑏)↑2) = ((1st
‘〈𝑦, 𝑧〉)↑2)) |
122 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑏 = 〈𝑦, 𝑧〉 → (2nd ‘𝑏) = (2nd
‘〈𝑦, 𝑧〉)) |
123 | 122 | oveq1d 7270 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑏 = 〈𝑦, 𝑧〉 → ((2nd ‘𝑏)↑2) = ((2nd
‘〈𝑦, 𝑧〉)↑2)) |
124 | 123 | oveq2d 7271 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑏 = 〈𝑦, 𝑧〉 → (𝐷 · ((2nd ‘𝑏)↑2)) = (𝐷 · ((2nd
‘〈𝑦, 𝑧〉)↑2))) |
125 | 121, 124 | oveq12d 7273 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑏 = 〈𝑦, 𝑧〉 → (((1st ‘𝑏)↑2) − (𝐷 · ((2nd
‘𝑏)↑2))) =
(((1st ‘〈𝑦, 𝑧〉)↑2) − (𝐷 · ((2nd
‘〈𝑦, 𝑧〉)↑2)))) |
126 | 125, 19 | eqtr2di 2796 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑏 = 〈𝑦, 𝑧〉 → ((𝑦↑2) − (𝐷 · (𝑧↑2))) = (((1st ‘𝑏)↑2) − (𝐷 · ((2nd
‘𝑏)↑2)))) |
127 | 126 | ad2antrl 724 |
. . . . . . . . . . . . . . . . . . . 20
⊢
(((((𝐷 ∈
ℕ ∧ ¬ (√‘𝐷) ∈ ℚ) ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) ∧ (((1st
‘𝑏)↑2) −
(𝐷 ·
((2nd ‘𝑏)↑2))) = 𝑥) ∧ (𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ ((𝑦↑2) −
(𝐷 · (𝑧↑2))) = (((1st
‘𝑏)↑2) −
(𝐷 ·
((2nd ‘𝑏)↑2)))) |
128 | | simplr 765 |
. . . . . . . . . . . . . . . . . . . 20
⊢
(((((𝐷 ∈
ℕ ∧ ¬ (√‘𝐷) ∈ ℚ) ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) ∧ (((1st
‘𝑏)↑2) −
(𝐷 ·
((2nd ‘𝑏)↑2))) = 𝑥) ∧ (𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ (((1st ‘𝑏)↑2) − (𝐷 · ((2nd ‘𝑏)↑2))) = 𝑥) |
129 | 127, 128 | eqtrd 2778 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝐷 ∈
ℕ ∧ ¬ (√‘𝐷) ∈ ℚ) ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) ∧ (((1st
‘𝑏)↑2) −
(𝐷 ·
((2nd ‘𝑏)↑2))) = 𝑥) ∧ (𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ ((𝑦↑2) −
(𝐷 · (𝑧↑2))) = 𝑥) |
130 | 118, 119,
129 | jca32 515 |
. . . . . . . . . . . . . . . . . 18
⊢
(((((𝐷 ∈
ℕ ∧ ¬ (√‘𝐷) ∈ ℚ) ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) ∧ (((1st
‘𝑏)↑2) −
(𝐷 ·
((2nd ‘𝑏)↑2))) = 𝑥) ∧ (𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))))
→ (𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥))) |
131 | 130 | ex 412 |
. . . . . . . . . . . . . . . . 17
⊢ ((((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0))
∧ (((1st ‘𝑏)↑2) − (𝐷 · ((2nd ‘𝑏)↑2))) = 𝑥) → ((𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷))))))
→ (𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)))) |
132 | 131 | 2eximdv 1923 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0))
∧ (((1st ‘𝑏)↑2) − (𝐷 · ((2nd ‘𝑏)↑2))) = 𝑥) → (∃𝑦∃𝑧(𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷))))))
→ ∃𝑦∃𝑧(𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)))) |
133 | | elopab 5433 |
. . . . . . . . . . . . . . . 16
⊢ (𝑏 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
↔ ∃𝑦∃𝑧(𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷))))))) |
134 | | elopab 5433 |
. . . . . . . . . . . . . . . 16
⊢ (𝑏 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ↔ ∃𝑦∃𝑧(𝑏 = 〈𝑦, 𝑧〉 ∧ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥))) |
135 | 132, 133,
134 | 3imtr4g 295 |
. . . . . . . . . . . . . . 15
⊢ ((((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0))
∧ (((1st ‘𝑏)↑2) − (𝐷 · ((2nd ‘𝑏)↑2))) = 𝑥) → (𝑏 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
→ 𝑏 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)})) |
136 | 135 | expimpd 453 |
. . . . . . . . . . . . . 14
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0))
→ (((((1st ‘𝑏)↑2) − (𝐷 · ((2nd ‘𝑏)↑2))) = 𝑥 ∧ 𝑏 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))})
→ 𝑏 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)})) |
137 | 136 | ancomsd 465 |
. . . . . . . . . . . . 13
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0))
→ ((𝑏 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∧ (((1st ‘𝑏)↑2) − (𝐷 · ((2nd ‘𝑏)↑2))) = 𝑥) → 𝑏 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)})) |
138 | 117, 137 | syl5bi 241 |
. . . . . . . . . . . 12
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0))
→ (𝑏 ∈ {𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} → 𝑏 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)})) |
139 | 138 | ssrdv 3923 |
. . . . . . . . . . 11
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0))
→ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ⊆ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)}) |
140 | 139 | 3adant3 1130 |
. . . . . . . . . 10
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
∧ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → {𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ⊆ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)}) |
141 | | ssdomg 8741 |
. . . . . . . . . 10
⊢
({〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ∈ V → ({𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ⊆ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} → {𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≼ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)})) |
142 | 109, 140,
141 | mpsyl 68 |
. . . . . . . . 9
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
∧ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → {𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≼ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)}) |
143 | | endomtr 8753 |
. . . . . . . . 9
⊢ ((ℕ
≈ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ∧ {𝑎 ∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≼ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)}) → ℕ ≼ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)}) |
144 | 108, 142,
143 | syl2anc 583 |
. . . . . . . 8
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
∧ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → ℕ ≼
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)}) |
145 | | sbth 8833 |
. . . . . . . 8
⊢
(({〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≼ ℕ ∧ ℕ ≼
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)}) → {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≈ ℕ) |
146 | 106, 144,
145 | sylancr 586 |
. . . . . . 7
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
∧ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≈ ℕ) |
147 | 97, 98, 146 | jca32 515 |
. . . . . 6
⊢ (((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) ∧ (𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
∧ {𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → (𝑥 ∈ ℤ ∧ (𝑥 ≠ 0 ∧ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≈ ℕ))) |
148 | 147 | 3exp 1117 |
. . . . 5
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → ((𝑥 ∈
ℤ ∧ 𝑥 ≠ 0)
→ ({𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ → (𝑥 ∈ ℤ ∧ (𝑥 ≠ 0 ∧ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≈ ℕ))))) |
149 | 96, 148 | syld 47 |
. . . 4
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → (𝑥 ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}) → ({𝑎
∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ → (𝑥 ∈ ℤ ∧ (𝑥 ≠ 0 ∧ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≈ ℕ))))) |
150 | 149 | impd 410 |
. . 3
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → ((𝑥 ∈
((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}) ∧ {𝑎
∈ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ) → (𝑥 ∈ ℤ ∧ (𝑥 ≠ 0 ∧ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≈ ℕ)))) |
151 | 150 | reximdv2 3198 |
. 2
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → (∃𝑥
∈ ((-(⌊‘(1 + (2 · (√‘𝐷))))...(⌊‘(1 + (2 ·
(√‘𝐷)))))
∖ {0}){𝑎 ∈
{〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ (((𝑦↑2) − (𝐷 · (𝑧↑2))) ≠ 0 ∧ (abs‘((𝑦↑2) − (𝐷 · (𝑧↑2)))) < (1 + (2 ·
(√‘𝐷)))))}
∣ (((1st ‘𝑎)↑2) − (𝐷 · ((2nd ‘𝑎)↑2))) = 𝑥} ≈ ℕ → ∃𝑥 ∈ ℤ (𝑥 ≠ 0 ∧ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≈ ℕ))) |
152 | 84, 151 | mpd 15 |
1
⊢ ((𝐷 ∈ ℕ ∧ ¬
(√‘𝐷) ∈
ℚ) → ∃𝑥
∈ ℤ (𝑥 ≠ 0
∧ {〈𝑦, 𝑧〉 ∣ ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) ∧ ((𝑦↑2) − (𝐷 · (𝑧↑2))) = 𝑥)} ≈ ℕ)) |