let f be FinSequence; :: thesis: ( ( f = <*1,2*> or f = <*2,1*> ) implies f is Permutation of (Seg 2) )
assume A1:
( f = <*1,2*> or f = <*2,1*> )
; :: thesis: f is Permutation of (Seg 2)
A2:
len <*1,2*> = 2
by FINSEQ_1:61;
len <*2,1*> = 2
by FINSEQ_1:61;
then A3:
dom f = Seg 2
by A1, A2, FINSEQ_1:def 3;
rng f c= Seg 2
then reconsider g = f as Function of (Seg 2),(Seg 2) by A3, FUNCT_2:4;
hence
f is Permutation of (Seg 2)
; :: thesis: verum