Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  itcoval3 Structured version   Visualization version   GIF version

Theorem itcoval3 45429
Description: A function iterated three times. (Contributed by AV, 2-May-2024.)
Assertion
Ref Expression
itcoval3 ((Rel 𝐹𝐹𝑉) → ((IterComp‘𝐹)‘3) = (𝐹 ∘ (𝐹𝐹)))

Proof of Theorem itcoval3
Dummy variables 𝑔 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 itcoval 45425 . . . 4 (𝐹𝑉 → (IterComp‘𝐹) = seq0((𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)), (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹))))
21fveq1d 6653 . . 3 (𝐹𝑉 → ((IterComp‘𝐹)‘3) = (seq0((𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)), (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹)))‘3))
32adantl 486 . 2 ((Rel 𝐹𝐹𝑉) → ((IterComp‘𝐹)‘3) = (seq0((𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)), (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹)))‘3))
4 nn0uz 12305 . . 3 0 = (ℤ‘0)
5 2nn0 11936 . . . 4 2 ∈ ℕ0
65a1i 11 . . 3 ((Rel 𝐹𝐹𝑉) → 2 ∈ ℕ0)
7 df-3 11723 . . 3 3 = (2 + 1)
81eqcomd 2765 . . . . . 6 (𝐹𝑉 → seq0((𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)), (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹))) = (IterComp‘𝐹))
98fveq1d 6653 . . . . 5 (𝐹𝑉 → (seq0((𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)), (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹)))‘2) = ((IterComp‘𝐹)‘2))
109adantl 486 . . . 4 ((Rel 𝐹𝐹𝑉) → (seq0((𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)), (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹)))‘2) = ((IterComp‘𝐹)‘2))
11 itcoval2 45428 . . . 4 ((Rel 𝐹𝐹𝑉) → ((IterComp‘𝐹)‘2) = (𝐹𝐹))
1210, 11eqtrd 2794 . . 3 ((Rel 𝐹𝐹𝑉) → (seq0((𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)), (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹)))‘2) = (𝐹𝐹))
13 eqidd 2760 . . . 4 ((Rel 𝐹𝐹𝑉) → (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹)) = (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹)))
14 3ne0 11765 . . . . . . . 8 3 ≠ 0
15 neeq1 3011 . . . . . . . 8 (𝑖 = 3 → (𝑖 ≠ 0 ↔ 3 ≠ 0))
1614, 15mpbiri 261 . . . . . . 7 (𝑖 = 3 → 𝑖 ≠ 0)
1716neneqd 2954 . . . . . 6 (𝑖 = 3 → ¬ 𝑖 = 0)
1817iffalsed 4424 . . . . 5 (𝑖 = 3 → if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹) = 𝐹)
1918adantl 486 . . . 4 (((Rel 𝐹𝐹𝑉) ∧ 𝑖 = 3) → if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹) = 𝐹)
20 3nn0 11937 . . . . 5 3 ∈ ℕ0
2120a1i 11 . . . 4 ((Rel 𝐹𝐹𝑉) → 3 ∈ ℕ0)
22 simpr 489 . . . 4 ((Rel 𝐹𝐹𝑉) → 𝐹𝑉)
2313, 19, 21, 22fvmptd 6759 . . 3 ((Rel 𝐹𝐹𝑉) → ((𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹))‘3) = 𝐹)
244, 6, 7, 12, 23seqp1d 13420 . 2 ((Rel 𝐹𝐹𝑉) → (seq0((𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)), (𝑖 ∈ ℕ0 ↦ if(𝑖 = 0, ( I ↾ dom 𝐹), 𝐹)))‘3) = ((𝐹𝐹)(𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔))𝐹))
25 eqidd 2760 . . . 4 (𝐹𝑉 → (𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)) = (𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔)))
26 coeq2 5691 . . . . 5 (𝑔 = (𝐹𝐹) → (𝐹𝑔) = (𝐹 ∘ (𝐹𝐹)))
2726ad2antrl 728 . . . 4 ((𝐹𝑉 ∧ (𝑔 = (𝐹𝐹) ∧ 𝑗 = 𝐹)) → (𝐹𝑔) = (𝐹 ∘ (𝐹𝐹)))
28 coexg 7632 . . . . 5 ((𝐹𝑉𝐹𝑉) → (𝐹𝐹) ∈ V)
2928anidms 571 . . . 4 (𝐹𝑉 → (𝐹𝐹) ∈ V)
30 elex 3427 . . . 4 (𝐹𝑉𝐹 ∈ V)
31 coexg 7632 . . . . . 6 ((𝐹𝑉 ∧ (𝐹𝐹) ∈ V) → (𝐹 ∘ (𝐹𝐹)) ∈ V)
3228, 31syldan 595 . . . . 5 ((𝐹𝑉𝐹𝑉) → (𝐹 ∘ (𝐹𝐹)) ∈ V)
3332anidms 571 . . . 4 (𝐹𝑉 → (𝐹 ∘ (𝐹𝐹)) ∈ V)
3425, 27, 29, 30, 33ovmpod 7290 . . 3 (𝐹𝑉 → ((𝐹𝐹)(𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔))𝐹) = (𝐹 ∘ (𝐹𝐹)))
3534adantl 486 . 2 ((Rel 𝐹𝐹𝑉) → ((𝐹𝐹)(𝑔 ∈ V, 𝑗 ∈ V ↦ (𝐹𝑔))𝐹) = (𝐹 ∘ (𝐹𝐹)))
363, 24, 353eqtrd 2798 1 ((Rel 𝐹𝐹𝑉) → ((IterComp‘𝐹)‘3) = (𝐹 ∘ (𝐹𝐹)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400   = wceq 1539  wcel 2112  wne 2949  Vcvv 3407  ifcif 4413  cmpt 5105   I cid 5422  dom cdm 5517  cres 5519  ccom 5521  Rel wrel 5522  cfv 6328  (class class class)co 7143  cmpo 7145  0cc0 10560  2c2 11714  3c3 11715  0cn0 11919  seqcseq 13403  IterCompcitco 45421
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2730  ax-rep 5149  ax-sep 5162  ax-nul 5169  ax-pow 5227  ax-pr 5291  ax-un 7452  ax-inf2 9122  ax-cnex 10616  ax-resscn 10617  ax-1cn 10618  ax-icn 10619  ax-addcl 10620  ax-addrcl 10621  ax-mulcl 10622  ax-mulrcl 10623  ax-mulcom 10624  ax-addass 10625  ax-mulass 10626  ax-distr 10627  ax-i2m1 10628  ax-1ne0 10629  ax-1rid 10630  ax-rnegex 10631  ax-rrecex 10632  ax-cnre 10633  ax-pre-lttri 10634  ax-pre-lttrn 10635  ax-pre-ltadd 10636  ax-pre-mulgt0 10637
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 846  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2071  df-mo 2558  df-eu 2589  df-clab 2737  df-cleq 2751  df-clel 2831  df-nfc 2899  df-ne 2950  df-nel 3054  df-ral 3073  df-rex 3074  df-reu 3075  df-rab 3077  df-v 3409  df-sbc 3694  df-csb 3802  df-dif 3857  df-un 3859  df-in 3861  df-ss 3871  df-pss 3873  df-nul 4222  df-if 4414  df-pw 4489  df-sn 4516  df-pr 4518  df-tp 4520  df-op 4522  df-uni 4792  df-iun 4878  df-br 5026  df-opab 5088  df-mpt 5106  df-tr 5132  df-id 5423  df-eprel 5428  df-po 5436  df-so 5437  df-fr 5476  df-we 5478  df-xp 5523  df-rel 5524  df-cnv 5525  df-co 5526  df-dm 5527  df-rn 5528  df-res 5529  df-ima 5530  df-pred 6119  df-ord 6165  df-on 6166  df-lim 6167  df-suc 6168  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-f1 6333  df-fo 6334  df-f1o 6335  df-fv 6336  df-riota 7101  df-ov 7146  df-oprab 7147  df-mpo 7148  df-om 7573  df-2nd 7687  df-wrecs 7950  df-recs 8011  df-rdg 8049  df-er 8292  df-en 8521  df-dom 8522  df-sdom 8523  df-pnf 10700  df-mnf 10701  df-xr 10702  df-ltxr 10703  df-le 10704  df-sub 10895  df-neg 10896  df-nn 11660  df-2 11722  df-3 11723  df-n0 11920  df-z 12006  df-uz 12268  df-seq 13404  df-itco 45423
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator