ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ialginv GIF version

Theorem ialginv 10809
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 (𝑥𝑆 → (𝐼‘(𝐹𝑥)) = (𝐼𝑥))
alginv.s 𝑆𝑉
Assertion
Ref Expression
ialginv ((𝐴𝑆𝐾 ∈ ℕ0) → (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0)))
Distinct variable groups:   𝑥,𝐹   𝑥,𝐼   𝑥,𝑅   𝑥,𝑆
Allowed substitution hints:   𝐴(𝑥)   𝐾(𝑥)   𝑉(𝑥)

Proof of Theorem ialginv
Dummy variables 𝑧 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 5253 . . . . . 6 (𝑧 = 0 → (𝑅𝑧) = (𝑅‘0))
21fveq2d 5257 . . . . 5 (𝑧 = 0 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)))
32eqeq1d 2091 . . . 4 (𝑧 = 0 → ((𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅‘0)) = (𝐼‘(𝑅‘0))))
43imbi2d 228 . . 3 (𝑧 = 0 → ((𝐴𝑆 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0))) ↔ (𝐴𝑆 → (𝐼‘(𝑅‘0)) = (𝐼‘(𝑅‘0)))))
5 fveq2 5253 . . . . . 6 (𝑧 = 𝑘 → (𝑅𝑧) = (𝑅𝑘))
65fveq2d 5257 . . . . 5 (𝑧 = 𝑘 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅𝑘)))
76eqeq1d 2091 . . . 4 (𝑧 = 𝑘 → ((𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0))))
87imbi2d 228 . . 3 (𝑧 = 𝑘 → ((𝐴𝑆 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0))) ↔ (𝐴𝑆 → (𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0)))))
9 fveq2 5253 . . . . . 6 (𝑧 = (𝑘 + 1) → (𝑅𝑧) = (𝑅‘(𝑘 + 1)))
109fveq2d 5257 . . . . 5 (𝑧 = (𝑘 + 1) → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘(𝑘 + 1))))
1110eqeq1d 2091 . . . 4 (𝑧 = (𝑘 + 1) → ((𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0))))
1211imbi2d 228 . . 3 (𝑧 = (𝑘 + 1) → ((𝐴𝑆 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0))) ↔ (𝐴𝑆 → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0)))))
13 fveq2 5253 . . . . . 6 (𝑧 = 𝐾 → (𝑅𝑧) = (𝑅𝐾))
1413fveq2d 5257 . . . . 5 (𝑧 = 𝐾 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅𝐾)))
1514eqeq1d 2091 . . . 4 (𝑧 = 𝐾 → ((𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0))))
1615imbi2d 228 . . 3 (𝑧 = 𝐾 → ((𝐴𝑆 → (𝐼‘(𝑅𝑧)) = (𝐼‘(𝑅‘0))) ↔ (𝐴𝑆 → (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0)))))
17 eqidd 2084 . . 3 (𝐴𝑆 → (𝐼‘(𝑅‘0)) = (𝐼‘(𝑅‘0)))
18 nn0uz 8948 . . . . . . . . . 10 0 = (ℤ‘0)
19 alginv.1 . . . . . . . . . 10 𝑅 = seq0((𝐹 ∘ 1st ), (ℕ0 × {𝐴}), 𝑆)
20 0zd 8658 . . . . . . . . . 10 (𝐴𝑆 → 0 ∈ ℤ)
21 id 19 . . . . . . . . . 10 (𝐴𝑆𝐴𝑆)
22 alginv.2 . . . . . . . . . . 11 𝐹:𝑆𝑆
2322a1i 9 . . . . . . . . . 10 (𝐴𝑆𝐹:𝑆𝑆)
24 alginv.s . . . . . . . . . . 11 𝑆𝑉
2524a1i 9 . . . . . . . . . 10 (𝐴𝑆𝑆𝑉)
2618, 19, 20, 21, 23, 25ialgrp1 10808 . . . . . . . . 9 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝑅‘(𝑘 + 1)) = (𝐹‘(𝑅𝑘)))
2726fveq2d 5257 . . . . . . . 8 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝐹‘(𝑅𝑘))))
2818, 19, 20, 21, 23, 25ialgrf 10807 . . . . . . . . . 10 (𝐴𝑆𝑅:ℕ0𝑆)
2928ffvelrnda 5379 . . . . . . . . 9 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝑅𝑘) ∈ 𝑆)
30 fveq2 5253 . . . . . . . . . . . 12 (𝑥 = (𝑅𝑘) → (𝐹𝑥) = (𝐹‘(𝑅𝑘)))
3130fveq2d 5257 . . . . . . . . . . 11 (𝑥 = (𝑅𝑘) → (𝐼‘(𝐹𝑥)) = (𝐼‘(𝐹‘(𝑅𝑘))))
32 fveq2 5253 . . . . . . . . . . 11 (𝑥 = (𝑅𝑘) → (𝐼𝑥) = (𝐼‘(𝑅𝑘)))
3331, 32eqeq12d 2097 . . . . . . . . . 10 (𝑥 = (𝑅𝑘) → ((𝐼‘(𝐹𝑥)) = (𝐼𝑥) ↔ (𝐼‘(𝐹‘(𝑅𝑘))) = (𝐼‘(𝑅𝑘))))
34 alginv.4 . . . . . . . . . 10 (𝑥𝑆 → (𝐼‘(𝐹𝑥)) = (𝐼𝑥))
3533, 34vtoclga 2675 . . . . . . . . 9 ((𝑅𝑘) ∈ 𝑆 → (𝐼‘(𝐹‘(𝑅𝑘))) = (𝐼‘(𝑅𝑘)))
3629, 35syl 14 . . . . . . . 8 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝐼‘(𝐹‘(𝑅𝑘))) = (𝐼‘(𝑅𝑘)))
3727, 36eqtrd 2115 . . . . . . 7 ((𝐴𝑆𝑘 ∈ ℕ0) → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅𝑘)))
3837eqeq1d 2091 . . . . . 6 ((𝐴𝑆𝑘 ∈ ℕ0) → ((𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0)) ↔ (𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0))))
3938biimprd 156 . . . . 5 ((𝐴𝑆𝑘 ∈ ℕ0) → ((𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0)) → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0))))
4039expcom 114 . . . 4 (𝑘 ∈ ℕ0 → (𝐴𝑆 → ((𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0)) → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0)))))
4140a2d 26 . . 3 (𝑘 ∈ ℕ0 → ((𝐴𝑆 → (𝐼‘(𝑅𝑘)) = (𝐼‘(𝑅‘0))) → (𝐴𝑆 → (𝐼‘(𝑅‘(𝑘 + 1))) = (𝐼‘(𝑅‘0)))))
424, 8, 12, 16, 17, 41nn0ind 8756 . 2 (𝐾 ∈ ℕ0 → (𝐴𝑆 → (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0))))
4342impcom 123 1 ((𝐴𝑆𝐾 ∈ ℕ0) → (𝐼‘(𝑅𝐾)) = (𝐼‘(𝑅‘0)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102   = wceq 1285  wcel 1434  {csn 3422   × cxp 4399  ccom 4405   Fn wfn 4964  wf 4965  cfv 4969  (class class class)co 5591  1st c1st 5844  0cc0 7253  1c1 7254   + caddc 7256  0cn0 8565  seqcseq 9740
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-13 1445  ax-14 1446  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2065  ax-coll 3919  ax-sep 3922  ax-nul 3930  ax-pow 3974  ax-pr 4000  ax-un 4224  ax-setind 4316  ax-iinf 4366  ax-cnex 7339  ax-resscn 7340  ax-1cn 7341  ax-1re 7342  ax-icn 7343  ax-addcl 7344  ax-addrcl 7345  ax-mulcl 7346  ax-addcom 7348  ax-addass 7350  ax-distr 7352  ax-i2m1 7353  ax-0lt1 7354  ax-0id 7356  ax-rnegex 7357  ax-cnre 7359  ax-pre-ltirr 7360  ax-pre-ltwlin 7361  ax-pre-lttrn 7362  ax-pre-ltadd 7364
This theorem depends on definitions:  df-bi 115  df-3or 921  df-3an 922  df-tru 1288  df-fal 1291  df-nf 1391  df-sb 1688  df-eu 1946  df-mo 1947  df-clab 2070  df-cleq 2076  df-clel 2079  df-nfc 2212  df-ne 2250  df-nel 2345  df-ral 2358  df-rex 2359  df-reu 2360  df-rab 2362  df-v 2614  df-sbc 2827  df-csb 2920  df-dif 2986  df-un 2988  df-in 2990  df-ss 2997  df-nul 3270  df-pw 3408  df-sn 3428  df-pr 3429  df-op 3431  df-uni 3628  df-int 3663  df-iun 3706  df-br 3812  df-opab 3866  df-mpt 3867  df-tr 3902  df-id 4084  df-iord 4157  df-on 4159  df-ilim 4160  df-suc 4162  df-iom 4369  df-xp 4407  df-rel 4408  df-cnv 4409  df-co 4410  df-dm 4411  df-rn 4412  df-res 4413  df-ima 4414  df-iota 4934  df-fun 4971  df-fn 4972  df-f 4973  df-f1 4974  df-fo 4975  df-f1o 4976  df-fv 4977  df-riota 5547  df-ov 5594  df-oprab 5595  df-mpt2 5596  df-1st 5846  df-2nd 5847  df-recs 6002  df-frec 6088  df-pnf 7427  df-mnf 7428  df-xr 7429  df-ltxr 7430  df-le 7431  df-sub 7558  df-neg 7559  df-inn 8317  df-n0 8566  df-z 8647  df-uz 8915  df-iseq 9741
This theorem is referenced by:  eucialg  10821
  Copyright terms: Public domain W3C validator