Row of close points at a squared-distance threshold
DefinitionEsgk_ClosePairRowStabilitydiscrete-geometrydistinct-distances
For an indexed configuration of points in the plane, an index and a real number , ClosePairRow p i T is the set of indices
The threshold is a squared distance. Let be the number of distance values with , let be the number of all distance values, and put . If and every circle about a configuration point contains at most three indices , then every row satisfies
so two rows at the same threshold differ by at most .
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 EuclideanGeometry
variable {n : ℕ}
noncomputable def ClosePairRow (p : Config n) (i : Fin n) (T : ℝ) : Finset (Fin n) :=
Finset.univ.filter (fun j ↦ i ≠ j ∧ dist (p i) (p j) ^ 2 ≤ T)
end Esgk