let n be Nat; :: thesis: for R being irreflexive NatRelStr of n holds chromatic# (Mycielskian R) = 1 + (chromatic# R)
let R be irreflexive NatRelStr of n; :: thesis: chromatic# (Mycielskian R) = 1 + (chromatic# R)
set cR = the carrier of R;
set iR = the InternalRel of R;
set cnR = chromatic# R;
set MR = Mycielskian R;
set cnMR = chromatic# (Mycielskian R);
set cMR = the carrier of (Mycielskian R);
set iMR = the InternalRel of (Mycielskian R);
A1: the carrier of R = n by Def7;
A2: ex C being finite Coloring of (Mycielskian R) st card C = 1 + (chromatic# R)
proof
consider C being finite Coloring of R such that
A3: card C = chromatic# R by Def3;
defpred S1[ set , set ] means $2 = { (m + n) where m is Element of NAT : m in $1 } ;
A4: for e being set st e in C holds
ex u being set st S1[e,u] ;
consider r being Function such that
dom r = C and
A5: for e being set st e in C holds
S1[e,r . e] from CLASSES1:sch 1(A4);
set D = { (d \/ (r . d)) where d is Element of C : d in C } ;
A6: 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: { (d \/ (r . d)) where d is Element of C : d in C } is empty ; :: thesis: card { (d \/ (r . d)) where d is Element of C : d in C } = card C
now
assume not C is empty ; :: thesis: contradiction
then consider c being set such that
A8: c in C by XBOOLE_0:def 1;
c \/ (r . c) in { (d \/ (r . d)) where d is Element of C : d in C } by A8;
hence contradiction by A7; :: thesis: verum
end;
hence card { (d \/ (r . d)) where d is Element of C : d in C } = card C by A7; :: thesis: verum
end;
suppose A9: not { (d \/ (r . d)) where d is Element of C : d in C } is empty ; :: thesis: card { (d \/ (r . d)) where d is Element of C : d in C } = card C
defpred S2[ set , set ] means $2 = $1 \/ (r . $1);
A10: for e being set st e in C holds
ex u being set st S2[e,u] ;
consider s being Function such that
A11: dom s = C and
A12: for e being set st e in C holds
S2[e,s . e] from CLASSES1:sch 1(A10);
A13: rng s c= { (d \/ (r . d)) where d is Element of C : d in C }
proof
let y be set ; :: according to TARSKI:def 3 :: thesis: ( not y in rng s or y in { (d \/ (r . d)) where d is Element of C : d in C } )
assume y in rng s ; :: thesis: y in { (d \/ (r . d)) where d is Element of C : d in C }
then consider x being set such that
A14: x in dom s and
A15: y = s . x by FUNCT_1:def 3;
y = x \/ (r . x) by A14, A15, A11, A12;
hence y in { (d \/ (r . d)) where d is Element of C : d in C } by A14, A11; :: thesis: verum
end;
then reconsider s = s as Function of C, { (d \/ (r . d)) where d is Element of C : d in C } by A11, FUNCT_2:2;
{ (d \/ (r . d)) where d is Element of C : d in C } c= rng s
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in { (d \/ (r . d)) where d is Element of C : d in C } or x in rng s )
assume x in { (d \/ (r . d)) where d is Element of C : d in C } ; :: thesis: x in rng s
then consider c being Element of C such that
A16: x = c \/ (r . c) and
A17: c in C ;
x = s . c by A16, A17, A12;
hence x in rng s by A17, A11, FUNCT_1:def 3; :: thesis: verum
end;
then rng s = { (d \/ (r . d)) where d is Element of C : d in C } by A13, XBOOLE_0:def 10;
then A18: s is onto by FUNCT_2:def 3;
s is one-to-one
proof
let x1, x2 be set ; :: according to FUNCT_1:def 4 :: thesis: ( not x1 in proj1 s or not x2 in proj1 s or not s . x1 = s . x2 or x1 = x2 )
assume that
A19: x1 in dom s and
A20: x2 in dom s and
A21: s . x1 = s . x2 ; :: thesis: x1 = x2
A22: s . x1 = x1 \/ (r . x1) by A19, A12;
A23: s . x2 = x2 \/ (r . x2) by A20, A12;
thus x1 c= x2 :: according to XBOOLE_0:def 10 :: thesis: x2 c= x1
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in x1 or x in x2 )
assume A24: x in x1 ; :: thesis: x in x2
A25: x in s . x1 by A22, A24, XBOOLE_0:def 3;
per cases ( x in x2 or x in r . x2 ) by A25, A21, A23, XBOOLE_0:def 3;
suppose x in x2 ; :: thesis: x in x2
hence x in x2 ; :: thesis: verum
end;
suppose x in r . x2 ; :: thesis: x in x2
then x in { (m + n) where m is Element of NAT : m in x2 } by A5, A20;
then consider m being Element of NAT such that
A26: x = m + n and
m in x2 ;
m + n < 0 + n by A24, A26, A19, A11, A1, NAT_1:44;
hence x in x2 by XREAL_1:6; :: thesis: verum
end;
end;
end;
thus x2 c= x1 :: thesis: verum
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in x2 or x in x1 )
assume A27: x in x2 ; :: thesis: x in x1
A28: x in s . x2 by A23, A27, XBOOLE_0:def 3;
per cases ( x in x1 or x in r . x1 ) by A28, A21, A22, XBOOLE_0:def 3;
suppose x in x1 ; :: thesis: x in x1
hence x in x1 ; :: thesis: verum
end;
suppose x in r . x1 ; :: thesis: x in x1
then x in { (m + n) where m is Element of NAT : m in x1 } by A5, A19;
then consider m being Element of NAT such that
A29: x = m + n and
m in x1 ;
m + n < 0 + n by A27, A29, A20, A11, A1, NAT_1:44;
hence x in x1 by XREAL_1:6; :: thesis: verum
end;
end;
end;
end;
hence card { (d \/ (r . d)) where d is Element of C : d in C } = card C by A18, A9, EULER_1:11; :: thesis: verum
end;
end;
end;
then A30: { (d \/ (r . d)) where d is Element of C : d in C } is finite ;
set E = { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}};
A31: union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) c= the carrier of (Mycielskian R)
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) or x in the carrier of (Mycielskian R) )
assume x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) ; :: thesis: x in the carrier of (Mycielskian R)
then consider Y being set such that
A32: x in Y and
A33: Y in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} by TARSKI:def 4;
per cases ( Y in { (d \/ (r . d)) where d is Element of C : d in C } or Y in {{(2 * n)}} ) by A33, XBOOLE_0:def 3;
suppose Y in { (d \/ (r . d)) where d is Element of C : d in C } ; :: thesis: x in the carrier of (Mycielskian R)
then consider d being Element of C such that
A34: Y = d \/ (r . d) and
A35: d in C ;
A36: r . d = { (m + n) where m is Element of NAT : m in d } by A35, A5;
per cases ( x in d or x in r . d ) by A32, A34, XBOOLE_0:def 3;
suppose A37: x in d ; :: thesis: x in the carrier of (Mycielskian R)
reconsider a = x as Nat by A37, A35, A1, NECKLACE:3;
a < n by A37, A35, A1, NAT_1:44;
then a + 0 < n + n by XREAL_1:8;
then a < (2 * n) + 1 by NAT_1:13;
then a in (2 * n) + 1 by NAT_1:44;
hence x in the carrier of (Mycielskian R) by Def7; :: thesis: verum
end;
suppose x in r . d ; :: thesis: x in the carrier of (Mycielskian R)
then consider m being Element of NAT such that
A38: x = m + n and
A39: m in d by A36;
m < n by A39, A35, A1, NAT_1:44;
then m + n < n + n by XREAL_1:6;
then m + n < (2 * n) + 1 by NAT_1:13;
then x in (2 * n) + 1 by A38, NAT_1:44;
hence x in the carrier of (Mycielskian R) by Def7; :: thesis: verum
end;
end;
end;
suppose Y in {{(2 * n)}} ; :: thesis: x in the carrier of (Mycielskian R)
then Y = {(2 * n)} by TARSKI:def 1;
then A40: x = 2 * n by A32, TARSKI:def 1;
2 * n < (2 * n) + 1 by NAT_1:13;
then 2 * n in (2 * n) + 1 by NAT_1:44;
hence x in the carrier of (Mycielskian R) by A40, Def7; :: thesis: verum
end;
end;
end;
A41: { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} c= bool the carrier of (Mycielskian R)
proof
let X be set ; :: according to TARSKI:def 3 :: thesis: ( not X in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} or X in bool the carrier of (Mycielskian R) )
assume A42: X in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} ; :: thesis: X in bool the carrier of (Mycielskian R)
X c= the carrier of (Mycielskian R)
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in X or x in the carrier of (Mycielskian R) )
assume x in X ; :: thesis: x in the carrier of (Mycielskian R)
then x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) by A42, TARSKI:def 4;
hence x in the carrier of (Mycielskian R) by A31; :: thesis: verum
end;
hence X in bool the carrier of (Mycielskian R) ; :: thesis: verum
end;
A43: union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) = the carrier of (Mycielskian R)
proof
thus union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) c= the carrier of (Mycielskian R) by A31; :: according to XBOOLE_0:def 10 :: thesis: the carrier of (Mycielskian R) c= union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}})
thus the carrier of (Mycielskian R) c= union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) :: thesis: verum
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in the carrier of (Mycielskian R) or x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) )
assume x in the carrier of (Mycielskian R) ; :: thesis: x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}})
then A44: x in (2 * n) + 1 by Def7;
then reconsider a = x as Nat by NECKLACE:3;
a < (2 * n) + 1 by A44, NAT_1:44;
then A45: a <= 2 * n by NAT_1:13;
per cases ( a < n or a >= n ) ;
suppose a < n ; :: thesis: x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}})
then a in n by NAT_1:44;
then a in union C by A1, EQREL_1:def 4;
then consider c being set such that
A46: a in c and
A47: c in C by TARSKI:def 4;
A48: x in c \/ (r . c) by A46, XBOOLE_0:def 3;
c \/ (r . c) in { (d \/ (r . d)) where d is Element of C : d in C } by A47;
then c \/ (r . c) in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} by XBOOLE_0:def 3;
hence x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) by A48, TARSKI:def 4; :: thesis: verum
end;
suppose A49: a >= n ; :: thesis: x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}})
per cases ( a < n + n or a = 2 * n ) by A45, XXREAL_0:1;
suppose A50: a < n + n ; :: thesis: x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}})
consider b being Nat such that
A51: a = n + b by A49, NAT_1:10;
reconsider b = b as Element of NAT by ORDINAL1:def 12;
b < n by A51, A50, XREAL_1:6;
then b in the carrier of R by A1, NAT_1:44;
then b in union C by EQREL_1:def 4;
then consider c being set such that
A52: b in c and
A53: c in C by TARSKI:def 4;
r . c = { (m + n) where m is Element of NAT : m in c } by A53, A5;
then a in r . c by A52, A51;
then A54: x in c \/ (r . c) by XBOOLE_0:def 3;
c \/ (r . c) in { (d \/ (r . d)) where d is Element of C : d in C } by A53;
then c \/ (r . c) in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} by XBOOLE_0:def 3;
hence x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) by A54, TARSKI:def 4; :: thesis: verum
end;
suppose a = 2 * n ; :: thesis: x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}})
then A55: a in {(2 * n)} by TARSKI:def 1;
{(2 * n)} in {{(2 * n)}} by TARSKI:def 1;
then {(2 * n)} in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} by XBOOLE_0:def 3;
hence x in union ( { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}}) by A55, TARSKI:def 4; :: thesis: verum
end;
end;
end;
end;
end;
end;
now
let A be Subset of the carrier of (Mycielskian R); :: thesis: ( A in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} implies ( A <> {} & ( for B being Subset of the carrier of (Mycielskian R) st B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} & A <> B holds
not A meets B ) ) )

assume A56: A in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} ; :: thesis: ( A <> {} & ( for B being Subset of the carrier of (Mycielskian R) st B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} & A <> B holds
not A meets B ) )

thus A <> {} :: thesis: for B being Subset of the carrier of (Mycielskian R) st B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} & A <> B holds
not A meets B
proof
per cases ( A in { (d \/ (r . d)) where d is Element of C : d in C } or A in {{(2 * n)}} ) by A56, XBOOLE_0:def 3;
suppose A in { (d \/ (r . d)) where d is Element of C : d in C } ; :: thesis: A <> {}
then consider d being Element of C such that
A57: A = d \/ (r . d) and
A58: d in C ;
d <> {} by A58, EQREL_1:def 4;
hence A <> {} by A57; :: thesis: verum
end;
end;
end;
let B be Subset of the carrier of (Mycielskian R); :: thesis: ( B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} & A <> B implies not A meets B )
assume A59: B in { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} ; :: thesis: ( A <> B implies not A meets B )
assume A60: A <> B ; :: thesis: not A meets B
assume A meets B ; :: thesis: contradiction
then consider x being set such that
A61: x in A and
A62: x in B by XBOOLE_0:3;
per cases ( ( A in { (d \/ (r . d)) where d is Element of C : d in C } & B in { (d \/ (r . d)) where d is Element of C : d in C } ) or ( A in { (d \/ (r . d)) where d is Element of C : d in C } & B in {{(2 * n)}} ) or ( A in {{(2 * n)}} & B in { (d \/ (r . d)) where d is Element of C : d in C } ) or ( A in {{(2 * n)}} & B in {{(2 * n)}} ) ) by A56, A59, XBOOLE_0:def 3;
suppose that A63: A in { (d \/ (r . d)) where d is Element of C : d in C } and
A64: B in { (d \/ (r . d)) where d is Element of C : d in C } ; :: thesis: contradiction
consider d being Element of C such that
A65: A = d \/ (r . d) and
A66: d in C by A63;
consider e being Element of C such that
A67: B = e \/ (r . e) and
A68: e in C by A64;
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 A65, A67, A61, A62, XBOOLE_0:def 3;
suppose that A69: x in d and
A70: x in r . e ; :: thesis: contradiction
x in { (m + n) where m is Element of NAT : m in e } by A70, A68, A5;
then consider mb being Element of NAT such that
A71: x = mb + n and
mb in e ;
mb + n < n + 0 by A71, A69, A66, A1, NAT_1:44;
hence contradiction by XREAL_1:6; :: thesis: verum
end;
suppose that A72: x in r . d and
A73: x in e ; :: thesis: contradiction
x in { (m + n) where m is Element of NAT : m in d } by A72, A66, A5;
then consider ma being Element of NAT such that
A74: x = ma + n and
ma in d ;
ma + n < n + 0 by A74, A73, A68, A1, NAT_1:44;
hence contradiction by XREAL_1:6; :: thesis: verum
end;
suppose that A75: x in r . d and
A76: x in r . e ; :: thesis: contradiction
x in { (m + n) where m is Element of NAT : m in d } by A75, A66, A5;
then consider ma being Element of NAT such that
A77: x = ma + n and
A78: ma in d ;
x in { (m + n) where m is Element of NAT : m in e } by A76, A68, A5;
then consider mb being Element of NAT such that
A79: x = mb + n and
A80: mb in e ;
d meets e by A77, A79, A78, A80, XBOOLE_0:3;
then d = e by A66, A68, EQREL_1:def 4;
hence contradiction by A65, A67, A60; :: thesis: verum
end;
end;
end;
suppose that A81: A in { (d \/ (r . d)) where d is Element of C : d in C } and
A82: B in {{(2 * n)}} ; :: thesis: contradiction
B = {(2 * n)} by A82, TARSKI:def 1;
then A83: x = 2 * n by A62, TARSKI:def 1;
consider d being Element of C such that
A84: A = d \/ (r . d) and
A85: d in C by A81;
per cases ( x in d or x in r . d ) by A84, A61, XBOOLE_0:def 3;
suppose x in r . d ; :: thesis: contradiction
then x in { (m + n) where m is Element of NAT : m in d } by A85, A5;
then consider m being Element of NAT such that
A86: x = m + n and
A87: m in d ;
m in n by A87, A85, A1;
hence contradiction by A86, A83; :: thesis: verum
end;
end;
end;
suppose that A88: A in {{(2 * n)}} and
A89: B in { (d \/ (r . d)) where d is Element of C : d in C } ; :: thesis: contradiction
A = {(2 * n)} by A88, TARSKI:def 1;
then A90: x = 2 * n by A61, TARSKI:def 1;
consider d being Element of C such that
A91: B = d \/ (r . d) and
A92: d in C by A89;
per cases ( x in d or x in r . d ) by A91, A62, XBOOLE_0:def 3;
suppose x in r . d ; :: thesis: contradiction
then x in { (m + n) where m is Element of NAT : m in d } by A92, A5;
then consider m being Element of NAT such that
A93: x = m + n and
A94: m in d ;
m in n by A94, A92, A1;
hence contradiction by A93, A90; :: thesis: verum
end;
end;
end;
suppose ( A in {{(2 * n)}} & B in {{(2 * n)}} ) ; :: thesis: contradiction
end;
end;
end;
then reconsider E = { (d \/ (r . d)) where d is Element of C : d in C } \/ {{(2 * n)}} as a_partition of the carrier of (Mycielskian R) by A41, A43, EQREL_1:def 4;
now
let x be set ; :: thesis: ( x in E implies b1 is StableSet of (Mycielskian R) )
assume A95: x in E ; :: thesis: b1 is StableSet of (Mycielskian R)
per cases ( x in { (d \/ (r . d)) where d is Element of C : d in C } or x in {{(2 * n)}} ) by A95, XBOOLE_0:def 3;
suppose x in { (d \/ (r . d)) where d is Element of C : d in C } ; :: thesis: b1 is StableSet of (Mycielskian R)
then consider d being Element of C such that
A96: x = d \/ (r . d) and
A97: d in C ;
reconsider d = d as Subset of R by A97;
A98: r . d = { (m + n) where m is Element of NAT : m in d } by A97, A5;
A99: x c= the carrier of (Mycielskian R)
proof
let a be set ; :: according to TARSKI:def 3 :: thesis: ( not a in x or a in the carrier of (Mycielskian R) )
assume A100: a in x ; :: thesis: a in the carrier of (Mycielskian R)
per cases ( a in d or a in r . d ) by A96, A100, XBOOLE_0:def 3;
suppose A101: a in d ; :: thesis: a in the carrier of (Mycielskian R)
then reconsider ap1 = a as Nat by A1, NECKLACE:3;
A102: ap1 < n by A101, A1, NAT_1:44;
n <= n + n by NAT_1:12;
then ap1 < n + n by A102, XXREAL_0:2;
then ap1 < (2 * n) + 1 by NAT_1:13;
then a in (2 * n) + 1 by NAT_1:44;
hence a in the carrier of (Mycielskian R) by Def7; :: thesis: verum
end;
suppose a in r . d ; :: thesis: a in the carrier of (Mycielskian R)
then consider am being Element of NAT such that
A103: a = am + n and
A104: am in d by A98;
am < n by A104, A1, NAT_1:44;
then am + n < n + n by XREAL_1:6;
then am + n < (2 * n) + 1 by NAT_1:13;
then a in (2 * n) + 1 by A103, NAT_1:44;
hence a in the carrier of (Mycielskian R) by Def7; :: thesis: verum
end;
end;
end;
A105: now
let x be Nat; :: thesis: ( x in r . d implies ( n <= x & x < 2 * n ) )
assume x in r . d ; :: thesis: ( n <= x & x < 2 * n )
then consider m being Element of NAT such that
A106: x = m + n and
A107: m in d by A98;
thus n <= x by A106, NAT_1:11; :: thesis: x < 2 * n
m < n by A107, A1, NAT_1:44;
then m + n < n + n by XREAL_1:6;
hence x < 2 * n by A106; :: thesis: verum
end;
A108: d is stable by A97, DILWORTH:def 12;
now
let a, b be Element of (Mycielskian R); :: thesis: ( a in x & b in x & a <> b implies ( not a <= b & not b <= a ) )
assume that
A109: a in x and
A110: b in x and
A111: a <> b and
A112: ( a <= b or b <= a ) ; :: thesis: contradiction
A113: ( [a,b] in the InternalRel of (Mycielskian R) or [b,a] in the InternalRel of (Mycielskian R) ) by A112, ORDERS_2:def 5;
per cases ( ( a in d & b in d ) or ( a in d & b in r . d ) or ( a in r . d & b in d ) or ( a in r . d & b in r . d ) ) by A109, A110, A96, XBOOLE_0:def 3;
suppose A114: ( a in d & b in d ) ; :: thesis: contradiction
then A115: ( [a,b] in the InternalRel of R or [b,a] in the InternalRel of R ) by A1, A113, Th40;
reconsider a = a, b = b as Element of R by A114;
( a <= b or b <= a ) by A115, ORDERS_2:def 5;
hence contradiction by A114, A111, A108, DILWORTH:def 2; :: thesis: verum
end;
suppose that A116: a in d and
A117: b in r . d ; :: thesis: contradiction
consider bm being Element of NAT such that
A118: b = bm + n and
A119: bm in d by A117, A98;
reconsider ap1 = a as Nat by A116, A1, NECKLACE:3;
A120: ( [ap1,bm] in the InternalRel of R or [bm,ap1] in the InternalRel of R ) by A113, Th42, Th43, A118, A116, A1;
reconsider bmp1 = bm, a = a as Element of R by A119, A116;
A121: ( bmp1 <= a or a <= bmp1 ) by A120, ORDERS_2:def 5;
bmp1 <> a by A120, A116, NECKLACE:def 5;
hence contradiction by A121, A119, A116, A108, DILWORTH:def 2; :: thesis: verum
end;
suppose that A122: a in r . d and
A123: b in d ; :: thesis: contradiction
consider am being Element of NAT such that
A124: a = am + n and
A125: am in d by A122, A98;
reconsider bp1 = b as Nat by A123, A1, NECKLACE:3;
A126: ( [am,bp1] in the InternalRel of R or [bp1,am] in the InternalRel of R ) by A113, Th42, Th43, A124, A123, A1;
reconsider amp1 = am, b = b as Element of R by A125, A123;
A127: ( amp1 <= b or b <= amp1 ) by A126, ORDERS_2:def 5;
amp1 <> b by A126, A123, NECKLACE:def 5;
hence contradiction by A127, A125, A123, A108, DILWORTH:def 2; :: thesis: verum
end;
suppose that A128: a in r . d and
A129: b in r . d ; :: thesis: contradiction
consider am being Element of NAT such that
A130: a = am + n and
am in d by A128, A98;
consider bm being Element of NAT such that
A131: b = bm + n and
bm in d by A129, A98;
( n <= am + n & am + n < 2 * n & n <= bm + n & bm + n < 2 * n ) by A128, A129, A130, A131, A105;
hence contradiction by A130, A131, A113, Th38; :: thesis: verum
end;
end;
end;
hence x is StableSet of (Mycielskian R) by A99, DILWORTH:def 2; :: thesis: verum
end;
end;
end;
then reconsider E = E as Coloring of (Mycielskian R) by DILWORTH:def 12;
take E ; :: thesis: card E = 1 + (chromatic# R)
now
assume {(2 * n)} in { (d \/ (r . d)) where d is Element of C : d in C } ; :: thesis: contradiction
then consider d being Element of C such that
A134: {(2 * n)} = d \/ (r . d) and
A135: d in C ;
A136: 2 * n in d \/ (r . d) by A134, TARSKI:def 1;
per cases ( 2 * n in d or 2 * n in r . d ) by A136, XBOOLE_0:def 3;
suppose 2 * n in r . d ; :: thesis: contradiction
then 2 * n in { (m + n) where m is Element of NAT : m in d } by A135, A5;
then consider m being Element of NAT such that
A137: 2 * n = m + n and
A138: m in d ;
m in the carrier of R by A135, A138;
then m in n by Def7;
hence contradiction by A137; :: thesis: verum
end;
end;
end;
hence card E = 1 + (chromatic# R) by A6, A30, A3, CARD_2:41; :: thesis: verum
end;
for C being finite Coloring of (Mycielskian R) holds 1 + (chromatic# R) <= card C
proof
let E be finite Coloring of (Mycielskian R); :: thesis: 1 + (chromatic# R) <= card E
assume 1 + (chromatic# R) > card E ; :: thesis: contradiction
then A139: chromatic# R >= card E by NAT_1:13;
A140: chromatic# (Mycielskian R) <= card E by Def3;
then A141: chromatic# (Mycielskian R) <= chromatic# R by A139, XXREAL_0:2;
n <= n + n by NAT_1:11;
then n < (2 * n) + 1 by NAT_1:13;
then n c= (2 * n) + 1 by NAT_1:39;
then reconsider S = n as Subset of (Mycielskian R) by Def7;
A142: R = subrelstr S by Th45;
then chromatic# R <= chromatic# (Mycielskian R) by Th47;
then chromatic# R = chromatic# (Mycielskian R) by A141, XXREAL_0:1;
then A143: card E = chromatic# R by A139, A140, XXREAL_0:1;
reconsider C = E | S as Coloring of R by A142, Th10;
A144: card C >= chromatic# R by Def3;
A145: card C <= card E by Th8;
then A146: card C = chromatic# R by A143, A144, XXREAL_0:1;
2 * n < (2 * n) + 1 by NAT_1:13;
then 2 * n in (2 * n) + 1 by NAT_1:44;
then 2 * n in the carrier of (Mycielskian R) by Def7;
then 2 * n in union E by EQREL_1:def 4;
then consider e being set such that
A147: 2 * n in e and
A148: e in E by TARSKI:def 4;
reconsider e = e as Subset of (Mycielskian R) by A148;
reconsider n2 = 2 * n as Element of (Mycielskian R) by A147, A148;
set se = e /\ S;
e meets S by A143, A146, A148, Th9;
then A149: e /\ S in C by A148;
then consider mp1 being Element of R such that
A150: mp1 in e /\ S and
A151: for d being Element of C st d <> e /\ S holds
ex w being Element of R st
( w in Adjacent mp1 & w in d ) by A145, A143, A144, Th31, XXREAL_0:1;
reconsider m = mp1 as Nat by A150, A149, NECKLACE:3;
set mn = m + n;
A152: 0 + n <= m + n by XREAL_1:6;
m < n by A150, A149, NAT_1:44;
then A153: m + n < n + n by XREAL_1:6;
then m + n < (2 * n) + 1 by NAT_1:13;
then A154: m + n in (2 * n) + 1 by NAT_1:44;
then m + n in the carrier of (Mycielskian R) by Def7;
then m + n in union E by EQREL_1:def 4;
then consider f being set such that
A155: m + n in f and
A156: f in E by TARSKI:def 4;
reconsider f = f as Subset of (Mycielskian R) by A156;
reconsider mnp1 = m + n as Element of (Mycielskian R) by A154, Def7;
A157: now
assume A158: e <> f ; :: thesis: contradiction
set sf = f /\ S;
f meets S by A143, A146, A156, Th9;
then A159: f /\ S in C by A156;
A160: f /\ S c= f by XBOOLE_1:17;
now
assume A161: f /\ S = e /\ S ; :: thesis: contradiction
f /\ S <> {} by A159, EQREL_1:def 4;
then consider x being set such that
A162: x in f /\ S by XBOOLE_0:def 1;
e /\ S c= e by XBOOLE_1:17;
then e meets f by A161, A162, A160, XBOOLE_0:3;
hence contradiction by A158, A156, A148, EQREL_1:def 4; :: thesis: verum
end;
then consider wp1 being Element of R such that
A163: wp1 in Adjacent mp1 and
A164: wp1 in f /\ S by A159, A151;
reconsider w = wp1 as Nat by A164, A159, NECKLACE:3;
A165: w < n by A164, A159, NAT_1:44;
( mp1 < wp1 or wp1 < mp1 ) by A163, Def6;
then ( mp1 <= wp1 or wp1 <= mp1 ) by ORDERS_2:def 6;
then ( [m,w] in the InternalRel of R or [w,m] in the InternalRel of R ) by ORDERS_2:def 5;
then A166: ( [(m + n),w] in the InternalRel of (Mycielskian R) or [w,(m + n)] in the InternalRel of (Mycielskian R) ) by Th41;
reconsider wp2 = wp1 as Element of (Mycielskian R) by A164;
f is stable by A156, DILWORTH:def 12;
then ( not wp2 <= mnp1 & not mnp1 <= wp2 ) by A165, A152, A164, A160, A155, DILWORTH:def 2;
hence contradiction by A166, ORDERS_2:def 5; :: thesis: verum
end;
A167: [(m + n),(2 * n)] in the InternalRel of (Mycielskian R) by A153, A152, Th44;
e is stable by A148, DILWORTH:def 12;
then ( not mnp1 <= n2 & not n2 <= mnp1 ) by A147, A155, A157, A153, DILWORTH:def 2;
hence contradiction by A167, ORDERS_2:def 5; :: thesis: verum
end;
hence chromatic# (Mycielskian R) = 1 + (chromatic# R) by A2, Def3; :: thesis: verum