The clique function #
A Boolean function of the possible edges of a graph on n vertices, the unordered pairs of distinct
vertices (Cslib.Circuits.Clique.Edge), reads its input as a graph (Cslib.Circuits.Clique.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.
Main definitions #
Cslib.Circuits.Clique.Edge,Cslib.Circuits.Clique.edgeCount: the possible edges.Cslib.Circuits.Clique.graph: the graph of an input.Cslib.Circuits.Clique.Contains: the input contains all edges inside a set of vertices.Cslib.Circuits.clique: thek-clique function.Cslib.Circuits.Clique.ofFinset,Cslib.Circuits.Clique.ofColoring: test inputs.
Main results #
Cslib.Circuits.Clique.edgeCount_eq_choose: there aren.choose 2possible edges.Cslib.Circuits.clique_eq_true_iff: the clique function in terms ofSimpleGraph.IsNClique.Cslib.Circuits.clique_ofFinset,Cslib.Circuits.clique_ofColoring: the test inputs.
The possible edges of a graph on n vertices: unordered pairs of distinct vertices.
Instances For
The number of possible edges of a graph on n vertices.
Instances For
The graph of an input: its edges are the possible edges set to true.
Instances For
The sets of k vertices.
Instances For
The colourings of n vertices with r colours.
Instances For
The k-clique function on graphs with n vertices: whether the graph of the input has a
clique of k vertices.
Instances For
The complete multipartite graph of a colouring with fewer than k colours has no
k-clique.
The clique function is monotone.