Description: Define the solutions of a Pell equation in the first quadrant. To avoid pair pain, we represent this via the canonical embedding into the reals. (Contributed by Stefan O'Rear, 17-Sep-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | df-pell1qr | |
Step | Hyp | Ref | Expression |
---|---|---|---|
0 | cpell1qr | |
|
1 | vx | |
|
2 | cn | |
|
3 | csquarenn | |
|
4 | 2 3 | cdif | |
5 | vy | |
|
6 | cr | |
|
7 | vz | |
|
8 | cn0 | |
|
9 | vw | |
|
10 | 5 | cv | |
11 | 7 | cv | |
12 | caddc | |
|
13 | csqrt | |
|
14 | 1 | cv | |
15 | 14 13 | cfv | |
16 | cmul | |
|
17 | 9 | cv | |
18 | 15 17 16 | co | |
19 | 11 18 12 | co | |
20 | 10 19 | wceq | |
21 | cexp | |
|
22 | c2 | |
|
23 | 11 22 21 | co | |
24 | cmin | |
|
25 | 17 22 21 | co | |
26 | 14 25 16 | co | |
27 | 23 26 24 | co | |
28 | c1 | |
|
29 | 27 28 | wceq | |
30 | 20 29 | wa | |
31 | 30 9 8 | wrex | |
32 | 31 7 8 | wrex | |
33 | 32 5 6 | crab | |
34 | 1 4 33 | cmpt | |
35 | 0 34 | wceq | |