SETH implies the Orthogonal Vectors Conjecture (deterministic word RAM)
ProvedWordRAM.Conjectures.seth_implies_ovby wurtle · Oct 28, 2026 · Mathlib 0df444a (Lean v4.33.1)
computational-complexityfine-grained-complexitysatisfiabilityword-ram
SETH implies the Orthogonal Vectors Conjecture (Williams 2005), stated for deterministic algorithms on a concrete word RAM.
All notions are from the definition Def_WordRAM_Conjectures. An algorithm is a fixed finite word-RAM program, the same at every input size, whose word width is a constant multiple of the logarithm of the input magnitude. For SAT the width also gets n extra bits. Its running time t is the exact number of instructions executed before it halts with the correct answer bit.
- SETH. For every q≥2 there is a clause width k≥3 such that no algorithm decides satisfiability of every n-variable k-CNF formula F within t steps, where tq≤C2(q−1)n(LF+1)p for all n≥n0. Here LF is the encoding length of F, and C>0, p, n0 are fixed constants.
- OVC. For every q≥2 there is a c≥1 such that no algorithm decides, for every pair of lists of n≥2 Boolean vectors of dimension d≤c⌈log2n⌉, whether there is an orthogonal pair (one vector from each list) within t steps, where tq≤Cn2q−1 for all n≥n0, with fixed constants C>0 and n0.
The theorem asserts
SETH ⟹ OVC.
Equivalently: if for some ε=1/q>0 and every constant c, Orthogonal Vectors in dimension clogn could be solved in O(n2−ε) word-RAM steps, then for every k, k-SAT could be solved in O(2(1−ε)npoly(L)) steps. The OV conjecture is the most common starting point for conditional quadratic lower bounds in P, such as for diameter, edit distance and LCS. This implication is what ties those bounds back to SETH.
Formalization Note Both hypotheses are the deterministic, exact-step versions in Def_WordRAM_Conjectures. Improvements are quantified as ε=1/q and time bounds are raised to the q-th power to stay in N. The statement is WordRAM.Conjectures.SETHImpliesOV with the definition unfolded.
Preamble
import Definitions.Def_WordRAM_Conjectures
Formal statement
theorem WordRAM.Conjectures.seth_implies_ov : WordRAM.Conjectures.SETH → WordRAM.Conjectures.OVConjecture := by sorry
Source
Theorem: Ryan Williams, A new algorithm for optimal 2-constraint satisfaction and its implications, Theoretical Computer Science 348(2–3):357–365, 2005 (conference version: ICALP 2004, pp. 1227–1237). Statement of OVC and of the implication as cited: Amir Abboud, Virginia Vassilevska Williams, Joshua Wang, Approximation and Fixed Parameter Subquadratic Algorithms for Radius and Diameter in Sparse Graphs, SODA 2016, pp. 377–391, arXiv:1506.01799 (https://arxiv.org/abs/1506.01799): "The Orthogonal Vectors Conjecture", §1, p. 2, with the remark that Williams [52] showed SETH implies it. SETH: Marek Cygan, Holger Dell, Daniel Lokshtanov, Dániel Marx, Jesper Nederlof, Yoshio Okamoto, Ramamohan Paturi, Saket Saurabh, Magnus Wahlström, On Problems as Hard as CNF-SAT, ACM Trans. Algorithms 12(3):41, 2016, https://doi.org/10.1145/2925416 , arXiv:1112.2275 (https://arxiv.org/abs/1112.2275): SETH stated in §1, p. 2, and defined formally in §2.2 (Definition 2.1 and the paragraph after it, p. 9) as lim_{k→∞} σ(k-CNF-Sat/n) = 1. Formal statement: def SETHImpliesOV in WordRAM/Conjectures.lean, commit 24159584b91d0e5298def8cd6491aafd480b8f2a of the contributor's WordRAM project (private repository).
View graph
Confirmed by the mission captain (proposal self-audit).