let n be Nat; :: thesis: for perm being Element of Permutations n st perm <> idseq n holds
( ex i being Nat st
( i in Seg n & perm . i > i ) & ex j being Nat st
( j in Seg n & perm . j < j ) )
let p be Element of Permutations n; :: thesis: ( p <> idseq n implies ( ex i being Nat st
( i in Seg n & p . i > i ) & ex j being Nat st
( j in Seg n & p . j < j ) ) )
assume A1:
p <> idseq n
; :: thesis: ( ex i being Nat st
( i in Seg n & p . i > i ) & ex j being Nat st
( j in Seg n & p . j < j ) )
reconsider p' = p as Permutation of (Seg n) by MATRIX_2:def 11;
A2:
n in NAT
by ORDINAL1:def 13;
dom p' = Seg n
by FUNCT_2:67;
then consider x being set such that
A3:
( x in Seg n & p . x <> x )
by A1, FUNCT_1:34;
consider i being Element of NAT such that
A4:
( i = x & 1 <= i & i <= n )
by A3;
hence
ex j being Nat st
( j in Seg n & p . j > j )
; :: thesis: ex j being Nat st
( j in Seg n & p . j < j )
per cases
( p . i < i or p . i > i )
by A3, A4, XXREAL_0:1;
suppose A11:
p . i > i
;
:: thesis: ex j being Nat st
( j in Seg n & p . j < j )thus
ex
j being
Nat st
(
j in Seg n &
p . j < j )
:: thesis: verumproof
assume A12:
for
j being
Nat st
j in Seg n holds
p . j >= j
;
:: thesis: contradiction
set NI =
nat_interval i,
n;
reconsider pN =
p' .: (nat_interval i,n) as
finite set ;
A13:
pN c= nat_interval i,
n
proof
let x be
set ;
:: according to TARSKI:def 3 :: thesis: ( not x in pN or x in nat_interval i,n )
assume
x in pN
;
:: thesis: x in nat_interval i,n
then consider j being
set such that A14:
(
j in dom p' &
j in nat_interval i,
n &
p . j = x )
by FUNCT_1:def 12;
reconsider j =
j as
Nat by A14;
reconsider pj =
p . j as
Element of
NAT by ORDINAL1:def 13;
(
i <= j &
j <= pj &
pj in rng p' &
rng p' = Seg n )
by A2, A12, A14, FUNCT_1:def 5, FUNCT_2:def 3, SGRAPH1:3;
then
(
i <= pj &
pj <= n )
by FINSEQ_1:3, XXREAL_0:2;
hence
x in nat_interval i,
n
by A2, A14, SGRAPH1:2;
:: thesis: verum
end;
(
nat_interval i,
n c= Seg n &
dom p' = Seg n )
by A2, A4, FUNCT_2:67, SGRAPH1:5;
then
nat_interval i,
n,
pN are_equipotent
by CARD_1:60;
then
(
card (nat_interval i,n) = card pN &
i <= n )
by A4, CARD_1:21;
then
(
nat_interval i,
n = pN &
i in nat_interval i,
n )
by A2, A13, CARD_FIN:1, SGRAPH1:3;
then consider j being
set such that A15:
(
j in dom p' &
j in nat_interval i,
n &
p . j = i )
by FUNCT_1:def 12;
reconsider j =
j as
Nat by A15;
(
j <= i &
i <= j )
by A2, A12, A15, SGRAPH1:3;
hence
contradiction
by A11, A15, XXREAL_0:1;
:: thesis: verum
end; end; end;