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

Definition df-pell1234qr 26929
Description: Define the general solutions of a Pell equation. (Contributed by Stefan O'Rear, 17-Sep-2014.)
Assertion
Ref Expression
df-pell1234qr  |- Pell1234QR  =  ( x  e.  ( NN 
\NN )  |->  { y  e.  RR  |  E. z  e.  ZZ  E. w  e.  ZZ  ( 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-pell1234qr
StepHypRef Expression
1 cpell1234qr 26923 . 2  class Pell1234QR
2 vx . . 3  set  x
3 cn 9746 . . . 4  class  NN
4 csquarenn 26921 . . . 4  classNN
53, 4cdif 3149 . . 3  class  ( NN 
\NN )
6 vy . . . . . . . . 9  set  y
76cv 1622 . . . . . . . 8  class  y
8 vz . . . . . . . . . 10  set  z
98cv 1622 . . . . . . . . 9  class  z
102cv 1622 . . . . . . . . . . 11  class  x
11 csqr 11718 . . . . . . . . . . 11  class  sqr
1210, 11cfv 5255 . . . . . . . . . 10  class  ( sqr `  x )
13 vw . . . . . . . . . . 11  set  w
1413cv 1622 . . . . . . . . . 10  class  w
15 cmul 8742 . . . . . . . . . 10  class  x.
1612, 14, 15co 5858 . . . . . . . . 9  class  ( ( sqr `  x )  x.  w )
17 caddc 8740 . . . . . . . . 9  class  +
189, 16, 17co 5858 . . . . . . . 8  class  ( z  +  ( ( sqr `  x )  x.  w
) )
197, 18wceq 1623 . . . . . . 7  wff  y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )
20 c2 9795 . . . . . . . . . 10  class  2
21 cexp 11104 . . . . . . . . . 10  class  ^
229, 20, 21co 5858 . . . . . . . . 9  class  ( z ^ 2 )
2314, 20, 21co 5858 . . . . . . . . . 10  class  ( w ^ 2 )
2410, 23, 15co 5858 . . . . . . . . 9  class  ( x  x.  ( w ^
2 ) )
25 cmin 9037 . . . . . . . . 9  class  -
2622, 24, 25co 5858 . . . . . . . 8  class  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )
27 c1 8738 . . . . . . . 8  class  1
2826, 27wceq 1623 . . . . . . 7  wff  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1
2919, 28wa 358 . . . . . 6  wff  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 )
30 cz 10024 . . . . . 6  class  ZZ
3129, 13, 30wrex 2544 . . . . 5  wff  E. w  e.  ZZ  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 )
3231, 8, 30wrex 2544 . . . 4  wff  E. z  e.  ZZ  E. w  e.  ZZ  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 )
33 cr 8736 . . . 4  class  RR
3432, 6, 33crab 2547 . . 3  class  { y  e.  RR  |  E. z  e.  ZZ  E. w  e.  ZZ  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 ) }
352, 5, 34cmpt 4077 . 2  class  ( x  e.  ( NN  \NN )  |->  { y  e.  RR  |  E. z  e.  ZZ  E. w  e.  ZZ  (
y  =  ( z  +  ( ( sqr `  x )  x.  w
) )  /\  (
( z ^ 2 )  -  ( x  x.  ( w ^
2 ) ) )  =  1 ) } )
361, 35wceq 1623 1  wff Pell1234QR  =  ( x  e.  ( NN 
\NN )  |->  { y  e.  RR  |  E. z  e.  ZZ  E. w  e.  ZZ  ( y  =  ( z  +  ( ( sqr `  x
)  x.  w ) )  /\  ( ( z ^ 2 )  -  ( x  x.  ( w ^ 2 ) ) )  =  1 ) } )
Colors of variables: wff set class
This definition is referenced by:  pell1234qrval  26935
  Copyright terms: Public domain W3C validator