Mathlib.Probability.Process.Indistinguishable
33 declarations. Mathlib docs · Source
Indistinguishability of processes
In Mathlib, E-valued stochastic processes over a probability space Ω and indexed by a type ι
are represented as a family of E-valued random variables X : ι → Ω → E rather than as an
ι → E-valued random variable, following the convention on paper.
Two stochastic processes are said to be indistinguishable if they are almost everywhere equal
as ι → E-valued random variable, i.e. (fun ω t ↦ X t ω) =ᵐ[P] (fun ω t ↦ Y t ω). This spelling
creates a lot of friction when manipulating indistinguishable processes, making it harder to use
for instance the gcongr tactic.
In this file we introduce a predicate Indistinguishable P X Y, denoted X ≡ᵐ[P] Y, which states
that ∀ᵐ ω ∂P, ∀ t, X t ω = Y t ω. The symbol ≡ can be typed with \==.
The recommended spelling for Indistinguishable in names is indist.
def ProbabilityTheory.Indistinguishable E1 #
{ι : Type u_1} →
{Ω : Type u_2} →
{E : Type u_3} → {mΩ : MeasurableSpace Ω} → MeasureTheory.Measure Ω → (ι → Ω → E) → (ι → Ω → E) → Prop
Two processes are indistinguishable if almost surely they agree everywhere.
def ProbabilityTheory.«term_≡ᵐ[_]_» E1 #
Lean.TrailingParserDescr
Two processes are indistinguishable if almost surely they agree everywhere.
theorem ProbabilityTheory.Indistinguishable.refl E0 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} (P : MeasureTheory.Measure Ω) (X : ι → Ω → E),
X ≡ᵐ[P] X
theorem ProbabilityTheory.Indistinguishable.rfl E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ι → Ω → E},
X ≡ᵐ[P] X
theorem ProbabilityTheory.Indistinguishable.symm E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E},
X ≡ᵐ[P] Y → Y ≡ᵐ[P] X
theorem ProbabilityTheory.Indistinguishable.trans E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω}
{X Y Z : ι → Ω → E}, X ≡ᵐ[P] Y → Y ≡ᵐ[P] Z → X ≡ᵐ[P] Z
instance ProbabilityTheory.Indistinguishable.instIsTransForallForall E0 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω},
IsTrans (ι → Ω → E) fun x1 x2 ↦ x1 ≡ᵐ[P] x2
theorem ProbabilityTheory.Indistinguishable.fun_comp E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4}, X ≡ᵐ[P] Y → ∀ (f : E → F), (fun t ω ↦ f (X t ω)) ≡ᵐ[P] fun t ω ↦ f (Y t ω)
theorem ProbabilityTheory.Indistinguishable.fun_comp₂ E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} {G : Type u_5} {Z T : ι → Ω → F},
X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → ∀ (f : E → F → G), (fun t ω ↦ f (X t ω) (Z t ω)) ≡ᵐ[P] fun t ω ↦ f (Y t ω) (T t ω)
theorem ProbabilityTheory.Indistinguishable.fun_inv E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Inv E], X ≡ᵐ[P] Y → (fun i i_1 ↦ (X i i_1)⁻¹) ≡ᵐ[P] fun i i_1 ↦ (Y i i_1)⁻¹
Eta-expanded form of ProbabilityTheory.Indistinguishable.inv
theorem ProbabilityTheory.Indistinguishable.fun_neg E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Neg E], X ≡ᵐ[P] Y → (fun i i_1 ↦ -X i i_1) ≡ᵐ[P] fun i i_1 ↦ -Y i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.neg
theorem ProbabilityTheory.Indistinguishable.inv E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Inv E], X ≡ᵐ[P] Y → X⁻¹ ≡ᵐ[P] Y⁻¹
theorem ProbabilityTheory.Indistinguishable.neg E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Neg E], X ≡ᵐ[P] Y → -X ≡ᵐ[P] -Y
theorem ProbabilityTheory.Indistinguishable.mul E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Mul E] {Z T : ι → Ω → E}, X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → X * Z ≡ᵐ[P] Y * T
theorem ProbabilityTheory.Indistinguishable.fun_add E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Add E] {Z T : ι → Ω → E},
X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → (fun i i_1 ↦ X i i_1 + Z i i_1) ≡ᵐ[P] fun i i_1 ↦ Y i i_1 + T i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.add
theorem ProbabilityTheory.Indistinguishable.fun_mul E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Mul E] {Z T : ι → Ω → E},
X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → (fun i i_1 ↦ X i i_1 * Z i i_1) ≡ᵐ[P] fun i i_1 ↦ Y i i_1 * T i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.mul
theorem ProbabilityTheory.Indistinguishable.add E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Add E] {Z T : ι → Ω → E}, X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → X + Z ≡ᵐ[P] Y + T
theorem ProbabilityTheory.Indistinguishable.fun_sub E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Sub E] {Z T : ι → Ω → E},
X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → (fun i i_1 ↦ X i i_1 - Z i i_1) ≡ᵐ[P] fun i i_1 ↦ Y i i_1 - T i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.sub
theorem ProbabilityTheory.Indistinguishable.fun_div E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Div E] {Z T : ι → Ω → E},
X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → (fun i i_1 ↦ X i i_1 / Z i i_1) ≡ᵐ[P] fun i i_1 ↦ Y i i_1 / T i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.div
theorem ProbabilityTheory.Indistinguishable.sub E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Sub E] {Z T : ι → Ω → E}, X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → X - Z ≡ᵐ[P] Y - T
theorem ProbabilityTheory.Indistinguishable.div E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
[inst : Div E] {Z T : ι → Ω → E}, X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → X / Z ≡ᵐ[P] Y / T
theorem ProbabilityTheory.Indistinguishable.fun_vadd E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} {Z T : ι → Ω → F} [inst : VAdd F E],
X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → (fun i i_1 ↦ Z i i_1 +ᵥ X i i_1) ≡ᵐ[P] fun i i_1 ↦ T i i_1 +ᵥ Y i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.vadd
theorem ProbabilityTheory.Indistinguishable.fun_smul E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} {Z T : ι → Ω → F} [inst : SMul F E],
X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → (fun i i_1 ↦ Z i i_1 • X i i_1) ≡ᵐ[P] fun i i_1 ↦ T i i_1 • Y i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.smul
theorem ProbabilityTheory.Indistinguishable.smul E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} {Z T : ι → Ω → F} [inst : SMul F E], X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → Z • X ≡ᵐ[P] T • Y
theorem ProbabilityTheory.Indistinguishable.vadd E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} {Z T : ι → Ω → F} [inst : VAdd F E], X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → Z +ᵥ X ≡ᵐ[P] T +ᵥ Y
theorem ProbabilityTheory.Indistinguishable.fun_const_vadd E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} [inst : VAdd F E] {c : F}, X ≡ᵐ[P] Y → (fun i i_1 ↦ c +ᵥ X i i_1) ≡ᵐ[P] fun i i_1 ↦ c +ᵥ Y i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.const_vadd
theorem ProbabilityTheory.Indistinguishable.fun_const_smul E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} [inst : SMul F E] {c : F}, X ≡ᵐ[P] Y → (fun i i_1 ↦ c • X i i_1) ≡ᵐ[P] fun i i_1 ↦ c • Y i i_1
Eta-expanded form of ProbabilityTheory.Indistinguishable.const_smul
theorem ProbabilityTheory.Indistinguishable.const_smul E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} [inst : SMul F E] {c : F}, X ≡ᵐ[P] Y → c • X ≡ᵐ[P] c • Y
theorem ProbabilityTheory.Indistinguishable.const_vadd E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} [inst : VAdd F E] {c : F}, X ≡ᵐ[P] Y → c +ᵥ X ≡ᵐ[P] c +ᵥ Y
theorem ProbabilityTheory.Indistinguishable.prodMk E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E}
{F : Type u_4} {Z T : ι → Ω → F}, X ≡ᵐ[P] Y → Z ≡ᵐ[P] T → (fun t ω ↦ (X t ω, Z t ω)) ≡ᵐ[P] fun t ω ↦ (Y t ω, T t ω)
theorem ProbabilityTheory.Indistinguishable.ae_eq E0 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E},
X ≡ᵐ[P] Y → (fun ω t ↦ X t ω) =ᵐ[P] fun ω t ↦ Y t ω
theorem ProbabilityTheory.Indistinguishable.ae_eq_eval E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E},
X ≡ᵐ[P] Y → ∀ (t : ι), X t =ᵐ[P] Y t
theorem Filter.EventuallyEq.indist E1 #
∀ {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : ι → Ω → E},
((fun ω t ↦ X t ω) =ᵐ[P] fun ω t ↦ Y t ω) → X ≡ᵐ[P] Y