let R be transitive antisymmetric with_finite_clique# RelStr ; ex A being Coloring of R st card A = clique# R
defpred S1[ Nat] means for P being transitive antisymmetric with_finite_clique# RelStr st clique# P = $1 holds
ex A being Coloring of P st card A = clique# P;
A1:
S1[ 0 ]
A3:
for n being Nat st S1[n] holds
S1[n + 1]
proof
let n be
Nat;
( S1[n] implies S1[n + 1] )
assume A4:
S1[
n]
;
S1[n + 1]
let P be
transitive antisymmetric with_finite_clique# RelStr ;
( clique# P = n + 1 implies ex A being Coloring of P st card A = clique# P )
assume A5:
clique# P = n + 1
;
ex A being Coloring of P st card A = clique# P
then A6:
not
P is
empty
;
reconsider PP =
P as non
empty transitive antisymmetric with_finite_clique# RelStr by A5;
set M =
maximals PP;
set cP = the
carrier of
P;
set cPM = the
carrier of
P \ (maximals PP);
reconsider cPM = the
carrier of
P \ (maximals PP) as
Subset of
P ;
set PM =
subrelstr cPM;
A7:
cPM = the
carrier of
(subrelstr cPM)
by YELLOW_0:def 15;
reconsider PM =
subrelstr cPM as
transitive antisymmetric with_finite_clique# RelStr ;
consider Ca being
finite Clique of
PM such that A8:
card Ca = clique# PM
by Def4;
A9:
Ca is
Clique of
P
by Th28;
consider C being
finite Clique of
P such that A10:
card C = n + 1
by A5, Def4;
A11:
C <> {}
by A10;
set cC =
C /\ cPM;
reconsider cC =
C /\ cPM as
finite Clique of
PM by Th29;
consider m being
Element of
P such that A12:
m in C
and A13:
m is_maximal_wrt C, the
InternalRel of
P
by A6, A11, BAGORDER:6;
A14:
m is_maximal_in C
by A13, WAYBEL_4:def 24;
A15:
C /\ (maximals PP) = {m}
A25:
cC = (C /\ the carrier of P) \ (C /\ (maximals PP))
by XBOOLE_1:50;
C /\ the
carrier of
P = C
by XBOOLE_1:28;
then A26:
card cC =
(card C) - (card {m})
by A12, A15, A25, EULER_1:4
.=
(n + 1) - 1
by A10, CARD_1:30
.=
n
;
A27:
clique# PM >= card cC
by Def4;
A28:
clique# PM <= clique# P
by Th42;
now not clique# PM = n + 1assume A29:
clique# PM = n + 1
;
contradictionthen A30:
Ca <> {}
by A8;
A31:
not
PM is
empty
by A29;
then consider x being
Element of
PM such that A32:
x in Ca
and A33:
x is_maximal_wrt Ca, the
InternalRel of
PM
by A30, BAGORDER:6;
A34:
x is_maximal_in Ca
by A33, WAYBEL_4:def 24;
reconsider x9 =
x as
Element of
P by A31, YELLOW_0:58;
consider y being
Element of
P such that A35:
y is_maximal_in [#] P
and A36:
(
x9 = y or
x9 < y )
by Th38;
set Cb =
Ca \/ {y};
then reconsider Cb =
Ca \/ {y} as
finite Clique of
P ;
y in maximals PP
by A35, Def10;
then
not
y in Ca
by A7, XBOOLE_0:def 5;
then A37:
card Cb = (n + 1) + 1
by A8, A29, CARD_2:41;
card Cb <= n + 1
by A5, Def4;
then
n + 1
<= n + 0
by A37, XREAL_1:6;
hence
contradiction
by XREAL_1:6;
verum end;
then
clique# PM < n + 1
by A5, A28, XXREAL_0:1;
then
clique# PM <= n
by NAT_1:13;
then
clique# PM = n
by A26, A27, XXREAL_0:1;
then consider Aa being
Coloring of
PM such that A38:
card Aa = n
by A4;
reconsider Ab =
Aa as
finite set by A38;
set A =
Aa \/ {(maximals PP)};
A39:
the
carrier of
P = cPM \/ (maximals PP)
by XBOOLE_1:45;
{(maximals PP)} is
a_partition of
maximals PP
by EQREL_1:39;
then A40:
Aa \/ {(maximals PP)} is
a_partition of the
carrier of
P
by A39, A7, Th3, XBOOLE_1:79;
then reconsider A =
Aa \/ {(maximals PP)} as
Coloring of
P by A40, Def12;
take
A
;
card A = clique# P
not
maximals PP in Ab
by A7, XBOOLE_1:38;
hence
card A = clique# P
by A5, A38, CARD_2:41;
verum
end;
for n being Nat holds S1[n]
from NAT_1:sch 2(A1, A3);
hence
ex A being Coloring of R st card A = clique# R
; verum