Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Affine reductions for LPs and SDPs

Sebastian Pokutta
v1 2026-12-02 · last 2026-12-02
Additional material: arXiv:1410.8816
Note: Formalizes Remark 3.6, the lower bounds of Examples 3.10 and 3.11, Corollary 4.4 in corrected form, and the reductions of Theorem 5.3, Corollaries 6.4, 6.6 and 6.8 and Theorem 6.11 of Braun et al. (2014), on top of the framework of the shared entry on extended formulations. The hardness of MaxCUT for linear programs (Theorem 4.5) is not formalized. Numbers refer to the arXiv version.

Abstract. Braun, Pokutta and Zink measure the size of linear and semidefinite programs for an optimization problem by its formulation complexity, which does not depend on an encoding as a polytope, and show that reductions transfer lower bounds on it. This entry formalizes their simple reductions, the reductions built on them and two lower bounds. A simple reduction maps the instances ff and the solutions ss of one problem to those of another such that the value of the image is αval⁡f(s)+μ∣f∣\alpha \operatorname{val}_f(s) + \mu |f| and the size of the image of ff is ν∣f∣\nu |f|. Then a program for the second problem with completeness guarantee ατ+μν∣g∣\frac{\alpha \tau + \mu}{\nu} |g| is a program for the first with completeness guarantee τ∣f∣\tau |f|, and for exact reductions the soundness guarantees transform in the same way. The paper prints this corollary with ν=∣α∣+μ\nu = |\alpha| + \mu and without the division by ν\nu. In that form it fails; the entry has a machine-checked counterexample. With the corrected corollary the entry proves, for linear and semidefinite programs and all guarantees τ\tau, σ\sigma: MaxCUT with guarantees (τ,σ)(\tau, \sigma) is no harder than Max-2-XOR and Max-2-CSP with (τ,σ)(\tau, \sigma), Max-2-CONJSAT and MaxDICUT with (τ/2,σ/2)(\tau/2, \sigma/2), Max-kk-SAT for k≥2k \ge 2 with ((1+τ)/2,(1+σ)/2)((1+\tau)/2, (1+\sigma)/2), Min-2-CNF deletion with ((1−τ)/2,(1−σ)/2)((1-\tau)/2, (1-\sigma)/2) and MinUnCUT with (1−τ,1−σ)(1-\tau, 1-\sigma); and MaxCUT on graphs of maximum degree Δ\Delta is no harder than vertex cover with (1−τ/2,1−σ/2)(1-\tau/2, 1-\sigma/2) and independent set with (τ/2,σ/2)(\tau/2, \sigma/2) on the induced subgraphs of degree at most 2Δ−12\Delta - 1 of a conflict graph with n(n−1)n(n-1) vertices. The hardness of MaxCUT itself, due to Chan, Lee, Raghavendra and Steurer, is not formalized. Without assumptions, linear programs for independent sets in the uniform model with approximation factor ρ\rho need 2nρ/8−12^{n\rho/8} - 1 inequalities, and maximizing nonnegative kk-juntas on nn variables needs (nk)/2k\binom{n}{k}/2^k.

The first lower bounds on the size of linear programs for combinatorial problems were proved polytope by polytope, and every new problem needed its own polytope and its own slack matrix. Braun, Pokutta and Zink replace the polytope by the problem. An optimization problem has instances and feasible solutions, and a linear or semidefinite program for it has to encode both: a point for every solution and an affine function for every instance. The least size of such a program with given approximation guarantees is the formulation complexity of the problem, and by the factorization theorem it is the LP rank or the SDP rank of the slack matrix of the problem. No encoding is fixed in advance, so a lower bound holds for all linear programs at once.

In this setting a reduction between two problems needs no polyhedral construction. If the instances of one problem are nonnegative combinations of instances of a second, and its solutions are convex combinations of solutions of the second, then every program for the second problem is one for the first (Proposition 4.2 of the paper, proved in the core). One hard problem then gives many. The paper starts from MaxCUT. By the theorem of Chan, Lee, Raghavendra and Steurer Chan et al., 2016 and the Sherali–Adams integrality gaps of Charikar, Makarychev and Makarychev Charikar et al., 2009, no linear program of size no(log⁡n/log⁡log⁡n)n^{o(\log n / \log \log n)} for MaxCUT on nn vertices certifies the value (1−ε) ∣E∣(1 - \varepsilon)\, |E| on all graphs whose maximum cut has at most (1/2+ε) ∣E∣(1/2 + \varepsilon)\, |E| edges (Theorem 4.5 of the paper). Reductions carry this to vertex cover, independent set and a list of constraint satisfaction problems.

This entry formalizes the reductions. Each of them is an inequality between two formulation complexities that holds for linear and for semidefinite programs and for all values of the guarantees. The hardness of MaxCUT itself is not formalized, so the lower bounds of the paper are the statements below combined with Theorem 4.5.

Simple reductions

In the notation of the core, an optimization problem P\mathcal{P} has values val⁡f(s)\operatorname{val}_f(s) for instances ff and solutions ss and is a maximization or a minimization problem. For a completeness guarantee CC and a soundness guarantee SS, fc⁡LP(P,C,S)\operatorname{fc}_{\mathrm{LP}}(\mathcal{P}, C, S) is the least number of inequalities of a linear program with a point xsx^s for every solution and an affine function wfw^f for every instance ff whose optimum is bounded by S(f)S(f), such that wf(xs)=val⁡f(s)w^f(x^s) = \operatorname{val}_f(s) and the optimum of wfw^f over the program is bounded by C(f)C(f). For fc⁡SDP\operatorname{fc}_{\mathrm{SDP}} the program is semidefinite and its size is the size of its matrices. Most reductions map instances to instances and solutions to solutions. Guarantees are usually proportional to a size ∣f∣|f| of the instance, such as the number of its edges or clauses.

The two conditions give C2(β(f))=(ατ1+μ) ∣f∣C_2(\beta(f)) = (\alpha \tau_1 + \mu)\, |f|, hence

C2(β(f))−val⁡β(f)(γ(s))=α (C1(f)−val⁡f(s)).C_2(\beta(f)) - \operatorname{val}_{\beta(f)}(\gamma(s)) = \alpha\, \bigl(C_1(f) - \operatorname{val}_f(s)\bigr) .

So the slack matrix of P1\mathcal{P}_1 is a submatrix of the slack matrix of P2\mathcal{P}_2, with rows β(f)\beta(f) and columns γ(s)\gamma(s), up to the positive factor 1/∣α∣1/|\alpha|; the sign of α\alpha accounts for the sign in the slack of a minimization problem. Selecting rows and columns and scaling rows does not increase the LP rank or the SDP rank. In the core this is the theorem on reductions by maps.

If the values of ff are bounded by σ1∣f∣\sigma_1 |f|, the values of β(f)\beta(f) at the solutions γ(s)\gamma(s) are bounded by (ασ1+μ) ∣f∣(\alpha \sigma_1 + \mu)\, |f|, and by exactness so are all values of β(f)\beta(f). So β\beta maps instances that satisfy S1S_1 to instances that satisfy S2S_2.

These are the hypotheses of the corollary as printed, for the identity maps, and its conclusion fails. The example is the one of the erratum above. The solutions are the vertices x∈{−1,1}2x \in \{-1, 1\}^2 of the square and the instances are the functions ±x1\pm x_1 and ±x2\pm x_2, with sizes ∣f∣1=1|f|_1 = 1 and with α=μ=τ1=σ2=1\alpha = \mu = \tau_1 = \sigma_2 = 1.

Constraint satisfaction problems

A lower bound on fc⁡(P,τ,σ)\operatorname{fc}(\mathcal{P}, \tau, \sigma) is a lower bound on the size of the programs that approximate P\mathcal{P} within the factor σ/τ\sigma / \tau, which is at most 1 for a maximum problem and at least 1 for a minimum problem. The problems below have the assignments s∈{0,1}ns \in \{0, 1\}^n of nn Boolean variables x1,…,xnx_1, \dots, x_n as solutions.

The two minimum problems of the paper are Min-2-CNF deletion, the minimum problem of the clauses with at most two literals, and MinUnCUT, the minimum problem of the constraints of Max-2-XOR (Example 6.10).

Reductions from MaxCUT

In all reductions the solutions are not changed, so γ\gamma is the identity and every reduction is exact. An instance is transformed constraint by constraint: each constraint is replaced by one or two constraints of the target problem, and the number of satisfied new constraints is an affine function of the truth value of the old one. Summing over the constraints gives the conditions of Corollary 4.4, with ν=1\nu = 1 or ν=2\nu = 2.

A graph is the instance of Max-2-XOR with the constraints xi⊕xj=1x_i \oplus x_j = 1 of its edges (Section 2 of the paper).

Different equations xi⊕xj=bx_i \oplus x_j = b are different functions of the assignment: the value at the assignment zero gives bb, and the values at the assignments with a single one give ii and jj. So Max-2-XOR is a subproblem of Max-2-CSP.

The equation xi⊕xj=1x_i \oplus x_j = 1 is replaced by the two conjunctions xi∧¬xjx_i \land \neg x_j and ¬xi∧xj\neg x_i \land x_j of its disjunctive normal form, and xi⊕xj=0x_i \oplus x_j = 0 by xi∧xjx_i \land x_j and ¬xi∧¬xj\neg x_i \land \neg x_j. At most one of the two conjunctions holds, and one holds exactly if the equation does. So α=1\alpha = 1, μ=0\mu = 0 and ν=2\nu = 2.

The edge {i,j}\{i, j\} is replaced by the clauses xi∨xjx_i \lor x_j and ¬xi∨¬xj\neg x_i \lor \neg x_j. Both hold if the edge is cut, and exactly one holds otherwise. So α=1\alpha = 1, μ=1\mu = 1 and ν=2\nu = 2. A clause with at most two literals is a clause with at most kk literals.

The edge {i,j}\{i, j\} is replaced by the two arcs (i,j)(i, j) and (j,i)(j, i). One of them is satisfied if the edge is cut, and none otherwise. So α=1\alpha = 1, μ=0\mu = 0 and ν=2\nu = 2.

The clauses are those of Max-kk-SAT above. None of the two clauses of an edge is violated if the edge is cut, and exactly one is violated otherwise, so the number of violated clauses is ∣L∣|L| minus the number of cut edges: α=−1\alpha = -1, μ=1\mu = 1 and ν=2\nu = 2.

The violated constraints xi⊕xj=1x_i \oplus x_j = 1 are the edges that are not cut, so α=−1\alpha = -1, μ=1\mu = 1 and ν=1\nu = 1.

Vertex cover and independent set

Vertex cover is not a constraint satisfaction problem, and it was the first problem of this kind with a lower bound for linear programs: the factor 3/23/2 here was later improved to 2 by Bazzi, Fiorini, Pokutta and Svensson Bazzi et al., 2019, see the entry No small linear program approximates vertex cover within a factor 2 − ε. The paper fixes one graph GG and takes its induced subgraphs as instances. The source problem is MaxCUT on graphs of bounded degree, for which Theorem 4.5 also holds, so that the instances of vertex cover have bounded degree as well.

Every vertex cover of GG meets WW in a vertex cover of the induced subgraph, and every vertex cover of the induced subgraph arises in this way, so the optimum of the instance WW is the vertex cover number of the induced subgraph; in the same way for independent sets.

A graph KK on the nn variables is mapped to the set H(K)H(K) of the partial assignments of its edges, with ∣H(K)∣=2 ∣E(K)∣|H(K)| = 2\, |E(K)|, and an assignment ss to the set γ(s)\gamma(s) of the partial assignments that ss does not extend. Two partial assignments that ss extends are not adjacent, so γ(s)\gamma(s) is a vertex cover. For a cut edge ss extends exactly one of the two partial assignments, and for an edge that is not cut none, so

∣γ(s)∩H(K)∣=2 ∣E(K)∣−val⁡K(s),|\gamma(s) \cap H(K)| = 2\, |E(K)| - \operatorname{val}_K(s) ,

which is Corollary 4.4 with α=−1\alpha = -1, μ=2\mu = 2 and ν=2\nu = 2. The reduction is exact: the complement of a vertex cover UU consists of pairwise non-adjacent partial assignments, which have a common extension ss, and then γ(s)⊆U\gamma(s) \subseteq U. For the degrees, a partial assignment of the edge {i,j}\{i, j\} is adjacent to the other partial assignment of this edge and to exactly one partial assignment of every other edge of KK at ii or at jj. This gives at most 2Δ−12\Delta - 1 neighbours in H(K)H(K).

Here an assignment ss is mapped to the set of the partial assignments that it extends, an independent set that meets H(K)H(K) in val⁡K(s)\operatorname{val}_K(s) vertices, so α=1\alpha = 1, μ=0\mu = 0 and ν=2\nu = 2. Every independent set has a common extension and is contained in the image of this extension.

The guarantees of the paper

With the guarantees τ=1−ε\tau = 1 - \varepsilon and σ=1/2+ε\sigma = 1/2 + \varepsilon of Theorem 4.5 for MaxCUT, the reductions give the following guarantees and approximation factors, which are those of the paper with ε/2\varepsilon / 2 in place of ε\varepsilon where the size doubles.

ProblemCompletenessSoundnessFactor
Vertex cover1/2+ε/21/2 + \varepsilon/23/4−ε/23/4 - \varepsilon/23/2−O(ε)3/2 - O(\varepsilon)
Independent set1/2−ε/21/2 - \varepsilon/21/4+ε/21/4 + \varepsilon/21/2+O(ε)1/2 + O(\varepsilon)
Max-2-CSP1−ε1 - \varepsilon1/2+ε1/2 + \varepsilon1/2+O(ε)1/2 + O(\varepsilon)
Max-2-CONJSAT, MaxDICUT1/2−ε/21/2 - \varepsilon/21/4+ε/21/4 + \varepsilon/21/2+O(ε)1/2 + O(\varepsilon)
Max-kk-SAT, k≥2k \ge 21−ε/21 - \varepsilon/23/4+ε/23/4 + \varepsilon/23/4+O(ε)3/4 + O(\varepsilon)
Min-2-CNF deletionε/2\varepsilon/21/4−ε/21/4 - \varepsilon/2any constant
MinUnCUTε\varepsilon1/2−ε1/2 - \varepsilonany constant

For semidefinite programs the paper assumes that MaxCUT is hard with soundness cGW+εc_{\mathrm{GW}} + \varepsilon, where cGW≈0.878c_{\mathrm{GW}} \approx 0.878 is the constant of Goemans and Williamson (Conjecture 4.6). The inequalities above transfer this assumption in the same way, with cGWc_{\mathrm{GW}} in place of 1/21/2.

Lower bounds from unique disjointness

Two examples of the paper are lower bounds without any assumption. Both read off a matrix with the pattern of unique disjointness from the slack matrix of the problem, with rows and columns indexed by subsets aa, bb of an nn-element set and prescribed entries at the pairs with ∣a∩b∣≤1|a \cap b| \le 1. Since the formulation complexity is a property of the slack matrix, the bounds hold for every linear encoding of the problem.

In an LP factorization M=TU+μ1⊤M = TU + \mu \mathbb{1}^\top a zero entry in the row ii forces μi=0\mu_i = 0, since all terms are nonnegative. This is the case of the slack matrix of a polytope, and of an exact problem in which every instance attains its optimum.

Removing one end point of every edge inside SS leaves an independent set with at least val⁡G(S)\operatorname{val}_G(S) vertices, and for an independent set the value is its size, so α(G)\alpha(G) is the independence number of GG. The model is uniform: one program has to work for all graphs, and a graph is an instance, not a set of weights.

For the complete graph KUK_U on a nonempty set UU the value of SS is 0 if SS is disjoint from UU, it is 1 if SS meets UU in one vertex, and it is never more than 1: a set AA of vertices of a complete graph spans at least ∣A∣−1|A| - 1 edges. So α(KU)=1\alpha(K_U) = 1, and the slack of the row KUK_U is ρ−1\rho^{-1} at the sets disjoint from UU and ρ−1−1\rho^{-1} - 1 at the sets that meet UU in one vertex. With a constant row ρ−1\rho^{-1} for U=∅U = \emptyset these rows form a nonnegative matrix with the pattern of the theorem on shifts of unique disjointness in Common information and unique disjointness, whose nonnegative rank is at least 2n/(8ρ−1)2^{n / (8 \rho^{-1})}. A constant row does not change the LP rank, and the LP rank is at least the nonnegative rank minus one. For ρ=n−(1−ε)\rho = n^{-(1 - \varepsilon)} the bound is 2nε/8−12^{n^{\varepsilon} / 8} - 1: no linear program of subexponential size approximates the independence number within n1−εn^{1 - \varepsilon} in this model.

For a set aa of kk variables let ga(s)=k2−(t−1)2g_a(s) = k^2 - (t - 1)^2, where tt is the number of variables of aa that are true in ss. This is a nonnegative kk-junta with maximum k2k^2, and its slack at the assignment with the set bb of true variables is (1−∣a∩b∣)2(1 - |a \cap b|)^2. Every row has a zero, so by Remark 3.6 the formulation complexity is at least the nonnegative rank of these rows, which is at least the number of rectangles needed to cover their support. There are (nk) 2n−k\binom{n}{k}\, 2^{n - k} pairs of a set aa with kk elements and a set bb disjoint from it, and by the counting lemma of Kaibel and Weltge Kaibel & Weltge, 2015, proved in the entry Exponential lower bounds for polytopes in combinatorial optimization, a rectangle in the support contains at most 2n2^n of them. The Sherali–Adams relaxation of level kk has O(nk)O(n^k) inequalities, so for constant kk the bound is tight up to a constant factor; this upper bound is not formalized.

Coverage

This entry covers Remark 3.6, the lower bounds of Examples 3.10 and 3.11, Corollary 4.4 in corrected form, Definitions 2.2, 2.3 (for k=2k = 2), 2.4, 5.1, 5.2, 6.3, 6.5, 6.7 and 6.9 with Example 6.10, and Theorem 5.3, Corollaries 6.4, 6.6 and 6.8 and Theorem 6.11 as reductions. The framework is in the core: Definitions 2.1, 2.5 and 2.8 (optimization problems and their LP and SDP formulations), Definitions 3.1 to 3.3, Lemma 3.4 and Theorem 3.5 (the slack matrix, LP and SDP factorizations, the affine form of Farkas’ lemma and the factorization theorem), and Definition 4.1, Proposition 4.2 and Remark 4.3 (affine reductions). The matching problem of Example 3.9 is the subject of the entry The matching polytope does not admit fully-polynomial size relaxation schemes. Not covered so far are Theorem 4.5, the hardness of MaxCUT and Max-kk-XOR for linear programs, which rests on Sherali–Adams integrality gaps, and Conjecture 4.6; the upper bound for juntas in Example 3.11; the example on Hamiltonian cycles (Example 4.7); Max-MULTI-kk-CUT (Corollary 6.2), whose reduction uses a gadget of Papadimitriou and Yannakakis; and the rounding of approximate slack matrices (Section 7).

The formal statements at a glance

Main.lean
theorem simple_reduction : SimpleReduction :=
  fun τ₁ τ₂ hτ₁ hτ₂ val₁ val₂ size₁ size₂ β γ α μ ν c₁ Sd₁ Sd₂ hα hν hval hsize hsound =>
    Proof.simple_reduction τ₁ τ₂ hτ₁ hτ₂ val₁ val₂ size₁ size₂ β γ α μ ν c₁ Sd₁ Sd₂ hα hν hval
      hsize hsound

theorem simple_reduction_exact : SimpleReductionExact :=
  fun τ₁ τ₂ hτ₁ hτ₂ val₁ val₂ size₁ size₂ β γ α μ ν c₁ σ₁ hα hν hval hsize hexact =>
    Proof.simple_reduction_exact τ₁ τ₂ hτ₁ hτ₂ val₁ val₂ size₁ size₂ β γ α μ ν c₁ σ₁ hα hν hval
      hsize hexact

theorem printed_corollary_fails : PrintedCorollaryFails := by
  refine ⟨squareValue, fun f s => squareValue f s + 1, fun _ => 1, fun _ => 2, 1, 1, 1, 1,
    one_pos, fun _ => zero_le_one, zero_le_one, fun f s => by ring, fun f => by norm_num,
    fun f s => ?_, ?_⟩
  · change squareValue f s + 1 ≤ 1 * 2
    unfold squareValue
    split_ifs <;> norm_num
  · have e1 : (fun _ : Fin 2 × Bool => ((1 : ℝ) * 1 + 1) * 2) = fun _ => 4 := by
      funext
      norm_num
    have e2 : (fun _ : Fin 2 × Bool => (1 : ℝ) * 2) = fun _ => 2 := by
      funext
      norm_num
    have e3 : (fun _ : Fin 2 × Bool => (1 : ℝ) * 1) = fun _ => 1 := by
      funext
      norm_num
    rw [e1, e2, e3]
    exact lt_of_le_of_lt Proof.fcLP_shifted_square_le
      (lt_of_lt_of_le (by norm_num) Proof.four_le_fcLP_square)

theorem maxCut_le_maxXor : MaxCutMaxXor := fun _ τ σ => Proof.maxCut_le_maxXor τ σ

theorem maxXor_le_maxBinary : MaxXorMaxBinary := fun _ τ σ => Proof.maxXor_le_maxBinary τ σ

theorem maxXor_le_maxConj : MaxXorMaxConj := fun _ τ σ => Proof.maxXor_le_maxConj τ σ

theorem maxCut_le_maxSat : MaxCutMaxSat := fun _ _ τ σ hk =>
  ⟨(Proof.maxCut_le_maxSat τ σ).1.trans (Proof.maxSat_mono hk _ _).1,
    (Proof.maxCut_le_maxSat τ σ).2.trans (Proof.maxSat_mono hk _ _).2⟩

theorem maxCut_le_maxDicut : MaxCutMaxDicut := fun _ τ σ => Proof.maxCut_le_maxDicut τ σ

theorem maxCut_le_minCnf : MaxCutMinCnf := fun _ τ σ => Proof.maxCut_le_minCnf τ σ

theorem maxCut_le_minUncut : MaxCutMinUncut := fun _ τ σ => Proof.maxCut_le_minUncut τ σ

theorem card_conflictGraph : ConflictGraphCard := fun n => Proof.card_conflictGraph n

theorem maxCutDeg_le_maxCut : MaxCutDegMaxCut := fun n Δ τ σ => Proof.maxCutDeg_le_maxCut n Δ τ σ

theorem vertexCover_from_maxCut : VertexCoverFromMaxCut := fun n Δ τ σ =>
  Proof.vertexCover_from_maxCut n Δ τ σ

theorem independentSet_from_maxCut : IndependentSetFromMaxCut := fun n Δ τ σ =>
  Proof.independentSet_from_maxCut n Δ τ σ

theorem rank_of_row_zeros : RowZeros := fun M h =>
  ⟨Proof.lpRank_eq_nonnegRank_of_zeros M h, Proof.sdpRank_eq_psdRank_of_zeros M h⟩

theorem independentSet_uniform : IndependentSetUniform := fun n ρ hρ0 hρ1 k hk =>
  natCast_lt_of_forall_le
    (fun r hr => sub_le_iff_le_add.mpr (Proof.independentSet_uniform n ρ hρ0 hρ1 r hr)) k
    (lt_sub_iff_add_lt.mpr hk)

theorem junta_lowerBound : JuntaLowerBound := fun n k hk hkn =>
  natCast_lt_of_forall_le fun r hr => Proof.junta_lowerBound n k hk hkn r hr
Formal verification — ✅ all 43 formal results are kernel-checked

Checked at commit 4ad85db56ddf. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.

Lean satCount · ◇ elaborated · source

Definition in Lean
/-- The number of constraints of `L` that the solution `s` satisfies: the value of the instance
`L` of a **maximum constraint satisfaction problem**. -/
def satCount (holds : Γ → S → Bool) (L : Finset Γ) (s : S) : ℝ :=
  ((L.filter fun c => holds c s = true).card : ℝ)

Lean unsatCount · ◇ elaborated · source

Definition in Lean
/-- The number of constraints of `L` that the solution `s` violates: the value of the instance
`L` of a **minimum constraint satisfaction problem**. -/
def unsatCount (holds : Γ → S → Bool) (L : Finset Γ) (s : S) : ℝ :=
  ((L.filter fun c => holds c s = false).card : ℝ)

Lean scaled · ◇ elaborated · source

Definition in Lean
/-- The guarantee `τ |L|`, proportional to the number of constraints of the instance `L`. -/
def scaled (τ : ℝ) (L : Finset Γ) : ℝ :=
  τ * L.card

Lean fcMax · ◇ elaborated · source

Definition in Lean
/-- The **LP formulation complexity** `fc(𝒫, τ, σ)` of the maximum constraint satisfaction
problem with the constraints `holds`, with completeness guarantee `τ |L|` and soundness guarantee
`σ |L|`. -/
noncomputable def fcMax (holds : Γ → S → Bool) (τ σ : ℝ) : ℕ∞ :=
  fcLP 1 (satCount holds) (scaled τ) (scaled σ)

Lean fcMaxSDP · ◇ elaborated · source

Definition in Lean
/-- The **SDP formulation complexity** of the maximum constraint satisfaction problem with the
constraints `holds`, with completeness guarantee `τ |L|` and soundness guarantee `σ |L|`. -/
noncomputable def fcMaxSDP (holds : Γ → S → Bool) (τ σ : ℝ) : ℕ∞ :=
  fcSDP 1 (satCount holds) (scaled τ) (scaled σ)

Lean fcMin · ◇ elaborated · source

Definition in Lean
/-- The **LP formulation complexity** of the minimum constraint satisfaction problem with the
constraints `holds`, with completeness guarantee `τ |L|` and soundness guarantee `σ |L|`. -/
noncomputable def fcMin (holds : Γ → S → Bool) (τ σ : ℝ) : ℕ∞ :=
  fcLP (-1) (unsatCount holds) (scaled τ) (scaled σ)

Lean fcMinSDP · ◇ elaborated · source

Definition in Lean
/-- The **SDP formulation complexity** of the minimum constraint satisfaction problem with the
constraints `holds`, with completeness guarantee `τ |L|` and soundness guarantee `σ |L|`. -/
noncomputable def fcMinSDP (holds : Γ → S → Bool) (τ σ : ℝ) : ℕ∞ :=
  fcSDP (-1) (unsatCount holds) (scaled τ) (scaled σ)

/-! ### Constraint families on Boolean variables -/

Lean cutHolds · ◇ elaborated · source

Definition in Lean
/-- **MaxCUT.** The edge `{i, j}` is cut by the assignment `s` if `s i ≠ s j`. -/
def cutHolds (e : Edge n) (s : Assignment n) : Bool :=
  s e.1.1 != s e.1.2

Lean xorHolds · ◇ elaborated · source

Definition in Lean
/-- **Max-2-XOR.** The constraint `x_i ⊕ x_j = b`, for a pair `i < j` and a bit `b`. -/
def xorHolds (c : Edge n × Bool) (s : Assignment n) : Bool :=
  (s c.1.1.1 != s c.1.1.2) == c.2

Lean binaryHolds · ◇ elaborated · source

Definition in Lean
/-- **Max-2-CSP.** All constraints that depend on at most two variables. -/
def binaryHolds (C : BinaryConstraint n) (s : Assignment n) : Bool :=
  C.1 s

/-! ### Graphs of bounded degree -/

Lean conjHolds · ◇ elaborated · source

Definition in Lean
/-- **Max-2-CONJSAT.** The conjunction of two literals. -/
def conjHolds (c : Literal n × Literal n) (s : Assignment n) : Bool :=
  litHolds c.1 s && litHolds c.2 s

Lean satHolds · ◇ elaborated · source

Definition in Lean
/-- **Max-`k`-SAT.** A clause, the disjunction of its literals, is satisfied if one of its
literals is true. -/
def satHolds (c : Clause n k) (s : Assignment n) : Bool :=
  decide (∃ l ∈ c.1, litHolds l s = true)

Lean dicutHolds · ◇ elaborated · source

Definition in Lean
/-- **MaxDICUT.** The arc `(i, j)` is cut by the assignment `s` if `s i` is false and `s j` is
true: the constraint `¬x_i ∧ x_j`. -/
def dicutHolds (a : Arc n) (s : Assignment n) : Bool :=
  !s a.1.1 && s a.1.2

Lean edgeDegree · ◇ elaborated · source

Definition in Lean
/-- The degree of the vertex `v` in the graph with the edges `L`. -/
def edgeDegree (L : Finset (Edge n)) (v : Fin n) : ℕ :=
  (L.filter fun e => e.1.1 = v ∨ e.1.2 = v).card

Lean fcMaxCutDeg · ◇ elaborated · source

Definition in Lean
/-- The LP formulation complexity of **MaxCUT on graphs of maximum degree at most `Δ`**, with
completeness guarantee `τ |E|` and soundness guarantee `σ |E|`. -/
noncomputable def fcMaxCutDeg (n Δ : ℕ) (τ σ : ℝ) : ℕ∞ :=
  fcLP 1
    (fun (L : {L : Finset (Edge n) // ∀ v, edgeDegree L v ≤ Δ}) (s : Assignment n) =>
      satCount cutHolds L.1 s)
    (fun L => τ * L.1.card) (fun L => σ * L.1.card)

Lean fcMaxCutDegSDP · ◇ elaborated · source

Definition in Lean
/-- The SDP formulation complexity of MaxCUT on graphs of maximum degree at most `Δ`. -/
noncomputable def fcMaxCutDegSDP (n Δ : ℕ) (τ σ : ℝ) : ℕ∞ :=
  fcSDP 1
    (fun (L : {L : Finset (Edge n) // ∀ v, edgeDegree L v ≤ Δ}) (s : Assignment n) =>
      satCount cutHolds L.1 s)
    (fun L => τ * L.1.card) (fun L => σ * L.1.card)

Lean InducedDegreeLE · ◇ elaborated · source

Definition in Lean
/-- The subgraph of `G` induced on the vertex set `W` has **maximum degree at most `Δ`**. -/
def InducedDegreeLE (G : SimpleGraph V) (W : Finset V) (Δ : ℕ) : Prop :=
  ∀ v ∈ W, (W.filter fun w => G.Adj v w).card ≤ Δ

Lean fcVertexCoverDeg · ◇ elaborated · source

Definition in Lean
/-- The LP formulation complexity of **vertex cover on the induced subgraphs of `G` of maximum
degree at most `Δ`**: the feasible solutions are the vertex covers `U` of `G`, the instances are
the vertex sets `W` whose induced subgraph has maximum degree at most `Δ`, with the cost
`|U ∩ W|`, and the guarantees are `τ |W|` and `σ |W|`. -/
noncomputable def fcVertexCoverDeg [DecidableEq V] (G : SimpleGraph V) (Δ : ℕ) (τ σ : ℝ) : ℕ∞ :=
  fcLP (-1)
    (fun (W : {W : Finset V // InducedDegreeLE G W Δ}) (U : {U : Finset V // IsVertexCover G U}) =>
      ((U.1 ∩ W.1).card : ℝ))
    (fun W => τ * W.1.card) (fun W => σ * W.1.card)

Lean fcVertexCoverDegSDP · ◇ elaborated · source

Definition in Lean
/-- The SDP formulation complexity of vertex cover on the induced subgraphs of `G` of maximum
degree at most `Δ`. -/
noncomputable def fcVertexCoverDegSDP [DecidableEq V] (G : SimpleGraph V) (Δ : ℕ) (τ σ : ℝ) :
    ℕ∞ :=
  fcSDP (-1)
    (fun (W : {W : Finset V // InducedDegreeLE G W Δ}) (U : {U : Finset V // IsVertexCover G U}) =>
      ((U.1 ∩ W.1).card : ℝ))
    (fun W => τ * W.1.card) (fun W => σ * W.1.card)

Lean fcIndependentSetDeg · ◇ elaborated · source

Definition in Lean
/-- The LP formulation complexity of **independent set on the induced subgraphs of `G` of maximum
degree at most `Δ`**: the feasible solutions are the independent sets `I` of `G`, the instances
are the vertex sets `W` whose induced subgraph has maximum degree at most `Δ`, with the value
`|I ∩ W|`, and the guarantees are `τ |W|` and `σ |W|`. -/
noncomputable def fcIndependentSetDeg [DecidableEq V] (G : SimpleGraph V) (Δ : ℕ) (τ σ : ℝ) :
    ℕ∞ :=
  fcLP 1
    (fun (W : {W : Finset V // InducedDegreeLE G W Δ})
        (I : {I : Finset V // IsIndependentSet G I}) => ((I.1 ∩ W.1).card : ℝ))
    (fun W => τ * W.1.card) (fun W => σ * W.1.card)

Lean fcIndependentSetDegSDP · ◇ elaborated · source

Definition in Lean
/-- The SDP formulation complexity of independent set on the induced subgraphs of `G` of maximum
degree at most `Δ`. -/
noncomputable def fcIndependentSetDegSDP [DecidableEq V] (G : SimpleGraph V) (Δ : ℕ)
    (τ σ : ℝ) : ℕ∞ :=
  fcSDP 1
    (fun (W : {W : Finset V // InducedDegreeLE G W Δ})
        (I : {I : Finset V // IsIndependentSet G I}) => ((I.1 ∩ W.1).card : ℝ))
    (fun W => τ * W.1.card) (fun W => σ * W.1.card)

Lean conflictGraph · ◇ elaborated · source

Definition in Lean
/-- The **conflict graph** of the constraints `x_i ⊕ x_j = 1` on `n` variables. Its vertices are
the partial assignments of two variables `x_i`, `x_j` that satisfy `x_i ⊕ x_j = 1`, and two of
them are adjacent if they assign different values to some variable. -/
def conflictGraph (n : ℕ) : SimpleGraph (Edge n × Bool) where
  Adj v w := ∃ k a, Assigns v k a ∧ Assigns w k (!a)
  symm := ⟨fun v w ⟨k, a, h1, h2⟩ => ⟨k, !a, h2, by simpa using h1⟩⟩
  loopless := ⟨fun v ⟨k, a, h1, h2⟩ => by
    obtain ⟨⟨⟨i, j⟩, hij⟩, b⟩ := v
    have hne : i ≠ j := ne_of_lt hij
    simp only [Assigns] at h1 h2
    rcases h1 with ⟨rfl, rfl⟩ | ⟨rfl, rfl⟩ <;> rcases h2 with ⟨h, h'⟩ | ⟨h, h'⟩
    · simp at h'
    · exact hne h
    · exact hne h.symm
    · simp at h'⟩

/-! ### The uniform model for independent sets, and juntas -/

Lean indepValue · ◇ elaborated · source

Definition in Lean
/-- The value of the vertex set `S` for the graph `G` in the **uniform model of the maximum
independent set problem**: the number of vertices of `G` in `S` minus the number of edges of `G`
with both end points in `S`. -/
def indepValue (G : SubGraph n) (S : Finset (Fin n)) : ℝ :=
  ((G.1.1 ∩ S).card : ℝ) - ((G.1.2.filter fun e => e.1.1 ∈ S ∧ e.1.2 ∈ S).card : ℝ)

Lean indepOpt · ◇ elaborated · source

Definition in Lean
/-- The optimum of the graph `G` in the uniform model: the largest value of a vertex set. -/
noncomputable def indepOpt (G : SubGraph n) : ℝ :=
  ⨆ S : Finset (Fin n), indepValue G S

Lean Junta · ◇ elaborated · source

Definition in Lean
/-- The **nonnegative `k`-juntas**: the nonnegative functions of `n` Boolean variables that
depend on at most `k` of them. -/
abbrev Junta (n k : ℕ) :=
  {f : Assignment n → ℝ // (∀ s, 0 ≤ f s) ∧
    ∃ A : Finset (Fin n), A.card ≤ k ∧ ∀ s t : Assignment n, (∀ i ∈ A, s i = t i) → f s = f t}

Lean juntaMax · ◇ elaborated · source

Definition in Lean
/-- The maximum of a junta. -/
noncomputable def juntaMax (f : Junta n k) : ℝ :=
  ⨆ s : Assignment n, f.1 s

Lean simple_reduction · ✅ kernel-checked · source

Statement in Lean
theorem simple_reduction : SimpleReduction

where SimpleReduction is (source):

/-- **Simple reductions.** Let two optimization problems have signs `τ₁, τ₂ ≠ 0`, and let
`β` map the instances and `γ` the solutions of the first problem to those of the second, with
`val₂ (β f) (γ s) = α · val₁ f s + μ · |f|` and `|β f| = ν · |f|`, where `τ₁ τ₂ α > 0` and
`ν ≠ 0`. If `β` maps the instances that satisfy the first soundness guarantee to instances that
satisfy the second, then the LP and SDP formulation complexity of the first problem with
completeness guarantee `c₁ |f|` are at most those of the second problem with completeness
guarantee `(α c₁ + μ) / ν · |g|`. -/
def SimpleReduction : Prop :=
  ∀ {Inst₁ : Type u} {Sol₁ : Type v} {Inst₂ : Type w} {Sol₂ : Type x} (τ₁ τ₂ : ℝ),
    τ₁ ≠ 0 → τ₂ ≠ 0 → ∀ (val₁ : Inst₁ → Sol₁ → ℝ) (val₂ : Inst₂ → Sol₂ → ℝ)
    (size₁ : Inst₁ → ℝ) (size₂ : Inst₂ → ℝ) (β : Inst₁ → Inst₂) (γ : Sol₁ → Sol₂)
    (α μ ν c₁ : ℝ) (Sd₁ : Inst₁ → ℝ) (Sd₂ : Inst₂ → ℝ),
    0 < τ₁ * τ₂ * α → ν ≠ 0 →
    (∀ f s, val₂ (β f) (γ s) = α * val₁ f s + μ * size₁ f) →
    (∀ f, size₂ (β f) = ν * size₁ f) →
    (∀ f, IsSoundInstance τ₁ val₁ Sd₁ f → IsSoundInstance τ₂ val₂ Sd₂ (β f)) →
      fcLP τ₁ val₁ (fun f => c₁ * size₁ f) Sd₁ ≤
          fcLP τ₂ val₂ (fun g => (α * c₁ + μ) / ν * size₂ g) Sd₂ ∧
        fcSDP τ₁ val₁ (fun f => c₁ * size₁ f) Sd₁ ≤
          fcSDP τ₂ val₂ (fun g => (α * c₁ + μ) / ν * size₂ g) Sd₂

Lean simple_reduction_exact · ✅ kernel-checked · source

Statement in Lean
theorem simple_reduction_exact : SimpleReductionExact

where SimpleReductionExact is (source):

/-- **Exact simple reductions.** In the situation of `SimpleReduction`, let the first soundness
guarantee be `σ₁ |f|`, and let the reduction be exact: every solution `u` of the second problem
is dominated on the instances `β f` by the image of a solution of the first,
`τ₂ · val₂ (β f) u ≤ τ₂ · val₂ (β f) (γ s)`. Then the second soundness guarantee can be taken as
`(α σ₁ + μ) / ν · |g|`. -/
def SimpleReductionExact : Prop :=
  ∀ {Inst₁ : Type u} {Sol₁ : Type v} {Inst₂ : Type w} {Sol₂ : Type x} (τ₁ τ₂ : ℝ),
    τ₁ ≠ 0 → τ₂ ≠ 0 → ∀ (val₁ : Inst₁ → Sol₁ → ℝ) (val₂ : Inst₂ → Sol₂ → ℝ)
    (size₁ : Inst₁ → ℝ) (size₂ : Inst₂ → ℝ) (β : Inst₁ → Inst₂) (γ : Sol₁ → Sol₂)
    (α μ ν c₁ σ₁ : ℝ),
    0 < τ₁ * τ₂ * α → ν ≠ 0 →
    (∀ f s, val₂ (β f) (γ s) = α * val₁ f s + μ * size₁ f) →
    (∀ f, size₂ (β f) = ν * size₁ f) →
    (∀ f u, ∃ s, τ₂ * val₂ (β f) u ≤ τ₂ * val₂ (β f) (γ s)) →
      fcLP τ₁ val₁ (fun f => c₁ * size₁ f) (fun f => σ₁ * size₁ f) ≤
          fcLP τ₂ val₂ (fun g => (α * c₁ + μ) / ν * size₂ g)
            (fun g => (α * σ₁ + μ) / ν * size₂ g) ∧
        fcSDP τ₁ val₁ (fun f => c₁ * size₁ f) (fun f => σ₁ * size₁ f) ≤
          fcSDP τ₂ val₂ (fun g => (α * c₁ + μ) / ν * size₂ g)
            (fun g => (α * σ₁ + μ) / ν * size₂ g)

Lean printed_corollary_fails · ✅ kernel-checked · source

Statement in Lean
theorem printed_corollary_fails : PrintedCorollaryFails

where PrintedCorollaryFails is (source):

/-- **The corollary on simple reductions fails as printed.** There are two maximization problems
with the same four instances and four solutions, the identity maps as reduction, sizes
`|f| ≥ 0` and constants `α > 0`, `μ`, `τ₁` and `σ₂ ≥ 0` such that
`val₂ f s = α · val₁ f s + μ |f|`, the sizes in the second problem are `(|α| + μ) |f|`, and
`val₂ f s ≤ σ₂ |f|₂`, but the LP formulation complexity of the second problem with completeness
guarantee `(α τ₁ + μ) |f|₂` and soundness guarantee `σ₂ |f|₂` is smaller than that of the first
with completeness and soundness guarantee `τ₁ |f|`. -/
def PrintedCorollaryFails : Prop :=
  ∃ (val₁ val₂ : Fin 2 × Bool → (Fin 2 → Bool) → ℝ) (size₁ size₂ : Fin 2 × Bool → ℝ)
    (α μ τ₁ σ₂ : ℝ),
    0 < α ∧ (∀ f, 0 ≤ size₁ f) ∧ 0 ≤ σ₂ ∧
      (∀ f s, val₂ f s = α * val₁ f s + μ * size₁ f) ∧
      (∀ f, size₂ f = (|α| + μ) * size₁ f) ∧
      (∀ f s, val₂ f s ≤ σ₂ * size₂ f) ∧
      fcLP 1 val₂ (fun f => (α * τ₁ + μ) * size₂ f) (fun f => σ₂ * size₂ f) <
        fcLP 1 val₁ (fun f => τ₁ * size₁ f) (fun f => τ₁ * size₁ f)

/-! ### Reductions between constraint satisfaction problems -/

Lean maxCut_le_maxXor · ✅ kernel-checked · source

Statement in Lean
theorem maxCut_le_maxXor : MaxCutMaxXor

where MaxCutMaxXor is (source):

/-- **MaxCUT and Max-2-XOR.** MaxCUT is the subproblem of Max-2-XOR with the constraints
`x_i ⊕ x_j = 1`, so its formulation complexities are at most those of Max-2-XOR with the same
guarantees. -/
def MaxCutMaxXor : Prop :=
  ∀ (n : ℕ) (τ σ : ℝ),
    fcMax (cutHolds (n := n)) τ σ ≤ fcMax (xorHolds (n := n)) τ σ ∧
      fcMaxSDP (cutHolds (n := n)) τ σ ≤ fcMaxSDP (xorHolds (n := n)) τ σ

Lean maxXor_le_maxBinary · ✅ kernel-checked · source

Statement in Lean
theorem maxXor_le_maxBinary : MaxXorMaxBinary

where MaxXorMaxBinary is (source):

/-- **Max-2-CSP.** Max-2-XOR is a subproblem of Max-2-CSP, the problem with all constraints that
depend on at most two variables. -/
def MaxXorMaxBinary : Prop :=
  ∀ (n : ℕ) (τ σ : ℝ),
    fcMax (xorHolds (n := n)) τ σ ≤ fcMax (binaryHolds (n := n)) τ σ ∧
      fcMaxSDP (xorHolds (n := n)) τ σ ≤ fcMaxSDP (binaryHolds (n := n)) τ σ

Lean maxXor_le_maxConj · ✅ kernel-checked · source

Statement in Lean
theorem maxXor_le_maxConj : MaxXorMaxConj

where MaxXorMaxConj is (source):

/-- **Max-2-CONJSAT.** Max-2-XOR with guarantees `τ |L|` and `σ |L|` reduces to Max-2-CONJSAT
with guarantees `(τ / 2) |L|` and `(σ / 2) |L|`. -/
def MaxXorMaxConj : Prop :=
  ∀ (n : ℕ) (τ σ : ℝ),
    fcMax (xorHolds (n := n)) τ σ ≤ fcMax (conjHolds (n := n)) (τ / 2) (σ / 2) ∧
      fcMaxSDP (xorHolds (n := n)) τ σ ≤ fcMaxSDP (conjHolds (n := n)) (τ / 2) (σ / 2)

Lean maxCut_le_maxSat · ✅ kernel-checked · source

Statement in Lean
theorem maxCut_le_maxSat : MaxCutMaxSat

where MaxCutMaxSat is (source):

/-- **Max-`k`-SAT.** For `k ≥ 2`, MaxCUT with guarantees `τ |L|` and `σ |L|` reduces to
Max-`k`-SAT with guarantees `(1 + τ) / 2 · |L|` and `(1 + σ) / 2 · |L|`. -/
def MaxCutMaxSat : Prop :=
  ∀ (n k : ℕ) (τ σ : ℝ), 2 ≤ k →
    fcMax (cutHolds (n := n)) τ σ ≤
        fcMax (satHolds (n := n) (k := k)) ((1 + τ) / 2) ((1 + σ) / 2) ∧
      fcMaxSDP (cutHolds (n := n)) τ σ ≤
        fcMaxSDP (satHolds (n := n) (k := k)) ((1 + τ) / 2) ((1 + σ) / 2)

Lean maxCut_le_maxDicut · ✅ kernel-checked · source

Statement in Lean
theorem maxCut_le_maxDicut : MaxCutMaxDicut

where MaxCutMaxDicut is (source):

/-- **MaxDICUT.** MaxCUT with guarantees `τ |L|` and `σ |L|` reduces to MaxDICUT with guarantees
`(τ / 2) |L|` and `(σ / 2) |L|`. -/
def MaxCutMaxDicut : Prop :=
  ∀ (n : ℕ) (τ σ : ℝ),
    fcMax (cutHolds (n := n)) τ σ ≤ fcMax (dicutHolds (n := n)) (τ / 2) (σ / 2) ∧
      fcMaxSDP (cutHolds (n := n)) τ σ ≤ fcMaxSDP (dicutHolds (n := n)) (τ / 2) (σ / 2)

Lean maxCut_le_minCnf · ✅ kernel-checked · source

Statement in Lean
theorem maxCut_le_minCnf : MaxCutMinCnf

where MaxCutMinCnf is (source):

/-- **Min-2-CNF deletion.** MaxCUT with guarantees `τ |L|` and `σ |L|` reduces to the minimum
constraint satisfaction problem with the clauses of at most two literals, with guarantees
`(1 - τ) / 2 · |L|` and `(1 - σ) / 2 · |L|`. -/
def MaxCutMinCnf : Prop :=
  ∀ (n : ℕ) (τ σ : ℝ),
    fcMax (cutHolds (n := n)) τ σ ≤
        fcMin (satHolds (n := n) (k := 2)) ((1 - τ) / 2) ((1 - σ) / 2) ∧
      fcMaxSDP (cutHolds (n := n)) τ σ ≤
        fcMinSDP (satHolds (n := n) (k := 2)) ((1 - τ) / 2) ((1 - σ) / 2)

Lean maxCut_le_minUncut · ✅ kernel-checked · source

Statement in Lean
theorem maxCut_le_minUncut : MaxCutMinUncut

where MaxCutMinUncut is (source):

/-- **MinUnCUT.** MaxCUT with guarantees `τ |L|` and `σ |L|` reduces to the minimum constraint
satisfaction problem with the constraints `x_i ⊕ x_j = b`, with guarantees `(1 - τ) |L|` and
`(1 - σ) |L|`. -/
def MaxCutMinUncut : Prop :=
  ∀ (n : ℕ) (τ σ : ℝ),
    fcMax (cutHolds (n := n)) τ σ ≤ fcMin (xorHolds (n := n)) (1 - τ) (1 - σ) ∧
      fcMaxSDP (cutHolds (n := n)) τ σ ≤ fcMinSDP (xorHolds (n := n)) (1 - τ) (1 - σ)

/-! ### Vertex cover and independent set -/

Lean card_conflictGraph · ✅ kernel-checked · source

Statement in Lean
theorem card_conflictGraph : ConflictGraphCard

where ConflictGraphCard is (source):

/-- **The conflict graph.** The conflict graph of the constraints `x_i ⊕ x_j = 1` on `n`
variables has `n (n - 1)` vertices, two for every pair of variables. -/
def ConflictGraphCard : Prop :=
  ∀ n : ℕ, Fintype.card (Edge n × Bool) = n * (n - 1)

Lean maxCutDeg_le_maxCut · ✅ kernel-checked · source

Statement in Lean
theorem maxCutDeg_le_maxCut : MaxCutDegMaxCut

where MaxCutDegMaxCut is (source):

/-- **MaxCUT on graphs of bounded degree.** It is a subproblem of MaxCUT. -/
def MaxCutDegMaxCut : Prop :=
  ∀ (n Δ : ℕ) (τ σ : ℝ),
    fcMaxCutDeg n Δ τ σ ≤ fcMax (cutHolds (n := n)) τ σ ∧
      fcMaxCutDegSDP n Δ τ σ ≤ fcMaxSDP (cutHolds (n := n)) τ σ

Lean vertexCover_from_maxCut · ✅ kernel-checked · source

Statement in Lean
theorem vertexCover_from_maxCut : VertexCoverFromMaxCut

where VertexCoverFromMaxCut is (source):

/-- **Vertex cover.** MaxCUT on graphs with `n` vertices and maximum degree at most `Δ`, with
guarantees `τ |E|` and `σ |E|`, reduces to vertex cover on the induced subgraphs of maximum
degree at most `2Δ - 1` of the conflict graph, with guarantees `(1 - τ / 2) |W|` and
`(1 - σ / 2) |W|`. -/
def VertexCoverFromMaxCut : Prop :=
  ∀ (n Δ : ℕ) (τ σ : ℝ),
    fcMaxCutDeg n Δ τ σ ≤
        fcVertexCoverDeg (conflictGraph n) (2 * Δ - 1) (1 - τ / 2) (1 - σ / 2) ∧
      fcMaxCutDegSDP n Δ τ σ ≤
        fcVertexCoverDegSDP (conflictGraph n) (2 * Δ - 1) (1 - τ / 2) (1 - σ / 2)

Lean independentSet_from_maxCut · ✅ kernel-checked · source

Statement in Lean
theorem independentSet_from_maxCut : IndependentSetFromMaxCut

where IndependentSetFromMaxCut is (source):

/-- **Independent set.** MaxCUT on graphs with `n` vertices and maximum degree at most `Δ`, with
guarantees `τ |E|` and `σ |E|`, reduces to independent set on the induced subgraphs of maximum
degree at most `2Δ - 1` of the conflict graph, with guarantees `(τ / 2) |W|` and
`(σ / 2) |W|`. -/
def IndependentSetFromMaxCut : Prop :=
  ∀ (n Δ : ℕ) (τ σ : ℝ),
    fcMaxCutDeg n Δ τ σ ≤
        fcIndependentSetDeg (conflictGraph n) (2 * Δ - 1) (τ / 2) (σ / 2) ∧
      fcMaxCutDegSDP n Δ τ σ ≤
        fcIndependentSetDegSDP (conflictGraph n) (2 * Δ - 1) (τ / 2) (σ / 2)

/-! ### Lower bounds from unique disjointness -/

Lean rank_of_row_zeros · ✅ kernel-checked · source

Statement in Lean
theorem rank_of_row_zeros : RowZeros

where RowZeros is (source):

/-- **Rows with zeros.** If every row of a matrix has a zero entry, then its LP rank is its
nonnegative rank and its SDP rank is its PSD rank. -/
def RowZeros : Prop :=
  ∀ {I : Type u} {J : Type v} (M : Matrix I J ℝ), (∀ i, ∃ j, M i j = 0) →
    lpRank M = nonnegRank M ∧ sdpRank M = psdRank M

Lean independentSet_uniform · ✅ kernel-checked · source

Statement in Lean
theorem independentSet_uniform : IndependentSetUniform

where IndependentSetUniform is (source):

/-- **Independent sets in the uniform model.** For `0 < ρ ≤ 1`, every linear program for the
maximum independent set problem on the graphs with vertices among `n` given ones, in the uniform
model, with completeness guarantee `α(G) / ρ` and soundness guarantee `α(G)`, has at least
`2 ^ (n ρ / 8) - 1` inequalities. -/
def IndependentSetUniform : Prop :=
  ∀ (n : ℕ) (ρ : ℝ), 0 < ρ → ρ ≤ 1 →
    ∀ k : ℕ, (k : ℝ) + 1 < 2 ^ ((n : ℝ) * ρ / 8) →
      (k : ℕ∞) < fcLP 1 (indepValue (n := n)) (fun G => indepOpt G / ρ) indepOpt

Lean junta_lowerBound · ✅ kernel-checked · source

Statement in Lean
theorem junta_lowerBound : JuntaLowerBound

where JuntaLowerBound is (source):

/-- **Juntas.** For `1 ≤ k ≤ n`, every linear program that maximizes the nonnegative `k`-juntas
on `n` Boolean variables exactly has at least `C(n, k) / 2 ^ k` inequalities. -/
def JuntaLowerBound : Prop :=
  ∀ (n k : ℕ), 1 ≤ k → k ≤ n →
    ∀ m : ℕ, (m : ℝ) < (n.choose k : ℝ) / 2 ^ k →
      (m : ℕ∞) < fcLP 1 (fun (f : Junta n k) (s : Assignment n) => f.1 s) juntaMax juntaMax

AI use. The formalization and this page were developed with Claude (Anthropic) under the author’s direction and review, on top of the shared entry Extended formulations: the core and the entries on exponential lower bounds for polytopes, on common information and unique disjointness and on vertex cover.

Acknowledgements. This research was conducted in the context of the Agentic AI in Mathematics (EF-LiOpt-3) project at the Berlin Mathematics Research Center MATH+^+ (EXC-2046/2, project ID 390685689), funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy. This work has been partially supported by OpenAI’s Academic Researchers program.

License: CC BY 4.0

Comments.

Comments are external content (GitHub Discussions, shown with giscus) and need JavaScript.

References
  1. Braun, G., Pokutta, S., & Zink, D. (2014). Affine reductions for LPs and SDPs. 10.48550/arXiv.1410.8816
  2. Braun, G., Pokutta, S., & Zink, D. (2019). Affine reductions for LPs and SDPs. Mathematical Programming, 173(1–2), 281–312. 10.1007/s10107-017-1221-9
  3. Braun, G., Pokutta, S., & Zink, D. (2015). Inapproximability of combinatorial problems via small LPs and SDPs. Proceedings of the 47th Annual ACM Symposium on Theory of Computing, 107–116. 10.1145/2746539.2746550
  4. Chan, S. O., Lee, J. R., Raghavendra, P., & Steurer, D. (2016). Approximate constraint satisfaction requires large LP relaxations. Journal of the ACM, 63(4), 34:1-34:22. 10.1145/2811255
  5. Charikar, M., Makarychev, K., & Makarychev, Y. (2009). Integrality gaps for Sherali–Adams relaxations. Proceedings of the 41st Annual ACM Symposium on Theory of Computing, 283–292. 10.1145/1536414.1536455
  6. Bazzi, A., Fiorini, S., Pokutta, S., & Svensson, O. (2019). No small linear program approximates vertex cover within a factor 2−ϵ2 - \epsilon. Mathematics of Operations Research, 44(1). 10.1287/moor.2017.0918
  7. Kaibel, V., & Weltge, S. (2015). A Short Proof that the Extension Complexity of the Correlation Polytope Grows Exponentially. Discrete & Computational Geometry, 53(2), 397–401. 10.1007/s00454-014-9655-9