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

Definition df-pell1qr 37406
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.)
Assertion
Ref Expression
df-pell1qr  |- Pell1QR  =  ( x  e.  ( NN 
\NN )  |->  { y  e.  RR  |  E. z  e.  NN0  E. w  e. 
NN0  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 ) } )
Distinct variable group:    x, y, z, w

Detailed syntax breakdown of Definition df-pell1qr
StepHypRef Expression
1 cpell1qr 37401 . 2  class Pell1QR
2 vx . . 3  setvar  x
3 cn 11020 . . . 4  class  NN
4 csquarenn 37400 . . . 4  classNN
53, 4cdif 3571 . . 3  class  ( NN 
\NN )
6 vy . . . . . . . . 9  setvar  y
76cv 1482 . . . . . . . 8  class  y
8 vz . . . . . . . . . 10  setvar  z
98cv 1482 . . . . . . . . 9  class  z
102cv 1482 . . . . . . . . . . 11  class  x
11 csqrt 13973 . . . . . . . . . . 11  class  sqr
1210, 11cfv 5888 . . . . . . . . . 10  class  ( sqr `  x )
13 vw . . . . . . . . . . 11  setvar  w
1413cv 1482 . . . . . . . . . 10  class  w
15 cmul 9941 . . . . . . . . . 10  class  x.
1612, 14, 15co 6650 . . . . . . . . 9  class  ( ( sqr `  x )  x.  w )
17 caddc 9939 . . . . . . . . 9  class  +
189, 16, 17co 6650 . . . . . . . 8  class  ( z  +  ( ( sqr `  x )  x.  w
) )
197, 18wceq 1483 . . . . . . 7  wff  y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )
20 c2 11070 . . . . . . . . . 10  class  2
21 cexp 12860 . . . . . . . . . 10  class  ^
229, 20, 21co 6650 . . . . . . . . 9  class  ( z ^ 2 )
2314, 20, 21co 6650 . . . . . . . . . 10  class  ( w ^ 2 )
2410, 23, 15co 6650 . . . . . . . . 9  class  ( x  x.  ( w ^
2 ) )
25 cmin 10266 . . . . . . . . 9  class  -
2622, 24, 25co 6650 . . . . . . . 8  class  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )
27 c1 9937 . . . . . . . 8  class  1
2826, 27wceq 1483 . . . . . . 7  wff  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1
2919, 28wa 384 . . . . . 6  wff  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 )
30 cn0 11292 . . . . . 6  class  NN0
3129, 13, 30wrex 2913 . . . . 5  wff  E. w  e.  NN0  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 )
3231, 8, 30wrex 2913 . . . 4  wff  E. z  e.  NN0  E. w  e. 
NN0  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 )
33 cr 9935 . . . 4  class  RR
3432, 6, 33crab 2916 . . 3  class  { y  e.  RR  |  E. z  e.  NN0  E. w  e.  NN0  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 ) }
352, 5, 34cmpt 4729 . 2  class  ( x  e.  ( NN  \NN )  |->  { y  e.  RR  |  E. z  e.  NN0  E. w  e.  NN0  (
y  =  ( z  +  ( ( sqr `  x )  x.  w
) )  /\  (
( z ^ 2 )  -  ( x  x.  ( w ^
2 ) ) )  =  1 ) } )
361, 35wceq 1483 1  wff Pell1QR  =  ( x  e.  ( NN 
\NN )  |->  { y  e.  RR  |  E. z  e.  NN0  E. w  e. 
NN0  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 ) } )
Colors of variables: wff setvar class
This definition is referenced by:  pell1qrval  37410
  Copyright terms: Public domain W3C validator