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:144;
assume
( not x in rng T or not x in Leaves T )
; (T,x) <- T9 = T
then A3:
not x in Leaves T
by A1;
thus A4:
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 A4;
( p9 in Leaves (dom T) implies T . p9 in Leaves T )
by FUNCT_1:def 12;
hence
((T,x) <- T9) . p = T . p
by A3, Def7; verum