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