Documentation

Exchangeability.DeFinetti.ViaKoopman.InfraCore

Core Infrastructure for ViaKoopman Proof #

This file contains foundational infrastructure for the Koopman-based de Finetti proof:

All lemmas in this file are proved (no sorries).

Extracted from: Infrastructure.lean (Part 1/3) Status: Complete (no sorries in proofs)

API compatibility aliases #

Reusable micro-lemmas for Steps 4b–4c #

theorem ae_ball_range_mpr {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) {n : } {P : ΩProp} (h : kFinset.range n, ∀ᵐ (ω : Ω) μ, P k ω) :
∀ᵐ (ω : Ω) μ, kFinset.range n, P k ω

ae_ball_iff in the direction we need on a finite index set (Finset.range n).

Lp coercion lemmas for measure spaces #

theorem coeFn_finset_sum {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {E : Type u_2} [NormedAddCommGroup E] [NormedSpace E] {p : ENNReal} {ι : Type u_3} (s : Finset ι) (F : ι(MeasureTheory.Lp E p μ)) :
(s.sum F) =ᵐ[μ] fun (ω : Ω) => is, (F i) ω

Coercion of finite sums in Lp is almost everywhere equal to pointwise sums. This is the measure-space analogue of lp.coeFn_sum (which is for sequence spaces).

Two-sided natural extension infrastructure #

@[reducible, inline]

Bi-infinite path space indexed by .

Equations
Instances For

    Notation for bi-infinite path space ℤ → α.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The two-sided shift on bi-infinite sequences.

      Equations
      Instances For
        @[simp]
        theorem Exchangeability.DeFinetti.ViaKoopman.shiftℤ_apply {α : Type u_1} (ω : Ωℤ[α]) (n : ) :
        shiftℤ ω n = ω (n + 1)

        The inverse shift on bi-infinite sequences.

        Equations
        Instances For
          @[simp]
          theorem Exchangeability.DeFinetti.ViaKoopman.shiftℤInv_apply {α : Type u_1} (ω : Ωℤ[α]) (n : ) :
          shiftℤInv ω n = ω (n - 1)

          Restrict a bi-infinite path to its nonnegative coordinates.

          Equations
          Instances For

            Extend a one-sided path to the bi-infinite path space by duplicating the zeroth coordinate on the negative side. This is a convenient placeholder when we only need the right-infinite coordinates.

            Equations
            Instances For
              @[simp]

              Two-sided shift-invariant sets. A set is shift-invariant if it is measurable and equals its preimage under the shift.

              Equations
              Instances For

                Shift-invariant σ-algebra on the two-sided path space.

                This is defined directly as the sub-σ-algebra of measurable shift-invariant sets.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The shift-invariant σ-algebra is a sub-σ-algebra of the product σ-algebra.

                  Data describing the natural two-sided extension of a one-sided stationary process.

                  Instances For

                    General infrastructure lemmas for factor maps and invariance #

                    theorem Exchangeability.DeFinetti.ViaKoopman.ae_comp_of_pushforward {Ω : Type u_2} {Ω' : Type u_3} [MeasurableSpace Ω] [MeasurableSpace Ω'] {μ : MeasureTheory.Measure Ω} {μ' : MeasureTheory.Measure Ω'} {g : Ω'Ω} (hg : Measurable g) (hpush : MeasureTheory.Measure.map g μ' = μ) {P : ΩProp} :
                    (∀ᵐ (x : Ω) μ, P x)∀ᵐ (x' : Ω') μ', P (g x')

                    Push AE along a factor map using only null sets and a measurable null superset.

                    theorem Exchangeability.DeFinetti.ViaKoopman.indicator_preimage_comp {Ω : Type u_2} {Ω' : Type u_3} {g : Ω'Ω} {B : Set Ω} (K : Ω) :
                    (g ⁻¹' B).indicator (K g) = fun (x' : Ω') => B.indicator K (g x')

                    Indicator pulls through a preimage under composition.

                    Infrastructure Lemmas for Conditional Expectation Pullback #

                    This section contains infrastructure lemmas needed for the Koopman approach to de Finetti's theorem. These lemmas handle the interaction between conditional expectation, factor maps, and measure-preserving transformations.

                    Key Technical Details #

                    The Indicator Trick:

                    Type Class Management (CRITICAL):

                    theorem Exchangeability.DeFinetti.ViaKoopman.ae_pullback_iff {Ω : Type u_2} {Ω' : Type u_3} [MeasurableSpace Ω] [MeasurableSpace Ω'] {μ : MeasureTheory.Measure Ω} {μ' : MeasureTheory.Measure Ω'} (g : Ω'Ω) (hg : Measurable g) (hpush : MeasureTheory.Measure.map g μ' = μ) {F G : Ω} (hF : AEMeasurable F μ) (hG : AEMeasurable G μ) :
                    F =ᵐ[μ] G F g =ᵐ[μ'] G g

                    AE-pullback along a factor map: Almost-everywhere equalities transport along pushforward.

                    If g : Ω̂ → Ω is a factor map (i.e., map g μ̂ = μ), then two functions are a.e.-equal on Ω iff their pullbacks are a.e.-equal on Ω̂.

                    Note: For our use case with restrictNonneg : Ωℤ[α] → Ω[α], the forward direction (which is what we primarily need) works and the map is essentially surjective onto a set of full measure.

                    theorem Exchangeability.DeFinetti.ViaKoopman.integrable_comp_of_pushforward {Ω : Type u_2} {Ω' : Type u_3} [ : MeasurableSpace Ω] [mΩ' : MeasurableSpace Ω'] {μ : MeasureTheory.Measure Ω} {μ' : MeasureTheory.Measure Ω'} {g : Ω'Ω} {H : Ω} (hg : Measurable g) (hpush : MeasureTheory.Measure.map g μ' = μ) (hH : MeasureTheory.Integrable H μ) :

                    Transport integrability across a pushforward equality and then pull back by composition. This avoids instance gymnastics by rewriting the measure explicitly, then using comp_measurable.

                    Instance-locking shims for conditional expectation #

                    These wrappers lock the ambient measurable space instance to prevent Lean from synthesizing the sub-σ-algebra as the ambient instance in type class arguments.

                    CE is a.e.-strongly measurable w.r.t. the sub σ-algebra, with ambient locked.

                    theorem Exchangeability.DeFinetti.ViaKoopman.MeasureTheory.setIntegral_condExp' {Ω : Type u_2} [ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} (m : MeasurableSpace Ω) (hm : m ) [MeasureTheory.SigmaFinite (μ.trim hm)] {s : Set Ω} (hs : MeasurableSet s) {f : Ω} (hf : MeasureTheory.Integrable f μ) :
                    (x : Ω) in s, μ[f|m] x μ = (x : Ω) in s, f x μ

                    The defining property of conditional expectation on m-measurable sets, with ambient locked.

                    theorem Exchangeability.DeFinetti.ViaKoopman.MeasureTheory.setIntegral_map_preimage {Ω : Type u_2} {Ω' : Type u_3} [MeasurableSpace Ω] [MeasurableSpace Ω'] {μ : MeasureTheory.Measure Ω} {μ' : MeasureTheory.Measure Ω'} (g : Ω'Ω) (hg : Measurable g) (hpush : MeasureTheory.Measure.map g μ' = μ) (f : Ω) (s : Set Ω) (hs : MeasurableSet s) (hf : AEMeasurable f μ) :
                    (x : Ω') in g ⁻¹' s, (f g) x μ' = (x : Ω) in s, f x μ

                    Set integral change of variables for pushforward measures.

                    If g : Ω' → Ω pushes forward μ' to μ, then integrating f ∘ g over g ⁻¹' s equals integrating f over s.

                    Note: we require AEMeasurable f μ and derive AEMeasurable f (Measure.map g μ') by rewriting with hpush.

                    On a finite measure space, an a.e.-bounded, a.e.-measurable real function is integrable.

                    Norm/abs bound for indicators (ℝ and general normed targets).

                    theorem Exchangeability.DeFinetti.ViaKoopman.MeasureTheory.indicator_as_mul_one {Ω : Type u_2} (s : Set Ω) (f : Ω) :
                    s.indicator f = fun (x : Ω) => f x * s.indicator (fun (x : Ω) => 1) x

                    Indicator ↔ product with a 0/1 mask (for ℝ).

                    theorem Exchangeability.DeFinetti.ViaKoopman.MeasureTheory.integral_indicator_as_mul {Ω : Type u_2} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} (s : Set Ω) (f : Ω) :
                    (x : Ω), s.indicator f x μ = (x : Ω), f x * s.indicator (fun (x : Ω) => 1) x μ

                    "Lift" a measurable-in-sub-σ-algebra set to ambient measurability.

                    AEMeasurable indicator under ambient from sub-σ-algebra measurability.

                    Idempotence of conditional expectation for m-measurable integrable functions.

                    Note: Mathlib API candidates for this standard result:

                    • condExp_of_stronglyMeasurable (needs StronglyMeasurable, not AEStronglyMeasurable)
                    • Some version of condexp_of_aestronglyMeasurable (not found in current snapshot)
                    • Direct proof via uniqueness characterization

                    The statement is correct and will be used in rectangle-case proofs.