MindFormal v1.0.0One Mind

MindFormal.Tools.ConditionalMomentClosure

12.30.17 / RC10.16: conditional coefficient moments close the relation writer's mean drift. 12.30.18 / RC10.17: stationarity gives necessary expectation balances, not an existence theorem. The moment assumptions are those explicitly stated in the entries; independence of coefficients and the bank is neither assumed nor inferred. Integrability of products is retained explicitly.

theorem MindFormal.integral_mul_of_condExp_const {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] {m : MeasurableSpace Ω} (hm : m ≤ mΩ) {A W : Ω → ℝ} {a : ℝ} (hW : MeasureTheory.StronglyMeasurable W) (hA : MeasureTheory.Integrable A μ) (hAW : MeasureTheory.Integrable (A * W) μ) (hc : μ[A | m] =ᵐ[μ] fun (x : Ω) => a) :
∫ (ω : Ω), A ω * W ω ∂μ = a * ∫ (ω : Ω), W ω ∂μ

A constant conditional coefficient mean may be taken out of a product with the variable being conditioned on. The coefficient and its product must be integrable; boundedness and independence are unnecessary.

theorem MindFormal.affine_writer_mean_drift {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {I : Type u_2} [Fintype I] [MeasureTheory.IsProbabilityMeasure μ] {m : MeasurableSpace Ω} (hm : m ≤ mΩ) (A : I → I → Ω → ℝ) (W b : I → Ω → ℝ) (A0 : I → I → ℝ) (b0 : I → ℝ) (hW : ∀ (j : I), MeasureTheory.StronglyMeasurable (W j)) (hA : ∀ (i j : I), MeasureTheory.Integrable (A i j) μ) (hb : ∀ (i : I), MeasureTheory.Integrable (b i) μ) (hAW : ∀ (i j : I), MeasureTheory.Integrable (A i j * W j) μ) (hAc : ∀ (i j : I), μ[A i j | m] =ᵐ[μ] fun (x : Ω) => A0 i j) (hbc : ∀ (i : I), μ[b i | m] =ᵐ[μ] fun (x : Ω) => b0 i) (i : I) :
∫ (ω : Ω), b i ω - ∑ j : I, A i j ω * W j ω ∂μ = b0 i - ∑ j : I, A0 i j * ∫ (ω : Ω), W j ω ∂μ

The finite-dimensional affine writer's closed mean drift under its declared conditional moments. The conditioning sigma algebra may be exactly that generated by the whole row W. No stability or invariant-distribution assumption is needed for this identity.

theorem MindFormal.mean_drift_integral {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {T : Type u_2} [MeasurableSpace T] (ν : MeasureTheory.Measure T) [MeasureTheory.SFinite ν] [MeasureTheory.SFinite μ] {X X0 M : Ω → ℝ} {d : Ω → T → ℝ} (h0 : MeasureTheory.Integrable X0 μ) (hM : MeasureTheory.Integrable M μ) (hd : MeasureTheory.Integrable (Function.uncurry d) (μ.prod ν)) (hmean : ∫ (ω : Ω), M ω ∂μ = 0) (heq : X =ᵐ[μ] fun (ω : Ω) => X0 ω + ∫ (t : T), d ω t ∂ν + M ω) :
∫ (ω : Ω), X ω ∂μ = ∫ (ω : Ω), X0 ω ∂μ + ∫ (t : T), ∫ (ω : Ω), d ω t ∂μ ∂ν

Taking expectations of an actual integrable drift-plus-innovation equation commutes the time and sample integrals. The innovation's zero mean is explicit; a true martingale starting at zero supplies it. The time measure can be a restricted finite horizon.

theorem MindFormal.stationary_increment_balance {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {X X0 D M : Ω → ℝ} (h0 : MeasureTheory.Integrable X0 μ) (hD : MeasureTheory.Integrable D μ) (hM : MeasureTheory.Integrable M μ) (hmean : ∫ (ω : Ω), M ω ∂μ = 0) (hlaw : ProbabilityTheory.IdentDistrib X X0 μ μ) (heq : X =ᵐ[μ] fun (ω : Ω) => X0 ω + D ω + M ω) :
∫ (ω : Ω), D ω ∂μ = 0

Equal entering and terminal laws force the mean finite-variation increment to vanish after removal of a zero-mean innovation. This is a necessary stationary balance only.