Helper Lemmas for Martingale-based de Finetti Proof #
This file contains technical helper lemmas extracted from ViaMartingale.lean.
These are general-purpose utilities for:
- Comap (pullback σ-algebra) operations
- Sequence shifting and manipulation
- Finset ordering and monotonicity
- Indicator algebra
- Re-exports from PathSpace.CylinderHelpers for backward compatibility
All lemmas are complete (no sorries) and have been validated for code quality.
Main sections #
ComapTools: Comap σ-algebra utilitiesSequenceShift: Sequence shifting operationsFinsetOrder: Finset ordering and strict monotonicity lemmasIndicatorAlgebra: Helper lemmas for indicator functions- Re-exports from
PathSpace.CylinderHelpersfor compatibility
theorem
Exchangeability.DeFinetti.MartingaleHelpers.comap_comp_le
{X : Type u_1}
{Y : Type u_2}
{Z : Type u_3}
[MeasurableSpace X]
[MeasurableSpace Y]
[MeasurableSpace Z]
(f : X → Y)
(g : Y → Z)
(hg : Measurable g)
:
If g is measurable, then comap (g ∘ f) ≤ comap f.
Shift a sequence by dropping the first d entries.
Equations
- Exchangeability.DeFinetti.MartingaleHelpers.shiftSeq d f n = f (n + d)
Instances For
theorem
Exchangeability.DeFinetti.MartingaleHelpers.measurable_shiftSeq
{β : Type u_1}
[MeasurableSpace β]
{d : ℕ}
:
Measurable (shiftSeq d)
theorem
Exchangeability.DeFinetti.MartingaleHelpers.forall_mem_erase
{γ : Type u_2}
[DecidableEq γ]
{s : Finset γ}
{a : γ}
{P : γ → Prop}
(ha : a ∈ s)
:
theorem
Exchangeability.DeFinetti.MartingaleHelpers.orderEmbOfFin_strictMono
{s : Finset ℕ}
:
StrictMono fun (i : Fin s.card) => (s.orderEmbOfFin ⋯) i
theorem
Exchangeability.DeFinetti.MartingaleHelpers.orderEmbOfFin_mem
{s : Finset ℕ}
{i : Fin s.card}
:
theorem
Exchangeability.DeFinetti.MartingaleHelpers.orderEmbOfFin_surj
{s : Finset ℕ}
{x : ℕ}
(hx : x ∈ s)
:
∃ (i : Fin s.card), (s.orderEmbOfFin ⋯) i = x
theorem
Exchangeability.DeFinetti.MartingaleHelpers.strictMono_fin_cases
{n : ℕ}
{f : Fin n → ℕ}
(hf : StrictMono f)
{a : ℕ}
(ha : ∀ (i : Fin n), a < f i)
:
StrictMono fun (i : Fin (n + 1)) => Fin.cases a (fun (i : Fin n) => f i) i
If f : Fin n → ℕ is strictly monotone and a < f i for all i,
then Fin.cases a f : Fin (n+1) → ℕ is strictly monotone.
theorem
Exchangeability.DeFinetti.MartingaleHelpers.indicator_mul_indicator_eq_indicator_inter
{Ω : Type u_1}
[MeasurableSpace Ω]
(A B : Set Ω)
(c d : ℝ)
:
The product of two indicator functions equals the indicator of their intersection.
theorem
Exchangeability.DeFinetti.MartingaleHelpers.indicator_comp_preimage
{Ω : Type u_1}
{α : Type u_2}
[MeasurableSpace Ω]
[MeasurableSpace α]
(f : Ω → α)
(B : Set α)
(c : ℝ)
:
Indicator function composed with preimage.
theorem
Exchangeability.DeFinetti.MartingaleHelpers.indicator_binary
{Ω : Type u_1}
[MeasurableSpace Ω]
(A : Set Ω)
(ω : Ω)
:
Binary indicator takes values in {0, 1}.
theorem
Exchangeability.DeFinetti.MartingaleHelpers.indicator_le_const
{Ω : Type u_1}
[MeasurableSpace Ω]
(A : Set Ω)
(c : ℝ)
(hc : 0 ≤ c)
(ω : Ω)
:
Indicator is bounded by its constant.
theorem
Exchangeability.DeFinetti.MartingaleHelpers.indicator_nonneg
{Ω : Type u_1}
[MeasurableSpace Ω]
(A : Set Ω)
(c : ℝ)
(hc : 0 ≤ c)
(ω : Ω)
:
Indicator is nonnegative when constant is nonnegative.