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

Theorem pellexlem4 26588
Description: Lemma for pellex 26591. Invoking irrapx1 26584, we have infinitely many near-solutions. (Contributed by Stefan O'Rear, 14-Sep-2014.)
Assertion
Ref Expression
pellexlem4  |-  ( ( D  e.  NN  /\  -.  ( sqr `  D
)  e.  QQ )  ->  { <. y ,  z >.  |  ( ( y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  ( z ^ 2 ) ) )  =/=  0  /\  ( abs `  ( ( y ^
2 )  -  ( D  x.  ( z ^ 2 ) ) ) )  <  (
1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~~  NN )
Distinct variable group:    y, D, z

Proof of Theorem pellexlem4
Dummy variable  b is distinct from all other variables.
StepHypRef Expression
1 nnex 9940 . . . . 5  |-  NN  e.  _V
21, 1xpex 4932 . . . 4  |-  ( NN 
X.  NN )  e. 
_V
3 opabssxp 4892 . . . 4  |-  { <. y ,  z >.  |  ( ( y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  ( z ^ 2 ) ) )  =/=  0  /\  ( abs `  ( ( y ^
2 )  -  ( D  x.  ( z ^ 2 ) ) ) )  <  (
1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  C_  ( NN  X.  NN )
4 ssdomg 7091 . . . 4  |-  ( ( NN  X.  NN )  e.  _V  ->  ( { <. y ,  z
>.  |  ( (
y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  (
z ^ 2 ) ) )  =/=  0  /\  ( abs `  (
( y ^ 2 )  -  ( D  x.  ( z ^
2 ) ) ) )  <  ( 1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  C_  ( NN  X.  NN )  ->  { <. y ,  z
>.  |  ( (
y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  (
z ^ 2 ) ) )  =/=  0  /\  ( abs `  (
( y ^ 2 )  -  ( D  x.  ( z ^
2 ) ) ) )  <  ( 1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~<_  ( NN 
X.  NN ) ) )
52, 3, 4mp2 9 . . 3  |-  { <. y ,  z >.  |  ( ( y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  ( z ^ 2 ) ) )  =/=  0  /\  ( abs `  ( ( y ^
2 )  -  ( D  x.  ( z ^ 2 ) ) ) )  <  (
1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~<_  ( NN 
X.  NN )
6 xpnnen 12737 . . 3  |-  ( NN 
X.  NN )  ~~  NN
7 domentr 7104 . . 3  |-  ( ( { <. y ,  z
>.  |  ( (
y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  (
z ^ 2 ) ) )  =/=  0  /\  ( abs `  (
( y ^ 2 )  -  ( D  x.  ( z ^
2 ) ) ) )  <  ( 1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~<_  ( NN 
X.  NN )  /\  ( NN  X.  NN )  ~~  NN )  ->  { <. y ,  z
>.  |  ( (
y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  (
z ^ 2 ) ) )  =/=  0  /\  ( abs `  (
( y ^ 2 )  -  ( D  x.  ( z ^
2 ) ) ) )  <  ( 1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~<_  NN )
85, 6, 7mp2an 654 . 2  |-  { <. y ,  z >.  |  ( ( y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  ( z ^ 2 ) ) )  =/=  0  /\  ( abs `  ( ( y ^
2 )  -  ( D  x.  ( z ^ 2 ) ) ) )  <  (
1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~<_  NN
9 nnrp 10555 . . . . . . 7  |-  ( D  e.  NN  ->  D  e.  RR+ )
109rpsqrcld 12143 . . . . . 6  |-  ( D  e.  NN  ->  ( sqr `  D )  e.  RR+ )
1110anim1i 552 . . . . 5  |-  ( ( D  e.  NN  /\  -.  ( sqr `  D
)  e.  QQ )  ->  ( ( sqr `  D )  e.  RR+  /\ 
-.  ( sqr `  D
)  e.  QQ ) )
12 eldif 3275 . . . . 5  |-  ( ( sqr `  D )  e.  ( RR+  \  QQ ) 
<->  ( ( sqr `  D
)  e.  RR+  /\  -.  ( sqr `  D )  e.  QQ ) )
1311, 12sylibr 204 . . . 4  |-  ( ( D  e.  NN  /\  -.  ( sqr `  D
)  e.  QQ )  ->  ( sqr `  D
)  e.  ( RR+  \  QQ ) )
14 irrapx1 26584 . . . 4  |-  ( ( sqr `  D )  e.  ( RR+  \  QQ )  ->  { b  e.  QQ  |  ( 0  <  b  /\  ( abs `  ( b  -  ( sqr `  D ) ) )  <  (
(denom `  b ) ^ -u 2 ) ) }  ~~  NN )
15 ensym 7094 . . . 4  |-  ( { b  e.  QQ  | 
( 0  <  b  /\  ( abs `  (
b  -  ( sqr `  D ) ) )  <  ( (denom `  b ) ^ -u 2
) ) }  ~~  NN  ->  NN  ~~  {
b  e.  QQ  | 
( 0  <  b  /\  ( abs `  (
b  -  ( sqr `  D ) ) )  <  ( (denom `  b ) ^ -u 2
) ) } )
1613, 14, 153syl 19 . . 3  |-  ( ( D  e.  NN  /\  -.  ( sqr `  D
)  e.  QQ )  ->  NN  ~~  {
b  e.  QQ  | 
( 0  <  b  /\  ( abs `  (
b  -  ( sqr `  D ) ) )  <  ( (denom `  b ) ^ -u 2
) ) } )
17 pellexlem3 26587 . . 3  |-  ( ( D  e.  NN  /\  -.  ( sqr `  D
)  e.  QQ )  ->  { b  e.  QQ  |  ( 0  <  b  /\  ( abs `  ( b  -  ( sqr `  D ) ) )  <  (
(denom `  b ) ^ -u 2 ) ) }  ~<_  { <. y ,  z >.  |  ( ( y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  ( z ^ 2 ) ) )  =/=  0  /\  ( abs `  ( ( y ^
2 )  -  ( D  x.  ( z ^ 2 ) ) ) )  <  (
1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) } )
18 endomtr 7103 . . 3  |-  ( ( NN  ~~  { b  e.  QQ  |  ( 0  <  b  /\  ( abs `  ( b  -  ( sqr `  D
) ) )  < 
( (denom `  b
) ^ -u 2
) ) }  /\  { b  e.  QQ  | 
( 0  <  b  /\  ( abs `  (
b  -  ( sqr `  D ) ) )  <  ( (denom `  b ) ^ -u 2
) ) }  ~<_  { <. y ,  z >.  |  ( ( y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  ( z ^ 2 ) ) )  =/=  0  /\  ( abs `  ( ( y ^
2 )  -  ( D  x.  ( z ^ 2 ) ) ) )  <  (
1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) } )  ->  NN 
~<_  { <. y ,  z
>.  |  ( (
y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  (
z ^ 2 ) ) )  =/=  0  /\  ( abs `  (
( y ^ 2 )  -  ( D  x.  ( z ^
2 ) ) ) )  <  ( 1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) } )
1916, 17, 18syl2anc 643 . 2  |-  ( ( D  e.  NN  /\  -.  ( sqr `  D
)  e.  QQ )  ->  NN  ~<_  { <. y ,  z >.  |  ( ( y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  ( z ^ 2 ) ) )  =/=  0  /\  ( abs `  ( ( y ^
2 )  -  ( D  x.  ( z ^ 2 ) ) ) )  <  (
1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) } )
20 sbth 7165 . 2  |-  ( ( { <. y ,  z
>.  |  ( (
y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  (
z ^ 2 ) ) )  =/=  0  /\  ( abs `  (
( y ^ 2 )  -  ( D  x.  ( z ^
2 ) ) ) )  <  ( 1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~<_  NN  /\  NN 
~<_  { <. y ,  z
>.  |  ( (
y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  (
z ^ 2 ) ) )  =/=  0  /\  ( abs `  (
( y ^ 2 )  -  ( D  x.  ( z ^
2 ) ) ) )  <  ( 1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) } )  ->  { <. y ,  z
>.  |  ( (
y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  (
z ^ 2 ) ) )  =/=  0  /\  ( abs `  (
( y ^ 2 )  -  ( D  x.  ( z ^
2 ) ) ) )  <  ( 1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~~  NN )
218, 19, 20sylancr 645 1  |-  ( ( D  e.  NN  /\  -.  ( sqr `  D
)  e.  QQ )  ->  { <. y ,  z >.  |  ( ( y  e.  NN  /\  z  e.  NN )  /\  ( ( ( y ^ 2 )  -  ( D  x.  ( z ^ 2 ) ) )  =/=  0  /\  ( abs `  ( ( y ^
2 )  -  ( D  x.  ( z ^ 2 ) ) ) )  <  (
1  +  ( 2  x.  ( sqr `  D
) ) ) ) ) }  ~~  NN )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 359    e. wcel 1717    =/= wne 2552   {crab 2655   _Vcvv 2901    \ cdif 3262    C_ wss 3265   class class class wbr 4155   {copab 4208    X. cxp 4818   ` cfv 5396  (class class class)co 6022    ~~ cen 7044    ~<_ cdom 7045   0cc0 8925   1c1 8926    + caddc 8928    x. cmul 8930    < clt 9055    - cmin 9225   -ucneg 9226   NNcn 9934   2c2 9983   QQcq 10508   RR+crp 10546   ^cexp 11311   sqrcsqr 11967   abscabs 11968  denomcdenom 13055
This theorem is referenced by:  pellexlem5  26589
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2370  ax-rep 4263  ax-sep 4273  ax-nul 4281  ax-pow 4320  ax-pr 4346  ax-un 4643  ax-inf2 7531  ax-cnex 8981  ax-resscn 8982  ax-1cn 8983  ax-icn 8984  ax-addcl 8985  ax-addrcl 8986  ax-mulcl 8987  ax-mulrcl 8988  ax-mulcom 8989  ax-addass 8990  ax-mulass 8991  ax-distr 8992  ax-i2m1 8993  ax-1ne0 8994  ax-1rid 8995  ax-rnegex 8996  ax-rrecex 8997  ax-cnre 8998  ax-pre-lttri 8999  ax-pre-lttrn 9000  ax-pre-ltadd 9001  ax-pre-mulgt0 9002  ax-pre-sup 9003
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2244  df-mo 2245  df-clab 2376  df-cleq 2382  df-clel 2385  df-nfc 2514  df-ne 2554  df-nel 2555  df-ral 2656  df-rex 2657  df-reu 2658  df-rmo 2659  df-rab 2660  df-v 2903  df-sbc 3107  df-csb 3197  df-dif 3268  df-un 3270  df-in 3272  df-ss 3279  df-pss 3281  df-nul 3574  df-if 3685  df-pw 3746  df-sn 3765  df-pr 3766  df-tp 3767  df-op 3768  df-uni 3960  df-int 3995  df-iun 4039  df-br 4156  df-opab 4210  df-mpt 4211  df-tr 4246  df-eprel 4437  df-id 4441  df-po 4446  df-so 4447  df-fr 4484  df-se 4485  df-we 4486  df-ord 4527  df-on 4528  df-lim 4529  df-suc 4530  df-om 4788  df-xp 4826  df-rel 4827  df-cnv 4828  df-co 4829  df-dm 4830  df-rn 4831  df-res 4832  df-ima 4833  df-iota 5360  df-fun 5398  df-fn 5399  df-f 5400  df-f1 5401  df-fo 5402  df-f1o 5403  df-fv 5404  df-isom 5405  df-ov 6025  df-oprab 6026  df-mpt2 6027  df-1st 6290  df-2nd 6291  df-riota 6487  df-recs 6571  df-rdg 6606  df-1o 6662  df-oadd 6666  df-omul 6667  df-er 6843  df-map 6958  df-en 7048  df-dom 7049  df-sdom 7050  df-fin 7051  df-sup 7383  df-oi 7414  df-card 7761  df-acn 7764  df-pnf 9057  df-mnf 9058  df-xr 9059  df-ltxr 9060  df-le 9061  df-sub 9227  df-neg 9228  df-div 9612  df-nn 9935  df-2 9992  df-3 9993  df-n0 10156  df-z 10217  df-uz 10423  df-q 10509  df-rp 10547  df-ico 10856  df-fz 10978  df-fl 11131  df-mod 11180  df-seq 11253  df-exp 11312  df-hash 11548  df-cj 11833  df-re 11834  df-im 11835  df-sqr 11969  df-abs 11970  df-dvds 12782  df-gcd 12936  df-numer 13056  df-denom 13057
  Copyright terms: Public domain W3C validator