Core Infrastructure for ViaKoopman Proof #
This file contains foundational infrastructure for the Koopman-based de Finetti proof:
- Reusable micro-lemmas
- Lp coercion lemmas
- Two-sided natural extension infrastructure (Ωℤ, shiftℤ)
- NaturalExtensionData structure
- Helper lemmas for shift operations
- Instance-locking shims for conditional expectation
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 #
ae_ball_iff in the direction we need on a finite index set (Finset.range n).
Lp coercion lemmas for measure spaces #
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 #
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
- Exchangeability.DeFinetti.ViaKoopman.shiftℤ ω n = ω (n + 1)
Instances For
The inverse shift on bi-infinite sequences.
Equations
- Exchangeability.DeFinetti.ViaKoopman.shiftℤInv ω n = ω (n - 1)
Instances For
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
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.
- μhat : MeasureTheory.Measure Ωℤ[α]
The two-sided extension measure on bi-infinite path space.
- μhat_isProb : MeasureTheory.IsProbabilityMeasure self.μhat
- shift_preserving : MeasureTheory.MeasurePreserving shiftℤ self.μhat self.μhat
- shiftInv_preserving : MeasureTheory.MeasurePreserving shiftℤInv self.μhat self.μhat
Instances For
General infrastructure lemmas for factor maps and invariance #
Push AE along a factor map using only null sets and a measurable null superset.
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:
- Converts set integrals
∫ x in s, f x ∂μto whole-space integrals∫ x, (indicator s f) x ∂μ - Avoids measure composition
Measure.restrictwhich has type class defeq issues - Uses
MeasureTheory.integral_indicatorfor the conversion
Type Class Management (CRITICAL):
m : MeasurableSpace Ωis a plain parameter, NEVER installed as an instance- Ambient instance explicitly named:
[inst : MeasurableSpace Ω] - Binder order matters:
mmust come AFTER all instance parameters - Measurability lift:
have hBm' : @MeasurableSet Ω inst B := hm B hBm
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.
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.
The defining property of conditional expectation on m-measurable sets, with ambient locked.
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.
"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.