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

Theorem rmspecfund 26862
Description: The base of exponent used to define the X and Y sequences is the fundamental solution of the corresponding Pell equation. (Contributed by Stefan O'Rear, 21-Sep-2014.)
Assertion
Ref Expression
rmspecfund  |-  ( A  e.  ( ZZ>= `  2
)  ->  (PellFund `  (
( A ^ 2 )  -  1 ) )  =  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) ) )

Proof of Theorem rmspecfund
StepHypRef Expression
1 rmspecnonsq 26860 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  - 
1 )  e.  ( NN  \NN ) )
2 eluzelz 10452 . . . . . . . . . . . . 13  |-  ( A  e.  ( ZZ>= `  2
)  ->  A  e.  ZZ )
3 zsqcl 11407 . . . . . . . . . . . . 13  |-  ( A  e.  ZZ  ->  ( A ^ 2 )  e.  ZZ )
42, 3syl 16 . . . . . . . . . . . 12  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A ^ 2 )  e.  ZZ )
54zred 10331 . . . . . . . . . . 11  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A ^ 2 )  e.  RR )
6 1re 9046 . . . . . . . . . . . 12  |-  1  e.  RR
76a1i 11 . . . . . . . . . . 11  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  e.  RR )
85, 7resubcld 9421 . . . . . . . . . 10  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  - 
1 )  e.  RR )
9 sq1 11431 . . . . . . . . . . . . 13  |-  ( 1 ^ 2 )  =  1
109a1i 11 . . . . . . . . . . . 12  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1 ^ 2 )  =  1 )
11 eluz2b2 10504 . . . . . . . . . . . . . 14  |-  ( A  e.  ( ZZ>= `  2
)  <->  ( A  e.  NN  /\  1  < 
A ) )
1211simprbi 451 . . . . . . . . . . . . 13  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  <  A )
13 eluzelre 10453 . . . . . . . . . . . . . 14  |-  ( A  e.  ( ZZ>= `  2
)  ->  A  e.  RR )
14 0le1 9507 . . . . . . . . . . . . . . 15  |-  0  <_  1
1514a1i 11 . . . . . . . . . . . . . 14  |-  ( A  e.  ( ZZ>= `  2
)  ->  0  <_  1 )
16 2nn0 10194 . . . . . . . . . . . . . . . 16  |-  2  e.  NN0
17 eluznn0 10502 . . . . . . . . . . . . . . . 16  |-  ( ( 2  e.  NN0  /\  A  e.  ( ZZ>= ` 
2 ) )  ->  A  e.  NN0 )
1816, 17mpan 652 . . . . . . . . . . . . . . 15  |-  ( A  e.  ( ZZ>= `  2
)  ->  A  e.  NN0 )
1918nn0ge0d 10233 . . . . . . . . . . . . . 14  |-  ( A  e.  ( ZZ>= `  2
)  ->  0  <_  A )
207, 13, 15, 19lt2sqd 11512 . . . . . . . . . . . . 13  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1  <  A  <->  ( 1 ^ 2 )  < 
( A ^ 2 ) ) )
2112, 20mpbid 202 . . . . . . . . . . . 12  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1 ^ 2 )  < 
( A ^ 2 ) )
2210, 21eqbrtrrd 4194 . . . . . . . . . . 11  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  <  ( A ^ 2 ) )
237, 5posdifd 9569 . . . . . . . . . . 11  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1  <  ( A ^
2 )  <->  0  <  ( ( A ^ 2 )  -  1 ) ) )
2422, 23mpbid 202 . . . . . . . . . 10  |-  ( A  e.  ( ZZ>= `  2
)  ->  0  <  ( ( A ^ 2 )  -  1 ) )
258, 24elrpd 10602 . . . . . . . . 9  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  - 
1 )  e.  RR+ )
2625rpsqrcld 12169 . . . . . . . 8  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( A ^
2 )  -  1 ) )  e.  RR+ )
2726rpred 10604 . . . . . . 7  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( A ^
2 )  -  1 ) )  e.  RR )
2827recnd 9070 . . . . . 6  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( A ^
2 )  -  1 ) )  e.  CC )
2928mulid1d 9061 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( sqr `  ( ( A ^ 2 )  - 
1 ) )  x.  1 )  =  ( sqr `  ( ( A ^ 2 )  -  1 ) ) )
3029oveq2d 6056 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( ( sqr `  ( ( A ^
2 )  -  1 ) )  x.  1 ) )  =  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
31 pell1qrss14 26821 . . . . . 6  |-  ( ( ( A ^ 2 )  -  1 )  e.  ( NN  \NN )  -> 
(Pell1QR `  ( ( A ^ 2 )  - 
1 ) )  C_  (Pell14QR `  ( ( A ^ 2 )  - 
1 ) ) )
321, 31syl 16 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  (Pell1QR `  (
( A ^ 2 )  -  1 ) )  C_  (Pell14QR `  (
( A ^ 2 )  -  1 ) ) )
33 1nn0 10193 . . . . . . 7  |-  1  e.  NN0
3433a1i 11 . . . . . 6  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  e.  NN0 )
359oveq2i 6051 . . . . . . . . 9  |-  ( ( ( A ^ 2 )  -  1 )  x.  ( 1 ^ 2 ) )  =  ( ( ( A ^ 2 )  - 
1 )  x.  1 )
368recnd 9070 . . . . . . . . . 10  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  - 
1 )  e.  CC )
3736mulid1d 9061 . . . . . . . . 9  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( (
( A ^ 2 )  -  1 )  x.  1 )  =  ( ( A ^
2 )  -  1 ) )
3835, 37syl5eq 2448 . . . . . . . 8  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( (
( A ^ 2 )  -  1 )  x.  ( 1 ^ 2 ) )  =  ( ( A ^
2 )  -  1 ) )
3938oveq2d 6056 . . . . . . 7  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  -  ( ( ( A ^ 2 )  - 
1 )  x.  (
1 ^ 2 ) ) )  =  ( ( A ^ 2 )  -  ( ( A ^ 2 )  -  1 ) ) )
405recnd 9070 . . . . . . . 8  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A ^ 2 )  e.  CC )
41 ax-1cn 9004 . . . . . . . . 9  |-  1  e.  CC
4241a1i 11 . . . . . . . 8  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  e.  CC )
4340, 42nncand 9372 . . . . . . 7  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  -  ( ( A ^
2 )  -  1 ) )  =  1 )
4439, 43eqtrd 2436 . . . . . 6  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  -  ( ( ( A ^ 2 )  - 
1 )  x.  (
1 ^ 2 ) ) )  =  1 )
45 pellqrexplicit 26830 . . . . . 6  |-  ( ( ( ( ( A ^ 2 )  - 
1 )  e.  ( NN  \NN )  /\  A  e. 
NN0  /\  1  e.  NN0 )  /\  ( ( A ^ 2 )  -  ( ( ( A ^ 2 )  -  1 )  x.  ( 1 ^ 2 ) ) )  =  1 )  ->  ( A  +  ( ( sqr `  ( ( A ^ 2 )  - 
1 ) )  x.  1 ) )  e.  (Pell1QR `  ( ( A ^ 2 )  - 
1 ) ) )
461, 18, 34, 44, 45syl31anc 1187 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( ( sqr `  ( ( A ^
2 )  -  1 ) )  x.  1 ) )  e.  (Pell1QR `  ( ( A ^
2 )  -  1 ) ) )
4732, 46sseldd 3309 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( ( sqr `  ( ( A ^
2 )  -  1 ) )  x.  1 ) )  e.  (Pell14QR `  ( ( A ^
2 )  -  1 ) ) )
4830, 47eqeltrrd 2479 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  e.  (Pell14QR `  ( ( A ^
2 )  -  1 ) ) )
497, 27readdcld 9071 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  e.  RR )
5013, 27readdcld 9071 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  e.  RR )
517, 26ltaddrpd 10633 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  <  ( 1  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
527, 13, 27, 12ltadd1dd 9593 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  <  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
537, 49, 50, 51, 52lttrd 9187 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  <  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
54 pellfundlb 26837 . . 3  |-  ( ( ( ( A ^
2 )  -  1 )  e.  ( NN 
\NN )  /\  ( A  +  ( sqr `  ( ( A ^ 2 )  -  1 ) ) )  e.  (Pell14QR `  (
( A ^ 2 )  -  1 ) )  /\  1  < 
( A  +  ( sqr `  ( ( A ^ 2 )  -  1 ) ) ) )  ->  (PellFund `  ( ( A ^
2 )  -  1 ) )  <_  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
551, 48, 53, 54syl3anc 1184 . 2  |-  ( A  e.  ( ZZ>= `  2
)  ->  (PellFund `  (
( A ^ 2 )  -  1 ) )  <_  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) ) )
5640, 42npcand 9371 . . . . . 6  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( (
( A ^ 2 )  -  1 )  +  1 )  =  ( A ^ 2 ) )
5756fveq2d 5691 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( ( A ^ 2 )  - 
1 )  +  1 ) )  =  ( sqr `  ( A ^ 2 ) ) )
5813, 19sqrsqd 12177 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( A ^ 2 ) )  =  A )
5957, 58eqtrd 2436 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( ( A ^ 2 )  - 
1 )  +  1 ) )  =  A )
6059oveq1d 6055 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( sqr `  ( ( ( A ^ 2 )  -  1 )  +  1 ) )  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  =  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
61 pellfundge 26835 . . . 4  |-  ( ( ( A ^ 2 )  -  1 )  e.  ( NN  \NN )  -> 
( ( sqr `  (
( ( A ^
2 )  -  1 )  +  1 ) )  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) )  <_ 
(PellFund `  ( ( A ^ 2 )  - 
1 ) ) )
621, 61syl 16 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( sqr `  ( ( ( A ^ 2 )  -  1 )  +  1 ) )  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  <_  (PellFund `  ( ( A ^
2 )  -  1 ) ) )
6360, 62eqbrtrrd 4194 . 2  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  <_  (PellFund `  ( ( A ^
2 )  -  1 ) ) )
64 pellfundre 26834 . . . 4  |-  ( ( ( A ^ 2 )  -  1 )  e.  ( NN  \NN )  -> 
(PellFund `  ( ( A ^ 2 )  - 
1 ) )  e.  RR )
651, 64syl 16 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  (PellFund `  (
( A ^ 2 )  -  1 ) )  e.  RR )
6665, 50letri3d 9171 . 2  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( (PellFund `  ( ( A ^
2 )  -  1 ) )  =  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) )  <->  ( (PellFund `  ( ( A ^
2 )  -  1 ) )  <_  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) )  /\  ( A  +  ( sqr `  ( ( A ^ 2 )  - 
1 ) ) )  <_  (PellFund `  ( ( A ^ 2 )  - 
1 ) ) ) ) )
6755, 63, 66mpbir2and 889 1  |-  ( A  e.  ( ZZ>= `  2
)  ->  (PellFund `  (
( A ^ 2 )  -  1 ) )  =  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1649    e. wcel 1721    \ cdif 3277    C_ wss 3280   class class class wbr 4172   ` cfv 5413  (class class class)co 6040   CCcc 8944   RRcr 8945   0cc0 8946   1c1 8947    + caddc 8949    x. cmul 8951    < clt 9076    <_ cle 9077    - cmin 9247   NNcn 9956   2c2 10005   NN0cn0 10177   ZZcz 10238   ZZ>=cuz 10444   ^cexp 11337   sqrcsqr 11993  ◻NNcsquarenn 26789  Pell1QRcpell1qr 26790  Pell14QRcpell14qr 26792  PellFundcpellfund 26793
This theorem is referenced by:  rmxyelqirr  26863  rmxycomplete  26870  rmbaserp  26872
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 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-rep 4280  ax-sep 4290  ax-nul 4298  ax-pow 4337  ax-pr 4363  ax-un 4660  ax-inf2 7552  ax-cnex 9002  ax-resscn 9003  ax-1cn 9004  ax-icn 9005  ax-addcl 9006  ax-addrcl 9007  ax-mulcl 9008  ax-mulrcl 9009  ax-mulcom 9010  ax-addass 9011  ax-mulass 9012  ax-distr 9013  ax-i2m1 9014  ax-1ne0 9015  ax-1rid 9016  ax-rnegex 9017  ax-rrecex 9018  ax-cnre 9019  ax-pre-lttri 9020  ax-pre-lttrn 9021  ax-pre-ltadd 9022  ax-pre-mulgt0 9023  ax-pre-sup 9024
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 2258  df-mo 2259  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-nel 2570  df-ral 2671  df-rex 2672  df-reu 2673  df-rmo 2674  df-rab 2675  df-v 2918  df-sbc 3122  df-csb 3212  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-pss 3296  df-nul 3589  df-if 3700  df-pw 3761  df-sn 3780  df-pr 3781  df-tp 3782  df-op 3783  df-uni 3976  df-int 4011  df-iun 4055  df-br 4173  df-opab 4227  df-mpt 4228  df-tr 4263  df-eprel 4454  df-id 4458  df-po 4463  df-so 4464  df-fr 4501  df-se 4502  df-we 4503  df-ord 4544  df-on 4545  df-lim 4546  df-suc 4547  df-om 4805  df-xp 4843  df-rel 4844  df-cnv 4845  df-co 4846  df-dm 4847  df-rn 4848  df-res 4849  df-ima 4850  df-iota 5377  df-fun 5415  df-fn 5416  df-f 5417  df-f1 5418  df-fo 5419  df-f1o 5420  df-fv 5421  df-isom 5422  df-ov 6043  df-oprab 6044  df-mpt2 6045  df-1st 6308  df-2nd 6309  df-riota 6508  df-recs 6592  df-rdg 6627  df-1o 6683  df-oadd 6687  df-omul 6688  df-er 6864  df-map 6979  df-en 7069  df-dom 7070  df-sdom 7071  df-fin 7072  df-sup 7404  df-oi 7435  df-card 7782  df-acn 7785  df-pnf 9078  df-mnf 9079  df-xr 9080  df-ltxr 9081  df-le 9082  df-sub 9249  df-neg 9250  df-div 9634  df-nn 9957  df-2 10014  df-3 10015  df-n0 10178  df-z 10239  df-uz 10445  df-q 10531  df-rp 10569  df-ico 10878  df-fz 11000  df-fl 11157  df-mod 11206  df-seq 11279  df-exp 11338  df-hash 11574  df-cj 11859  df-re 11860  df-im 11861  df-sqr 11995  df-abs 11996  df-dvds 12808  df-gcd 12962  df-numer 13082  df-denom 13083  df-squarenn 26794  df-pell1qr 26795  df-pell14qr 26796  df-pell1234qr 26797  df-pellfund 26798
  Copyright terms: Public domain W3C validator