Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 2 — a non-empty mixed-integer quadratic feasible set contains a rational point of polynomial bit-size

Proved
MIQPInNP.SmallSol.theorem_1

by mikedeng1 · Oct 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

computational-complexitymixed-integer-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1polyhedraquadratic-programming

Let n,pn,pn,p be positive integers with p≤np\le np≤n, let m≥0m\ge0m≥0, and let H∈Qn×nH\in\mathbb Q^{n\times n}H∈Qn×n, c∈Qnc\in\mathbb Q^nc∈Qn, d∈Qd\in\mathbb Qd∈Q, A∈Qm×nA\in\mathbb Q^{m\times n}A∈Qm×n, b∈Qmb\in\mathbb Q^mb∈Qm. Let φ\varphiφ be the complexity (total bit-size) of {H,c,d,A,b}\{H,c,d,A,b\}{H,c,d,A,b} and let

F(H,c,d,A,b)={x∈Rn:x⊤Hx+c⊤x+d≤0, Ax≤b, x∈Zp×Rn−p}.\mathcal F(H,c,d,A,b) = \{x\in\mathbb R^n : x^\top Hx + c^\top x + d\le 0,\ Ax\le b,\ x\in\mathbb Z^p\times\mathbb R^{n-p}\}.F(H,c,d,A,b)={x∈Rn:x⊤Hx+c⊤x+d≤0, Ax≤b, x∈Zp×Rn−p}.

There is a single polynomial fff, fixed before nnn, ppp, mmm and the data, such that: if F(H,c,d,A,b)\mathcal F(H,c,d,A,b)F(H,c,d,A,b) is non-empty, then it contains a rational point x0x^0x0 with

size⁡(x0)≤f(φ).\operatorname{size}(x^0)\le f(\varphi).size(x0)≤f(φ).

Such an x0x^0x0 is a polynomial-length certificate for yes-instances of decision MIQP, so the decision versions of integer and mixed-integer quadratic programming are in NP (Corollary 2 of the paper). The result generalizes the classical facts that quadratic programming (Vavasis) and integer linear programming are in NP.

Formalization Note Non-emptiness is assumed over the reals (the first ppp coordinates integral), and the conclusion asks for a rational point whose first ppp coordinates are integers. HHH need not be symmetric, as in the theorem. The polynomial is a Polynomial ℕ quantified before all dimensions and data; a polynomial chosen after the instance would make the statement trivial.

Differences from the source:

  • reading: "fff is a polynomial function" → one polynomial fff quantified before nnn, ppp, mmm and the data; reason: an instance-dependent bound is trivially true, and the paper's definition of O\mathcal OO-small complexity (§2.1, p. 3: "there is a polynomial ppp such that for every input object") fixes this order.
  • encoding: x∈Zp×Rn−px\in\mathbb Z^p\times\mathbb R^{n-p}x∈Zp×Rn−p with n,p∈Z++n,p\in\mathbb Z_{++}n,p∈Z++​ → hypotheses 0<n0<n0<n, 0<p0<p0<p, p≤np\le np≤n; reason: p≤np\le np≤n is implicit in Rn−p\mathbb R^{n-p}Rn−p.
  • encoding: "complexity" and "polynomial" → Schrijver's bit-size and Polynomial ℕ; reason: polynomially equivalent to any standard binary encoding and any polynomial bound.
Preamble
import Mathlib
import Definitions.Def_MIQPInNP_SmallSol_Setting
Formal statement
namespace MIQPInNP.SmallSol

/-- Theorem 1, p. 2 (Del Pia, Dey & Molinaro, arXiv:1407.4798v1). -/
theorem theorem_1 :
    ∃ f : Polynomial ℕ, ∀ (n p m : ℕ), 0 < n → 0 < p → p ≤ n →
      ∀ (H : Matrix (Fin n) (Fin n) ℚ) (c : Fin n → ℚ) (d : ℚ)
        (A : Matrix (Fin m) (Fin n) ℚ) (b : Fin m → ℚ),
        (feasSet p H c d A b).Nonempty →
        ∃ x0 : Fin n → ℚ, toReal x0 ∈ feasSet p H c d A b ∧
          vecSize x0 ≤ f.eval (instSize H c d A b) := by sorry

end MIQPInNP.SmallSol
Source
Del Pia, Dey & Molinaro, Mixed-integer quadratic programming is in NP, arXiv:1407.4798v1, p. 2, Theorem 1 (with Equation (2), p. 1)
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 24, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me