Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1.9 — a primitive lattice vector belongs to some basis

Proved
KannanLattice.Core.exists_basis_mem_of_primitive

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

geometry-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 and L=L(b1,…,bm)L=L(b_1,\dots,b_m)L=L(b1​,…,bm​). Let v∈Lv\in Lv∈L be nonzero and primitive: λv∉L\lambda v\notin Lλv∈/L for every real λ∈(0,1)\lambda\in(0,1)λ∈(0,1). Then there is a basis of LLL containing vvv, that is, linearly independent vectors b1′,…,bm′b_1',\dots,b_m'b1′​,…,bm′​ with

L(b1′,…,bm′)=L(b1,…,bm)andv∈{b1′,…,bm′}.L(b_1',\dots,b_m')=L(b_1,\dots,b_m)\quad\text{and}\quad v\in\{b_1',\dots,b_m'\}.L(b1′​,…,bm′​)=L(b1​,…,bm​)andv∈{b1′​,…,bm′​}.

Primitive vectors are exactly the vectors that can start a basis; in particular a shortest nonzero vector of a lattice can be completed to a basis, which is how reduced bases are built.

Formalization Note "A basis of the lattice" is a linearly independent family of the same size mmm generating the same lattice over Z\mathbb ZZ (every basis of an mmm-dimensional lattice has mmm elements, Lemma (1.1)).

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

/-- Proposition 1.9 of Kannan (1987), p. 8: a primitive vector `v` of the lattice `L(b)` (nonzero,
and `t • v ∉ L(b)` for every real `t ∈ (0, 1)`) belongs to some basis of the lattice. -/
theorem exists_basis_mem_of_primitive (m k : ℕ)
    (b : Fin m → EuclideanSpace ℝ (Fin k)) (hb : LinearIndependent ℝ b)
    (v : EuclideanSpace ℝ (Fin k)) (hv : v ∈ lattice b) (hv0 : v ≠ 0)
    (hprim : ∀ t : ℝ, 0 < t → t < 1 → t • v ∉ lattice b) :
    ∃ b' : Fin m → EuclideanSpace ℝ (Fin k),
      LinearIndependent ℝ b' ∧ lattice b' = lattice b ∧ v ∈ Set.range b' := 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. 8, Proposition 1.9
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