Deficiency bound for equidistant witnesses with no three collinear points
ProvedEsgk.sum_two_sub_witnesses_lecombinatoricsdiscrete-geometrydistinct-distances
Let be an injective configuration of points in the plane, with image , and assume that no three points of are collinear. For indices let
be the number of configuration points equidistant from and . Let be the number of distinct values with ; since is injective, , the number of distinct distances determined by . Then every set of ordered pairs of distinct indices satisfies
The quantity measures how far lies above . In apex-counting arguments an upper bound for on the pairs of turns this inequality into an upper bound for .
Formalization Note is (IndexedEquidistantWitnesses p a b).card and is NumDistancesOrdered p. Indices are elements of Fin n, and the inequality is stated in the real numbers.
Preamble
/- 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_Energy import Definitions.Def_Esgk_EquidistantWitnessCounts import Definitions.Def_Esgk_Foundation import Definitions.Def_Esgk_PlanarGeneralPosition open EuclideanGeometry Esgk
Formal statement
namespace Esgk
theorem sum_two_sub_witnesses_le {n : ℕ} {p : Config n} (hp : Function.Injective p)
(hgp3 : NonTrilinear (Config.toFinset p : Set Point))
{Φ : Finset (Fin n × Fin n)} (hΦ : Φ ⊆ (Finset.univ : Finset (Fin n)).offDiag) :
∑ ab ∈ Φ, (2 - ((IndexedEquidistantWitnesses p ab.1 ab.2).card : ℝ)) ≤
2 * (n : ℝ) * (3 * (NumDistancesOrdered p : ℝ) - (n : ℝ) + 1) := by sorry
end EsgkSource
Lean formalization by Adam McKenna (2026), declaration Esgk.sum_two_sub_witnesses_le.