Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Theorem 1, p. 125 — Problems 8 and 9 are equivalent

Proved
MurtyKabadi.Reduction.problems8_9_equiv

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

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

Let n≥1n \ge 1n≥1 and let d0;d1,…,dnd_0; d_1, \dots, d_nd0​;d1​,…,dn​ be positive integers. Let lll be the total number of decimal digits of d0,d1,…,dnd_0, d_1, \dots, d_nd0​,d1​,…,dn​, let δ\deltaδ be an integer with δ>4(d0∑jdj)2n3\delta > 4\big(d_0 \sum_j d_j\big)^2 n^3δ>4(d0​∑j​dj​)2n3, and let ε\varepsilonε be a rational number with

0<ε<2−nl2.0 < \varepsilon < 2^{-n l^2}.0<ε<2−nl2.

Then

∃(y,s)∈P: f4(y,s)≤0⟺∃(y,s)∈P: f5(y,s)<0.\exists (y,s) \in P:\ f_4(y,s) \le 0 \quad\Longleftrightarrow\quad \exists (y,s) \in P:\ f_5(y,s) < 0.∃(y,s)∈P: f4​(y,s)≤0⟺∃(y,s)∈P: f5​(y,s)<0.

Since f5=f4−εf_5 = f_4 - \varepsilonf5​=f4​−ε on PPP, this says that when f4f_4f4​ is positive on all of PPP, its minimum over PPP is at least ε\varepsilonε: the explicit, polynomially-sized precision is enough to turn the non-strict question into a strict one.

Formalization Note The bound ε<2−nl2\varepsilon < 2^{-nl^2}ε<2−nl2 is written multiplicatively, ε⋅2nl2<1\varepsilon \cdot 2^{n l^2} < 1ε⋅2nl2<1, in Q\mathbb QQ. The hypothesis n≥1n \ge 1n≥1 is the paper's tacit assumption; at n=0n = 0n=0 both f4f_4f4​ and f5f_5f5​ vanish on P={(0,0)}P = \{(0,0)\}P={(0,0)} in Lean, and the statement would be false.

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

theorem problems8_9_equiv {n : ℕ} (hn : 0 < n) (d : Fin n → ℕ) (d0 δ : ℕ) (ε : ℚ)
    (hd : ∀ j, 0 < d j) (hd0 : 0 < d0)
    (hδ : 4 * (d0 * ∑ j, d j) ^ 2 * n ^ 3 < δ)
    (hε0 : 0 < ε) (hε : ε * (2 : ℚ) ^ (n * digitCount d d0 ^ 2) < 1) :
    (∃ p ∈ P n, f4 d d0 δ p.1 p.2 ≤ 0) ↔ ∃ p ∈ P n, f5 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. 125, proof of Theorem 1, second paragraph (Problems 8 and 9 are equivalent); ε and l defined on p. 123
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