Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Missing distance multiplicities and power sums

Definition
Esgk_DistanceDeficiencyNewton

by mysticflounder · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsgeometryreal-analysis

For each point of a finite configuration, this defines the missing neighbor multiplicity at each ordered distance, the total missing degree, and the ordinary and missing power sums of squared distances.

Definition code
-- Extracted dependency interfaces and their necessary proofs.
import Definitions.Def_Esgk_DistanceDesign
import Definitions.Def_Esgk_Energy
import Definitions.Def_Esgk_Foundation
import Mathlib

/-
Copyright (c) 2026 Adam McKenna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Adam McKenna
-/


namespace Esgk

open EuclideanGeometry
open scoped BigOperators

variable {n : ℕ}

 
noncomputable def DistanceMissingMultiplicity
    (p : Config n) (i : Fin n) (r : ℝ) : ℕ :=
  3 - (DistanceOutNeighborsAtValue p i r).card

 
noncomputable def DistanceMissingDegree (p : Config n) (i : Fin n) : ℕ :=
  ∑ r ∈ OrderedDistanceValues p, DistanceMissingMultiplicity p i r

 
noncomputable def DistanceSquaredProfilePowerSum
    (p : Config n) (i : Fin n) (j : ℕ) : ℝ :=
  ∑ r ∈ OrderedDistanceValues p,
    ((DistanceOutNeighborsAtValue p i r).card : ℝ) * (r ^ 2) ^ j

 
noncomputable def DistanceSquaredMissingPowerSum
    (p : Config n) (i : Fin n) (j : ℕ) : ℝ :=
  ∑ r ∈ OrderedDistanceValues p,
    (DistanceMissingMultiplicity p i r : ℝ) * (r ^ 2) ^ j


end Esgk

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me