let n be Nat; 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; ( 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
; ( 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 p9 = p as Permutation of (Seg n) by MATRIX_2:def 11;
dom p9 = Seg n
by FUNCT_2:67;
then consider x being set such that
A2:
x in Seg n
and
A3:
p . x <> x
by A1, FUNCT_1:34;
consider i being Element of NAT such that
A4:
i = x
and
A5:
1 <= i
and
A6:
i <= n
by A2;
hence
ex j being Nat st
( j in Seg n & p . j > j )
; ex j being Nat st
( j in Seg n & p . j < j )
A22:
n in NAT
by ORDINAL1:def 13;
per cases
( p . i < i or p . i > i )
by A3, A4, XXREAL_0:1;
suppose A23:
p . i > i
;
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 )
verumproof
set NI =
nat_interval i,
n;
reconsider pN =
p9 .: (nat_interval i,n) as
finite set ;
A24:
i in nat_interval i,
n
by A22, A6, SGRAPH1:3;
assume A25:
for
j being
Nat st
j in Seg n holds
p . j >= j
;
contradiction
A26:
pN c= nat_interval i,
n
proof
let x be
set ;
TARSKI:def 3 ( not x in pN or x in nat_interval i,n )
A27:
rng p9 = Seg n
by FUNCT_2:def 3;
assume
x in pN
;
x in nat_interval i,n
then consider j being
set such that A28:
j in dom p9
and A29:
j in nat_interval i,
n
and A30:
p . j = x
by FUNCT_1:def 12;
reconsider j =
j as
Nat by A29;
reconsider pj =
p . j as
Element of
NAT by ORDINAL1:def 13;
A31:
j <= pj
by A25, A28;
i <= j
by A22, A29, SGRAPH1:3;
then A32:
i <= pj
by A31, XXREAL_0:2;
pj in rng p9
by A28, FUNCT_1:def 5;
then
pj <= n
by A27, FINSEQ_1:3;
hence
x in nat_interval i,
n
by A22, A30, A32, SGRAPH1:2;
verum
end;
dom p9 = Seg n
by FUNCT_2:67;
then
nat_interval i,
n,
pN are_equipotent
by A22, A5, CARD_1:60, SGRAPH1:5;
then
card (nat_interval i,n) = card pN
by CARD_1:21;
then
nat_interval i,
n = pN
by A26, CARD_FIN:1;
then consider j being
set such that A33:
j in dom p9
and A34:
j in nat_interval i,
n
and A35:
p . j = i
by A24, FUNCT_1:def 12;
reconsider j =
j as
Nat by A34;
A36:
i <= j
by A22, A34, SGRAPH1:3;
j <= i
by A25, A33, A35;
hence
contradiction
by A23, A35, A36, XXREAL_0:1;
verum
end; end; end;