| Mathbox for Stefan O'Rear |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > rmyluc | Structured version Visualization version GIF version | ||
| Description: The Y sequence is a Lucas sequence, definable via this second-order recurrence with rmy0 44012 and rmy1 44013. Part 3 of equation 2.12 of [JonesMatijasevic] p. 695. JonesMatijasevic uses this theorem to redefine the X and Y sequences to have domain (ℤ × ℤ), which simplifies some later theorems. It may shorten the derivation to use this as our initial definition. Incidentally, the X sequence satisfies the exact same recurrence. (Contributed by Stefan O'Rear, 1-Oct-2014.) |
| Ref | Expression |
|---|---|
| rmyluc | ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm (𝑁 + 1)) = ((2 · ((𝐴 Yrm 𝑁) · 𝐴)) − (𝐴 Yrm (𝑁 − 1)))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | peano2z 12738 | . . . 4 ⊢ (𝑁 ∈ ℤ → (𝑁 + 1) ∈ ℤ) | |
| 2 | frmy 43997 | . . . . 5 ⊢ Yrm :((ℤ≥‘2) × ℤ)⟶ℤ | |
| 3 | 2 | fovcl 7548 | . . . 4 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ (𝑁 + 1) ∈ ℤ) → (𝐴 Yrm (𝑁 + 1)) ∈ ℤ) |
| 4 | 1, 3 | sylan2 605 | . . 3 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm (𝑁 + 1)) ∈ ℤ) |
| 5 | 4 | zcnd 12805 | . 2 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm (𝑁 + 1)) ∈ ℂ) |
| 6 | 2cn 12419 | . . . 4 ⊢ 2 ∈ ℂ | |
| 7 | 2 | fovcl 7548 | . . . . . 6 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm 𝑁) ∈ ℤ) |
| 8 | 7 | zcnd 12805 | . . . . 5 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm 𝑁) ∈ ℂ) |
| 9 | eluzelcn 12978 | . . . . . 6 ⊢ (𝐴 ∈ (ℤ≥‘2) → 𝐴 ∈ ℂ) | |
| 10 | 9 | adantr 486 | . . . . 5 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → 𝐴 ∈ ℂ) |
| 11 | 8, 10 | mulcld 11330 | . . . 4 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → ((𝐴 Yrm 𝑁) · 𝐴) ∈ ℂ) |
| 12 | mulcl 11285 | . . . 4 ⊢ ((2 ∈ ℂ ∧ ((𝐴 Yrm 𝑁) · 𝐴) ∈ ℂ) → (2 · ((𝐴 Yrm 𝑁) · 𝐴)) ∈ ℂ) | |
| 13 | 6, 11, 12 | sylancr 599 | . . 3 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (2 · ((𝐴 Yrm 𝑁) · 𝐴)) ∈ ℂ) |
| 14 | peano2zm 12740 | . . . . 5 ⊢ (𝑁 ∈ ℤ → (𝑁 − 1) ∈ ℤ) | |
| 15 | 2 | fovcl 7548 | . . . . 5 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ (𝑁 − 1) ∈ ℤ) → (𝐴 Yrm (𝑁 − 1)) ∈ ℤ) |
| 16 | 14, 15 | sylan2 605 | . . . 4 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm (𝑁 − 1)) ∈ ℤ) |
| 17 | 16 | zcnd 12805 | . . 3 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm (𝑁 − 1)) ∈ ℂ) |
| 18 | 13, 17 | subcld 11670 | . 2 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → ((2 · ((𝐴 Yrm 𝑁) · 𝐴)) − (𝐴 Yrm (𝑁 − 1))) ∈ ℂ) |
| 19 | rmyp1 44016 | . . . 4 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm (𝑁 + 1)) = (((𝐴 Yrm 𝑁) · 𝐴) + (𝐴 Xrm 𝑁))) | |
| 20 | rmym1 44018 | . . . 4 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm (𝑁 − 1)) = (((𝐴 Yrm 𝑁) · 𝐴) − (𝐴 Xrm 𝑁))) | |
| 21 | 19, 20 | oveq12d 7438 | . . 3 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → ((𝐴 Yrm (𝑁 + 1)) + (𝐴 Yrm (𝑁 − 1))) = ((((𝐴 Yrm 𝑁) · 𝐴) + (𝐴 Xrm 𝑁)) + (((𝐴 Yrm 𝑁) · 𝐴) − (𝐴 Xrm 𝑁)))) |
| 22 | frmx 43996 | . . . . . 6 ⊢ Xrm :((ℤ≥‘2) × ℤ)⟶ℕ0 | |
| 23 | 22 | fovcl 7548 | . . . . 5 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Xrm 𝑁) ∈ ℕ0) |
| 24 | 23 | nn0cnd 12670 | . . . 4 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Xrm 𝑁) ∈ ℂ) |
| 25 | 11, 24, 11 | ppncand 11710 | . . 3 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → ((((𝐴 Yrm 𝑁) · 𝐴) + (𝐴 Xrm 𝑁)) + (((𝐴 Yrm 𝑁) · 𝐴) − (𝐴 Xrm 𝑁))) = (((𝐴 Yrm 𝑁) · 𝐴) + ((𝐴 Yrm 𝑁) · 𝐴))) |
| 26 | 13, 17 | npcand 11674 | . . . 4 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (((2 · ((𝐴 Yrm 𝑁) · 𝐴)) − (𝐴 Yrm (𝑁 − 1))) + (𝐴 Yrm (𝑁 − 1))) = (2 · ((𝐴 Yrm 𝑁) · 𝐴))) |
| 27 | 11 | 2timesd 12590 | . . . 4 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (2 · ((𝐴 Yrm 𝑁) · 𝐴)) = (((𝐴 Yrm 𝑁) · 𝐴) + ((𝐴 Yrm 𝑁) · 𝐴))) |
| 28 | 26, 27 | eqtr2d 2796 | . . 3 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (((𝐴 Yrm 𝑁) · 𝐴) + ((𝐴 Yrm 𝑁) · 𝐴)) = (((2 · ((𝐴 Yrm 𝑁) · 𝐴)) − (𝐴 Yrm (𝑁 − 1))) + (𝐴 Yrm (𝑁 − 1)))) |
| 29 | 21, 25, 28 | 3eqtrd 2799 | . 2 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → ((𝐴 Yrm (𝑁 + 1)) + (𝐴 Yrm (𝑁 − 1))) = (((2 · ((𝐴 Yrm 𝑁) · 𝐴)) − (𝐴 Yrm (𝑁 − 1))) + (𝐴 Yrm (𝑁 − 1)))) |
| 30 | 5, 18, 17, 29 | addcan2ad 11517 | 1 ⊢ ((𝐴 ∈ (ℤ≥‘2) ∧ 𝑁 ∈ ℤ) → (𝐴 Yrm (𝑁 + 1)) = ((2 · ((𝐴 Yrm 𝑁) · 𝐴)) − (𝐴 Yrm (𝑁 − 1)))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1569 ∈ wcel 2144 ‘cfv 6538 (class class class)co 7420 ℂcc 11199 1c1 11202 + caddc 11204 · cmul 11206 − cmin 11542 2c2 12398 ℕ0cn0 12607 ℤcz 12694 ℤ≥cuz 12966 Xrm crmx 43983 Yrm crmy 43984 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1827 ax-4 1841 ax-5 1942 ax-6 1999 ax-7 2040 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2212 ax-ext 2732 ax-rep 5231 ax-sep 5248 ax-nul 5259 ax-pow 5326 ax-pr 5390 ax-un 7751 ax-inf2 9643 ax-cnex 11257 ax-resscn 11258 ax-1cn 11259 ax-icn 11260 ax-addcl 11261 ax-addrcl 11262 ax-mulcl 11263 ax-mulrcl 11264 ax-mulcom 11265 ax-addass 11266 ax-mulass 11267 ax-distr 11268 ax-i2m1 11269 ax-1ne0 11270 ax-1rid 11271 ax-rnegex 11272 ax-rrecex 11273 ax-cnre 11274 ax-pre-lttri 11275 ax-pre-lttrn 11276 ax-pre-ltadd 11277 ax-pre-mulgt0 11278 ax-pre-sup 11279 ax-addf 11280 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1572 df-fal 1582 df-ex 1812 df-nf 1816 df-sb 2099 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-nel 3062 df-ral 3077 df-rex 3087 df-rmo 3365 df-reu 3366 df-rab 3413 df-v 3452 df-sbc 3739 df-csb 3847 df-ss 3896 df-pss 4014 df-dif 4047 df-in 4091 df-un 4151 df-nul 4279 df-if 4482 df-pw 4558 df-sn 4584 df-pr 4586 df-tp 4588 df-op 4590 df-uni 4867 df-int 4907 df-iun 4952 df-iin 4953 df-br 5103 df-opab 5167 df-mpt 5186 df-tr 5212 df-id 5545 df-eprel 5550 df-po 5558 df-so 5559 df-fr 5603 df-se 5604 df-we 5605 df-xp 5656 df-rel 5657 df-cnv 5658 df-co 5659 df-dm 5660 df-rn 5661 df-res 5662 df-ima 5663 df-pred 6304 df-ord 6365 df-on 6366 df-lim 6367 df-suc 6368 df-iota 6494 df-fun 6540 df-fn 6541 df-f 6542 df-f1 6543 df-fo 6544 df-f1o 6545 df-fv 6546 df-isom 6547 df-riota 7377 df-ov 7423 df-oprab 7424 df-mpo 7425 df-of 7693 df-om 7878 df-1st 8001 df-2nd 8002 df-supp 8178 df-frecs 8300 df-wrecs 8331 df-recs 8380 df-rdg 8419 df-1o 8477 df-2o 8478 df-oadd 8481 df-omul 8482 df-er 8718 df-map 8850 df-pm 8851 df-ixp 8927 df-en 8975 df-dom 8976 df-sdom 8977 df-fin 8978 df-fsupp 9355 df-fi 9404 df-sup 9435 df-inf 9436 df-oi 9505 df-card 10021 df-acn 10024 df-pnf 11346 df-mnf 11347 df-xr 11348 df-ltxr 11349 df-le 11350 df-sub 11544 df-neg 11545 df-div 11975 df-nn 12337 df-2 12406 df-3 12407 df-4 12408 df-5 12409 df-6 12410 df-7 12411 df-8 12412 df-9 12413 df-n0 12608 df-xnn0 12681 df-z 12695 df-dec 12816 df-uz 12967 df-q 13077 df-rp 13122 df-xneg 13242 df-xadd 13243 df-xmul 13244 df-ioo 13481 df-ioc 13482 df-ico 13483 df-icc 13484 df-fz 13641 df-fzo 13790 df-fl 13933 df-mod 14011 df-seq 14146 df-exp 14206 df-fac 14419 df-bc 14448 df-hash 14476 df-shft 15221 df-cj 15267 df-re 15268 df-im 15269 df-sqrt 15403 df-abs 15404 df-limsup 15639 df-clim 15656 df-rlim 15657 df-sum 15855 df-ef 16234 df-sin 16236 df-cos 16237 df-pi 16239 df-dvds 16424 df-gcd 16666 df-numer 16912 df-denom 16913 df-struct 17326 df-sets 17343 df-slot 17361 df-ndx 17373 df-base 17389 df-ress 17410 df-plusg 17442 df-mulr 17443 df-starv 17444 df-sca 17445 df-vsca 17446 df-ip 17447 df-tset 17448 df-ple 17449 df-ds 17451 df-unif 17452 df-hom 17453 df-cco 17454 df-rest 17594 df-topn 17595 df-0g 17613 df-gsum 17614 df-topgen 17615 df-pt 17616 df-prds 17619 df-xrs 17675 df-qtop 17680 df-imas 17681 df-xps 17683 df-mre 17757 df-mrc 17758 df-acs 17760 df-mgm 18817 df-sgrp 18909 df-mnd 18925 df-submnd 18980 df-mulg 19279 df-cntz 19532 df-cmn 19997 df-psmet 21671 df-xmet 21672 df-met 21673 df-bl 21674 df-mopn 21675 df-fbas 21676 df-fg 21677 df-cnfld 21680 df-top 23213 df-topon 23230 df-topsp 23252 df-bases 23265 df-cld 23338 df-ntr 23339 df-cls 23340 df-nei 23417 df-lp 23455 df-perf 23456 df-cn 23546 df-cnp 23547 df-haus 23634 df-tx 23882 df-hmeo 24075 df-fil 24166 df-fm 24258 df-flim 24259 df-flf 24260 df-xms 24640 df-ms 24641 df-tms 24642 df-cncf 25200 df-limc 26187 df-dv 26188 df-log 26885 df-squarenn 43924 df-pell1qr 43925 df-pell14qr 43926 df-pell1234qr 43927 df-pellfund 43928 df-rmx 43985 df-rmy 43986 |
| This theorem is used by: rmyluc2 44021 jm2.18 44071 jm2.15nn0 44086 jm2.16nn0 44087 |
| Copyright terms: Public domain | W3C validator |