Documentation

LeanPool.DistinctDistances.Energy

Distance energy and the fixed-linear-distance target. #

NumDistances p is the count of distinct pairwise distances over the image-finset Config.toFinset p, via the canonical FCM EuclideanGeometry.distinctDistances.

Ordered-pair distance multiplicities (OrderedMultiplicity) and the sum-of-squares DistanceEnergy follow the ordered formulation of the prose proof. FixedLinearDistanceEnergyGapStatement is the active Problem 98 target: for each fixed A > 0, configurations with at most A n distances have an energy-density gap below the ordered Cauchy threshold 1 / A.

GeneralPositionEqualDistanceEnergySavingStatement retains the former universal o(n³) target as a named stronger statement. Both propositions quantify over indexed configurations using the FCM InGeneralPosition predicate transported through Config.toFinset (do not use the pre-refactor Esgk.Point or Esgk.GeneralPosition names).

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

Range of pairwise distances over ordered pairs with i ≠ j.

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

    Ordered multiplicity of distance value r in configuration p (counts (i,j) with i ≠ j).

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

      Distance energy: Σ_r m_r^2 over ordered-pair multiplicities. Excludes the diagonal r = 0 via the i ≠ j predicate inside OrderedDistanceValues / OrderedMultiplicity.

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

        Indexed distinct-distance count via the image-finset. Equals the canonical FCM EuclideanGeometry.distinctDistances applied to Config.toFinset p; inherits diagonal exclusion from Finset.offDiag.image.

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

          Ordered-pair distance-value count: matches the Cauchy multiplicity proof. Equals NumDistances p under Function.Injective p; can be strictly larger when p has collisions (the dist=0 bucket appears here but is absent from NumDistances).

          Equations
          Instances For

            The image-finset distance count is bounded above by the ordered-pair distance count: every distance value arising from a distinct-image pair also arises from an ordered i≠j pair.

            Under injectivity the two counts agree: i ≠ j ↔ p i ≠ p j makes the ordered-pair distance set and the image-finset offDiag distance set equal.

            Active counterexample-local target for Problem 98, in ordered normalization. For every fixed linear distinct-distance constant A > 0, there is a fixed energy gap δ > 0 below the ordered Cauchy threshold 1 / A on all sufficiently large general-position configurations satisfying NumDistances p ≤ A n.

            For unordered distance energy this says E(P) ≤ (1 / (4A) - δ / 4) n³, because injective configurations satisfy DistanceEnergy p = 4 E(P). This is sufficient for eventual exclusion of D(P) ≤ A n; see fixedLinearDistanceEnergyGap_implies_eventually_numDistances_gt_linear. The converse is vacuous, so fixedLinearDistanceEnergyGap_iff_superlinearDistances identifies this as a reformulation of the fixed-A conclusion rather than a reduction.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Direct fixed-A formulation of the Problem 98 target: every positive linear distance bound is eventually beaten by every general-position configuration.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Former universal target: every indexed general-position configuration has o(n³) ordered-pair distance energy. This remains a useful stronger statement, but the active Problem 98 target is the counterexample-local FixedLinearDistanceEnergyGapStatement.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For