let x, y be set ; :: thesis: for p, q being DTree-yielding FinSequence st x -tree p = y -tree q holds
( x = y & p = q )

let p, q be DTree-yielding FinSequence; :: thesis: ( x -tree p = y -tree q implies ( x = y & p = q ) )
assume A1: x -tree p = y -tree q ; :: thesis: ( x = y & p = q )
(x -tree p) . {} = x by Def4;
hence x = y by A1, Def4; :: thesis: p = q
( dom (x -tree p) = tree (doms p) & dom (y -tree q) = tree (doms q) ) by Th10;
then ( doms p = doms q & dom p = dom (doms p) & dom (doms q) = dom q ) by A1, TREES_3:39, TREES_3:53;
then A2: len p = len q by FINSEQ_3:31;
now
let i be Nat; :: thesis: ( i >= 1 & i <= len p implies p . i = q . i )
assume A3: ( i >= 1 & i <= len p ) ; :: thesis: p . i = q . i
then consider n being Nat such that
A4: i = 1 + n by NAT_1:10;
reconsider n = n as Element of NAT by ORDINAL1:def 13;
n < len p by A3, A4, NAT_1:13;
then ( p . i = (x -tree p) | <*n*> & q . i = (y -tree q) | <*n*> ) by A2, A4, Def4;
hence p . i = q . i by A1; :: thesis: verum
end;
hence p = q by A2, FINSEQ_1:18; :: thesis: verum