The clique function #
A Boolean function of the possible edges of a graph on n vertices, the unordered pairs of distinct
vertices (Cslib.BitString.Graph.Edge), reads its input as a graph (Cslib.BitString.Graph.graph).
The k-clique function Cslib.Circuits.clique n k says whether that graph has a clique of k
vertices.
Two families of inputs are used to prove lower bounds for it: the complete graph on a set of k
vertices (Cslib.Circuits.Clique.ofFinset), which has a k-clique, and the complete multipartite
graph of a colouring with fewer than k colours (Cslib.Circuits.Clique.ofColoring), which has
none. A Boolean function separates the graphs with a k-clique from the r-colourable graphs
(Cslib.Circuits.Clique.Separates) when it is true on the former and false on the latter, as
k-clique does for r < k. The test inputs lie in these two classes, so the method of
approximations, which reads a circuit only on the test inputs, bounds the size of every monotone
circuit computing a separating function, not only of those computing k-clique.
Main definitions #
Cslib.BitString.Graph.Edge,Cslib.BitString.Graph.edgeCount,Cslib.BitString.Graph.edgeEquiv,Cslib.BitString.Graph.edge: the possible edges, their count, their numbering, and the edge between two distinct vertices.Cslib.BitString.Graph.graph: the graph of an input.Cslib.Circuits.Clique.Contains: the input contains all edges inside a set of vertices.Cslib.Circuits.Clique.CliqueSet,Cslib.Circuits.Clique.Coloring: sets ofkvertices and vertex colourings.Cslib.Circuits.clique: thek-clique function.Cslib.Circuits.Clique.ofFinset,Cslib.Circuits.Clique.ofColoring: test inputs.Cslib.Circuits.Clique.Separates: a Boolean function separating the graphs with ak-clique from ther-colourable graphs.
Main results #
Cslib.BitString.Graph.edgeCount_eq_choose: there aren.choose 2possible edges.Cslib.Circuits.clique_eq_true_iff: the clique function in terms ofSimpleGraph.IsNClique.Cslib.BitString.Graph.graph_adj: adjacency in the graph of an input.Cslib.Circuits.clique_ofFinset,Cslib.Circuits.clique_ofColoring,Cslib.Circuits.Clique.colorable_graph_ofColoring: the test inputs.Cslib.Circuits.Clique.separates_clique:k-clique separates the graphs with ak-clique from ther-colourable graphs forr < k.Cslib.Circuits.Clique.Separates.ofFinset_eq_true,Cslib.Circuits.Clique.Separates.ofColoring_eq_false: a separating function on the test inputs.
The input x contains all edges between the vertices of s.
Instances For
Containing all edges inside a vertex set is antitone in the vertex set.
Containing all edges inside s is being a clique of the graph.
The complete graph on s, as an input.
ofFinset s sets an edge to true exactly when both of its endpoints lie in s.
The complete multipartite graph of a colouring, as an input: two vertices are adjacent when they have different colours.
The graph of a colouring with r colours is r-colourable.
The sets of k vertices.
The colourings of n vertices with r colours.
The k-clique function on graphs with n vertices: whether the graph of the input has a
clique of k vertices.
clique n k x is true if and only if graph x has a k-clique.
The complete multipartite graph of a colouring with fewer than k colours has no
k-clique.
A Boolean function of the possible edges separates the graphs with a k-clique from the
r-colourable graphs when it is true on the former and false on the latter.
A function separating the graphs with a k-clique from the r-colourable graphs is true on
the complete graph on a k-set.
A function separating the graphs with a k-clique from the r-colourable graphs is false
on the complete multipartite graph of a colouring with r colours.
The clique function is monotone.