Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 12 — UGC gap hardness for MAX-2LIN(q), including difference equations

Open
OptInapprox.Bal2Sat.Supplement.theorem_12

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

constraint-satisfactionmax-2linnp-hardnessp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1unique-games-conjecture

Assume the published Unique Games Conjecture. For every integer q≥2q\ge2q≥2, every ρ∈[0,1]\rho\in[0,1]ρ∈[0,1] and every ε>0\varepsilon>0ε>0, define

c=ρ+1−ρq−ε,s=qΛρ(1/q)+ε.c=\rho+\frac{1-\rho}{q}-\varepsilon,\qquad s=q\Lambda_\rho(1/q)+\varepsilon.c=ρ+q1−ρ​−ε,s=qΛρ​(1/q)+ε.

It is NP-hard to distinguish MAX-2LIN(q)(q)(q) instances with optimum satisfied fraction at least ccc from those with optimum fraction at most sss. The same gap hardness holds even when every equation has the form xi−xj=cijx_i-x_j=c_{ij}xi​−xj​=cij​ modulo qqq. Both clauses are explicit; the difference subclass embeds into the general equation class with coefficients 1,−11,-11,−1.

Here Λρ(μ)\Lambda_\rho(\mu)Λρ​(μ) is the published correlated Gaussian upper-orthant probability at marginal mass μ\muμ (Definition 8). Since q≥2q\ge2q≥2, the argument 1/q1/q1/q lies strictly between zero and one, so its threshold is defined. Composite alphabets, both correlation endpoints and every positive error are included. The statement uses the published UGC gap-reduction convention even where the two numerical promises overlap; it adds no separation premise. The cited analytic and central-limit results are proof obligations, not additional assumptions.

Differences from the source:

  • encoding: nonnegative weighted linear equations modulo any q≥2 → nonempty unit-weight lists with arbitrary modular coefficients, and a separate difference list with an explicit inclusion; reason: hardness on the encodable subclass implies hardness on the source problem; missing variables permit equations with fewer than two variables
  • encoding: optimum fraction → finite maximum divided by the positive number of listed equations; reason: the nonempty-list promise excludes only the undefined zero-total-weight case
  • reading: NP-hard to distinguish for all stated parameters → the published OptInapprox.MaxCut.GapNPHard for both equation classes, with ρ=0,1 and overlapping numerical promises retained; reason: this is exactly the gap convention of the published UGC; no stronger disjointness or parameter-separation claim is assumed
Preamble
import Mathlib
import Definitions.Def_OptInapprox_Bal2Sat_Supplement_LinearCSP
import Definitions.Def_OptInapprox_Orthant_Setting
Formal statement
namespace OptInapprox.Bal2Sat.Supplement

theorem theorem_12 (hUGC : OptInapprox.MaxCut.UGC) (q : ℕ) (hq : 2 ≤ q)
    (ρ ε : ℝ) (hρ : 0 ≤ ρ ∧ ρ ≤ 1) (hε : 0 < ε) :
    letI : NeZero q := ⟨by omega⟩
    let c := ρ + (1 - ρ) / q - ε
    let s := (q : ℝ) * OptInapprox.Orthant.Lambda ρ (1 / q) + ε
    LinearGapHard q c s ∧ DifferenceGapHard q c s := by sorry

end OptInapprox.Bal2Sat.Supplement
Source
Khot, Kindler, Mossel & O'Donnell, Optimal Inapproximability Results for MAX-CUT and Other 2-Variable CSPs?, SIAM J. Comput. 37(1), 2007 (authors' version of February 7, 2007), p. 15, Theorem 12; Definitions 14–15 p. 27; proof pp. 33–35, §11.4

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me