let S be ManySortedSign ; for s, x being object holds
( ( s in the carrier of S implies (S variables_in (root-tree [x,s])) . s = {x} ) & ( for s9 being object st ( s9 <> s or not s in the carrier of S ) holds
(S variables_in (root-tree [x,s])) . s9 = {} ) )
let s, x be object ; ( ( s in the carrier of S implies (S variables_in (root-tree [x,s])) . s = {x} ) & ( for s9 being object st ( s9 <> s or not s in the carrier of S ) holds
(S variables_in (root-tree [x,s])) . s9 = {} ) )
reconsider t = root-tree [x,s] as DecoratedTree ;
A1:
[x,s] `2 = s
;
t = {[{},[x,s]]}
by TREES_4:6;
then A2:
rng t = {[x,s]}
by RELAT_1:9;
A3:
[x,s] `1 = x
;
let s9 be object ; ( ( s9 <> s or not s in the carrier of S ) implies (S variables_in (root-tree [x,s])) . s9 = {} )
assume A6:
( s9 <> s or not s in the carrier of S )
; (S variables_in (root-tree [x,s])) . s9 = {}
set y = the Element of (S variables_in (root-tree [x,s])) . s9;
assume A7:
(S variables_in (root-tree [x,s])) . s9 <> {}
; contradiction
then A8:
the Element of (S variables_in (root-tree [x,s])) . s9 in (S variables_in t) . s9
;
dom (S variables_in t) = the carrier of S
by PARTFUN1:def 2;
then A9:
s9 in the carrier of S
by A7, FUNCT_1:def 2;
then
(S variables_in t) . s9 = { (a `1) where a is Element of rng t : a `2 = s9 }
by Def2;
then
ex a being Element of rng t st
( the Element of (S variables_in (root-tree [x,s])) . s9 = a `1 & a `2 = s9 )
by A8;
hence
contradiction
by A2, A1, A6, A9, TARSKI:def 1; verum