Documentation

LeanPool.DistinctDistances.RegularDistanceCocircular

Constant squared-distance row sums force cocircularity #

If every point of a finite Euclidean configuration has the same sum of squared distances to all points, then every point has the same distance from the configuration centroid. The entire configuration is therefore cospherical.

This gives a uniform obstruction to the exact saturated corner of the ESGK distance-design problem. A partition of K_n into spanning regular distance graphs has constant squared-distance row sums, hence cannot be in general position once n >= 4. This is an exact-corner result only: turning an almost regular partition into a quantitative energy saving remains open.

theorem Esgk.sum_sqDistance_expand {n : ℕ} (p : Config n) (i : Fin n) :
∑ j : Fin n, dist (p i) (p j) ^ 2 = ↑n * ‖p i‖ ^ 2 + ∑ j : Fin n, ‖p j‖ ^ 2 - 2 * inner ℝ (p i) (∑ j : Fin n, p j)

Expand one squared-distance row in terms of norms and the vector sum.

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

The centroid of a nonempty indexed configuration, expressed in the ambient vector space. The definition is harmless at n = 0; its geometric lemmas assume 0 < n.

Equations
Instances For
    theorem Esgk.natCast_mul_dist_configCentroid_sq {n : ℕ} (p : Config n) (hn : 0 < n) (i : Fin n) :
    ↑n * dist (p i) (configCentroid p) ^ 2 = ↑n * ‖p i‖ ^ 2 - 2 * inner ℝ (p i) (∑ j : Fin n, p j) + (↑n)⁻¹ * ‖∑ j : Fin n, p j‖ ^ 2

    Scaled squared distance to the centroid, in a form directly comparable to sum_sqDistance_expand.

    theorem Esgk.dist_configCentroid_eq_of_row_sum_eq {n : ℕ} (p : Config n) (hn : 0 < n) (i k : Fin n) (hrow : ∑ j : Fin n, dist (p i) (p j) ^ 2 = ∑ j : Fin n, dist (p k) (p j) ^ 2) :

    Equal squared-distance row sums give equal distances from the centroid.

    theorem Esgk.cospherical_range_of_constant_sqDistanceSum {n : ℕ} (p : Config n) (hn : 0 < n) (hrow : ∀ (i k : Fin n), ∑ j : Fin n, dist (p i) (p j) ^ 2 = ∑ j : Fin n, dist (p k) (p j) ^ 2) :

    A nonempty finite configuration with constant squared-distance row sums is cospherical around its centroid.

    theorem Esgk.cospherical_toFinset_of_constant_sqDistanceSum {n : ℕ} (p : Config n) (hn : 0 < n) (hrow : ∀ (i k : Fin n), ∑ j : Fin n, dist (p i) (p j) ^ 2 = ∑ j : Fin n, dist (p k) (p j) ^ 2) :

    Finset-shaped version of cospherical_range_of_constant_sqDistanceSum.

    theorem Esgk.not_constant_sqDistanceSum_of_generalPosition {n : ℕ} {p : Config n} (hp : Function.Injective p) (hgp : EuclideanGeometry.InGeneralPosition p.toFinset) (hn : 4 ≤ n) :
    ¬∀ (i k : Fin n), ∑ j : Fin n, dist (p i) (p j) ^ 2 = ∑ j : Fin n, dist (p k) (p j) ^ 2

    A general-position configuration with at least four distinct points cannot have constant squared-distance row sums. In particular, an exact saturated distance design whose distance graphs are all spanning regular graphs has no general-position realization.

    noncomputable def Esgk.SqDistanceRowSumFiber {n : ℕ} (p : Config n) (s : ℝ) :

    Indices whose squared-distance rows have a prescribed sum.

    Equations
    Instances For

      In general position, at most three indexed points have the same squared-distance row sum. Four such points would lie on one circle centered at the configuration centroid.

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

      Decompose one squared-distance row by realized distance values. The coefficient of r^2 is exactly the out-degree of the distance-r graph at the chosen vertex.

      def Esgk.SameDistanceDegreeProfile {n : ℕ} (p : Config n) (i k : Fin n) :

      Two vertices have the same complete distance-degree profile when every realized distance graph gives them the same degree.

      Equations
      Instances For
        theorem Esgk.sum_sqDistance_eq_of_sameDistanceDegreeProfile {n : ℕ} (p : Config n) {i k : Fin n} (hprofile : SameDistanceDegreeProfile p i k) :
        ∑ j : Fin n, dist (p i) (p j) ^ 2 = ∑ j : Fin n, dist (p k) (p j) ^ 2

        A complete distance-degree profile determines the squared-distance row sum.

        noncomputable def Esgk.DistanceDegreeProfileFiber {n : ℕ} (p : Config n) (i : Fin n) :

        The fiber of the complete distance-degree profile of one vertex.

        Equations
        Instances For

          In general position, no four vertices have the same complete distance-degree profile. This is the finite combinatorial shadow of the centroid-circle obstruction.

          theorem Esgk.constant_sqDistanceSum_of_regular_distance_degrees {n : ℕ} (p : Config n) (hregular : ∀ (i k : Fin n) (r : ℝ), (DistanceOutNeighborsAtValue p i r).card = (DistanceOutNeighborsAtValue p k r).card) (i k : Fin n) :
          ∑ j : Fin n, dist (p i) (p j) ^ 2 = ∑ j : Fin n, dist (p k) (p j) ^ 2

          If every distance graph has the same degree at every vertex, then the squared-distance row sum is independent of the vertex.

          A nonempty configuration whose distance graphs are all regular is cospherical.

          A value outside OrderedDistanceValues has no out-neighbors at any vertex.

          If every realized ordered multiplicity reaches 3*n, then the local degree-three cap is saturated at every vertex of every realized distance graph; unrealized distance values have degree zero. Hence every distance graph is regular.

          No general-position configuration of at least four points can have every distance graph regular. This is the direct geometric terminal for the exact saturated distance-design core.