MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  alginv Structured version   Visualization version   GIF version

Theorem alginv 15207
Description: If 𝐼 is an invariant of 𝐹, its value is unchanged after any number of iterations of 𝐹. (Contributed by Paul Chapman, 31-Mar-2011.)
Hypotheses
Ref Expression
alginv.1 𝑅 = seq0((𝐹 ∘ 1st ), (ℕ0 × {𝐴}))
alginv.2 𝐹:𝑆𝑆
alginv.3 𝐼 Fn 𝑆
alginv.4 (𝑥𝑆 → (𝐼‘(𝐹𝑥)) = (𝐼𝑥))
Assertion
Ref Expression
alginv ((𝐴𝑆𝐾 ∈ ℕ0) → (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0)))
Distinct variable groups:   𝑥,𝐹   𝑥,𝐼   𝑥,𝑅   𝑥,𝑆
Allowed substitution hints:   𝐴(𝑥)   𝐾(𝑥)

Proof of Theorem alginv
Dummy variables 𝑧 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6150 . . . . . 6 (𝑧 = 0 → (𝑅𝑧) = (𝑅‘0))
21fveq2d 6154 . . . . 5 (𝑧 = 0 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)))
32eqeq1d 2628 . . . 4 (𝑧 = 0 → ((𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅‘0)) = (𝐼‘(𝑅‘0))))
43imbi2d 330 . . 3 (𝑧 = 0 → ((𝐴𝑆 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0))) ↔ (𝐴𝑆 → (𝐼‘(𝑅‘0)) = (𝐼‘(𝑅‘0)))))
5 fveq2 6150 . . . . . 6 (𝑧 = 𝑘 → (𝑅𝑧) = (𝑅𝑘))
65fveq2d 6154 . . . . 5 (𝑧 = 𝑘 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅𝑘)))
76eqeq1d 2628 . . . 4 (𝑧 = 𝑘 → ((𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0))))
87imbi2d 330 . . 3 (𝑧 = 𝑘 → ((𝐴𝑆 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0))) ↔ (𝐴𝑆 → (𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0)))))
9 fveq2 6150 . . . . . 6 (𝑧 = (𝑘 + 1) → (𝑅𝑧) = (𝑅‘(𝑘 + 1)))
109fveq2d 6154 . . . . 5 (𝑧 = (𝑘 + 1) → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘(𝑘 + 1))))
1110eqeq1d 2628 . . . 4 (𝑧 = (𝑘 + 1) → ((𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0))))
1211imbi2d 330 . . 3 (𝑧 = (𝑘 + 1) → ((𝐴𝑆 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0))) ↔ (𝐴𝑆 → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0)))))
13 fveq2 6150 . . . . . 6 (𝑧 = 𝐾 → (𝑅𝑧) = (𝑅𝐾))
1413fveq2d 6154 . . . . 5 (𝑧 = 𝐾 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅𝐾)))
1514eqeq1d 2628 . . . 4 (𝑧 = 𝐾 → ((𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0))))
1615imbi2d 330 . . 3 (𝑧 = 𝐾 → ((𝐴𝑆 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0))) ↔ (𝐴𝑆 → (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0)))))
17 eqidd 2627 . . 3 (𝐴𝑆 → (𝐼‘(𝑅‘0)) = (𝐼‘(𝑅‘0)))
18 nn0uz 11666 . . . . . . . . . 10 0 = (ℤ‘0)
19 alginv.1 . . . . . . . . . 10 𝑅 = seq0((𝐹 ∘ 1st ), (ℕ0 × {𝐴}))
20 0zd 11334 . . . . . . . . . 10 (𝐴𝑆 → 0 ∈ ℤ)
21 id 22 . . . . . . . . . 10 (𝐴𝑆𝐴𝑆)
22 alginv.2 . . . . . . . . . . 11 𝐹:𝑆𝑆
2322a1i 11 . . . . . . . . . 10 (𝐴𝑆𝐹:𝑆𝑆)
2418, 19, 20, 21, 23algrp1 15206 . . . . . . . . 9 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝑅‘(𝑘 + 1)) = (𝐹‘(𝑅𝑘)))
2524fveq2d 6154 . . . . . . . 8 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝐹‘(𝑅𝑘))))
2618, 19, 20, 21, 23algrf 15205 . . . . . . . . . 10 (𝐴𝑆𝑅:ℕ0𝑆)
2726ffvelrnda 6316 . . . . . . . . 9 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝑅𝑘) ∈ 𝑆)
28 fveq2 6150 . . . . . . . . . . . 12 (𝑥 = (𝑅𝑘) → (𝐹𝑥) = (𝐹‘(𝑅𝑘)))
2928fveq2d 6154 . . . . . . . . . . 11 (𝑥 = (𝑅𝑘) → (𝐼‘(𝐹𝑥)) = (𝐼‘(𝐹‘(𝑅𝑘))))
30 fveq2 6150 . . . . . . . . . . 11 (𝑥 = (𝑅𝑘) → (𝐼𝑥) = (𝐼‘(𝑅𝑘)))
3129, 30eqeq12d 2641 . . . . . . . . . 10 (𝑥 = (𝑅𝑘) → ((𝐼‘(𝐹𝑥)) = (𝐼𝑥) ↔ (𝐼‘(𝐹‘(𝑅𝑘))) = (𝐼‘(𝑅𝑘))))
32 alginv.4 . . . . . . . . . 10 (𝑥𝑆 → (𝐼‘(𝐹𝑥)) = (𝐼𝑥))
3331, 32vtoclga 3263 . . . . . . . . 9 ((𝑅𝑘) ∈ 𝑆 → (𝐼‘(𝐹‘(𝑅𝑘))) = (𝐼‘(𝑅𝑘)))
3427, 33syl 17 . . . . . . . 8 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝐼‘(𝐹‘(𝑅𝑘))) = (𝐼‘(𝑅𝑘)))
3525, 34eqtrd 2660 . . . . . . 7 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅𝑘)))
3635eqeq1d 2628 . . . . . 6 ((𝐴𝑆𝑘 ∈ ℕ0) → ((𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0))))
3736biimprd 238 . . . . 5 ((𝐴𝑆𝑘 ∈ ℕ0) → ((𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0)) → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0))))
3837expcom 451 . . . 4 (𝑘 ∈ ℕ0 → (𝐴𝑆 → ((𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0)) → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0)))))
3938a2d 29 . . 3 (𝑘 ∈ ℕ0 → ((𝐴𝑆 → (𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0))) → (𝐴𝑆 → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0)))))
404, 8, 12, 16, 17, 39nn0ind 11416 . 2 (𝐾 ∈ ℕ0 → (𝐴𝑆 → (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0))))
4140impcom 446 1 ((𝐴𝑆𝐾 ∈ ℕ0) → (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1992  {csn 4153   × cxp 5077  ccom 5083   Fn wfn 5845  wf 5846  cfv 5850  (class class class)co 6605  1st c1st 7114  0cc0 9881  1c1 9882   + caddc 9884  0cn0 11237  seqcseq 12738
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903  ax-cnex 9937  ax-resscn 9938  ax-1cn 9939  ax-icn 9940  ax-addcl 9941  ax-addrcl 9942  ax-mulcl 9943  ax-mulrcl 9944  ax-mulcom 9945  ax-addass 9946  ax-mulass 9947  ax-distr 9948  ax-i2m1 9949  ax-1ne0 9950  ax-1rid 9951  ax-rnegex 9952  ax-rrecex 9953  ax-cnre 9954  ax-pre-lttri 9955  ax-pre-lttrn 9956  ax-pre-ltadd 9957  ax-pre-mulgt0 9958
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-nel 2900  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5642  df-ord 5688  df-on 5689  df-lim 5690  df-suc 5691  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858  df-riota 6566  df-ov 6608  df-oprab 6609  df-mpt2 6610  df-om 7014  df-1st 7116  df-2nd 7117  df-wrecs 7353  df-recs 7414  df-rdg 7452  df-er 7688  df-en 7901  df-dom 7902  df-sdom 7903  df-pnf 10021  df-mnf 10022  df-xr 10023  df-ltxr 10024  df-le 10025  df-sub 10213  df-neg 10214  df-nn 10966  df-n0 11238  df-z 11323  df-uz 11632  df-fz 12266  df-seq 12739
This theorem is referenced by:  eucalg  15219
  Copyright terms: Public domain W3C validator