let S be non empty non void ManySortedSign ; :: thesis: for V1, V2 being V5 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 V5 ManySortedSet of the carrier of S; :: thesis: ( V1 c= V2 implies for t being Term of S,V1 holds t is Term of S,V2 )
assume A1:
for s being set st s in the carrier of S holds
V1 . s c= V2 . s
; :: according to PBOOLE:def 5 :: thesis: 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 s being SortSymbol of S
for v being Element of V1 . s holds S1[ root-tree [v,s]]
A3:
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;
:: thesis: 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;
:: thesis: ( ( 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 A4:
for
t being
Term of
S,
V1 st
t in rng p holds
t is
Term of
S,
V2
;
:: thesis: 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;
A6:
len p = len (the_arity_of o)
by Lm8;
then
q is
ArgumentSeq of
Sym o,
V2
by A6, Th24;
hence
[o,the carrier of S] -tree p is
Term of
S,
V2
by Th1;
:: thesis: verum
end;
for t being Term of S,V1 holds S1[t]
from MSATERM:sch 1(A2, A3);
hence
for t being Term of S,V1 holds t is Term of S,V2
; :: thesis: verum