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

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

Detailed syntax breakdown of Definition df-pell14qr
StepHypRef Expression
1 cpell14qr 36220 . 2 class Pell14QR
2 vx . . 3 setvar 𝑥
3 cn 10863 . . . 4 class
4 csquarenn 36217 . . . 4 class NN
53, 4cdif 3532 . . 3 class (ℕ ∖ ◻NN)
6 vy . . . . . . . . 9 setvar 𝑦
76cv 1473 . . . . . . . 8 class 𝑦
8 vz . . . . . . . . . 10 setvar 𝑧
98cv 1473 . . . . . . . . 9 class 𝑧
102cv 1473 . . . . . . . . . . 11 class 𝑥
11 csqrt 13763 . . . . . . . . . . 11 class
1210, 11cfv 5786 . . . . . . . . . 10 class (√‘𝑥)
13 vw . . . . . . . . . . 11 setvar 𝑤
1413cv 1473 . . . . . . . . . 10 class 𝑤
15 cmul 9793 . . . . . . . . . 10 class ·
1612, 14, 15co 6523 . . . . . . . . 9 class ((√‘𝑥) · 𝑤)
17 caddc 9791 . . . . . . . . 9 class +
189, 16, 17co 6523 . . . . . . . 8 class (𝑧 + ((√‘𝑥) · 𝑤))
197, 18wceq 1474 . . . . . . 7 wff 𝑦 = (𝑧 + ((√‘𝑥) · 𝑤))
20 c2 10913 . . . . . . . . . 10 class 2
21 cexp 12673 . . . . . . . . . 10 class
229, 20, 21co 6523 . . . . . . . . 9 class (𝑧↑2)
2314, 20, 21co 6523 . . . . . . . . . 10 class (𝑤↑2)
2410, 23, 15co 6523 . . . . . . . . 9 class (𝑥 · (𝑤↑2))
25 cmin 10113 . . . . . . . . 9 class
2622, 24, 25co 6523 . . . . . . . 8 class ((𝑧↑2) − (𝑥 · (𝑤↑2)))
27 c1 9789 . . . . . . . 8 class 1
2826, 27wceq 1474 . . . . . . 7 wff ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1
2919, 28wa 382 . . . . . 6 wff (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)
30 cz 11206 . . . . . 6 class
3129, 13, 30wrex 2892 . . . . 5 wff 𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)
32 cn0 11135 . . . . 5 class 0
3331, 8, 32wrex 2892 . . . 4 wff 𝑧 ∈ ℕ0𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)
34 cr 9787 . . . 4 class
3533, 6, 34crab 2895 . . 3 class {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℕ0𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)}
362, 5, 35cmpt 4633 . 2 class (𝑥 ∈ (ℕ ∖ ◻NN) ↦ {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℕ0𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)})
371, 36wceq 1474 1 wff Pell14QR = (𝑥 ∈ (ℕ ∖ ◻NN) ↦ {𝑦 ∈ ℝ ∣ ∃𝑧 ∈ ℕ0𝑤 ∈ ℤ (𝑦 = (𝑧 + ((√‘𝑥) · 𝑤)) ∧ ((𝑧↑2) − (𝑥 · (𝑤↑2))) = 1)})
Colors of variables: wff setvar class
This definition is referenced by:  pell14qrval  36229
  Copyright terms: Public domain W3C validator