Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 15 — lattice points arbitrarily close to every half-line from a lattice point

Proved
MaxLatticeFree.Geometry.exists_lattice_point_near_halfLine

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

diophantine-approximationdiscrete-geometrylatticesp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let Λ\LambdaΛ be a lattice of a linear space V⊆RnV\subseteq\mathbb R^nV⊆Rn. Let y∈Λy\in\Lambday∈Λ and let r∈Vr\in Vr∈V be a nonzero direction (not necessarily a lattice direction). Then for every ε>0\varepsilon>0ε>0 and every λˉ≥0\bar\lambda\ge0λˉ≥0 there is a point z∈Λz\in\Lambdaz∈Λ with z≠yz\neq yz=y whose Euclidean distance to the half-line

{ y+λr∣λ≥λˉ }\{\,y+\lambda r \mid \lambda\ge\bar\lambda\,\}{y+λr∣λ≥λˉ}

is less than ε\varepsilonε.

This is a consequence of Dirichlet's simultaneous approximation theorem. It is the reason a maximal lattice-free set cannot have a recession direction that is not also a lineality direction (Lemma 16).

Formalization Note The distance from a point to the half-line is Metric.infDist; the half-line is nonempty, so no junk value arises.

Preamble
import Mathlib
import Definitions.Def_MaxLatticeFree_Geometry_IsLatticeOf
Formal statement
namespace MaxLatticeFree.Geometry

theorem exists_lattice_point_near_halfLine {n : ℕ} (Λ : AddSubgroup (EuclideanSpace ℝ (Fin n)))
    (V : Submodule ℝ (EuclideanSpace ℝ (Fin n))) (hΛ : IsLatticeOf Λ V)
    (y : EuclideanSpace ℝ (Fin n)) (hy : y ∈ Λ) (r : EuclideanSpace ℝ (Fin n)) (hrV : r ∈ V) (hr0 : r ≠ 0)
    (ε : ℝ) (hε : 0 < ε) (lam : ℝ) (hlam : 0 ≤ lam) :
    ∃ z ∈ Λ, z ≠ y ∧
      Metric.infDist z {p : EuclideanSpace ℝ (Fin n) | ∃ t : ℝ, lam ≤ t ∧ p = y + t • r} < ε := by sorry

end MaxLatticeFree.Geometry
Source
Basu, Conforti, Cornuéjols, Zambelli, Maximal lattice-free convex sets in linear subspaces, arXiv:1701.06543v1, p. 11, Lemma 15
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