Documentation

LeanPool.DistinctDistances.ThinAnnulus

A centroid annulus from a nearly saturated distance palette #

Formalizes §3.1 of docs/results/nonquantitative-route-assessment-2026-10-06.md. The geometric input is injectivity and no four cocircular points. The result holds at every vertex. The final lower bound includes its vacuous regime. This is a stability theorem, not a stronger distinct-distance lower bound.

noncomputable def Esgk.centroidSquaredMass {n : ℕ} (p : Config n) :

The total squared distance to the configuration centroid.

Equations
Instances For
    noncomputable def Esgk.distanceAnnulusRadiusSq {n : ℕ} (p : Config n) :

    The squared radius furnished by the common palette capacity.

    Equations
    Instances For
      noncomputable def Esgk.distanceAnnulusRadius {n : ℕ} (p : Config n) :

      The nonnegative radius furnished by the common palette capacity.

      Equations
      Instances For
        theorem Esgk.sum_sub_configCentroid {n : ℕ} (p : Config n) (hn : 0 < n) :
        ∑ i : Fin n, (p i - configCentroid p) = 0

        The configuration translated by its centroid has vector sum zero.

        theorem Esgk.sum_sqDistance_eq_centroid {n : ℕ} (p : Config n) (hn : 0 < n) (i : Fin n) :
        ∑ j : Fin n, dist (p i) (p j) ^ 2 = ↑n * dist (p i) (configCentroid p) ^ 2 + centroidSquaredMass p

        The squared-distance row identity with its exact centroid offset.

        theorem Esgk.sum_distanceDegreeDeficit {n : ℕ} (p : Config n) (hn : 0 < n) (i : Fin n) :
        ∑ r ∈ OrderedDistanceValues p, (3 - ↑(DistanceOutNeighborsAtValue p i r).card) = 3 * ↑(NumDistancesOrdered p) - ↑n + 1

        The missing degree at every vertex over the global palette is exactly 3*D - n + 1, in real arithmetic (including unrealized local distances).

        theorem Esgk.sum_weighted_distanceDegreeDeficit {n : ℕ} (p : Config n) (i : Fin n) :
        ∑ r ∈ OrderedDistanceValues p, (3 - ↑(DistanceOutNeighborsAtValue p i r).card) * r ^ 2 = 3 * ∑ r ∈ OrderedDistanceValues p, r ^ 2 - ∑ j : Fin n, dist (p i) (p j) ^ 2

        The weighted missing-degree sum is the difference between palette capacity and the actual squared-distance row.

        theorem Esgk.weighted_distanceDegreeDeficit_le {n : ℕ} {p : Config n} (hn : 0 < n) (hcap : ∀ (i : Fin n) (r : ℝ), (DistanceOutNeighborsAtValue p i r).card ≤ 3) {B q : ℝ} (hB : 0 ≤ B) (hpal : ∀ r ∈ OrderedDistanceValues p, r ^ 2 ≤ B) (hq : 3 * ↑(NumDistancesOrdered p) - ↑n + 1 ≤ q) (i : Fin n) :
        ∑ r ∈ OrderedDistanceValues p, (3 - ↑(DistanceOutNeighborsAtValue p i r).card) * r ^ 2 ≤ q * B

        Exact weighted missing-degree bound for any upper bound on squared distances and any bound on the unweighted deficit.

        theorem Esgk.distanceAnnulusRadiusSq_bounds {n : ℕ} {p : Config n} (hn : 0 < n) (hcap : ∀ (i : Fin n) (r : ℝ), (DistanceOutNeighborsAtValue p i r).card ≤ 3) :

        Under a degree cap of three, the squared annulus radius is nonnegative and bounds every centroid radius from above.

        The annulus radius is nonnegative and dominates every centroid distance.

        theorem Esgk.palette_sq_le_four_mul_distanceAnnulusRadiusSq {n : ℕ} {p : Config n} (hn : 0 < n) (hcap : ∀ (i : Fin n) (r : ℝ), (DistanceOutNeighborsAtValue p i r).card ≤ 3) {r : ℝ} (hr : r ∈ OrderedDistanceValues p) :

        All squared palette distances are bounded by four times the squared annulus radius. This replaces a separate diameter definition.

        theorem Esgk.centroid_sq_ge_distanceAnnulusRadiusSq_mul_deficit {n : ℕ} {p : Config n} (hn : 0 < n) (hcap : ∀ (i : Fin n) (r : ℝ), (DistanceOutNeighborsAtValue p i r).card ≤ 3) (i : Fin n) :
        distanceAnnulusRadiusSq p * (1 - 4 * (3 * ↑(NumDistancesOrdered p) - ↑n + 1) / ↑n) ≤ dist (p i) (configCentroid p) ^ 2

        The exact deficit form of the squared annulus estimate.

        theorem Esgk.thin_annulus_sq_of_noFourCocircular {n : ℕ} {p : Config n} (hp : Function.Injective p) (hgp4 : ∀ T ⊆ p.toFinset, T.card = 4 → ¬EuclideanGeometry.Cospherical ↑T) (hn : 0 < n) {δ : ℝ} (hD : ↑(NumDistances p) ≤ (1 / 3 + δ) * ↑n) (i : Fin n) :

        Squared annulus estimate from the actual distinct-distance hypothesis, with raw no-four-cocircularity and no no-three-collinear assumption.

        theorem Esgk.annulus_linear_lower_bound {ρ t x : ℝ} (hρ : 0 ≤ ρ) (ht : 0 ≤ t) (hx : 0 ≤ x) (hsq : ρ ^ 2 * (1 - x) ≤ t ^ 2) :
        ρ * (1 - x) ≤ t

        The square-comparison step, including the regime where the lower bound is nonpositive. It never takes a square root of 1-x for x>1.

        theorem Esgk.thin_annulus_of_noFourCocircular {n : ℕ} {p : Config n} (hp : Function.Injective p) (hgp4 : ∀ T ⊆ p.toFinset, T.card = 4 → ¬EuclideanGeometry.Cospherical ↑T) (hn : 0 < n) {δ : ℝ} (hD : ↑(NumDistances p) ≤ (1 / 3 + δ) * ↑n) (i : Fin n) :

        Every point lies in the stated centroid annulus. This theorem includes singletons and the vacuous lower-bound regime 12*δ + 4/n > 1.

        theorem Esgk.distanceAnnulusRadius_pos {n : ℕ} {p : Config n} (hp : Function.Injective p) (hn : 2 ≤ n) (hcap : ∀ (i : Fin n) (r : ℝ), (DistanceOutNeighborsAtValue p i r).card ≤ 3) :

        An injective configuration with at least two points has positive annulus radius under the degree cap. This justifies radius normalization.

        theorem Esgk.thin_annulus_of_generalPosition {n : ℕ} {p : Config n} (hp : Function.Injective p) (hgp : EuclideanGeometry.InGeneralPosition p.toFinset) (hn : 0 < n) {δ : ℝ} (hD : ↑(NumDistances p) ≤ (1 / 3 + δ) * ↑n) (i : Fin n) :

        General-position specialization of the raw GP4 annulus theorem.