let Z, Z1, Z2 be Tree; :: thesis: for z being Element of Z st Z with-replacement (z,Z1) = Z with-replacement (z,Z2) holds
Z1 = Z2

let z be Element of Z; :: thesis: ( Z with-replacement (z,Z1) = Z with-replacement (z,Z2) implies Z1 = Z2 )
assume A1: Z with-replacement (z,Z1) = Z with-replacement (z,Z2) ; :: thesis: Z1 = Z2
now :: thesis: for s being FinSequence of NAT holds
( ( s in Z1 implies s in Z2 ) & ( s in Z2 implies s in Z1 ) )
let s be FinSequence of NAT ; :: thesis: ( ( s in Z1 implies s in Z2 ) & ( s in Z2 implies b1 in Z1 ) )
thus ( s in Z1 implies s in Z2 ) :: thesis: ( s in Z2 implies b1 in Z1 )
proof end;
assume A4: s in Z2 ; :: thesis: b1 in Z1
per cases ( s = {} or s <> {} ) ;
end;
end;
hence Z1 = Z2 by TREES_2:def 1; :: thesis: verum