Metamath Proof Explorer


Definition df-itco

Description: Define a function (recursively) that returns the n-th iterate of a class (usually a function) with regard to composition. (Contributed by Thierry Arnoux, 28-Apr-2024) (Revised by AV, 2-May-2024)

Ref Expression
Assertion df-itco Could not format assertion : No typesetting found for |- IterComp = ( f e. _V |-> seq 0 ( ( g e. _V , j e. _V |-> ( f o. g ) ) , ( i e. NN0 |-> if ( i = 0 , ( _I |` dom f ) , f ) ) ) ) with typecode |-

Detailed syntax breakdown

Step Hyp Ref Expression
0 citco Could not format IterComp : No typesetting found for class IterComp with typecode class
1 vf setvar f
2 cvv class V
3 cc0 class 0
4 vg setvar g
5 vj setvar j
6 1 cv setvar f
7 4 cv setvar g
8 6 7 ccom class f g
9 4 5 2 2 8 cmpo class g V , j V f g
10 vi setvar i
11 cn0 class 0
12 10 cv setvar i
13 12 3 wceq wff i = 0
14 cid class I
15 6 cdm class dom f
16 14 15 cres class I dom f
17 13 16 6 cif class if i = 0 I dom f f
18 10 11 17 cmpt class i 0 if i = 0 I dom f f
19 9 18 3 cseq class seq 0 g V , j V f g i 0 if i = 0 I dom f f
20 1 2 19 cmpt class f V seq 0 g V , j V f g i 0 if i = 0 I dom f f
21 0 20 wceq Could not format IterComp = ( f e. _V |-> seq 0 ( ( g e. _V , j e. _V |-> ( f o. g ) ) , ( i e. NN0 |-> if ( i = 0 , ( _I |` dom f ) , f ) ) ) ) : No typesetting found for wff IterComp = ( f e. _V |-> seq 0 ( ( g e. _V , j e. _V |-> ( f o. g ) ) , ( i e. NN0 |-> if ( i = 0 , ( _I |` dom f ) , f ) ) ) ) with typecode wff