| Mathbox for Stefan O'Rear |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > pell1234qrval | Structured version Visualization version GIF version | ||
| Description: Value of the set of general Pell solutions. (Contributed by Stefan O'Rear, 17-Sep-2014.) |
| Ref | Expression |
|---|---|
| pell1234qrval | ⊢ (𝐷 ∈ (ℕ ∖ ◻NN) → (Pell1234QR‘𝐷) = {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝐷) · 𝑤)) ∧ ((𝑧↑2) − (𝐷 · (𝑤↑2))) = 1)}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fveq2 6852 | . . . . . . . 8 ⊢ (𝑑 = 𝐷 → (√‘𝑑) = (√‘𝐷)) | |
| 2 | 1 | oveq1d 7396 | . . . . . . 7 ⊢ (𝑑 = 𝐷 → ((√‘𝑑) · 𝑤) = ((√‘𝐷) · 𝑤)) |
| 3 | 2 | oveq2d 7397 | . . . . . 6 ⊢ (𝑑 = 𝐷 → (𝑧 + ((√‘𝑑) · 𝑤)) = (𝑧 + ((√‘𝐷) · 𝑤))) |
| 4 | 3 | eqeq2d 2763 | . . . . 5 ⊢ (𝑑 = 𝐷 → (𝑦 = (𝑧 + ((√‘𝑑) · 𝑤)) ↔ 𝑦 = (𝑧 + ((√‘𝐷) · 𝑤)))) |
| 5 | oveq1 7388 | . . . . . . 7 ⊢ (𝑑 = 𝐷 → (𝑑 · (𝑤↑2)) = (𝐷 · (𝑤↑2))) | |
| 6 | 5 | oveq2d 7397 | . . . . . 6 ⊢ (𝑑 = 𝐷 → ((𝑧↑2) − (𝑑 · (𝑤↑2))) = ((𝑧↑2) − (𝐷 · (𝑤↑2)))) |
| 7 | 6 | eqeq1d 2754 | . . . . 5 ⊢ (𝑑 = 𝐷 → (((𝑧↑2) − (𝑑 · (𝑤↑2))) = 1 ↔ ((𝑧↑2) − (𝐷 · (𝑤↑2))) = 1)) |
| 8 | 4, 7 | anbi12d 640 | . . . 4 ⊢ (𝑑 = 𝐷 → ((𝑦 = (𝑧 + ((√‘𝑑) · 𝑤)) ∧ ((𝑧↑2) − (𝑑 · (𝑤↑2))) = 1) ↔ (𝑦 = (𝑧 + ((√‘𝐷) · 𝑤)) ∧ ((𝑧↑2) − (𝐷 · (𝑤↑2))) = 1))) |
| 9 | 8 | 2rexbidv 3217 | . . 3 ⊢ (𝑑 = 𝐷 → (∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑑) · 𝑤)) ∧ ((𝑧↑2) − (𝑑 · (𝑤↑2))) = 1) ↔ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝐷) · 𝑤)) ∧ ((𝑧↑2) − (𝐷 · (𝑤↑2))) = 1))) |
| 10 | 9 | rabbidv 3411 | . 2 ⊢ (𝑑 = 𝐷 → {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑑) · 𝑤)) ∧ ((𝑧↑2) − (𝑑 · (𝑤↑2))) = 1)} = {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝐷) · 𝑤)) ∧ ((𝑧↑2) − (𝐷 · (𝑤↑2))) = 1)}) |
| 11 | df-pell1234qr 43359 | . 2 ⊢ Pell1234QR = (𝑑 ∈ (ℕ ∖ ◻NN) ↦ {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑑) · 𝑤)) ∧ ((𝑧↑2) − (𝑑 · (𝑤↑2))) = 1)}) | |
| 12 | reex 11150 | . . 3 ⊢ ℝ ∈ V | |
| 13 | 12 | rabex 5285 | . 2 ⊢ {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝐷) · 𝑤)) ∧ ((𝑧↑2) − (𝐷 · (𝑤↑2))) = 1)} ∈ V |
| 14 | 10, 11, 13 | fvmpt 6960 | 1 ⊢ (𝐷 ∈ (ℕ ∖ ◻NN) → (Pell1234QR‘𝐷) = {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝐷) · 𝑤)) ∧ ((𝑧↑2) − (𝐷 · (𝑤↑2))) = 1)}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 398 = wceq 1550 ∈ wcel 2132 ∃wrex 3076 {crab 3404 ∖ cdif 3892 ‘cfv 6506 (class class class)co 7381 ℝcr 11058 1c1 11060 + caddc 11062 · cmul 11064 − cmin 11400 ℕcn 12196 2c2 12258 ℤcz 12554 ↑cexp 14060 √csqrt 15232 ◻NNcsquarenn 43351 Pell1234QRcpell1234qr 43353 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1805 ax-4 1819 ax-5 1920 ax-6 1977 ax-7 2018 ax-8 2134 ax-9 2142 ax-10 2165 ax-11 2181 ax-12 2202 ax-ext 2724 ax-sep 5236 ax-pr 5380 ax-cnex 11115 ax-resscn 11116 |
| This theorem depends on definitions: df-bi 209 df-an 399 df-or 857 df-3an 1097 df-tru 1553 df-fal 1563 df-ex 1790 df-nf 1794 df-sb 2081 df-mo 2556 df-eu 2586 df-clab 2731 df-cleq 2744 df-clel 2827 df-nfc 2901 df-ral 3067 df-rex 3077 df-rab 3405 df-v 3446 df-dif 3898 df-un 3900 df-in 3902 df-ss 3912 df-nul 4277 df-if 4471 df-pw 4547 df-sn 4573 df-pr 4575 df-op 4579 df-uni 4856 df-br 5091 df-opab 5153 df-mpt 5172 df-id 5531 df-xp 5642 df-rel 5643 df-cnv 5644 df-co 5645 df-dm 5646 df-iota 6462 df-fun 6508 df-fv 6514 df-ov 7384 df-pell1234qr 43359 |
| This theorem is referenced by: elpell1234qr 43366 |
| Copyright terms: Public domain | W3C validator |