Documentation

LeanPool.DistinctDistances.EnergyCeiling

The elementary O(n³) energy ceiling under no-four-cocircular — (E1)/(E2) #

PROVEN, sorry-free, Guth–Katz-free. Under InGeneralPosition (in particular its no-four-cocircular clause), every ordered distance multiplicity is at most 3n ((E1), orderedMultiplicity_le_three_mul), hence the ordered distance energy DistanceEnergy p = Σ_r m_r² is at most 3n³ ((E2), distanceEnergy_le_three_mul_cube).

Honest framing. This is the trivial ceiling: via Cauchy–Schwarz it yields only D = Ω(n), with leading constant near 1/3 in ordered normalization. It does not prove the active FixedLinearDistanceEnergyGapStatement for arbitrary fixed A; it only supplies the reference saturation edge. It removes the Guth–Katz log elementarily — the log is a cocircularity artifact.

The "hard geometry" is the hypothesis itself: four points at a common distance r from a center c are Cospherical (witness ⟨c, r⟩), so the no-four-cocircular clause forbids a fourth. No imported geometry beyond Mathlib's Cospherical.

theorem Esgk.fixedDistance_card_le_three {n : ℕ} {p : Config n} (hgp : EuclideanGeometry.InGeneralPosition p.toFinset) (c : Point) (r : ℝ) :
{x ∈ p.toFinset | dist x c = r}.card ≤ 3

(E1), geometric core: at most three points of a general-position configuration lie at any fixed distance r from any center c. A fourth would exhibit four cocircular points (Cospherical with center c, radius r), contradicting the no-four-cocircular clause of InGeneralPosition.

(E1), summed form: each ordered distance multiplicity is at most 3n in an injective general-position configuration. The injection (i,j) ↦ ⟨i, p j⟩ maps the (i,j) pairs at distance r into ⨆ i, {x ∈ P : dist x (p i) = r}, whose each fiber has ≤ 3 points by fixedDistance_card_le_three.

The total ordered off-diagonal pair count, partitioned by realized distance, is at most n²: Σ_r m_r = #{(i,j) : i ≠ j} ≤ n².

(E2): the ordered distance energy is at most 3n³ for an injective general-position configuration. Combines (E1) m_r ≤ 3n with Σ_r m_r² ≤ (max_r m_r)·Σ_r m_r ≤ 3n·n².

Real-valued restatement of (E2): (E_dist : ℝ) ≤ 3·n³. This is the explicit O(n³) ceiling. It neither proves the active fixed-A energy gap for arbitrary A nor the stronger legacy universal o(n³) target.

Cauchy–Schwarz capstone: the O(n³) energy ceiling forces only D = Ω(n). Concretely (n(n-1))² ≤ 3n³ · D — i.e. D ≳ (n-1)²/(3n) = Ω(n), the trivial distinct-distance bound. This is the entire energy mechanism made formal: an upper bound on E yields a lower bound on D via energy_lower_bound_of_few_distances. It is emphatically not superlinear. The active route to D = ω(n) is the counterexample-local FixedLinearDistanceEnergyGapStatement; universal E = o(n³) would be sufficient but is no longer required. The ceiling is reached, not beaten.

The elementary cubic ceiling already settles the fixed-A Problem 98 conclusion for every A < 1/3: every sufficiently large injective general-position configuration has more than A n distinct distances. The remaining active problem is to pass the 1/3 edge and then handle arbitrary fixed A.