Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  df-pell1234qr Structured version   Visualization version   GIF version

Definition df-pell1234qr 40673
Description: Define the general solutions of a Pell equation. (Contributed by Stefan O'Rear, 17-Sep-2014.)
Assertion
Ref Expression
df-pell1234qr Pell1234QR = (𝑥 ∈ (ℕ ∖ ◻NN) ↦ {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)})
Distinct variable group:   𝑥,𝑦,𝑧,𝑤

Detailed syntax breakdown of Definition df-pell1234qr
StepHypRef Expression
1 cpell1234qr 40667 . 2 class Pell1234QR
2 vx . . 3 setvar 𝑥
3 cn 11982 . . . 4 class
4 csquarenn 40665 . . . 4 class NN
53, 4cdif 3885 . . 3 class (ℕ ∖ ◻NN)
6 vy . . . . . . . . 9 setvar 𝑦
76cv 1538 . . . . . . . 8 class 𝑦
8 vz . . . . . . . . . 10 setvar 𝑧
98cv 1538 . . . . . . . . 9 class 𝑧
102cv 1538 . . . . . . . . . . 11 class 𝑥
11 csqrt 14953 . . . . . . . . . . 11 class
1210, 11cfv 6437 . . . . . . . . . 10 class (√‘𝑥)
13 vw . . . . . . . . . . 11 setvar 𝑤
1413cv 1538 . . . . . . . . . 10 class 𝑤
15 cmul 10885 . . . . . . . . . 10 class ·
1612, 14, 15co 7284 . . . . . . . . 9 class ((√‘𝑥) · 𝑤)
17 caddc 10883 . . . . . . . . 9 class +
189, 16, 17co 7284 . . . . . . . 8 class (𝑧 + ((√‘𝑥) · 𝑤))
197, 18wceq 1539 . . . . . . 7 wff 𝑦 = (𝑧 + ((√‘𝑥) · 𝑤))
20 c2 12037 . . . . . . . . . 10 class 2
21 cexp 13791 . . . . . . . . . 10 class
229, 20, 21co 7284 . . . . . . . . 9 class (𝑧↑2)
2314, 20, 21co 7284 . . . . . . . . . 10 class (𝑤↑2)
2410, 23, 15co 7284 . . . . . . . . 9 class (𝑥 · (𝑤↑2))
25 cmin 11214 . . . . . . . . 9 class
2622, 24, 25co 7284 . . . . . . . 8 class ((𝑧↑2) − (𝑥 · (𝑤↑2)))
27 c1 10881 . . . . . . . 8 class 1
2826, 27wceq 1539 . . . . . . 7 wff ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1
2919, 28wa 396 . . . . . 6 wff (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)
30 cz 12328 . . . . . 6 class
3129, 13, 30wrex 3066 . . . . 5 wff 𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)
3231, 8, 30wrex 3066 . . . 4 wff 𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)
33 cr 10879 . . . 4 class
3432, 6, 33crab 3069 . . 3 class {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)}
352, 5, 34cmpt 5158 . 2 class (𝑥 ∈ (ℕ ∖ ◻NN) ↦ {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)})
361, 35wceq 1539 1 wff Pell1234QR = (𝑥 ∈ (ℕ ∖ ◻NN) ↦ {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)})
Colors of variables: wff setvar class
This definition is referenced by:  pell1234qrval  40679
  Copyright terms: Public domain W3C validator