MindFormal v1.0.0One Mind

MindFormal.Tools.DurationIntegral

theorem MindFormal.DurationOccupation.occupation_integral {X : Type u_1} {Y : Type u_2} [MeasurableSpace X] [MeasurableSpace Y] (μ : MeasureTheory.Measure X) [MeasureTheory.SFinite μ] {d : X → NNReal} (hd : Measurable d) {state : X × ℝ → Y} (hs : Measurable state) (f : Y → ℝ) (hf : Measurable f) (hi : MeasureTheory.Integrable (fun (p : X × ℝ) => f (state p)) (timeMeasure μ d)) :
∫ (y : Y), f y ∂occupation μ d state = (mean μ d).toReal⁻¹ * ∫ (x : X), ∫ (t : ℝ) in Set.Ico 0 ↑(d x), f (state (x, t)) ∂μ

The signed occupation read is the expected time integral divided by mean duration. Its absolute time integral must be finite; stationarity is not used in this measure identity.