let n, i, j be Nat; ( i in Seg n & j in Seg n & i < j implies ex ODD, EVEN being finite set st
( EVEN = { p where p is Element of Permutations n : p is even } & ODD = { q where q is Element of Permutations n : q is odd } & EVEN /\ ODD = {} & EVEN \/ ODD = Permutations n & ex PERM being Function of EVEN,ODD ex perm being Element of Permutations n st
( perm is being_transposition & perm . i = j & dom PERM = EVEN & PERM is bijective & ( for p being Element of Permutations n st p in EVEN holds
PERM . p = p * perm ) ) ) )
assume that
A1:
i in Seg n
and
A2:
j in Seg n
and
A3:
i < j
; ex ODD, EVEN being finite set st
( EVEN = { p where p is Element of Permutations n : p is even } & ODD = { q where q is Element of Permutations n : q is odd } & EVEN /\ ODD = {} & EVEN \/ ODD = Permutations n & ex PERM being Function of EVEN,ODD ex perm being Element of Permutations n st
( perm is being_transposition & perm . i = j & dom PERM = EVEN & PERM is bijective & ( for p being Element of Permutations n st p in EVEN holds
PERM . p = p * perm ) ) )
set P = Permutations n;
consider tr being Element of Permutations n such that
A4:
tr is being_transposition
and
A5:
tr . i = j
by A1, A2, A3, Th16;
{i,j} in 2Set (Seg n)
by A1, A2, A3, Th1;
then reconsider n2 = n - 2 as Nat by Th2, NAT_1:21, NAT_1:23;
set ODD = { q where q is Element of Permutations n : q is odd } ;
set EVEN = { p where p is Element of Permutations n : p is even } ;
A6:
{ p where p is Element of Permutations n : p is even } c= Permutations n
A7:
{ q where q is Element of Permutations n : q is odd } c= Permutations n
then reconsider O = { q where q is Element of Permutations n : q is odd } , E = { p where p is Element of Permutations n : p is even } as finite set by A6;
take
O
; ex EVEN being finite set st
( EVEN = { p where p is Element of Permutations n : p is even } & O = { q where q is Element of Permutations n : q is odd } & EVEN /\ O = {} & EVEN \/ O = Permutations n & ex PERM being Function of EVEN,O ex perm being Element of Permutations n st
( perm is being_transposition & perm . i = j & dom PERM = EVEN & PERM is bijective & ( for p being Element of Permutations n st p in EVEN holds
PERM . p = p * perm ) ) )
take
E
; ( E = { p where p is Element of Permutations n : p is even } & O = { q where q is Element of Permutations n : q is odd } & E /\ O = {} & E \/ O = Permutations n & ex PERM being Function of E,O ex perm being Element of Permutations n st
( perm is being_transposition & perm . i = j & dom PERM = E & PERM is bijective & ( for p being Element of Permutations n st p in E holds
PERM . p = p * perm ) ) )
thus
( E = { p where p is Element of Permutations n : p is even } & O = { q where q is Element of Permutations n : q is odd } )
; ( E /\ O = {} & E \/ O = Permutations n & ex PERM being Function of E,O ex perm being Element of Permutations n st
( perm is being_transposition & perm . i = j & dom PERM = E & PERM is bijective & ( for p being Element of Permutations n st p in E holds
PERM . p = p * perm ) ) )
thus
E /\ O = {}
( E \/ O = Permutations n & ex PERM being Function of E,O ex perm being Element of Permutations n st
( perm is being_transposition & perm . i = j & dom PERM = E & PERM is bijective & ( for p being Element of Permutations n st p in E holds
PERM . p = p * perm ) ) )
thus
E \/ O = Permutations n
ex PERM being Function of E,O ex perm being Element of Permutations n st
( perm is being_transposition & perm . i = j & dom PERM = E & PERM is bijective & ( for p being Element of Permutations n st p in E holds
PERM . p = p * perm ) )
consider PE being Permutation of (Permutations n) such that
A10:
for p being Element of Permutations n holds PE . p = p * tr
by Th44;
set PERM = PE | E;
tr is Element of Permutations (n2 + 2)
;
then
PE .: E = O
by A4, A10, Th27, Th47;
then A11:
rng (PE | E) = O
by RELAT_1:115;
A12:
dom PE = Permutations n
by FUNCT_2:52;
then A13:
dom (PE | E) = E
by A6, RELAT_1:62;
then reconsider PERM = PE | E as Function of E,O by A11, FUNCT_2:1;
take
PERM
; ex perm being Element of Permutations n st
( perm is being_transposition & perm . i = j & dom PERM = E & PERM is bijective & ( for p being Element of Permutations n st p in E holds
PERM . p = p * perm ) )
take
tr
; ( tr is being_transposition & tr . i = j & dom PERM = E & PERM is bijective & ( for p being Element of Permutations n st p in E holds
PERM . p = p * tr ) )
( PERM is one-to-one & PERM is onto )
by A11, FUNCT_1:52, FUNCT_2:def 3;
hence
( tr is being_transposition & tr . i = j & dom PERM = E & PERM is bijective )
by A4, A5, A6, A12, RELAT_1:62; for p being Element of Permutations n st p in E holds
PERM . p = p * tr
let p be Element of Permutations n; ( p in E implies PERM . p = p * tr )
assume
p in E
; PERM . p = p * tr
then
PERM . p = PE . p
by A13, FUNCT_1:47;
hence
PERM . p = p * tr
by A10; verum