BDD library: Exchangeability Probability Martingale Reverse
DefinitionExchangeability_Probability_Martingale_Reverseprobability
Core definitions and structural lemmas of the binary decision diagram library (Exchangeability_Probability_Martingale_Reverse), machine-checked in Lean 4 against Mathlib. See the linked source module.
Definition code
import Mathlib.Probability.Martingale.Basic
import Mathlib.Probability.Process.Filtration
import Mathlib.MeasureTheory.Function.LpSeminorm.Basic
import Mathlib.Tactic
set_option autoImplicit true
namespace BigOperators
end BigOperators
namespace ENNReal
end ENNReal
namespace Filter
end Filter
namespace Function
end Function
namespace MeasureTheory
end MeasureTheory
namespace ProbabilityTheory
end ProbabilityTheory
namespace Set
end Set
namespace Topology
end Topology
/-
Copyright (c) 2025 Cameron Freer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Cameron Freer
-/
/-!
# Reverse Martingale Infrastructure
To prove Lévy's downward theorem, we reverse time on finite horizons to obtain
forward martingales, then apply the upcrossing inequality.
## Main Definitions
- `revFiltration`: Time-reversed filtration on a finite horizon
- `revCEFinite`: Time-reversed conditional expectation process
## Main Results
- `revCEFinite_martingale`: The reversed process is a forward martingale
-/
open Filter MeasureTheory
open scoped Topology ENNReal BigOperators
noncomputable section
open scoped MeasureTheory ProbabilityTheory Topology
open MeasureTheory Filter Set Function
namespace Exchangeability.Probability
variable {Ω : Type*} [MeasurableSpace Ω] {μ : Measure Ω}
variable {𝔽 : ℕ → MeasurableSpace Ω}
/-- Reverse filtration on a finite horizon `N`.
For an antitone filtration `𝔽`, define `𝔾ⁿ_k := 𝔽_{N-k}`. Since `k ≤ ℓ` implies
`N - ℓ ≤ N - k`, and `𝔽` is antitone, we get `𝔽_{N-k} ≤ 𝔽_{N-ℓ}`, so `𝔾ⁿ` is
a (forward) increasing filtration. -/
def revFiltration (𝔽 : ℕ → MeasurableSpace Ω) (h_antitone : Antitone 𝔽)
(h_le : ∀ n, 𝔽 n ≤ (inferInstance : MeasurableSpace Ω))
(N : ℕ) : Filtration ℕ (inferInstance : MeasurableSpace Ω) where
seq := fun n => 𝔽 (N - n)
mono' := by
intro i j hij
-- `i ≤ j` implies `N - j ≤ N - i`, then antitone gives `𝔽 (N - i) ≤ 𝔽 (N - j)`.
have : N - j ≤ N - i := tsub_le_tsub_left hij N
exact h_antitone this
le' := fun _ => h_le _
/-- Reverse conditional expectation process at finite horizon `N`.
For `n ≤ N`, this is just `μ[f | 𝔽_{N-n}]`. -/
noncomputable def revCEFinite (f : Ω → ℝ) (𝔽 : ℕ → MeasurableSpace Ω) (N n : ℕ) : Ω → ℝ :=
μ[f | 𝔽 (N - n)]
end Exchangeability.Probability
Source