Clique and colouring formulas #
Krajíček's formulas Clique_{n,k}(p, q) and Color_{n,r}(p, r) [Krajíček, Definition 7.1]
[Kra97] share the variables p of the possible edges of a graph on n vertices, numbered
as the inputs of the clique function (Cslib.BitString.Graph.edgeEquiv). The clique formula
(Cslib.Logic.PL.CNF.clique) has a variable q (u, i) for each u : Fin k and vertex i, read
as "the u-th member of the clique is i", and says that
- (1a) every member is some vertex (
Cslib.Logic.PL.CNF.cliqueMemberClause), - (1b) two members
u < vare not the same vertex (Cslib.Logic.PL.CNF.cliqueDistinctClause), - (1c) if members
u < vare verticesi ≠ j, theniandjare adjacent (Cslib.Logic.PL.CNF.cliqueEdgeClause).
The colouring formula (Cslib.Logic.PL.CNF.coloring) has a variable z (i, a) for each vertex i
and colour a : Fin r, read as "i has colour a", and says that
- (2a) every vertex has a colour (
Cslib.Logic.PL.CNF.colorVertexClause), - (2b) no vertex has two colours
a < b(Cslib.Logic.PL.CNF.colorUniqueClause), - (2c) adjacent vertices do not have the same colour (
Cslib.Logic.PL.CNF.colorEdgeClause).
Krajíček states (1c) for the unordered pair {i, j}; the clause is taken here for both orders of
i and j, as the reading of Clique_{n,k} as an injection onto a clique requires: were (1c)
taken only for i < j, the members assigned to vertices in decreasing order would satisfy every
clause (1c), whatever the graph. Clause (2c) is symmetric in i and j and is taken once for each
pair i < j.
An assignment of the edges extends to a model of the clique formula exactly when its graph has a
k-clique (Cslib.Logic.PL.CNF.exists_eval_clique_iff), and to a model of the colouring formula
exactly when its graph is r-colourable (Cslib.Logic.PL.CNF.exists_eval_coloring_iff). The edge
variables occur only positively in the clique formula and only negatively in the colouring
formula, which is what monotone feasible interpolation needs.
Main definitions #
Cslib.Logic.PL.CNF.clique,Cslib.Logic.PL.CNF.coloring: the clique and colouring formulas.Cslib.Logic.PL.CNF.cliqueMemberClause,Cslib.Logic.PL.CNF.cliqueDistinctClause,Cslib.Logic.PL.CNF.cliqueEdgeClause,Cslib.Logic.PL.CNF.colorVertexClause,Cslib.Logic.PL.CNF.colorUniqueClause,Cslib.Logic.PL.CNF.colorEdgeClause: their clauses.
Main results #
Cslib.Logic.PL.CNF.mem_clique,Cslib.Logic.PL.CNF.mem_coloring: the clauses of the two formulas.Cslib.Logic.PL.CNF.eval_clique_eq_true_iff,Cslib.Logic.PL.CNF.eval_coloring_eq_true_iff: the semantics of the two formulas.Cslib.Logic.PL.CNF.exists_eval_clique_iff: the edge assignments extendible to the clique formula are the graphs with ak-clique.Cslib.Logic.PL.CNF.exists_eval_coloring_iff: the edge assignments extendible to the colouring formula are ther-colourable graphs.Cslib.Logic.PL.CNF.eq_true_of_mem_clique,Cslib.Logic.PL.CNF.eq_false_of_mem_coloring: the edge variables occur only positively in the clique formula and only negatively in the colouring formula.
References #
- J. Krajíček, Interpolation theorems, lower bounds for proof systems, and independence results for bounded arithmetic; Definition 7.1 is numbered as in the author's preprint.
The clique formula #
The clique formula Clique_{n,k}(p, q) Krajíček, Definition 7.1, over the
edges p of a graph on n vertices and the variables q (u, i), read as "the u-th member of the
clique is the vertex i": (1a) every member u : Fin k is some vertex, (1b) two members u < v
are not the same vertex, and (1c) if members u < v are vertices i ≠ j, then i and j are
adjacent.
The clauses of the clique formula.
Clause (1c) holds when the members u and v are not the vertices i and j, or i and
j are adjacent.
The semantics of the clique formula: every member is some vertex, two members u < v are
not the same vertex, and members u < v that are vertices i ≠ j make i and j adjacent.
Extendibility for the clique formula. An assignment x of the edges extends to a model of
the clique formula exactly when the graph of x has a k-clique.
The colouring formula #
The colouring formula Color_{n,r}(p, z) Krajíček, Definition 7.1, over
the edges p of a graph on n vertices and the variables z (i, a), read as "the vertex i has
the colour a": (2a) every vertex has some colour a : Fin r, (2b) no vertex has two colours
a < b, and (2c) two vertices i < j of the same colour are not adjacent.
The clauses of the colouring formula.
Clause (2c) holds when the vertices i and j do not both have the colour a, or are not
adjacent.
The semantics of the colouring formula: every vertex has some colour, no vertex has two
colours a < b, and vertices i < j with the same colour are not adjacent.
Extendibility for the colouring formula. An assignment x of the edges extends to a model
of the colouring formula exactly when the graph of x is r-colourable.