Theorem 3, p. 3 — QP feasibility has small certificates, and a QP with a global optimum has an optimal solution of small bit-size (Vavasis)
ProvedMIQPInNP.SmallSol.theorem_3This is Vavasis's theorem that quadratic programming is in NP, as used by Del Pia, Dey and Molinaro.
For , , , and , write for the total bit-size of the data. There is a single polynomial with natural coefficients, fixed before , and the data, such that:
- Feasibility (continuous relaxation of (2)). If the real set is non-empty, it contains a rational point with .
- Optimization (continuous relaxation of (1)). If the quadratic program
has a global optimal solution, then it has a rational global optimal solution with .
The second part is the form in which the proof of Theorem 1 uses the result (pp. 6–9): optimal solutions of auxiliary quadratic programs over sets of small complexity have small complexity.
Formalization Note "Is in NP" is rendered as the existence of polynomial-size certificates, since Mathlib has no complexity class NP; checking a rational certificate is routine. The polynomial is a Polynomial ℕ quantified before every dimension and every datum: a bound chosen after the data would make the statement trivially true.
Differences from the source:
- reading: "the feasibility problem over the continuous relaxation of (2) is in NP" → every feasible instance has a rational feasible point of bit-size at most ; reason: Mathlib has no class NP, and a polynomial-size certificate is the content of the claim (the paper's own justification of Proposition 5, p. 5, reads "in NP" the same way).
- reading: "there exists a system of rational linear equations of -small complexity whose solution is one of the global optimal solutions" → there is a global optimal solution of bit-size at most ; reason: equivalent statements (by Cramer's rule the solution of a linear system of size has size polynomial in ; conversely is the solution of the system ), and this is the form the proof uses on pp. 6–9.
- generalization: (1) assumes symmetric → any rational ; reason: depends only on , whose size is polynomial in that of , so the statement specializes to the symmetric case.
- encoding: "polynomial" and "complexity" →
Polynomial ℕevaluated at Schrijver's bit-size; reason: every standard encoding and every real polynomial bound is polynomially equivalent to these.
import Mathlib import Definitions.Def_MIQPInNP_SmallSol_Setting
namespace MIQPInNP.SmallSol
/-- Theorem 3, p. 3 (Del Pia, Dey & Molinaro, arXiv:1407.4798v1). -/
theorem theorem_3 :
∃ g : Polynomial ℕ,
(∀ (n m : ℕ) (H : Matrix (Fin n) (Fin n) ℚ) (c : Fin n → ℚ) (d : ℚ)
(A : Matrix (Fin m) (Fin n) ℚ) (b : Fin m → ℚ),
(feasSet 0 H c d A b).Nonempty →
∃ xh : Fin n → ℚ, toReal xh ∈ feasSet 0 H c d A b ∧
vecSize xh ≤ g.eval (instSize H c d A b)) ∧
(∀ (n m : ℕ) (H : Matrix (Fin n) (Fin n) ℚ) (c : Fin n → ℚ) (d : ℚ)
(A : Matrix (Fin m) (Fin n) ℚ) (b : Fin m → ℚ),
(∃ x ∈ polyhedron A b, ∀ y ∈ polyhedron A b, quadVal H c 0 x ≤ quadVal H c 0 y) →
∃ xh : Fin n → ℚ, toReal xh ∈ polyhedron A b ∧
(∀ y ∈ polyhedron A b, quadVal H c 0 (toReal xh) ≤ quadVal H c 0 y) ∧
vecSize xh ≤ g.eval (instSize H c d A b)) := by sorry
end MIQPInNP.SmallSol
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.