let T, T9 be DecoratedTree; for x being set st ( not x in rng T or not x in Leaves T ) holds
(T,x) <- T9 = T
let x be set ; ( ( not x in rng T or not x in Leaves T ) implies (T,x) <- T9 = T )
A1:
Leaves T c= rng T
by RELAT_1:111;
assume
( not x in rng T or not x in Leaves T )
; (T,x) <- T9 = T
then A2:
not x in Leaves T
by A1;
thus A3:
dom ((T,x) <- T9) = dom T
TREES_4:def 1 for p being Node of ((T,x) <- T9) holds ((T,x) <- T9) . p = T . p
let p be Node of ((T,x) <- T9); ((T,x) <- T9) . p = T . p
reconsider p9 = p as Node of T by A3;
( p9 in Leaves (dom T) implies T . p9 in Leaves T )
by FUNCT_1:def 6;
hence
((T,x) <- T9) . p = T . p
by A2, Def7; verum