let X be set ; :: thesis: for p being Permutation of X
for x, y being Element of X holds (p +* x,(p . y)) +* y,(p . x) is Permutation of X
let p be Permutation of X; :: thesis: for x, y being Element of X holds (p +* x,(p . y)) +* y,(p . x) is Permutation of X
let x, y be Element of X; :: thesis: (p +* x,(p . y)) +* y,(p . x) is Permutation of X
set p1 = p +* x,(p . y);
set p2 = (p +* x,(p . y)) +* y,(p . x);
A1:
dom ((p +* x,(p . y)) +* y,(p . x)) = dom (p +* x,(p . y))
by Th32;
A2:
dom (p +* x,(p . y)) = dom p
by Th32;
B3:
( X = {} implies X = {} )
;
then A3:
dom p = X
by FUNCT_2:def 1;
per cases
( X is empty or not X is empty )
;
suppose A4:
not
X is
empty
;
:: thesis: (p +* x,(p . y)) +* y,(p . x) is Permutation of XA5:
rng p = X
by FUNCT_2:def 3;
then A6:
p . x in X
by A3, A4, FUNCT_1:def 5;
thus
(p +* x,(p . y)) +* y,
(p . x) is
Permutation of
X
:: thesis: verumproof
per cases
( x = y or x <> y )
;
suppose A8:
x <> y
;
:: thesis: (p +* x,(p . y)) +* y,(p . x) is Permutation of Xthen A9:
((p +* x,(p . y)) +* y,(p . x)) . x =
(p +* x,(p . y)) . x
by Th34
.=
p . y
by A3, A4, Th33
;
A10:
((p +* x,(p . y)) +* y,(p . x)) . y = p . x
by A2, A3, A4, Th33;
A13:
now let pz be
set ;
:: thesis: ( ( pz in rng ((p +* x,(p . y)) +* y,(p . x)) implies pz in X ) & ( pz in X implies b1 in rng ((p +* x,(p . y)) +* y,(p . x)) ) )hereby :: thesis: ( pz in X implies b1 in rng ((p +* x,(p . y)) +* y,(p . x)) )
assume
pz in rng ((p +* x,(p . y)) +* y,(p . x))
;
:: thesis: pz in Xthen consider z being
set such that A14:
(
z in dom ((p +* x,(p . y)) +* y,(p . x)) &
pz = ((p +* x,(p . y)) +* y,(p . x)) . z )
by FUNCT_1:def 5;
A15:
p . z in X
by A1, A2, A5, A14, FUNCT_1:def 5;
end; assume
pz in X
;
:: thesis: b1 in rng ((p +* x,(p . y)) +* y,(p . x))then consider z being
set such that A16:
(
z in dom p &
pz = p . z )
by A5, FUNCT_1:def 5;
end; then
rng ((p +* x,(p . y)) +* y,(p . x)) = X
by TARSKI:2;
then reconsider p2 =
(p +* x,(p . y)) +* y,
(p . x) as
Function of
X,
X by A1, A2, A3, A4, FUNCT_2:def 1, RELSET_1:11;
p2 is
bijective
hence
(p +* x,(p . y)) +* y,
(p . x) is
Permutation of
X
;
:: thesis: verum end; end;
end; end; end;