let G be finitely_colorable SimpleGraph; ex E being Coloring of (Mycielskian G) st card E = 1 + (chromatic# G)
set uG = union G;
set MG = Mycielskian G;
set uMG = union (Mycielskian G);
set cnG = chromatic# G;
consider C being finite Coloring of G such that
A1:
card C = chromatic# G
by Def22;
defpred S1[ object , object ] means ex A being set st
( A = $1 & $2 = { [x,(union G)] where x is Element of union G : x in A } );
A2:
for e being object st e in C holds
ex u being object st S1[e,u]
consider r being Function such that
dom r = C
and
A3:
for e being object st e in C holds
S1[e,r . e]
from CLASSES1:sch 1(A2);
set D = { (d \/ (r . d)) where d is Element of C : d in C } ;
A4:
card { (d \/ (r . d)) where d is Element of C : d in C } = card C
proof
per cases
( { (d \/ (r . d)) where d is Element of C : d in C } is empty or not { (d \/ (r . d)) where d is Element of C : d in C } is empty )
;
suppose A7:
not
{ (d \/ (r . d)) where d is Element of C : d in C } is
empty
;
card { (d \/ (r . d)) where d is Element of C : d in C } = card Cdefpred S2[
object ,
object ]
means ex
A being
set st
(
A = $1 & $2
= A \/ (r . $1) );
A8:
for
e being
object st
e in C holds
ex
u being
object st
S2[
e,
u]
proof
let e be
object ;
( e in C implies ex u being object st S2[e,u] )
assume
e in C
;
ex u being object st S2[e,u]
reconsider A =
e as
set by TARSKI:1;
take u =
A \/ (r . e);
S2[e,u]
thus
S2[
e,
u]
;
verum
end; consider s being
Function such that A9:
dom s = C
and A10:
for
e being
object st
e in C holds
S2[
e,
s . e]
from CLASSES1:sch 1(A8);
A11:
rng s c= { (d \/ (r . d)) where d is Element of C : d in C }
then reconsider s =
s as
Function of
C,
{ (d \/ (r . d)) where d is Element of C : d in C } by A9, FUNCT_2:2;
{ (d \/ (r . d)) where d is Element of C : d in C } c= rng s
then
rng s = { (d \/ (r . d)) where d is Element of C : d in C }
by A11;
then A16:
s is
onto
by FUNCT_2:def 3;
s is
one-to-one
hence
card { (d \/ (r . d)) where d is Element of C : d in C } = card C
by A16, A7, EULER_1:11;
verum end; end;
end;
A31:
{ (d \/ (r . d)) where d is Element of C : d in C } is finite
by A4;
set E = { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}};
A32:
union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}}) = union (Mycielskian G)
proof
thus
union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}}) c= union (Mycielskian G)
XBOOLE_0:def 10 union (Mycielskian G) c= union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}})
thus
union (Mycielskian G) c= union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}})
verumproof
let a be
object ;
TARSKI:def 3 ( not a in union (Mycielskian G) or a in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}}) )
assume
a in union (Mycielskian G)
;
a in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}})
then consider Y being
set such that A42:
a in Y
and A43:
Y in Mycielskian G
by TARSKI:def 4;
A44:
(
a in union G implies
a in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}}) )
per cases
( Y in {{}} or Y in { {x} where x is Element of ((union G) \/ [:(union G),{(union G)}:]) \/ {(union G)} : verum } or Y in Edges G or Y in { {x,[y,(union G)]} where x, y is Element of union G : {x,y} in Edges G } or Y in { {(union G),[x,(union G)]} where x is Element of union G : x in Vertices G } )
by A43, MYCIELSK:4;
suppose
Y in { {x,[y,(union G)]} where x, y is Element of union G : {x,y} in Edges G }
;
a in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}})then consider x,
y being
Element of
union G such that A65:
Y = {x,[y,(union G)]}
and A66:
{x,y} in Edges G
;
A67:
(
a = x or
a = [y,(union G)] )
by A42, A65, TARSKI:def 2;
x in union G
by A66, Th13;
hence
a in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}})
by A67, A44, A48;
verum end; end;
end;
end;
A72:
now for A being Subset of (union (Mycielskian G)) st A in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}} holds
( A <> {} & ( for B being Subset of (union (Mycielskian G)) holds
( not B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}} or A = B or A misses B ) ) )let A be
Subset of
(union (Mycielskian G));
( A in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}} implies ( b1 <> {} & ( for B being Subset of (union (Mycielskian G)) holds
( not b2 in { (b3 \/ (r . b3)) where d is Element of C : b3 in C } \/ {{(union G)}} or B = b2 or B misses b2 ) ) ) )assume A73:
A in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}}
;
( b1 <> {} & ( for B being Subset of (union (Mycielskian G)) holds
( not b2 in { (b3 \/ (r . b3)) where d is Element of C : b3 in C } \/ {{(union G)}} or B = b2 or B misses b2 ) ) )per cases
( A in { (d \/ (r . d)) where d is Element of C : d in C } or A in {{(union G)}} )
by A73, XBOOLE_0:def 3;
suppose
A in { (d \/ (r . d)) where d is Element of C : d in C }
;
( b1 <> {} & ( for B being Subset of (union (Mycielskian G)) holds
( not b2 in { (b3 \/ (r . b3)) where d is Element of C : b3 in C } \/ {{(union G)}} or B = b2 or B misses b2 ) ) )then consider d being
Element of
C such that A74:
A = d \/ (r . d)
and A75:
d in C
;
thus
A <> {}
by A74, A75;
for B being Subset of (union (Mycielskian G)) holds
( not B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}} or A = B or A misses B )thus
for
B being
Subset of
(union (Mycielskian G)) holds
( not
B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}} or
A = B or
A misses B )
verumproof
let B be
Subset of
(union (Mycielskian G));
( not B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}} or A = B or A misses B )
assume A76:
B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}}
;
( A = B or A misses B )
per cases
( B in { (d \/ (r . d)) where d is Element of C : d in C } or B in {{(union G)}} )
by A76, XBOOLE_0:def 3;
suppose
B in { (d \/ (r . d)) where d is Element of C : d in C }
;
( A = B or A misses B )then consider e being
Element of
C such that A77:
B = e \/ (r . e)
and A78:
e in C
;
now ( A meets B implies A = B )assume
A meets B
;
A = Bthen consider x being
object such that A79:
x in A
and A80:
x in B
by XBOOLE_0:3;
per cases
( ( x in d & x in e ) or ( x in d & x in r . e ) or ( x in r . d & x in e ) or ( x in r . d & x in r . e ) )
by A79, A80, A77, A74, XBOOLE_0:def 3;
suppose A85:
(
x in r . d &
x in r . e )
;
A = B
S1[
d,
r . d]
by A3, A75;
then
x in { [yy,(union G)] where yy is Element of union G : yy in d }
by A85;
then consider yy being
Element of
union G such that A86:
x = [yy,(union G)]
and A87:
yy in d
;
S1[
e,
r . e]
by A3, A78;
then
x in { [zz,(union G)] where zz is Element of union G : zz in e }
by A85;
then consider zz being
Element of
union G such that A88:
x = [zz,(union G)]
and A89:
zz in e
;
yy = zz
by A86, A88, XTUPLE_0:1;
then
d = e
by A87, A89, EQREL_1:70;
hence
A = B
by A77, A74;
verum end; end; end; hence
(
A = B or
A misses B )
;
verum end; end;
end; end; end; end;
A106:
{ (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}} c= bool (union (Mycielskian G))
reconsider E = { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(union G)}} as a_partition of union (Mycielskian G) by A32, A72, A106, EQREL_1:def 4;
E is StableSet-wise
then reconsider E = E as Coloring of (Mycielskian G) ;
take
E
; card E = 1 + (chromatic# G)
hence
card E = 1 + (chromatic# G)
by A4, A31, A1, CARD_2:41; verum