let S be non empty non void ManySortedSign ; for V1, V2 being non-empty ManySortedSet of the carrier of S st V1 c= V2 holds
for t being Term of S,V1 holds t is Term of S,V2
let V1, V2 be non-empty ManySortedSet of the carrier of S; ( V1 c= V2 implies for t being Term of S,V1 holds t is Term of S,V2 )
assume A1:
for s being object st s in the carrier of S holds
V1 . s c= V2 . s
; PBOOLE:def 2 for t being Term of S,V1 holds t is Term of S,V2
defpred S1[ set ] means $1 is Term of S,V2;
A2:
for o being OperSymbol of S
for p being ArgumentSeq of Sym (o,V1) st ( for t being Term of S,V1 st t in rng p holds
S1[t] ) holds
S1[[o, the carrier of S] -tree p]
proof
let o be
OperSymbol of
S;
for p being ArgumentSeq of Sym (o,V1) st ( for t being Term of S,V1 st t in rng p holds
S1[t] ) holds
S1[[o, the carrier of S] -tree p]let p be
ArgumentSeq of
Sym (
o,
V1);
( ( for t being Term of S,V1 st t in rng p holds
S1[t] ) implies S1[[o, the carrier of S] -tree p] )
assume A3:
for
t being
Term of
S,
V1 st
t in rng p holds
t is
Term of
S,
V2
;
S1[[o, the carrier of S] -tree p]
rng p c= S -Terms V2
then reconsider q =
p as
FinSequence of
S -Terms V2 by FINSEQ_1:def 4;
len p = len (the_arity_of o)
by Lm8;
then
q is
ArgumentSeq of
Sym (
o,
V2)
by A5, Th24;
hence
S1[
[o, the carrier of S] -tree p]
by Th1;
verum
end;
A13:
for s being SortSymbol of S
for v being Element of V1 . s holds S1[ root-tree [v,s]]
for t being Term of S,V1 holds S1[t]
from MSATERM:sch 1(A13, A2);
hence
for t being Term of S,V1 holds t is Term of S,V2
; verum