Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4.2 — a lattice point within ½(Σ b_j(j)²)^{1/2} of the projection of any point

Proved
KannanLattice.Core.exists_lattice_point_near_projection

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

closest-vector-problemgeometry-of-numberslatticesp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let b1,…,bmb_1,\dots,b_mb1​,…,bm​ be linearly independent vectors of Rk\mathcal R^kRk, L=L(b1,…,bm)L=L(b_1,\dots,b_m)L=L(b1​,…,bm​), and let b0∈Rkb_0\in\mathcal R^kb0​∈Rk be arbitrary. Let bˉ0\bar b_0bˉ0​ be the orthogonal projection of b0b_0b0​ onto span⁡{b1,…,bm}\operatorname{span}\{b_1,\dots,b_m\}span{b1​,…,bm​}. Then there is a point b∈Lb\in Lb∈L with

∣b−bˉ0∣≤12(∑j=1mbj(j)2)1/2,|b-\bar b_0|\le \frac12\Big(\sum_{j=1}^m b_j(j)^2\Big)^{1/2},∣b−bˉ0​∣≤21​(j=1∑m​bj​(j)2)1/2,

and consequently, for every index iii with bi(i)=max⁡jbj(j)b_i(i)=\max_j b_j(j)bi​(i)=maxj​bj​(j),

∣bˉ0−b∣≤m2 bi(i).|\bar b_0-b|\le \frac{\sqrt m}{2}\, b_i(i).∣bˉ0​−b∣≤2m​​bi​(i).

Here bj(j)=∣bj∗∣b_j(j)=|b_j^*|bj​(j)=∣bj∗​∣ is the jjj-th Gram–Schmidt length. This is the covering estimate behind nearest-plane rounding; it bounds the distance from any point of the span to the lattice by the Gram–Schmidt lengths of any basis (no reducedness is needed).

Formalization Note The paper's second sentence reads ∣b0−b∣≤n2bi(i)|b_0-b|\le\frac{\sqrt n}{2}b_i(i)∣b0​−b∣≤2n​​bi​(i), with b0b_0b0​ in place of bˉ0\bar b_0bˉ0​. For k>mk>mk>m and b0b_0b0​ off the span that is false, since ∣b0−b∣2=∣b0−bˉ0∣2+∣bˉ0−b∣2|b_0-b|^2=|b_0-\bar b_0|^2+|\bar b_0-b|^2∣b0​−b∣2=∣b0​−bˉ0​∣2+∣bˉ0​−b∣2; the paper uses it only with k=nk=nk=n, where bˉ0=b0\bar b_0=b_0bˉ0​=b0​. The statement here uses bˉ0\bar b_0bˉ0​, which follows from the first sentence. Both inequalities are asserted for the same lattice point bbb.

Preamble
import Mathlib
import Definitions.Def_KannanLattice_Core_Lattice
Formal statement
namespace KannanLattice.Core

/-- Proposition 4.2 of Kannan (1987), p. 23: for a lattice `L(b)` in `ℝᵏ` and any `b₀ ∈ ℝᵏ` with
orthogonal projection `b̄₀` onto `span_ℝ(b)`, some lattice point `v` satisfies
`|v − b̄₀| ≤ ½ (Σ_j b_j(j)²)^{1/2}`, and hence `|b̄₀ − v| ≤ (√m/2) b_i(i)` for every `i` at which
`b_i(i)` is maximal. (The paper's second sentence has `b₀` for `b̄₀`; corrected here.) -/
theorem exists_lattice_point_near_projection (m k : ℕ)
    (b : Fin m → EuclideanSpace ℝ (Fin k)) (hb : LinearIndependent ℝ b)
    (b₀ : EuclideanSpace ℝ (Fin k)) :
    ∃ v ∈ lattice b,
      ‖v - (Submodule.span ℝ (Set.range b)).starProjection b₀‖ ≤
          (1 / 2 : ℝ) * Real.sqrt (∑ j, gsLen b j ^ 2) ∧
      ∀ i : Fin m, (∀ j : Fin m, gsLen b j ≤ gsLen b i) →
        ‖(Submodule.span ℝ (Set.range b)).starProjection b₀ - v‖ ≤
          Real.sqrt m / 2 * gsLen b i := by sorry

end KannanLattice.Core
Source
Kannan, Minkowski's Convex Body Theorem and Integer Programming, Math. Oper. Res. 12 (1987); author's final manuscript (CMU-CS-96-105), p. 23, Proposition 4.2 (second sentence with b̄₀ for b₀)
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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me