Documentation

TauCeti.Probability.Exchangeability.Family

Exchangeable families #

This file extends the sequence-level symmetry predicates to families indexed by an arbitrary type. An ExchangeableFamily has the same law along any two finite injective selections of indices. The existing ConditionallyIIDWith and ConditionallyIID predicates are already index-generic; this file relates them to exchangeable families.

Main results #

This is the family exchangeability API needed for the Layer 8 target “de Finetti for other countable index types” in TauCetiRoadmap/Exchangeability/README.md. The countable-index theorem itself is in TauCeti.Probability.DeFinetti.CountableIndex.

def TauCeti.Probability.ExchangeableFamily {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] (μ : MeasureTheory.Measure Ω) (X : ιΩα) :

A family is exchangeable when its law is unchanged after replacing any finite injective selection of indices by another of the same size.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem TauCeti.Probability.ExchangeableFamily.intro {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X : ιΩα} (h : ∀ (m : ) (k l : Fin mι), Function.Injective kFunction.Injective lblockLaw μ X k = blockLaw μ X l) :

    Constructor for exchangeability of an arbitrary family.

    @[simp]
    theorem TauCeti.Probability.exchangeableFamily_iff {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X : ιΩα} :
    ExchangeableFamily μ X ∀ (m : ) (k l : Fin mι), Function.Injective kFunction.Injective lblockLaw μ X k = blockLaw μ X l

    Simp normal form for exchangeability of an arbitrary family.

    theorem TauCeti.Probability.ExchangeableFamily.blockLaw_eq {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X : ιΩα} (h : ExchangeableFamily μ X) {m : } (k l : Fin mι) (hk : Function.Injective k) (hl : Function.Injective l) :
    blockLaw μ X k = blockLaw μ X l

    The finite-block law equality defining an exchangeable family.

    theorem TauCeti.Probability.ExchangeableFamily.congr {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X Y : ιΩα} (hX : ExchangeableFamily μ X) (h : ∀ (i : ι), X i =ᵐ[μ] Y i) :

    Exchangeability of a family transports along a coordinatewise a.e. change of family: the predicate constrains only block laws, and those are unchanged (blockLaw_congr).

    theorem TauCeti.Probability.MixedIIDWith.exchangeableFamily {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X : ιΩα} {ν : ΩMeasureTheory.ProbabilityMeasure α} (h : MixedIIDWith μ X ν) :

    A mixed i.i.d. family is exchangeable. Along any two injective selections the block law is the same ν-mixture of product measures, so the two block laws agree.

    theorem TauCeti.Probability.MixedIID.exchangeableFamily {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X : ιΩα} (h : MixedIID μ X) :

    A mixed i.i.d. family is exchangeable, existential form.

    theorem TauCeti.Probability.ConditionallyIIDWith.exchangeableFamily {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X : ιΩα} {ν : ΩMeasureTheory.ProbabilityMeasure α} (h : ConditionallyIIDWith μ X ν) :

    A conditionally i.i.d. family with a named directing measure is exchangeable: project to the mixture identity, which already forces the block laws to agree.

    theorem TauCeti.Probability.ConditionallyIID.exchangeableFamily {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X : ιΩα} (h : ConditionallyIID μ X) :

    A conditionally i.i.d. family is exchangeable.

    theorem TauCeti.Probability.ExchangeableFamily.comp_injective {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} {κ : Type u_4} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} {X : ιΩα} (h : ExchangeableFamily μ X) {f : κι} (hf : Function.Injective f) :
    ExchangeableFamily μ fun (j : κ) => X (f j)

    Exchangeability is preserved by reindexing a family along an injection.

    theorem TauCeti.Probability.ExchangeableFamily.map_eq_of_injective {Ω : Type u_1} {α : Type u_2} {ι : Type u_3} {κ : Type u_4} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] {X : ιΩα} (h : ExchangeableFamily μ X) (hX : ∀ (i : ι), AEMeasurable (X i) μ) [Countable κ] {e f : κι} (he : Function.Injective e) (hf : Function.Injective f) :
    MeasureTheory.Measure.map (fun (ω : Ω) (i : κ) => X (e i) ω) μ = MeasureTheory.Measure.map (fun (ω : Ω) (i : κ) => X (f i) ω) μ

    An exchangeable family has one and the same law along any two injective reindexings. The finite-block equalities that define ExchangeableFamily are exactly the finite-dimensional laws of the reindexed families, so finite-dimensional-law uniqueness (ProbabilityTheory.map_eq_iff_forall_finset_map_restrict_eq) upgrades them to equality of the whole laws on κ → α. This is the family-level counterpart of Exchangeable.fullyExchangeable, which is the case κ = ι = ℕ with e a permutation and f = id.

    Comparison with the sequence predicates #

    An exchangeable family indexed by is an exchangeable sequence.

    theorem TauCeti.Probability.Exchangeable.exchangeableFamily {Ω : Type u_1} {α : Type u_2} [MeasurableSpace Ω] [MeasurableSpace α] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] {X : Ωα} (h : Exchangeable μ X) (hX : ∀ (i : ), AEMeasurable (X i) μ) :

    An exchangeable sequence with a.e. measurable coordinates is exchangeable as an -indexed family.

    For a finite measure and a.e. measurable coordinates, exchangeability as an -indexed family is equivalent to the existing sequence predicate.