defpred S1[ Element of NAT ] means for N being finite Subset of NAT st card N = $1 holds
ex F being Function of N,(card N) st
( F is bijective & ( for n, k being Element of NAT st n in dom F & k in dom F & n < k holds
F . n < F . k ) );
A1:
S1[ 0 ]
proof
let N be
finite Subset of
NAT ;
:: thesis: ( card N = 0 implies ex F being Function of N,(card N) st
( F is bijective & ( for n, k being Element of NAT st n in dom F & k in dom F & n < k holds
F . n < F . k ) ) )
assume A2:
card N = 0
;
:: thesis: ex F being Function of N,(card N) st
( F is bijective & ( for n, k being Element of NAT st n in dom F & k in dom F & n < k holds
F . n < F . k ) )
set P =
{} ;
(
rng {} = {} &
dom {} = {} &
N is
empty )
by A2;
then reconsider P =
{} as
Function of
N,
(card N) by A2, FUNCT_2:3;
take
P
;
:: thesis: ( P is bijective & ( for n, k being Element of NAT st n in dom P & k in dom P & n < k holds
P . n < P . k ) )
(
dom P = {} &
rng P = {} )
;
then
(
P is
one-to-one &
P is
onto )
by A2, FUNCT_2:def 3;
hence
P is
bijective
;
:: thesis: for n, k being Element of NAT st n in dom P & k in dom P & n < k holds
P . n < P . k
thus
for
n,
k being
Element of
NAT st
n in dom P &
k in dom P &
n < k holds
P . n < P . k
;
:: thesis: verum
end;
A3:
for k being Element of NAT st S1[k] holds
S1[k + 1]
proof
let k be
Element of
NAT ;
:: thesis: ( S1[k] implies S1[k + 1] )
assume A4:
S1[
k]
;
:: thesis: S1[k + 1]
let N be
finite Subset of
NAT ;
:: thesis: ( card N = k + 1 implies ex F being Function of N,(card N) st
( F is bijective & ( for n, k being Element of NAT st n in dom F & k in dom F & n < k holds
F . n < F . k ) ) )
assume A5:
card N = k + 1
;
:: thesis: ex F being Function of N,(card N) st
( F is bijective & ( for n, k being Element of NAT st n in dom F & k in dom F & n < k holds
F . n < F . k ) )
defpred S2[
set ]
means $1
in N;
consider m' being
Element of
NAT such that A6:
for
n being
Element of
NAT st
n in N holds
n <= m'
by Th66;
A7:
for
n being
Nat st
S2[
n] holds
n <= m'
by A6;
consider x being
set such that A8:
x in N
by A5, CARD_1:47, XBOOLE_0:def 1;
A9:
ex
n being
Nat st
S2[
n]
by A8;
consider m being
Nat such that A10:
(
S2[
m] & ( for
n being
Nat st
S2[
n] holds
n <= m ) )
from NAT_1:sch 6(A7, A9);
set Nm =
N \ {m};
consider F being
Function of
(N \ {m}),
(card (N \ {m})) such that A11:
F is
bijective
and A12:
for
n,
k being
Element of
NAT st
n in dom F &
k in dom F &
n < k holds
F . n < F . k
by A4, A5, A10, Th65;
m in {m}
by TARSKI:def 1;
then A13:
( not
m in N \ {m} & (
card (N \ {m}) is
empty implies
N \ {m} is
empty ) )
by XBOOLE_0:def 5;
then consider G being
Function of
((N \ {m}) \/ {m}),
((card (N \ {m})) \/ {k}) such that A14:
(
G | (N \ {m}) = F &
G . m = k )
by Th67;
card (N \ {m}) = k
by A5, A10, Th65;
then
(
F is
one-to-one &
F is
onto & not
k in card (N \ {m}) &
(card (N \ {m})) \/ {k} = k + 1 )
by A11, AFINSQ_1:4;
then A15:
(
G is
one-to-one &
G is
onto &
N = (N \ {m}) \/ {m} &
(card (N \ {m})) \/ {k} = card N )
by A5, A10, A13, A14, Th68, ZFMISC_1:140;
then reconsider G' =
G as
Function of
N,
(card N) ;
take
G'
;
:: thesis: ( G' is bijective & ( for n, k being Element of NAT st n in dom G' & k in dom G' & n < k holds
G' . n < G' . k ) )
thus
G' is
bijective
by A15;
:: thesis: for n, k being Element of NAT st n in dom G' & k in dom G' & n < k holds
G' . n < G' . k
thus
for
n,
k being
Element of
NAT st
n in dom G' &
k in dom G' &
n < k holds
G' . n < G' . k
:: thesis: verum
end;
for k being Element of NAT holds S1[k]
from NAT_1:sch 1(A1, A3);
hence
for N being finite Subset of NAT ex Order being Function of N,(card N) st
( Order is bijective & ( for n, k being Element of NAT st n in dom Order & k in dom Order & n < k holds
Order . n < Order . k ) )
; :: thesis: verum