let S be non void Signature; for X being non empty ManySortedSet of the carrier of S
for f being term-transformation of S,X
for s being SortSymbol of S
for p being FinSequence of the Sorts of (Free (S,X)) . s holds
( f * p is FinSequence of the Sorts of (Free (S,X)) . s & card (f * p) = len p )
let X be non empty ManySortedSet of the carrier of S; for f being term-transformation of S,X
for s being SortSymbol of S
for p being FinSequence of the Sorts of (Free (S,X)) . s holds
( f * p is FinSequence of the Sorts of (Free (S,X)) . s & card (f * p) = len p )
set A = Free (S,X);
let f be term-transformation of S,X; for s being SortSymbol of S
for p being FinSequence of the Sorts of (Free (S,X)) . s holds
( f * p is FinSequence of the Sorts of (Free (S,X)) . s & card (f * p) = len p )
let s be SortSymbol of S; for p being FinSequence of the Sorts of (Free (S,X)) . s holds
( f * p is FinSequence of the Sorts of (Free (S,X)) . s & card (f * p) = len p )
let p be FinSequence of the Sorts of (Free (S,X)) . s; ( f * p is FinSequence of the Sorts of (Free (S,X)) . s & card (f * p) = len p )
A1:
( Union the Sorts of (Free (S,X)) = {} or Union the Sorts of (Free (S,X)) <> {} )
;
A2:
dom the Sorts of (Free (S,X)) = the carrier of S
by PARTFUN1:def 2;
A3:
dom f = Union the Sorts of (Free (S,X))
by A1, FUNCT_2:def 1;
the Sorts of (Free (S,X)) . s in rng the Sorts of (Free (S,X))
by A2, FUNCT_1:def 3;
then
the Sorts of (Free (S,X)) . s c= Union the Sorts of (Free (S,X))
by ZFMISC_1:74;
then
rng p c= dom f
by A3;
then A4:
dom (f * p) = dom p
by RELAT_1:27;
dom p = Seg (len p)
by FINSEQ_1:def 3;
then A5:
f * p is FinSequence
by A4, FINSEQ_1:def 2;
A6:
rng (f * p) c= the Sorts of (Free (S,X)) . s
hence
f * p is FinSequence of the Sorts of (Free (S,X)) . s
by A5, FINSEQ_1:def 4; card (f * p) = len p
reconsider q = f * p as FinSequence of the Sorts of (Free (S,X)) . s by A5, A6, FINSEQ_1:def 4;
thus card (f * p) =
len q
.=
len p
by A4, FINSEQ_3:29
; verum