Closed-ball cap of an extended-real potential
DefinitionKLS408915f_FunctionalInequalities_Analysis_Convex_BoundedConjugatefunctional-inequalitieskls-408915fkls-conjecturelog-concave
For an extended-real potential and , closedBallCap φ L equals on the closed ball of radius centered at and equals outside that ball. The surrounding results establish lower semicontinuity and bounded-domain consequences for the Legendre transform, including finiteness and Lipschitz bounds under the listed hypotheses.
Superseded upload. This snapshot was replaced by the readable modular upload KLSModular_FunctionalInequalities_Analysis_Convex_BoundedConjugate: 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_Analysis_Convex_Legendre
import Mathlib.Analysis.Convex.Topology
import Mathlib.Analysis.InnerProductSpace.Continuous
import Mathlib.Analysis.Normed.Module.Convex
import Mathlib.Analysis.Normed.Module.FiniteDimension
import Mathlib.Data.EReal.Operations
import Mathlib.MeasureTheory.Constructions.BorelSpace.Basic
import Mathlib.Topology.Instances.EReal.Lemmas
import Mathlib.Topology.MetricSpace.Lipschitz
import Mathlib.Topology.Semicontinuity.Basic
noncomputable section
namespace FunctionalInequalities
namespace Analysis
open MeasureTheory Set Metric
open scoped ENNReal Topology RealInnerProductSpace
open FunctionalInequalities
open FunctionalInequalities.Analysis
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
[FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
/-- Restrict an extended-real potential to the closed ball, assigning top outside. -/
noncomputable def closedBallCap (φ : E → EReal) (L : NNReal) : E → EReal := by
classical
exact fun x => if x ∈ closedBall (0 : E) (L : ℝ) then φ x else ⊤
end Analysis
end FunctionalInequalities
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Analysis/Convex/BoundedConjugate.lean#L35-L38 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.Convex.BoundedConjugate`, definition bundle `KLS408915f_FunctionalInequalities_Analysis_Convex_BoundedConjugate`; the repository is private at upload time).