set G = F1();
defpred S1[ set ] means F5() . $1 = F6() . $1;
A3: now :: thesis: for s being Symbol of F1() st s in Terminals F1() holds
S1[ root-tree s]
let s be Symbol of F1(); :: thesis: ( s in Terminals F1() implies S1[ root-tree s] )
assume A4: s in Terminals F1() ; :: thesis: S1[ root-tree s]
then F5() . (root-tree s) = F3(s) by A1
.= F6() . (root-tree s) by A2, A4 ;
hence S1[ root-tree s] ; :: thesis: verum
end;
A5: now :: thesis: for nt being Symbol of F1()
for ts being FinSequence of TS F1() st nt ==> roots ts & ( for t being DecoratedTree of the carrier of F1() st t in rng ts holds
S1[t] ) holds
S1[nt -tree ts]
let nt be Symbol of F1(); :: thesis: for ts being FinSequence of TS F1() st nt ==> roots ts & ( for t being DecoratedTree of the carrier of F1() st t in rng ts holds
S1[t] ) holds
S1[nt -tree ts]

let ts be FinSequence of TS F1(); :: thesis: ( nt ==> roots ts & ( for t being DecoratedTree of the carrier of F1() st t in rng ts holds
S1[t] ) implies S1[nt -tree ts] )

assume that
A6: nt ==> roots ts and
A7: for t being DecoratedTree of the carrier of F1() st t in rng ts holds
S1[t] ; :: thesis: S1[nt -tree ts]
A8: rng ts c= TS F1() by FINSEQ_1:def 4;
then rng ts c= dom F5() by FUNCT_2:def 1;
then A9: dom (F5() * ts) = dom ts by RELAT_1:27;
reconsider ntv1 = F5() * ts as FinSequence ;
reconsider ntv1 = ntv1 as FinSequence of F2() ;
rng ts c= dom F6() by A8, FUNCT_2:def 1;
then A10: dom (F6() * ts) = dom ts by RELAT_1:27;
now :: thesis: for x being object st x in dom ts holds
(F5() * ts) . x = (F6() * ts) . x
let x be object ; :: thesis: ( x in dom ts implies (F5() * ts) . x = (F6() * ts) . x )
assume A11: x in dom ts ; :: thesis: (F5() * ts) . x = (F6() * ts) . x
then reconsider t = ts . x as Element of FinTrees the carrier of F1() by Th2;
t in rng ts by A11, FUNCT_1:def 3;
then A12: F5() . t = F6() . t by A7;
thus (F5() * ts) . x = F5() . t by A9, A11, FUNCT_1:12
.= (F6() * ts) . x by A10, A11, A12, FUNCT_1:12 ; :: thesis: verum
end;
then A13: F5() * ts = F6() * ts by A9, A10, FUNCT_1:2;
F5() . (nt -tree ts) = F4(nt,(roots ts),ntv1) by A1, A6
.= F6() . (nt -tree ts) by A2, A6, A13 ;
hence S1[nt -tree ts] ; :: thesis: verum
end;
for t being DecoratedTree of the carrier of F1() st t in TS F1() holds
S1[t] from DTCONSTR:sch 7(A3, A5);
then for x being object st x in TS F1() holds
F5() . x = F6() . x ;
hence F5() = F6() by FUNCT_2:12; :: thesis: verum