Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4.3 — the tail of a closest lattice point lies in an explicit set of ≤ n^{n−i+1} candidates

Proved
KannanLattice.Core.closest_point_tail_mem_candidates

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 m≥2m\ge2m≥2, let b1,…,bmb_1,\dots,b_mb1​,…,bm​ be a reduced basis (Definition 2.6) of a lattice L⊆RkL\subseteq\mathcal R^kL⊆Rk, let b0∈Rkb_0\in\mathcal R^kb0​∈Rk, let bˉ0\bar b_0bˉ0​ be its orthogonal projection onto span⁡{b1,…,bm}\operatorname{span}\{b_1,\dots,b_m\}span{b1​,…,bm​}, and let iii be an index with bi(i)=max⁡jbj(j)b_i(i)=\max_j b_j(j)bi​(i)=maxj​bj​(j). Write PiP_iPi​ for the orthogonal projection onto the orthogonal complement of span⁡{b1,…,bi−1}\operatorname{span}\{b_1,\dots,b_{i-1}\}span{b1​,…,bi−1​} and let

T={(μi,…,μm)∈Zm−i+1:∣Pi(∑j=imμjbj−bˉ0)∣≤m2 bi(i)}.T=\Big\{(\mu_i,\dots,\mu_m)\in\mathbb Z^{m-i+1} : \Big|P_i\Big(\sum_{j=i}^m\mu_jb_j-\bar b_0\Big)\Big|\le\frac{\sqrt m}{2}\,b_i(i)\Big\}.T={(μi​,…,μm​)∈Zm−i+1:​Pi​(j=i∑m​μj​bj​−bˉ0​)​≤2m​​bi​(i)}.

Then TTT is finite,

∣T∣≤m m−i+1,|T|\le m^{\,m-i+1},∣T∣≤mm−i+1,

and whenever ∑j=1mλjbj\sum_{j=1}^m\lambda_jb_j∑j=1m​λj​bj​ (λj∈Z\lambda_j\in\mathbb Zλj​∈Z) is a closest point of LLL to b0b_0b0​, the tail (λi,…,λm)(\lambda_i,\dots,\lambda_m)(λi​,…,λm​) belongs to TTT.

This is the enumeration bound of the closest-vector procedure CLP′: only mm−i+1m^{m-i+1}mm−i+1 tails need to be tried, each followed by a recursive call in dimension i−1i-1i−1.

Formalization Note (1) The paper says "there exists an easily determined set TTT"; an existential TTT would be satisfied by the set of tails of closest points and lose the content, so the explicit set of the paper's proof is stated instead. (2) The paper's statement fails for n=1n=1n=1 (L=ZL=\mathbb ZL=Z, b0=12b_0=\tfrac12b0​=21​: two closest points, ∣T∣≤1|T|\le1∣T∣≤1); the procedure CLP′ handles n=1n=1n=1 separately, so m≥2m\ge2m≥2 is assumed. (3) Reducedness and the maximality of bi(i)b_i(i)bi​(i) are the standing assumptions of CLP′ ("assumes that the input basis is reduced in the sense of (2.7) and (2.8)", p. 23). (4) Indices are 0-based in Lean: the bound is m ^ (m - i) with 0-based i, the paper's nn−i+1n^{n-i+1}nn−i+1 with 1-based iii; tails are functions on {j : Fin m // i ≤ j}.

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

/-- Proposition 4.3 of Kannan (1987), pp. 23–24, with the proof's explicit candidate set `T` and
`m ≥ 2`. Let `b` be a reduced basis (Definition 2.6) of a lattice in `ℝᵏ`, `b₀ ∈ ℝᵏ`, `b̄₀` its
projection onto `span_ℝ(b)`, and `i` an index with `b_i(i) = max_j b_j(j)`. Let `T` be the set of
integer tails `μ = (μ_j)_{j ≥ i}` with `|P_i(Σ_{j ≥ i} μ_j b_j − b̄₀)| ≤ (√m/2) b_i(i)`, where `P_i`
projects orthogonally to `span(b_j : j < i)`. Then `T` is finite with at most `m^{m−i}` elements
(0-based `i`; the paper's `n^{n−i+1}`), and the tail of the coefficient vector of every closest
lattice point to `b₀` lies in `T`. -/
theorem closest_point_tail_mem_candidates (m k : ℕ) (hm : 2 ≤ m)
    (b : Fin m → EuclideanSpace ℝ (Fin k)) (hb : LinearIndependent ℝ b) (hred : IsReduced b)
    (b₀ : EuclideanSpace ℝ (Fin k)) (i : Fin m) (hi : ∀ j : Fin m, gsLen b j ≤ gsLen b i) :
    let T : Set ({j : Fin m // i ≤ j} → ℤ) :=
      {μ | ‖projOrth b i ((∑ j : {j : Fin m // i ≤ j}, (μ j : ℝ) • b j) -
              (Submodule.span ℝ (Set.range b)).starProjection b₀)‖ ≤
            Real.sqrt m / 2 * gsLen b i}
    T.Finite ∧ T.ncard ≤ m ^ (m - (i : ℕ)) ∧
      ∀ lam : Fin m → ℤ,
        (∀ w ∈ lattice b, ‖(∑ j, (lam j : ℝ) • b j) - b₀‖ ≤ ‖w - b₀‖) →
          (fun j : {j : Fin m // i ≤ j} => lam j) ∈ T := 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), pp. 23–24, Proposition 4.3 and its proof (explicit T, n ≥ 2); p. 23, procedure CLP′ (reduced input basis)
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