let x be set ; for S being non void Signature
for X being V6() ManySortedSet of the carrier of S
for t being Element of (Free S,X)
for s being SortSymbol of S holds
( ( x in (S variables_in t) . s implies [x,s] in rng t ) & ( [x,s] in rng t implies ( x in (S variables_in t) . s & x in X . s ) ) )
let S be non void Signature; for X being V6() ManySortedSet of the carrier of S
for t being Element of (Free S,X)
for s being SortSymbol of S holds
( ( x in (S variables_in t) . s implies [x,s] in rng t ) & ( [x,s] in rng t implies ( x in (S variables_in t) . s & x in X . s ) ) )
let X be V6() ManySortedSet of the carrier of S; for t being Element of (Free S,X)
for s being SortSymbol of S holds
( ( x in (S variables_in t) . s implies [x,s] in rng t ) & ( [x,s] in rng t implies ( x in (S variables_in t) . s & x in X . s ) ) )
let t be Element of (Free S,X); for s being SortSymbol of S holds
( ( x in (S variables_in t) . s implies [x,s] in rng t ) & ( [x,s] in rng t implies ( x in (S variables_in t) . s & x in X . s ) ) )
let s be SortSymbol of S; ( ( x in (S variables_in t) . s implies [x,s] in rng t ) & ( [x,s] in rng t implies ( x in (S variables_in t) . s & x in X . s ) ) )
set Y = X \/ (the carrier of S --> {0 });
assume A2:
[x,s] in rng t
; ( x in (S variables_in t) . s & x in X . s )
then consider z being set such that
A3:
z in dom t
and
A4:
[x,s] = t . z
by FUNCT_1:def 5;
reconsider z = z as Element of dom t by A3;
reconsider q = t | z as Element of (Free S,X) by Th34;
A5:
[x,s] = q . {}
by A4, QC_LANG4:8;
( [x,s] `1 = x & [x,s] `2 = s )
by MCART_1:7;
then A6:
x in { (a `1 ) where a is Element of rng t : a `2 = s }
by A2;
A7:
q is Term of S,(X \/ (the carrier of S --> {0 }))
by Th9;
s in the carrier of S
;
then
s <> the carrier of S
;
then
not s in {the carrier of S}
by TARSKI:def 1;
then
not [x,s] in [:the carrier' of S,{the carrier of S}:]
by ZFMISC_1:106;
then consider s9 being SortSymbol of S, v being Element of (X \/ (the carrier of S --> {0 })) . s9 such that
A8:
[x,s] = [v,s9]
by A5, A7, MSATERM:2;
S variables_in q c= X
by Th28;
then A9:
(S variables_in q) . s9 c= X . s9
by PBOOLE:def 5;
q = root-tree [v,s9]
by A5, A7, A8, MSATERM:5;
then
(S variables_in q) . s9 = {v}
by Th11;
then A10:
v in X . s9
by A9, ZFMISC_1:37;
x = v
by A8, ZFMISC_1:33;
hence
( x in (S variables_in t) . s & x in X . s )
by A8, A10, A6, Def3, ZFMISC_1:33; verum