Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Intrinsic-coordinate smooth-gradient energy

Definition
KLS408915f_FunctionalInequalities_Energy_SmoothGradient_Intrinsic_Basic

by Lazyfill · Oct 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-inequalitieskls-408915fkls-conjecturelog-concave

Energy.Euclidean.toIntrinsicL2 μ and toAmbientL2 μ are measure-preserving L² linear isometries induced by reconstruction and the intrinsic map between the ambient space and the direction space of the affine support. Energy.SmoothGradient.Intrinsic.energy μ evaluates the smooth-gradient relaxation for the intrinsic law after transporting an ambient L² class to intrinsic coordinates. The simp theorem energy_apply exposes this pullback formula. The construction removes energy in directions normal to the affine support but does not identify the result with Cheeger energy.

Superseded upload. This snapshot was replaced by the readable modular upload KLSModular_FunctionalInequalities_Energy_SmoothGradient_Intrinsic_Basic: open the replacement. The replacement preserves the source snapshot and mathematical statement, with source-module imports and identifiers without a commit suffix. This historical node remains available for existing imports.

Definition code
import Definitions.Def_KLS408915f_FunctionalInequalities_Energy_Form_Functional
import Definitions.Def_KLS408915f_FunctionalInequalities_Energy_Relaxation_Basic
import Definitions.Def_KLS408915f_FunctionalInequalities_Energy_SmoothGradient_Basic
import Definitions.Def_KLS408915f_FunctionalInequalities_Probability_AffineSupport
import Mathlib.Analysis.Calculus.ContDiff.Basic
import Mathlib.Analysis.Calculus.Gradient.Basic
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.InnerProductSpace.Subspace
import Mathlib.Analysis.Normed.Affine.Isometry
import Mathlib.Analysis.Normed.Module.FiniteDimension
import Mathlib.Data.ENNReal.Basic
import Mathlib.Data.ENNReal.Inv
import Mathlib.MeasureTheory.Function.L2Space
import Mathlib.MeasureTheory.Function.LpSpace.Basic
import Mathlib.MeasureTheory.Measure.ProbabilityMeasure
import Mathlib.MeasureTheory.Measure.Support
import Mathlib.Topology.Instances.ENNReal.Lemmas
import Mathlib.Topology.Order.LiminfLimsup

noncomputable section
open MeasureTheory
namespace FunctionalInequalities
namespace Energy
namespace Euclidean
universe u
variable {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E]
  [MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E]
  [FiniteDimensional ℝ E]
/-- Pull an ambient `L²(μ)` function back along reconstruction from intrinsic affine coordinates.

Because reconstruction preserves the probability law, this is a real linear isometry.
-/
def toIntrinsicL2 (μ : ProbabilityMeasure E) :
    Lp ℝ 2 (μ : Measure E) →ₗᵢ[ℝ]
      Lp ℝ 2 (Probability.intrinsicMeasure μ).toMeasure :=
  Lp.compMeasurePreservingₗᵢ ℝ (Probability.reconstruct μ)
    (Probability.measurePreserving_reconstruct μ)
/-- Pull an intrinsic-coordinate `L²` function back to the original ambient probability space. -/
def toAmbientL2 (μ : ProbabilityMeasure E) :
    Lp ℝ 2 (Probability.intrinsicMeasure μ).toMeasure →ₗᵢ[ℝ]
      Lp ℝ 2 (μ : Measure E) :=
  Lp.compMeasurePreservingₗᵢ ℝ (Probability.intrinsicMap μ)
    (Probability.measurePreserving_intrinsicMap μ)
end Euclidean
end Energy
end FunctionalInequalities
namespace FunctionalInequalities
namespace Energy
namespace SmoothGradient
namespace Intrinsic
open Euclidean
universe u
variable {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E]
  [MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E]
  [FiniteDimensional ℝ E]
/-- The intrinsic-affine smooth-gradient relaxation, represented on the original `L²(μ)` space.

The functional first moves an `L²(μ)` class isometrically to the direction space of the affine
support, then evaluates the smooth-gradient relaxation of the intrinsic probability law.
-/
def energy (μ : ProbabilityMeasure E) :
    Functional (Lp ℝ 2 (μ : Measure E)) :=
  (Energy.SmoothGradient.relaxation (Probability.intrinsicMeasure μ)).comap (toIntrinsicL2 μ)
omit [CompleteSpace E] in
/-- Unfolding the intrinsic-affine relaxation exposes the isometric pullback. -/
@[simp]
theorem energy_apply (μ : ProbabilityMeasure E)
    (f : Lp ℝ 2 (μ : Measure E)) :
    energy μ f =
      Energy.SmoothGradient.relaxation (Probability.intrinsicMeasure μ) (toIntrinsicL2 μ f) :=
  rfl
end Intrinsic
end SmoothGradient
end Energy
end FunctionalInequalities
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Energy/SmoothGradient/Intrinsic/Basic.lean#L29-L161 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Energy.SmoothGradient.Intrinsic.Basic`, definition bundle `KLS408915f_FunctionalInequalities_Energy_SmoothGradient_Intrinsic_Basic`; the repository is private at upload time).

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me