set T2 = tree (T,P,T1);
tree (T,P,T1) is D -valued
proof
let y be
set ;
TARSKI:def 3,
RELAT_1:def 19 ( not y in proj2 (tree (T,P,T1)) or y in D )
assume
y in rng (tree (T,P,T1))
;
y in D
then consider x being
set such that A2:
x in dom (tree (T,P,T1))
and A3:
y = (tree (T,P,T1)) . x
by FUNCT_1:def 3;
x is
Element of
dom (tree (T,P,T1))
by A2;
then reconsider q =
x as
FinSequence of
NAT ;
dom (tree (T,P,T1)) = tree (
(dom T),
P,
(dom T1))
by A1, Def2;
then A4:
dom (tree (T,P,T1)) = { t1 where t1 is Element of dom T : for p being FinSequence of NAT st p in P holds
not p is_a_prefix_of t1 } \/ { (p ^ s) where p is Element of dom T, s is Element of dom T1 : p in P }
by A1, Th7;
end;
hence
tree (T,P,T1) is DecoratedTree of D
; verum