let x, y be set ; for A being array st x in dom A & y in dom A holds
( Swap (A,x,y) is permutation of A & A is permutation of Swap (A,x,y) )
let A be array; ( x in dom A & y in dom A implies ( Swap (A,x,y) is permutation of A & A is permutation of Swap (A,x,y) ) )
set X = dom A;
assume A1:
( x in dom A & y in dom A )
; ( Swap (A,x,y) is permutation of A & A is permutation of Swap (A,x,y) )
thus
Swap (A,x,y) is permutation of A
A is permutation of Swap (A,x,y)
hence
A is permutation of Swap (A,x,y)
by Th39; verum