Documentation

LeanPool.DistinctDistances.ClosePairRowStability

Close-pair rows near the n/3 threshold #

Step 1 of docs/results/explicit-constant-gain-2026-10-18.md. A close-pair row is a sum of local distance degrees over the palette values below the threshold. Every degree is at most three, and the missing amounts at one vertex sum to Q = 3D - n + 1; so two rows at one threshold differ by at most Q. With the close-pair density of the thin annulus, every ball of radius ρ/20 about a point then holds at least 2n - 5D - 1 points.

noncomputable def Esgk.ClosePairRow {n : ℕ} (p : Config n) (i : Fin n) (T : ℝ) :

The close-pair row of one vertex at an inclusive squared threshold.

Equations
Instances For
    theorem Esgk.orderedClosePairs_card_eq_sum_row {n : ℕ} (p : Config n) (T : ℝ) :
    (OrderedClosePairs p T).card = ∑ i : Fin n, (ClosePairRow p i T).card

    The ordered close-pair count is the sum of the rows.

    theorem Esgk.closePairRow_card_eq_sum {n : ℕ} (p : Config n) (i : Fin n) (T : ℝ) :

    A close-pair row is the sum of the local degrees over the palette values below the threshold.

    theorem Esgk.closePairRow_card_stability {n : ℕ} {p : Config n} (hn : 0 < n) (hcap : ∀ (i : Fin n) (r : ℝ), (DistanceOutNeighborsAtValue p i r).card ≤ 3) (i j : Fin n) (T : ℝ) :
    ↑(ClosePairRow p i T).card - (3 * ↑(NumDistancesOrdered p) - ↑n + 1) ≤ ↑(ClosePairRow p j T).card

    Two close-pair rows at one threshold differ by at most the total degree deficit Q = 3D - n + 1.

    theorem Esgk.closedBall_card_lower_bound {n : ℕ} {p : Config n} (hp : Function.Injective p) (hgp3 : EuclideanGeometry.NonTrilinear ↑p.toFinset) (hgp4 : ∀ T ⊆ p.toFinset, T.card = 4 → ¬EuclideanGeometry.Cospherical ↑T) (hn : 2 ≤ n) {δ r : ℝ} (hD : ↑(NumDistances p) ≤ (1 / 3 + δ) * ↑n) (hx34 : 12 * δ + 4 / ↑n ≤ 3 / 4) (hr0 : 0 ≤ r) (hr : 4 * (12 * δ + 4 / ↑n) * distanceAnnulusRadius p ^ 2 ≤ r ^ 2) (j : Fin n) :
    2 * ↑n - 5 * ↑(NumDistances p) - 1 ≤ ↑{q : Fin n | dist (p j) (p q) ≤ r}.card

    Every ball of radius r about a point holds at least 2n - 5D - 1 points when D ≤ (1/3 + δ)n, 12δ + 4/n ≤ 3/4 and the close-pair scale 4(12δ + 4/n)ρ² is at most r².