set e = elementary_tree 2;
let Z be Tree; for x1, x2 being Element of Z st x1 = <*0*> & x2 = <*1*> & succ (Root Z) = {x1,x2} holds
Z = ((elementary_tree 2) with-replacement (<*0*>,(Z | x1))) with-replacement (<*1*>,(Z | x2))
let x1, x2 be Element of Z; ( x1 = <*0*> & x2 = <*1*> & succ (Root Z) = {x1,x2} implies Z = ((elementary_tree 2) with-replacement (<*0*>,(Z | x1))) with-replacement (<*1*>,(Z | x2)) )
assume that
A1:
x1 = <*0*>
and
A2:
x2 = <*1*>
and
A3:
succ (Root Z) = {x1,x2}
; Z = ((elementary_tree 2) with-replacement (<*0*>,(Z | x1))) with-replacement (<*1*>,(Z | x2))
set T1 = (elementary_tree 2) with-replacement (<*0*>,(Z | x1));
A4:
<*0*> in elementary_tree 2
by ENUMSET1:def 1, TREES_1:53;
A14:
not <*0*> is_a_proper_prefix_of <*1*>
by TREES_1:3;
<*1*> in elementary_tree 2
by ENUMSET1:def 1, TREES_1:53;
then
<*1*> in (elementary_tree 2) with-replacement (<*0*>,(Z | x1))
by A4, A14, TREES_1:def 9;
hence
Z = ((elementary_tree 2) with-replacement (<*0*>,(Z | x1))) with-replacement (<*1*>,(Z | x2))
by A5, TREES_1:def 9; verum