Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Theorem 1, p. 124 — Problems 5 and 6 are equivalent

Proved
MurtyKabadi.Reduction.problems5_6_equiv

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1quadratic-programmingsubset-sum

Let d0;d1,…,dnd_0; d_1, \dots, d_nd0​;d1​,…,dn​ be positive integers and let δ\deltaδ be an integer with

δ>4(d0∑j=1ndj)2n3.\delta > 4\Big(d_0 \sum_{j=1}^n d_j\Big)^2 n^3.δ>4(d0​j=1∑n​dj​)2n3.

With f1f_1f1​ and the polytope P={(y,s):y,s≥0, ∑j(yj+sj)=n}P = \{(y,s) : y, s \ge 0,\ \sum_j (y_j + s_j) = n\}P={(y,s):y,s≥0, ∑j​(yj​+sj​)=n} as defined for the reduction, the subset sum instance is solvable if and only if there is (y,s)∈P(y, s) \in P(y,s)∈P with

f1(y,s)≤0.f_1(y, s) \le 0.f1​(y,s)≤0.

This is the first link of the chain from subset sum (Problem 5) to Problem 4: f1f_1f1​ is a sum of nonnegative terms on PPP that vanishes exactly at the 000–111 solutions yyy with s=e−ys = e - ys=e−y.

Formalization Note Only δ≥0\delta \ge 0δ≥0 is used for this step; the hypotheses are those of the whole reduction.

Preamble
import Mathlib
import Definitions.Def_MurtyKabadi_Reduction_SubsetSum
import Definitions.Def_MurtyKabadi_Reduction_Construction
Formal statement
namespace MurtyKabadi.Reduction

theorem problems5_6_equiv {n : ℕ} (d : Fin n → ℕ) (d0 δ : ℕ)
    (hd : ∀ j, 0 < d j) (hd0 : 0 < d0)
    (hδ : 4 * (d0 * ∑ j, d j) ^ 2 * n ^ 3 < δ) :
    SubsetSumSolvable d d0 ↔ ∃ p ∈ P n, f1 d d0 δ p.1 p.2 ≤ 0 := by sorry

end MurtyKabadi.Reduction
Source
Murty and Kabadi, Some NP-complete problems in quadratic and nonlinear programming, Math. Programming 39 (1987), p. 124, proof of Theorem 1, first paragraph (Problems 5 and 6 are equivalent)
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me