let A be set ; :: thesis: for k being natural number st A c= Seg k holds
Sgm A is one-to-one

let k be natural number ; :: thesis: ( A c= Seg k implies Sgm A is one-to-one )
assume A1: A c= Seg k ; :: thesis: Sgm A is one-to-one
let x be set ; :: according to FUNCT_1:def 8 :: thesis: for b1 being set holds
( not x in dom (Sgm A) or not b1 in dom (Sgm A) or not (Sgm A) . x = (Sgm A) . b1 or x = b1 )

let y be set ; :: thesis: ( not x in dom (Sgm A) or not y in dom (Sgm A) or not (Sgm A) . x = (Sgm A) . y or x = y )
assume that
A2: ( x in dom (Sgm A) & y in dom (Sgm A) ) and
A3: (Sgm A) . x = (Sgm A) . y and
A4: x <> y ; :: thesis: contradiction
A5: dom (Sgm A) = Seg (len (Sgm A)) by FINSEQ_1:def 3;
reconsider i = x, j = y as Element of NAT by A2;
( (Sgm A) . x in rng (Sgm A) & (Sgm A) . y in rng (Sgm A) & rng (Sgm A) = A ) by A1, A2, FINSEQ_1:def 13, FUNCT_1:def 5;
then ( (Sgm A) . x in Seg k & (Sgm A) . y in Seg k ) by A1;
then reconsider m = (Sgm A) . x, n = (Sgm A) . y as Element of NAT ;
now end;
hence contradiction ; :: thesis: verum