Banach indicatrix, easy half: for càdlàg
ProvedExcursionCoupling.eVariationOn_le_lintegral_levelSet_countLet be càdlàg (right-continuous with left limits) and let . Write for the number of generalized solutions of , i.e. the number of points with in the completed graph of . Then
This is the elementary half of the generalized Banach indicatrix identity, and it holds with no bounded-variation assumption (both sides may be ).
The proof is a single application of the generalized intermediate value theorem. For a finite increasing sample inside , the -th increment satisfies where are the endpoints of the value interval, so the whole sum equals with the number of indices for which lies strictly between and . Each such index produces, by the generalized intermediate value theorem, a generalized solution inside ; these half-open intervals are pairwise disjoint and contained in , so pointwise. Taking the supremum over samples gives the claim.
Formalization note. The total variation is Mathlib's eVariationOn over Icc s t, the count is Set.encard coerced into , and càdlàg is spelled as right continuity within Ici x together with existence of a left limit at every point.
import Definitions.Def_excursion_coupling open MeasureTheory Set Function Filter Topology
namespace ExcursionCoupling
theorem eVariationOn_le_lintegral_levelSet_count (F : ℝ → ℝ)
(hright : ∀ x : ℝ, ContinuousWithinAt F (Ici x) x)
(hleft : ∀ x : ℝ, ∃ L : ℝ, Tendsto F (𝓝[<] x) (𝓝 L))
(s t : ℝ) :
eVariationOn F (Icc s t)
≤ ∫⁻ h : ℝ, ((Ioc s t ∩ levelSet F h).encard.toENNReal) := by sorry
end ExcursionCoupling