| Last page | LERIA | Faculty of Sciences | University of Angers |
Beresin, Levine, and Winn [1] give the proof for the first part,
and a solution for the second part.
Further, they generalize their results to any
chessboard
painted with
colors.
They establish conditions under which the chessboard must have at least
a CR. Applying their principle and the above properties to the two and the three colors cases, they find necessary and sufficient conditions
on
and
to decide if a
board is a CR-board or a
NCR-board. To summarize, the problem of deciding if a
board is CR or NCR board is solved for two and three colors.
An instance of the SAT problem is defined by a set of boolean variables
(also called atoms)
and a
boolean formula
. A literal is a variable
or its negation. A clause is a disjunction of literals. The formula
is
in conjunctive normal form (CNF) if it is a conjunction of clauses. A (truth)
assignment is a function
. The formula is
said to be satisfiable if there exists an assignment satisfying
and
unsatisfiable otherwise. In this problem,
will be in CNF.
Given a chessboard of size
, the set of its squares
is of size
, therefore elements
of
can be mapped to a set of variables
by an isomorphism:
A rectangle in the chessboard can be associated to any pair of points
and
such that
. The
corresponding rectangle is then fully defined by its 4 corners:
Note that each rectangle can be referred to by two complementary pairs of
points (i.e.
). We consider
the set of all distinct rectangles for a given chessboard.
From now on, instances of the problem can be fully defined by their
two main parameters: number of allowed colors
and size of the board
.
Given
and
, we first introduce a set of propositional variables
(
is true when the
variable of the
initial problem is of color
). We have to state that each square has one and
only one color:
Then, we state that there are no chromatic rectangle, by using our previous characterization of the rectangles :
Therefore, our SAT problem consists of the conjunction of these statements.
color-10-3.cnf (28Ko)
color-11-3.cnf (42Ko)
color-15-4.cnf (208Ko)
color-18-4.cnf (456Ko)
color-19-4.cnf (568Ko)
All the instances (1280Ko)