let S be non void Signature; :: thesis: for X, Y being ManySortedSet of st X c= Y & X is with_missing_variables holds
( Terminals (DTConMSA X) c= Terminals (DTConMSA Y) & the Rules of (DTConMSA X) c= the Rules of (DTConMSA Y) & TS (DTConMSA X) c= TS (DTConMSA Y) )
let X, Y be ManySortedSet of ; :: thesis: ( X c= Y & X is with_missing_variables implies ( Terminals (DTConMSA X) c= Terminals (DTConMSA Y) & the Rules of (DTConMSA X) c= the Rules of (DTConMSA Y) & TS (DTConMSA X) c= TS (DTConMSA Y) ) )
assume that
A1:
X c= Y
and
A2:
X is with_missing_variables
; :: thesis: ( Terminals (DTConMSA X) c= Terminals (DTConMSA Y) & the Rules of (DTConMSA X) c= the Rules of (DTConMSA Y) & TS (DTConMSA X) c= TS (DTConMSA Y) )
A3:
Y is with_missing_variables
by A1, A2, Th117;
set G = DTConMSA X;
set G' = DTConMSA Y;
A4:
the carrier of (DTConMSA X) c= the carrier of (DTConMSA Y)
by A1, Th118, XBOOLE_1:9;
A5:
Terminals (DTConMSA X) = Union (coprod X)
by A2, Th120;
A6:
Terminals (DTConMSA Y) = Union (coprod Y)
by A3, Th120;
hence
Terminals (DTConMSA X) c= Terminals (DTConMSA Y)
by A1, A5, Th118; :: thesis: ( the Rules of (DTConMSA X) c= the Rules of (DTConMSA Y) & TS (DTConMSA X) c= TS (DTConMSA Y) )
A7:
the carrier of (DTConMSA X) * c= the carrier of (DTConMSA Y) *
by A4, FINSEQ_1:83;
thus
the Rules of (DTConMSA X) c= the Rules of (DTConMSA Y)
:: thesis: TS (DTConMSA X) c= TS (DTConMSA Y)proof
let a,
b be
set ;
:: according to RELAT_1:def 3 :: thesis: ( not b ast in the Rules of (DTConMSA X) or b ast in the Rules of (DTConMSA Y) )
assume A8:
[a,b] in the
Rules of
(DTConMSA X)
;
:: thesis: b ast in the Rules of (DTConMSA Y)
then A9:
a in [:the carrier' of S,{the carrier of S}:]
by MSAFREE1:2;
A10:
b in ([:the carrier' of S,{the carrier of S}:] \/ (Union (coprod X))) *
by A8, MSAFREE1:2;
consider a1,
a2 being
set such that A11:
a1 in the
carrier' of
S
and
a2 in {the carrier of S}
and
a = [a1,a2]
by A9, ZFMISC_1:def 2;
reconsider a1 =
a1 as
OperSymbol of
S by A11;
reconsider a =
a as
Element of
[:the carrier' of S,{the carrier of S}:] \/ (Union (coprod X)) by A9, XBOOLE_0:def 3;
reconsider a' =
a as
Element of
[:the carrier' of S,{the carrier of S}:] \/ (Union (coprod Y)) by A9, XBOOLE_0:def 3;
reconsider b =
b as
Element of
([:the carrier' of S,{the carrier of S}:] \/ (Union (coprod X))) * by A8, MSAFREE1:2;
reconsider b' =
b as
Element of
([:the carrier' of S,{the carrier of S}:] \/ (Union (coprod Y))) * by A7, A10;
now let o be
OperSymbol of
S;
:: thesis: ( [o,the carrier of S] = a' implies ( len b' = len (the_arity_of o) & ( for x being set st x in dom b' holds
( ( b' . x in [:the carrier' of S,{the carrier of S}:] implies for o1 being OperSymbol of S st [o1,the carrier of S] = b . x holds
the_result_sort_of o1 = (the_arity_of o) . x ) & ( b' . x in Union (coprod Y) implies b' . x in coprod ((the_arity_of o) . x),Y ) ) ) ) )assume A12:
[o,the carrier of S] = a'
;
:: thesis: ( len b' = len (the_arity_of o) & ( for x being set st x in dom b' holds
( ( b' . x in [:the carrier' of S,{the carrier of S}:] implies for o1 being OperSymbol of S st [o1,the carrier of S] = b . x holds
the_result_sort_of o1 = (the_arity_of o) . x ) & ( b' . x in Union (coprod Y) implies b' . x in coprod ((the_arity_of o) . x),Y ) ) ) )hence A13:
len b' = len (the_arity_of o)
by A8, MSAFREE:def 9;
:: thesis: for x being set st x in dom b' holds
( ( b' . x in [:the carrier' of S,{the carrier of S}:] implies for o1 being OperSymbol of S st [o1,the carrier of S] = b . x holds
the_result_sort_of o1 = (the_arity_of o) . x ) & ( b' . x in Union (coprod Y) implies b' . x in coprod ((the_arity_of o) . x),Y ) )let x be
set ;
:: thesis: ( x in dom b' implies ( ( b' . x in [:the carrier' of S,{the carrier of S}:] implies for o1 being OperSymbol of S st [o1,the carrier of S] = b . x holds
the_result_sort_of o1 = (the_arity_of o) . x ) & ( b' . x in Union (coprod Y) implies b' . x in coprod ((the_arity_of o) . x),Y ) ) )assume A14:
x in dom b'
;
:: thesis: ( ( b' . x in [:the carrier' of S,{the carrier of S}:] implies for o1 being OperSymbol of S st [o1,the carrier of S] = b . x holds
the_result_sort_of o1 = (the_arity_of o) . x ) & ( b' . x in Union (coprod Y) implies b' . x in coprod ((the_arity_of o) . x),Y ) )hence
(
b' . x in [:the carrier' of S,{the carrier of S}:] implies for
o1 being
OperSymbol of
S st
[o1,the carrier of S] = b . x holds
the_result_sort_of o1 = (the_arity_of o) . x )
by A8, A12, MSAFREE:def 9;
:: thesis: ( b' . x in Union (coprod Y) implies b' . x in coprod ((the_arity_of o) . x),Y )A15:
Union (coprod Y) misses [:the carrier' of S,{the carrier of S}:]
by MSAFREE:4;
A16:
b . x in [:the carrier' of S,{the carrier of S}:] \/ (Union (coprod X))
by A14, DTCONSTR:2;
A17:
dom b' = Seg (len b')
by FINSEQ_1:def 3;
dom (the_arity_of o) = Seg (len b')
by A13, FINSEQ_1:def 3;
then A18:
(the_arity_of o) . x in the
carrier of
S
by A14, A17, DTCONSTR:2;
assume A19:
b' . x in Union (coprod Y)
;
:: thesis: b' . x in coprod ((the_arity_of o) . x),Y
(
b . x in [:the carrier' of S,{the carrier of S}:] or
b . x in Union (coprod X) )
by A16, XBOOLE_0:def 3;
then
b . x in coprod ((the_arity_of o) . x),
X
by A8, A12, A14, A15, A19, MSAFREE:def 9, XBOOLE_0:3;
then A20:
ex
a being
set st
(
a in X . ((the_arity_of o) . x) &
b . x = [a,((the_arity_of o) . x)] )
by A18, MSAFREE:def 2;
X . ((the_arity_of o) . x) c= Y . ((the_arity_of o) . x)
by A1, A18, PBOOLE:def 5;
hence
b' . x in coprod ((the_arity_of o) . x),
Y
by A18, A20, MSAFREE:def 2;
:: thesis: verum end;
hence
b ast in the
Rules of
(DTConMSA Y)
by A9, MSAFREE:def 9;
:: thesis: verum
end;
hence
TS (DTConMSA X) c= TS (DTConMSA Y)
by A1, A5, A6, Th116, Th118; :: thesis: verum