set X = the Sorts of F2() \/ F3();
set G = DTConMSA (the Sorts of F2() \/ F3());
A4:
for s being Symbol of (DTConMSA (the Sorts of F2() \/ F3())) st s in Terminals (DTConMSA (the Sorts of F2() \/ F3())) holds
P1[ root-tree s]
A5:
for nt being Symbol of (DTConMSA (the Sorts of F2() \/ F3()))
for ts being FinSequence of TS (DTConMSA (the Sorts of F2() \/ F3())) st nt ==> roots ts & ( for t being DecoratedTree of st t in rng ts holds
P1[t] ) holds
P1[nt -tree ts]
proof
let nt be
Symbol of
(DTConMSA (the Sorts of F2() \/ F3()));
:: thesis: for ts being FinSequence of TS (DTConMSA (the Sorts of F2() \/ F3())) st nt ==> roots ts & ( for t being DecoratedTree of st t in rng ts holds
P1[t] ) holds
P1[nt -tree ts]let ts be
FinSequence of
TS (DTConMSA (the Sorts of F2() \/ F3()));
:: thesis: ( nt ==> roots ts & ( for t being DecoratedTree of st t in rng ts holds
P1[t] ) implies P1[nt -tree ts] )
assume that A6:
nt ==> roots ts
and A7:
for
t being
DecoratedTree of st
t in rng ts holds
P1[
t]
;
:: thesis: P1[nt -tree ts]
(
nt in { s where s is Symbol of (DTConMSA (the Sorts of F2() \/ F3())) : ex n being FinSequence st s ==> n } &
NonTerminals (DTConMSA (the Sorts of F2() \/ F3())) = { s where s is Symbol of (DTConMSA (the Sorts of F2() \/ F3())) : ex n being FinSequence st s ==> n } )
by A6, LANG1:def 3;
then reconsider sy =
nt as
NonTerminal of
(DTConMSA (the Sorts of F2() \/ F3())) ;
sy in [:the carrier' of F1(),{the carrier of F1()}:]
by Lm5;
then consider o being
OperSymbol of
F1(),
x2 being
Element of
{the carrier of F1()} such that A8:
sy = [o,x2]
by DOMAIN_1:9;
A9:
x2 = the
carrier of
F1()
by TARSKI:def 1;
reconsider p =
ts as
FinSequence of
F1()
-Terms (the Sorts of F2() \/ F3()) ;
A10:
[o,the carrier of F1()] = Sym o,
(the Sorts of F2() \/ F3())
by MSAFREE:def 11;
then
ts is
SubtreeSeq of
Sym o,
(the Sorts of F2() \/ F3())
by A6, A8, A9, DTCONSTR:def 9;
then reconsider p =
p as
ArgumentSeq of
Sym o,
(the Sorts of F2() \/ F3()) by Def2;
for
t being
c-Term of
F2(),
F3() st
t in rng p holds
P1[
t]
by A7;
hence
P1[
nt -tree ts]
by A3, A8, A9, A10;
:: thesis: verum
end;
for t being DecoratedTree of st t in TS (DTConMSA (the Sorts of F2() \/ F3())) holds
P1[t]
from DTCONSTR:sch 7(A4, A5);
hence
for t being c-Term of F2(),F3() holds P1[t]
; :: thesis: verum