let n, i, j be Nat; :: thesis: ( 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 : not q is even } & 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 A1:
( i in Seg n & j in Seg n & i < j )
; :: thesis: 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 : not q is even } & 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
A2:
( tr is being_transposition & tr . i = j )
by A1, Th16;
consider PE being Permutation of (Permutations n) such that
A3:
for p being Element of Permutations n holds PE . p = p * tr
by Th44;
set EVEN = { p where p is Element of Permutations n : p is even } ;
set ODD = { q where q is Element of Permutations n : not q is even } ;
A4:
{ p where p is Element of Permutations n : p is even } c= Permutations n
A5:
{ q where q is Element of Permutations n : not q is even } c= Permutations n
then reconsider O = { q where q is Element of Permutations n : not q is even } , E = { p where p is Element of Permutations n : p is even } as finite set by A4, FINSET_1:13, MATRIX_2:30;
take
O
; :: thesis: 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 : not q is even } & 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
; :: thesis: ( E = { p where p is Element of Permutations n : p is even } & O = { q where q is Element of Permutations n : not q is even } & 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 : not q is even } )
; :: thesis: ( 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 = {}
:: thesis: ( 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
:: thesis: 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 ) )
{i,j} in 2Set (Seg n)
by A1, Th1;
then reconsider n2 = n - 2 as Nat by Th2, NAT_1:21, NAT_1:23;
tr is Element of Permutations (n2 + 2)
;
then
not tr is even
by A2, Th27;
then A9:
PE .: E = O
by A3, Th47;
set PERM = PE | E;
A10:
dom PE = Permutations n
by FUNCT_2:67;
then A11:
( dom (PE | E) = E & rng (PE | E) = O )
by A4, A9, RELAT_1:91, RELAT_1:148;
then reconsider PERM = PE | E as Function of E,O by FUNCT_2:3;
take
PERM
; :: thesis: 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
; :: thesis: ( 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:84, FUNCT_2:def 3;
hence
( tr is being_transposition & tr . i = j & dom PERM = E & PERM is bijective )
by A2, A4, A10, RELAT_1:91; :: thesis: for p being Element of Permutations n st p in E holds
PERM . p = p * tr
let p be Element of Permutations n; :: thesis: ( p in E implies PERM . p = p * tr )
assume A12:
p in E
; :: thesis: PERM . p = p * tr
( PERM . p = PE . p & PE . p = p * tr )
by A3, A11, A12, FUNCT_1:70;
hence
PERM . p = p * tr
; :: thesis: verum