let p, q be XFinSequence; :: thesis: ( len p = len q & ( for k being Nat st k < len p holds
p . k = q . k ) implies p = q )

assume that
A1: len p = len q and
A2: for k being Nat st k < len p holds
p . k = q . k ; :: thesis: p = q
now
let x be set ; :: thesis: ( x in dom p implies p . x = q . x )
assume A3: x in dom p ; :: thesis: p . x = q . x
then reconsider k = x as Element of NAT ;
k < len p by A3, NAT_1:45;
hence p . x = q . x by A2; :: thesis: verum
end;
hence p = q by A1, FUNCT_1:9; :: thesis: verum