Sidorenko's conjecture
OpenTenChallenges.challenge_04Sidorenko's conjecture. For every finite bipartite graph and every finite graph with at least one vertex, the homomorphism density of in is at least the edge density of raised to the number of edges of :
Here is bipartite in the sense that its vertex set is the union of two disjoint sets and with every edge joining to . The conjecture is equivalent to the statement for all of the scaled Challenge 4, since every finite bipartite graph has sides bounded by some . It is known for all with at most four vertices on one side. In 2026 OpenAI announced a counterexample, with a Lean proof, for a bipartite on vertices with sides of size and ; if it stands, this statement is false and the mission closes by a disproof.
Formalization Note. Vertex types are finite types in the lowest universe, is nonempty, and bipartiteness is Mathlib's IsBipartiteWith X Y together with Set.univ, the same notion as in BipartiteBoundedBy without the size bounds.
import Definitions.Def_TenChallenges_Challenge_04 open SimpleGraph
namespace TenChallenges
theorem challenge_04 {W V : Type} [Fintype W] [Fintype V] [Nonempty V]
(H : SimpleGraph W) (G : SimpleGraph V)
(hH : ∃ X Y : Set W, H.IsBipartiteWith X Y ∧ X ∪ Y = Set.univ) :
SidorenkoFor H G := by sorry
end TenChallengesRead-back
What the Lean code literally says, in plain math · claude-fable-5-1
Read-back of TenChallenges.challenge_04. The declaration is a theorem with the following explicit and implicit arguments, one hypothesis, and one conclusion.
Binders. Let and be two sets (arbitrary types; both are implicit arguments), each equipped with a finiteness structure, so that and are finite sets; is allowed to be empty, while is additionally assumed to be nonempty (a separate typeclass hypothesis). Let be a simple graph with vertex set and let be a simple graph with vertex set (a simple graph being a symmetric, irreflexive adjacency relation : no loops, no multiple edges, no orientation). Both and are universally quantified; nothing further is assumed about .
Hypothesis (). There exist two subsets such that
- is bipartite with parts in Mathlib's sense (
IsBipartiteWith), which is the conjunction of two conditions: (i) and are disjoint; (ii) for all vertices with , either ( and ) or ( and ), i.e. every edge of has one endpoint in and the other in ; and - (every vertex of lies in one of the two parts).
Thus form a partition of the vertex set (either part may be empty) with no edge of inside or inside . No bound on the sizes of or is imposed in this hypothesis, and no bound on the number of vertices or edges of : is an arbitrary finite bipartite graph. In particular the hypothesis is satisfied by every edgeless graph (take , ), by the graph on the empty vertex set, by graphs with isolated vertices, and by disconnected graphs; the bipartition is only required to exist, not to be unique, balanced, or connected. For a graph that is not bipartite (e.g. containing an odd cycle) the hypothesis fails and the theorem asserts nothing. (This hypothesis differs from the bundle's own BipartiteBoundedBy predicate, which is not used here: that predicate additionally requires and for a parameter .)
Conclusion. "Sidorenko holds for over " (the bundle's SidorenkoFor H G), which is the single real-number inequality
whose ingredients are defined in the bundle as follows.
- Homomorphism density. For a graph on a finite vertex set and the graph on ,
the number of all maps from to (not required to be injective) that send every adjacent pair of to an adjacent pair of , divided by raised to the natural-number power . Because is nonempty, and the denominator is positive, so no division by zero occurs. If is empty there is exactly one map and , so ; if has no edges then every map qualifies and again .
- The edge . denotes the complete graph on the two-element set (two vertices, adjacent iff distinct). A map is a homomorphism from to iff , so , where is the number of edges of . If has no edges, .
- The exponent is the number of edges of , i.e. the cardinality of the (finite) set of unordered adjacent pairs of ; the right-hand side is the real number raised to this natural number. When the right-hand side equals , even if (the convention is in force).
Logical shape. The inequality is non-strict (). Altogether the theorem states: for every finite set , every finite nonempty set , every simple graph on and every simple graph on , if admits a bipartition with all edges of crossing between and , then . The statement is purely universal (the only existential quantifier is inside the hypothesis, asserting that some bipartition exists); may be edgeless, complete, disconnected, or a single vertex, and may be any finite bipartite graph of any size.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.