let S be non void Signature; for Y being non-empty ManySortedSet of the carrier of S
for X being ManySortedSet of the carrier of S
for t being Term of S,Y
for s being SortSymbol of S st t in (S -Terms (X,Y)) . s holds
( the_sort_of t = s & variables_in t c= X )
let Y be non-empty ManySortedSet of the carrier of S; for X being ManySortedSet of the carrier of S
for t being Term of S,Y
for s being SortSymbol of S st t in (S -Terms (X,Y)) . s holds
( the_sort_of t = s & variables_in t c= X )
let X be ManySortedSet of the carrier of S; for t being Term of S,Y
for s being SortSymbol of S st t in (S -Terms (X,Y)) . s holds
( the_sort_of t = s & variables_in t c= X )
let q be Term of S,Y; for s being SortSymbol of S st q in (S -Terms (X,Y)) . s holds
( the_sort_of q = s & variables_in q c= X )
let s be SortSymbol of S; ( q in (S -Terms (X,Y)) . s implies ( the_sort_of q = s & variables_in q c= X ) )
assume A1:
q in (S -Terms (X,Y)) . s
; ( the_sort_of q = s & variables_in q c= X )
(S -Terms (X,Y)) . s = { t where t is Term of S,Y : ( the_sort_of t = s & variables_in t c= X ) }
by Def5;
then
ex t being Term of S,Y st
( q = t & the_sort_of t = s & variables_in t c= X )
by A1;
hence
( the_sort_of q = s & variables_in q c= X )
; verum