Documentation

LeanPool.DistinctDistances.DistanceDesign

Heavy distance classes as bounded-degree graph designs #

This module carries out Step 2 of docs/plans/d7.2-exact-emptiness-plan.md: convert heavy distance values into ordered edge sets on Fin n and record the basic properties supplied by the distance normal form plus general position.

The key output is not a D7.2 proof. It is the precise interface D7.2 must act on: many equal-distance ordered-edge classes, each with linear ordered edge count and out-degree at most 3.

theorem Esgk.all_eq_cap_of_sum_eq_cap_mul_card {α : Type u_1} (s : Finset α) (m : α → ℕ) (cap : ℕ) (hcap : ∀ a ∈ s, m a ≤ cap) (heq : ∑ a ∈ s, m a = cap * s.card) (a : α) :
a ∈ s → m a = cap

If every term is at most cap and their sum reaches cap * #terms, then every term equals cap.

noncomputable def Esgk.DistanceEdgesAtValue {n : ℕ} (p : Config n) (r : ℝ) :

Ordered edges realizing a fixed distance value r.

Equations
Instances For
    noncomputable def Esgk.DistanceOutNeighborsAtValue {n : ℕ} (p : Config n) (i : Fin n) (r : ℝ) :

    Out-neighbors of one vertex at a fixed distance value r.

    Equations
    Instances For

      The edge-set cardinality is exactly the ordered distance multiplicity.

      Ordered multiplicity is the sum of the fixed-distance out-degrees over all vertices. This is the exact degree-sum bridge for one distance graph.

      The total ordered distance mass is exactly the number of ordered off-diagonal pairs. This holds without injectivity: coincident indexed points contribute to the distance-zero fiber.

      Every value in OrderedDistanceValues has positive ordered multiplicity.

      A heavy distance value has at least K ordered edges.

      General position bounds the out-degree of every fixed-distance graph by 3: four out-neighbors of i at the same distance would put four points on a circle centered at p i.

      The out-degree bound applies in particular to every heavy distance value.

      Heavy distance mass is the sum of ordered edge-set sizes over the heavy distance values.

      theorem Esgk.heavyDistanceValues_card_product_lower_bound_real_of_energy_ge_square {n : ℕ} {p : Config n} (hp : Function.Injective p) (hgp : EuclideanGeometry.InGeneralPosition p.toFinset) (hn : 0 < n) (K : ℕ) {eta : ℝ} (heta_nonneg : 0 ≤ eta) (henergy : eta * ↑(3 * n) * ↑n ^ 2 ≤ ↑(DistanceEnergy p)) (hK : ↑K ≤ eta / 2 * ↑(3 * n)) :
      eta / 2 * ↑(OrderedDistanceMass p) ≤ ↑(3 * n) * ↑(HeavyDistanceValues p K).card

      Branch-A-scale energy, after Step 1's heavy-mass lower bound, forces many heavy distance values in the precise product form (eta/2)*OrderedDistanceMass <= (3*n)*#HeavyDistanceValues.

      This is the Lean version of "divide the heavy mass by the 3n cap." It avoids division so downstream users can choose their preferred asymptotic packaging.

      Every complete distance-degree profile has coordinate sum n - 1.