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 and the solutions of one problem to those of another such that the value of the image is and the size of the image of is . Then a program for the second problem with completeness guarantee is a program for the first with completeness guarantee , and for exact reductions the soundness guarantees transform in the same way. The paper prints this corollary with and without the division by . 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 , : MaxCUT with guarantees is no harder than Max-2-XOR and Max-2-CSP with , Max-2-CONJSAT and MaxDICUT with , Max--SAT for with , Min-2-CNF deletion with and MinUnCUT with ; and MaxCUT on graphs of maximum degree is no harder than vertex cover with and independent set with on the induced subgraphs of degree at most of a conflict graph with 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 need inequalities, and maximizing nonnegative -juntas on variables needs .
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 for MaxCUT on vertices certifies the value on all graphs whose maximum cut has at most 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 has values for instances and solutions and is a maximization or a minimization problem. For a completeness guarantee and a soundness guarantee , is the least number of inequalities of a linear program with a point for every solution and an affine function for every instance whose optimum is bounded by , such that and the optimum of over the program is bounded by . For 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 of the instance, such as the number of its edges or clauses.
The two conditions give , hence
So the slack matrix of is a submatrix of the slack matrix of , with rows and columns , up to the positive factor ; the sign of 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 are bounded by , the values of at the solutions are bounded by , and by exactness so are all values of . So maps instances that satisfy to instances that satisfy .
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 of the square and the instances are the functions and , with sizes and with .
The slack matrix of has the entries , which are 0 or 2. It is the slack matrix of the square. Two opposite rows add up to the constant 2, so its LP rank is its nonnegative rank, and it has a fooling set of four entries: the rows , , , with the vertices , , , . So the formulation complexity is at least 4.
The slack matrix of has the entries . The triangle with the inequalities , and contains the square, and
is an LP factorization with three terms. So the formulation complexity is at most 3.
Constraint satisfaction problems¶
A lower bound on is a lower bound on the size of the programs that approximate within the factor , which is at most 1 for a maximum problem and at least 1 for a minimum problem. The problems below have the assignments of Boolean variables 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 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 or .
A graph is the instance of Max-2-XOR with the constraints of its edges (Section 2 of the paper).
Different equations are different functions of the assignment: the value at the assignment zero gives , and the values at the assignments with a single one give and . So Max-2-XOR is a subproblem of Max-2-CSP.
The equation is replaced by the two conjunctions and of its disjunctive normal form, and by and . At most one of the two conjunctions holds, and one holds exactly if the equation does. So , and .
The edge is replaced by the clauses and . Both hold if the edge is cut, and exactly one holds otherwise. So , and . A clause with at most two literals is a clause with at most literals.
The edge is replaced by the two arcs and . One of them is satisfied if the edge is cut, and none otherwise. So , and .
The clauses are those of Max--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 minus the number of cut edges: , and .
The violated constraints are the edges that are not cut, so , and .
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 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 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 meets 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 is the vertex cover number of the induced subgraph; in the same way for independent sets.
A graph on the variables is mapped to the set of the partial assignments of its edges, with , and an assignment to the set of the partial assignments that does not extend. Two partial assignments that extends are not adjacent, so is a vertex cover. For a cut edge extends exactly one of the two partial assignments, and for an edge that is not cut none, so
which is Corollary 4.4 with , and . The reduction is exact: the complement of a vertex cover consists of pairwise non-adjacent partial assignments, which have a common extension , and then . For the degrees, a partial assignment of the edge is adjacent to the other partial assignment of this edge and to exactly one partial assignment of every other edge of at or at . This gives at most neighbours in .
Here an assignment is mapped to the set of the partial assignments that it extends, an independent set that meets in vertices, so , and . Every independent set has a common extension and is contained in the image of this extension.
The guarantees of the paper¶
With the guarantees and of Theorem 4.5 for MaxCUT, the reductions give the following guarantees and approximation factors, which are those of the paper with in place of where the size doubles.
| Problem | Completeness | Soundness | Factor |
|---|---|---|---|
| Vertex cover | |||
| Independent set | |||
| Max-2-CSP | |||
| Max-2-CONJSAT, MaxDICUT | |||
| Max--SAT, | |||
| Min-2-CNF deletion | any constant | ||
| MinUnCUT | any constant |
For semidefinite programs the paper assumes that MaxCUT is hard with soundness , where is the constant of Goemans and Williamson (Conjecture 4.6). The inequalities above transfer this assumption in the same way, with in place of .
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 , of an -element set and prescribed entries at the pairs with . 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 a zero entry in the row forces , 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 leaves an independent set with at least vertices, and for an independent set the value is its size, so is the independence number of . 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 on a nonempty set the value of is 0 if is disjoint from , it is 1 if meets in one vertex, and it is never more than 1: a set of vertices of a complete graph spans at least edges. So , and the slack of the row is at the sets disjoint from and at the sets that meet in one vertex. With a constant row for 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 . A constant row does not change the LP rank, and the LP rank is at least the nonnegative rank minus one. For the bound is : no linear program of subexponential size approximates the independence number within in this model.
For a set of variables let , where is the number of variables of that are true in . This is a nonnegative -junta with maximum , and its slack at the assignment with the set of true variables is . 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 pairs of a set with elements and a set 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 of them. The Sherali–Adams relaxation of level has inequalities, so for constant 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 ), 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--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--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¶
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 hrFormal verification — ✅ all 43 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Definition 2.2 —
Lemmata.AffineReductions.satCount(source)◇ elaborated definition (Lean v4.35.0) Definition 6.9 —
Lemmata.AffineReductions.unsatCount(source)◇ elaborated definition (Lean v4.35.0) Proportional guarantees —
Lemmata.AffineReductions.scaled(source)◇ elaborated definition (Lean v4.35.0) LP formulation complexity of a maximum problem —
Lemmata.AffineReductions.fcMax(source)◇ elaborated definition (Lean v4.35.0) SDP formulation complexity of a maximum problem —
Lemmata.AffineReductions.fcMaxSDP(source)◇ elaborated definition (Lean v4.35.0) LP formulation complexity of a minimum problem —
Lemmata.AffineReductions.fcMin(source)◇ elaborated definition (Lean v4.35.0) SDP formulation complexity of a minimum problem —
Lemmata.AffineReductions.fcMinSDP(source)◇ elaborated definition (Lean v4.35.0) Definition 2.4 —
Lemmata.AffineReductions.cutHolds(source)◇ elaborated definition (Lean v4.35.0) Definition 2.3 —
Lemmata.AffineReductions.xorHolds(source)◇ elaborated definition (Lean v4.35.0) Definition 6.3 —
Lemmata.AffineReductions.binaryHolds(source)◇ elaborated definition (Lean v4.35.0) Definition 6.3 —
Lemmata.AffineReductions.conjHolds(source)◇ elaborated definition (Lean v4.35.0) Definition 6.5 —
Lemmata.AffineReductions.satHolds(source)◇ elaborated definition (Lean v4.35.0) Definition 6.7 —
Lemmata.AffineReductions.dicutHolds(source)◇ elaborated definition (Lean v4.35.0) Degrees —
Lemmata.AffineReductions.edgeDegree(source)◇ elaborated definition (Lean v4.35.0) Definition 2.4 —
Lemmata.AffineReductions.fcMaxCutDeg(source)◇ elaborated definition (Lean v4.35.0) MaxCUT on graphs of bounded degree, semidefinite case —
Lemmata.AffineReductions.fcMaxCutDegSDP(source)◇ elaborated definition (Lean v4.35.0) Induced subgraphs of bounded degree —
Lemmata.AffineReductions.InducedDegreeLE(source)◇ elaborated definition (Lean v4.35.0) Definition 5.1 —
Lemmata.AffineReductions.fcVertexCoverDeg(source)◇ elaborated definition (Lean v4.35.0) Vertex cover, semidefinite case —
Lemmata.AffineReductions.fcVertexCoverDegSDP(source)◇ elaborated definition (Lean v4.35.0) Definition 5.2 —
Lemmata.AffineReductions.fcIndependentSetDeg(source)◇ elaborated definition (Lean v4.35.0) Independent set, semidefinite case —
Lemmata.AffineReductions.fcIndependentSetDegSDP(source)◇ elaborated definition (Lean v4.35.0) The conflict graph —
Lemmata.AffineReductions.conflictGraph(source)◇ elaborated definition (Lean v4.35.0) The uniform model for independent sets —
Lemmata.AffineReductions.indepValue(source)◇ elaborated definition (Lean v4.35.0) The optimum in the uniform model —
Lemmata.AffineReductions.indepOpt(source)◇ elaborated definition (Lean v4.35.0) Juntas —
Lemmata.AffineReductions.Junta(source)◇ elaborated definition (Lean v4.35.0) The maximum of a junta —
Lemmata.AffineReductions.juntaMax(source)✓ kernel-checked (Lean v4.35.0) Corollary 4.4 —
Lemmata.AffineReductions.simple_reduction(source)✓ kernel-checked (Lean v4.35.0) Exact simple reductions —
Lemmata.AffineReductions.simple_reduction_exact(source)✓ kernel-checked (Lean v4.35.0) The printed form of the corollary —
Lemmata.AffineReductions.printed_corollary_fails(source)✓ kernel-checked (Lean v4.35.0) MaxCUT and Max-2-XOR —
Lemmata.AffineReductions.maxCut_le_maxXor(source)✓ kernel-checked (Lean v4.35.0) Corollary 6.4 —
Lemmata.AffineReductions.maxXor_le_maxBinary(source)✓ kernel-checked (Lean v4.35.0) Corollary 6.4 —
Lemmata.AffineReductions.maxXor_le_maxConj(source)✓ kernel-checked (Lean v4.35.0) Corollary 6.6 —
Lemmata.AffineReductions.maxCut_le_maxSat(source)✓ kernel-checked (Lean v4.35.0) Corollary 6.8 —
Lemmata.AffineReductions.maxCut_le_maxDicut(source)✓ kernel-checked (Lean v4.35.0) Theorem 6.11 —
Lemmata.AffineReductions.maxCut_le_minCnf(source)✓ kernel-checked (Lean v4.35.0) Theorem 6.11 —
Lemmata.AffineReductions.maxCut_le_minUncut(source)✓ kernel-checked (Lean v4.35.0) The size of the conflict graph —
Lemmata.AffineReductions.card_conflictGraph(source)✓ kernel-checked (Lean v4.35.0) Bounded degree is a restriction —
Lemmata.AffineReductions.maxCutDeg_le_maxCut(source)✓ kernel-checked (Lean v4.35.0) Theorem 5.3 —
Lemmata.AffineReductions.vertexCover_from_maxCut(source)✓ kernel-checked (Lean v4.35.0) Theorem 5.3 —
Lemmata.AffineReductions.independentSet_from_maxCut(source)✓ kernel-checked (Lean v4.35.0) Remark 3.6 —
Lemmata.AffineReductions.rank_of_row_zeros(source)✓ kernel-checked (Lean v4.35.0) Example 3.10 —
Lemmata.AffineReductions.independentSet_uniform(source)✓ kernel-checked (Lean v4.35.0) Example 3.11 —
Lemmata.AffineReductions.junta_lowerBound(source)
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.cardLean 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.2Lean 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.2Lean 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 sLean 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.2Lean 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).cardLean 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 SLean 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 sLean simple_reduction · ✅ kernel-checked · source
Statement in Lean
theorem simple_reduction : SimpleReductionwhere 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 : SimpleReductionExactwhere 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 : PrintedCorollaryFailswhere 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 : MaxCutMaxXorwhere 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 : MaxXorMaxBinarywhere 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 : MaxXorMaxConjwhere 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 : MaxCutMaxSatwhere 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 : MaxCutMaxDicutwhere 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 : MaxCutMinCnfwhere 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 : MaxCutMinUncutwhere 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 : ConflictGraphCardwhere 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 : MaxCutDegMaxCutwhere 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 : VertexCoverFromMaxCutwhere 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 : IndependentSetFromMaxCutwhere 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 : RowZeroswhere 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 MLean independentSet_uniform · ✅ kernel-checked · source
Statement in Lean
theorem independentSet_uniform : IndependentSetUniformwhere 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 / ρ) indepOptLean junta_lowerBound · ✅ kernel-checked · source
Statement in Lean
theorem junta_lowerBound : JuntaLowerBoundwhere 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 juntaMaxAI 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.
- Braun, G., Pokutta, S., & Zink, D. (2014). Affine reductions for LPs and SDPs. 10.48550/arXiv.1410.8816
- 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
- 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
- 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
- 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
- Bazzi, A., Fiorini, S., Pokutta, S., & Svensson, O. (2019). No small linear program approximates vertex cover within a factor . Mathematics of Operations Research, 44(1). 10.1287/moor.2017.0918
- 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