Minkowski's Convex Body Theorem and Integer Programming: Lattice-Free Convex Bodies Meet Few Translates of an Integral SubspaceResearch Paper
Motivation
Integer programming asks whether a system of linear inequalities has a solution . In fixed dimension it is solvable in polynomial time: Lenstra (1983) proved this by showing that a convex body without integer points is "flat" in some integral direction, so that the search splits into few lower-dimensional subproblems. Kannan's 1987 paper in Mathematics of Operations Research sharpened this approach. It computes a Korkine–Zolotarev ("reduced") basis of a lattice, solves the shortest and closest vector problems exactly in operations, and runs integer programming in arithmetic operations. Underneath the algorithm sits a purely geometric statement, Theorem (5.5): a lattice-free convex body meets only boundedly many integer translates of some integral subspace.
Timeline.
- Korkine and Zolotareff (1873): the reduced bases used here.
- Minkowski (1896): a symmetric convex body of volume greater than contains a nonzero integer point.
- Khinchine (1948): lattice-free convex bodies have lattice width bounded by a function of alone (the flatness theorem).
- Lenstra (1983): integer programming in fixed dimension is polynomial, via a flat direction.
- Kannan (1987, this paper): Theorem (5.5), with subspaces of any dimension between and and an explicit bound .
- Kannan and Lovász (1988), Banaszczyk et al. (1999), and later work: polynomial bounds on the flatness constant.
Setting
is Euclidean space with dot product and length , and is the set of integer vectors. For linearly independent , the lattice is the set of integer combinations , , and is a basis. Gram–Schmidt orthogonalisation gives and unit vectors , and , so and . The determinant is . is the length of a shortest nonzero vector of . The projected lattice is the image of under orthogonal projection onto the complement of . A basis is reduced (Definition 2.6) if for every and for .
A convex body is a convex set of positive volume, which for a convex set means nonempty interior. A subspace has a basis of integer vectors if it is the real span of integer vectors. Its integer translates are the sets with .
In Lean, is EuclideanSpace ℝ (Fin k), a basis is b : Fin m → EuclideanSpace ℝ (Fin k), the lattice is lattice b = Submodule.span ℤ (Set.range b), is gsLen b j, is gsCoeff b i j, is latticeDet b, is lambdaOne, is projLattice b j, and a reduced basis is IsReduced b.
Formalization targets
Goal: Theorem (5.5), corrected reading
For and every bounded convex set with nonempty interior and there is a subspace spanned by integer vectors with and
The printed theorem allows "an dimensional space " with and bound . Taken literally that is trivial (, one translate). The proof on the same page takes , of dimension , and remarks that this "ensures that the subspace is always of dimension at least 1". The goal states that reading.
Milestones
- Theorem (1.11), Minkowski's convex body theorem (referenced from the platform, in Mathlib's general form).
- Theorem (1.12): every -dimensional lattice has a nonzero vector with .
- Proposition 1.9: a primitive lattice vector belongs to some basis.
- Proposition 2.16, existence form: every lattice has a reduced basis.
- Proposition 4.2: for any with projection onto the span, some has .
- Proposition 4.3: for a reduced basis and maximising , the tail of every closest lattice point to lies in an explicit set of at most integer vectors.
Significance
Theorem (5.5) is a structural form of the flatness theorem. For it says that a lattice-free convex body meets fewer than consecutive integer hyperplanes of some integral direction. For smaller it gives a finer decomposition of into translates, each a lower-dimensional integer program. This is the recursion behind fixed-dimension integer programming, and statements of this form are used in lattice-point enumeration, in the geometry of numbers (covering minima), and in cutting-plane theory (lattice-free bodies define split and intersection cuts). Propositions 4.2 and 4.3 are the correctness core of exact closest-vector enumeration.
The results are proved in the literature, though Theorem (5.5) is proved "albeit sketchily" in the paper itself. As far as is known, none of them is formalized: Mathlib has Minkowski's convex body theorem and the ZLattice API, but not Gram–Schmidt lattice invariants, Korkine–Zolotarev bases, Hermite-type bounds, nearest-plane rounding, or any flatness theorem. This mission produces the first machine-checked versions. It also corrects three statements that are wrong as printed (below), so the formal statements are the ones that can be relied on.
Difficulty
The naive route to (5.5) is to take a flat direction directly: bound the lattice width of and count hyperplanes. That needs a flatness theorem with an explicit bound below , which is itself the hard part. The paper's argument instead needs John's theorem (every convex body lies between an ellipsoid and its -fold dilation), a reduced basis of the transformed lattice, and a counting argument across projected lattices that combines Minkowski's bound on each with the covering estimate of Proposition 4.2. None of John's theorem, reduced bases or the projected-lattice counting is in Mathlib.
Proposition 4.3 is also delicate as printed: the per-coordinate count on p. 24 undercounts the integers in a closed interval, so the printed arithmetic cannot be transcribed as it stands. Proposition 2.16 in the paper is the correctness of the algorithm SHORTEST. Here only the existence of a reduced basis is needed, which requires attainment of on every projected lattice and a lifting argument (Proposition 1.9).
Formalization scope
Conventions: indices are 0-based (Fin m), so the paper's is projLattice b (j-1) and its bound is m ^ (m - i). Gram–Schmidt is Mathlib's unnormalised gramSchmidt. Lattices are Submodule ℤs of a real Euclidean space generated by a linearly independent family, and is allowed, because (1.12) and 4.2 are applied to projected lattices. The goal counts translates as sets with Set.encard, so the bound includes finiteness. is assumed convex, bounded and with nonempty interior, but not closed.
Three printed statements are corrected, and the corrections are recorded in each item's Formalization Note.
- (1.12)'s constant is false for (for example , or the hexagonal lattice) and is replaced by , the constant the paper's own later proofs use.
- Proposition 4.2's second sentence is stated for instead of .
- Proposition 4.3 fails at and is stated for with the proof's explicit candidate set , since an existential is satisfied by the set of tails of closest points and says nothing.
Trivializing formalizations are ruled out: the goal forbids , which gives one translate, and , where no translate meets . It requires nonempty interior (the empty set would satisfy everything) and counts with encard (an infinite count cannot become ).
Out of scope: the paper's algorithms (SHORTEST, SELECT-BASIS, ENUMERATE, CLP, CLP′, ILP) and their operation and bit counts (Theorems 2.17, 3.9, 4.5, 5.4), because Mathlib has no cost model. Also out of scope is §6 (NP-completeness of the closest vector problem and Cook reductions), because Mathlib has no complexity classes. The definitions of this mission (lattice, gsLen, gsCoeff, latticeDet, lambdaOne, projLattice, IsReduced) are reusable for any later work on lattice reduction. Contributions are welcome at every level: John's theorem, Hermite-type bounds, Korkine–Zolotarev existence, and the counting lemmas.
Selected references
- R. Kannan, Minkowski's Convex Body Theorem and Integer Programming, Mathematics of Operations Research 12(3):415–440, 1987. https://doi.org/10.1287/moor.12.3.415
- H. W. Lenstra Jr., Integer programming with a fixed number of variables, Mathematics of Operations Research 8(4):538–548, 1983. https://doi.org/10.1287/moor.8.4.538
- R. Kannan, L. Lovász, Covering minima and lattice-point-free convex bodies, Annals of Mathematics 128(3):577–602, 1988. https://doi.org/10.2307/1971436
- A. K. Lenstra, H. W. Lenstra Jr., L. Lovász, Factoring polynomials with rational coefficients, Mathematische Annalen 261:515–534, 1982. https://doi.org/10.1007/BF01457454
- F. John, Extremum problems with inequalities as subsidiary conditions, Studies and Essays presented to R. Courant, 1948, 187–204.