Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Closed ball of indices in an indexed planar configuration

Definition
Esgk_AnnulusClusterGeometry

by mysticflounder · Oct 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

discrete-geometrygeometry

For an indexed configuration p=(p1,…,pn)p=(p_1,\dots,p_n)p=(p1​,…,pn​) of points in the plane, an index iii and a real number ttt, ConfigClosedBall p i t is the set of indices

Bp(i,t)={ j: ∣pi−pj∣≤t }.B_p(i,t)=\{\,j:\ |p_i-p_j|\le t\,\}.Bp​(i,t)={j: ∣pi​−pj​∣≤t}.

It contains iii when t≥0t\ge 0t≥0 and is empty when t<0t<0t<0. When ppp is injective, its size is the number of configuration points in the closed disk of radius ttt about pip_ipi​. Lower bounds for these sizes express that a configuration has heavy small balls.

Formalization Note Indices are elements of Fin n, and the set is a Finset (Fin n).

Definition code
/-
Copyright (c) 2026 Adam McKenna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Adam McKenna
-/

import Definitions.Def_Esgk_Foundation

namespace Esgk

open scoped RealInnerProductSpace
variable {n : ℕ}

noncomputable def ConfigClosedBall (p : Config n) (i : Fin n) (t : ℝ) : Finset (Fin n) :=
  Finset.univ.filter (fun j ↦ dist (p i) (p j) ≤ t)

end Esgk

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me