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

Theorem rmspecfund 26406
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 26404 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  - 
1 )  e.  ( NN  \NN ) )
2 eluzelz 10238 . . . . . . . . . . . . 13  |-  ( A  e.  ( ZZ>= `  2
)  ->  A  e.  ZZ )
3 zsqcl 11174 . . . . . . . . . . . . 13  |-  ( A  e.  ZZ  ->  ( A ^ 2 )  e.  ZZ )
42, 3syl 15 . . . . . . . . . . . 12  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A ^ 2 )  e.  ZZ )
54zred 10117 . . . . . . . . . . 11  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A ^ 2 )  e.  RR )
6 1re 8837 . . . . . . . . . . . 12  |-  1  e.  RR
76a1i 10 . . . . . . . . . . 11  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  e.  RR )
85, 7resubcld 9211 . . . . . . . . . 10  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  - 
1 )  e.  RR )
9 sq1 11198 . . . . . . . . . . . . 13  |-  ( 1 ^ 2 )  =  1
109a1i 10 . . . . . . . . . . . 12  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1 ^ 2 )  =  1 )
11 eluz2b2 10290 . . . . . . . . . . . . . 14  |-  ( A  e.  ( ZZ>= `  2
)  <->  ( A  e.  NN  /\  1  < 
A ) )
1211simprbi 450 . . . . . . . . . . . . 13  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  <  A )
13 eluzelre 10239 . . . . . . . . . . . . . 14  |-  ( A  e.  ( ZZ>= `  2
)  ->  A  e.  RR )
14 0le1 9297 . . . . . . . . . . . . . . 15  |-  0  <_  1
1514a1i 10 . . . . . . . . . . . . . 14  |-  ( A  e.  ( ZZ>= `  2
)  ->  0  <_  1 )
16 2nn0 9982 . . . . . . . . . . . . . . . 16  |-  2  e.  NN0
17 eluznn0 10288 . . . . . . . . . . . . . . . 16  |-  ( ( 2  e.  NN0  /\  A  e.  ( ZZ>= ` 
2 ) )  ->  A  e.  NN0 )
1816, 17mpan 651 . . . . . . . . . . . . . . 15  |-  ( A  e.  ( ZZ>= `  2
)  ->  A  e.  NN0 )
1918nn0ge0d 10021 . . . . . . . . . . . . . 14  |-  ( A  e.  ( ZZ>= `  2
)  ->  0  <_  A )
207, 13, 15, 19lt2sqd 11279 . . . . . . . . . . . . 13  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1  <  A  <->  ( 1 ^ 2 )  < 
( A ^ 2 ) ) )
2112, 20mpbid 201 . . . . . . . . . . . 12  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1 ^ 2 )  < 
( A ^ 2 ) )
2210, 21eqbrtrrd 4045 . . . . . . . . . . 11  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  <  ( A ^ 2 ) )
237, 5posdifd 9359 . . . . . . . . . . 11  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1  <  ( A ^
2 )  <->  0  <  ( ( A ^ 2 )  -  1 ) ) )
2422, 23mpbid 201 . . . . . . . . . 10  |-  ( A  e.  ( ZZ>= `  2
)  ->  0  <  ( ( A ^ 2 )  -  1 ) )
258, 24elrpd 10388 . . . . . . . . 9  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  - 
1 )  e.  RR+ )
2625rpsqrcld 11894 . . . . . . . 8  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( A ^
2 )  -  1 ) )  e.  RR+ )
2726rpred 10390 . . . . . . 7  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( A ^
2 )  -  1 ) )  e.  RR )
2827recnd 8861 . . . . . 6  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( A ^
2 )  -  1 ) )  e.  CC )
2928mulid1d 8852 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( sqr `  ( ( A ^ 2 )  - 
1 ) )  x.  1 )  =  ( sqr `  ( ( A ^ 2 )  -  1 ) ) )
3029oveq2d 5874 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( ( sqr `  ( ( A ^
2 )  -  1 ) )  x.  1 ) )  =  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
31 pell1qrss14 26365 . . . . . 6  |-  ( ( ( A ^ 2 )  -  1 )  e.  ( NN  \NN )  -> 
(Pell1QR `  ( ( A ^ 2 )  - 
1 ) )  C_  (Pell14QR `  ( ( A ^ 2 )  - 
1 ) ) )
321, 31syl 15 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  (Pell1QR `  (
( A ^ 2 )  -  1 ) )  C_  (Pell14QR `  (
( A ^ 2 )  -  1 ) ) )
33 1nn0 9981 . . . . . . 7  |-  1  e.  NN0
3433a1i 10 . . . . . 6  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  e.  NN0 )
359oveq2i 5869 . . . . . . . . 9  |-  ( ( ( A ^ 2 )  -  1 )  x.  ( 1 ^ 2 ) )  =  ( ( ( A ^ 2 )  - 
1 )  x.  1 )
368recnd 8861 . . . . . . . . . 10  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  - 
1 )  e.  CC )
3736mulid1d 8852 . . . . . . . . 9  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( (
( A ^ 2 )  -  1 )  x.  1 )  =  ( ( A ^
2 )  -  1 ) )
3835, 37syl5eq 2327 . . . . . . . 8  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( (
( A ^ 2 )  -  1 )  x.  ( 1 ^ 2 ) )  =  ( ( A ^
2 )  -  1 ) )
3938oveq2d 5874 . . . . . . 7  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  -  ( ( ( A ^ 2 )  - 
1 )  x.  (
1 ^ 2 ) ) )  =  ( ( A ^ 2 )  -  ( ( A ^ 2 )  -  1 ) ) )
405recnd 8861 . . . . . . . 8  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A ^ 2 )  e.  CC )
41 ax-1cn 8795 . . . . . . . . 9  |-  1  e.  CC
4241a1i 10 . . . . . . . 8  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  e.  CC )
4340, 42nncand 9162 . . . . . . 7  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  -  ( ( A ^
2 )  -  1 ) )  =  1 )
4439, 43eqtrd 2315 . . . . . 6  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( A ^ 2 )  -  ( ( ( A ^ 2 )  - 
1 )  x.  (
1 ^ 2 ) ) )  =  1 )
45 pellqrexplicit 26374 . . . . . 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 1185 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( ( sqr `  ( ( A ^
2 )  -  1 ) )  x.  1 ) )  e.  (Pell1QR `  ( ( A ^
2 )  -  1 ) ) )
4732, 46sseldd 3181 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( ( sqr `  ( ( A ^
2 )  -  1 ) )  x.  1 ) )  e.  (Pell14QR `  ( ( A ^
2 )  -  1 ) ) )
4830, 47eqeltrrd 2358 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  e.  (Pell14QR `  ( ( A ^
2 )  -  1 ) ) )
497, 27readdcld 8862 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  e.  RR )
5013, 27readdcld 8862 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  e.  RR )
517, 26ltaddrpd 10419 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  <  ( 1  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
527, 13, 27, 12ltadd1dd 9383 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( 1  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  <  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
537, 49, 50, 51, 52lttrd 8977 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  1  <  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
54 pellfundlb 26381 . . 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 1182 . 2  |-  ( A  e.  ( ZZ>= `  2
)  ->  (PellFund `  (
( A ^ 2 )  -  1 ) )  <_  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) ) )
5640, 42npcand 9161 . . . . . 6  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( (
( A ^ 2 )  -  1 )  +  1 )  =  ( A ^ 2 ) )
5756fveq2d 5529 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( ( A ^ 2 )  - 
1 )  +  1 ) )  =  ( sqr `  ( A ^ 2 ) ) )
5813, 19sqrsqd 11902 . . . . 5  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( A ^ 2 ) )  =  A )
5957, 58eqtrd 2315 . . . 4  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( sqr `  ( ( ( A ^ 2 )  - 
1 )  +  1 ) )  =  A )
6059oveq1d 5873 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( sqr `  ( ( ( A ^ 2 )  -  1 )  +  1 ) )  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  =  ( A  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) ) )
61 pellfundge 26379 . . . 4  |-  ( ( ( A ^ 2 )  -  1 )  e.  ( NN  \NN )  -> 
( ( sqr `  (
( ( A ^
2 )  -  1 )  +  1 ) )  +  ( sqr `  ( ( A ^
2 )  -  1 ) ) )  <_ 
(PellFund `  ( ( A ^ 2 )  - 
1 ) ) )
621, 61syl 15 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( ( sqr `  ( ( ( A ^ 2 )  -  1 )  +  1 ) )  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  <_  (PellFund `  ( ( A ^
2 )  -  1 ) ) )
6360, 62eqbrtrrd 4045 . 2  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A  +  ( sqr `  (
( A ^ 2 )  -  1 ) ) )  <_  (PellFund `  ( ( A ^
2 )  -  1 ) ) )
64 pellfundre 26378 . . . 4  |-  ( ( ( A ^ 2 )  -  1 )  e.  ( NN  \NN )  -> 
(PellFund `  ( ( A ^ 2 )  - 
1 ) )  e.  RR )
651, 64syl 15 . . 3  |-  ( A  e.  ( ZZ>= `  2
)  ->  (PellFund `  (
( A ^ 2 )  -  1 ) )  e.  RR )
6665, 50letri3d 8961 . 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 888 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 1623    e. wcel 1684    \ cdif 3149    C_ wss 3152   class class class wbr 4023   ` cfv 5255  (class class class)co 5858   CCcc 8735   RRcr 8736   0cc0 8737   1c1 8738    + caddc 8740    x. cmul 8742    < clt 8867    <_ cle 8868    - cmin 9037   NNcn 9746   2c2 9795   NN0cn0 9965   ZZcz 10024   ZZ>=cuz 10230   ^cexp 11104   sqrcsqr 11718  ◻NNcsquarenn 26333  Pell1QRcpell1qr 26334  Pell14QRcpell14qr 26336  PellFundcpellfund 26337
This theorem is referenced by:  rmxyelqirr  26407  rmxycomplete  26414  rmbaserp  26416
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-inf2 7342  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-se 4353  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-isom 5264  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-oadd 6483  df-omul 6484  df-er 6660  df-map 6774  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-sup 7194  df-oi 7225  df-card 7572  df-acn 7575  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-n0 9966  df-z 10025  df-uz 10231  df-q 10317  df-rp 10355  df-ico 10662  df-fz 10783  df-fl 10925  df-mod 10974  df-seq 11047  df-exp 11105  df-hash 11338  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-dvds 12532  df-gcd 12686  df-numer 12806  df-denom 12807  df-squarenn 26338  df-pell1qr 26339  df-pell14qr 26340  df-pell1234qr 26341  df-pellfund 26342
  Copyright terms: Public domain W3C validator