Documentation

PFR.Mathlib.Probability.Kernel.Composition

theorem ProbabilityTheory.kernel.map_map {α : Type u_1} {γ : Type u_3} {δ : Type u_4} :
∀ {x : MeasurableSpace α} {x_1 : MeasurableSpace δ} {β : Type u_9} [inst : MeasurableSpace β] [inst_1 : MeasurableSpace γ] (κ : (ProbabilityTheory.kernel α β)) {f : βγ} (hf : Measurable f) {g : γδ} (hg : Measurable g), ProbabilityTheory.kernel.map (ProbabilityTheory.kernel.map κ f hf) g hg = ProbabilityTheory.kernel.map κ (g f)
theorem ProbabilityTheory.kernel.map_swapRight {α : Type u_1} {γ : Type u_3} {δ : Type u_4} :
∀ {x : MeasurableSpace α} {x_1 : MeasurableSpace δ} {β : Type u_9} [inst : MeasurableSpace β] [inst_1 : MeasurableSpace γ] (κ : (ProbabilityTheory.kernel α (β × γ))) {f : γ × βδ} (hf : Measurable f), ProbabilityTheory.kernel.map (ProbabilityTheory.kernel.swapRight κ) f hf = ProbabilityTheory.kernel.map κ (f Prod.swap)
noncomputable def ProbabilityTheory.kernel.deleteMiddle {α : Type u_1} {γ : Type u_3} {δ : Type u_4} :
{x : MeasurableSpace α} → {x_1 : MeasurableSpace δ} → {β : Type u_9} → [inst : MeasurableSpace β] → [inst_1 : MeasurableSpace γ] → (ProbabilityTheory.kernel α (β × γ × δ))(ProbabilityTheory.kernel α (β × δ))

Given a kernel taking values in a product of three spaces, forget the middle one.

Equations
Instances For
    Equations
    • =
    @[simp]
    theorem ProbabilityTheory.kernel.deleteMiddle_map_prod {α : Type u_1} {γ : Type u_3} {δ : Type u_4} {ε : Type u_5} :
    ∀ {x : MeasurableSpace α} {x_1 : MeasurableSpace δ} {x_2 : MeasurableSpace ε} {β : Type u_9} [inst : MeasurableSpace β] [inst_1 : MeasurableSpace γ] (κ : (ProbabilityTheory.kernel α β)) {f : βγ} {g : βδ} {g' : βε} (hf : Measurable f) (hg : Measurable g) (hg' : Measurable g'), ProbabilityTheory.kernel.deleteMiddle (ProbabilityTheory.kernel.map κ (fun (b : β) => (f b, g b, g' b)) ) = ProbabilityTheory.kernel.map κ (fun (b : β) => (f b, g' b))
    noncomputable def ProbabilityTheory.kernel.deleteRight {α : Type u_1} {γ : Type u_3} {δ : Type u_4} :
    {x : MeasurableSpace α} → {x_1 : MeasurableSpace δ} → {β : Type u_9} → [inst : MeasurableSpace β] → [inst_1 : MeasurableSpace γ] → (ProbabilityTheory.kernel α (β × γ × δ))(ProbabilityTheory.kernel α (β × γ))

    Given a kernel taking values in a product of three spaces, forget the last variable.

    Equations
    Instances For
      Equations
      • =
      @[simp]
      theorem ProbabilityTheory.kernel.deleteRight_map_prod {α : Type u_1} {γ : Type u_3} {δ : Type u_4} {ε : Type u_5} :
      ∀ {x : MeasurableSpace α} {x_1 : MeasurableSpace δ} {x_2 : MeasurableSpace ε} {β : Type u_9} [inst : MeasurableSpace β] [inst_1 : MeasurableSpace γ] (κ : (ProbabilityTheory.kernel α β)) {f : βγ} {g : βδ} {g' : βε} (hf : Measurable f) (hg : Measurable g) (hg' : Measurable g'), ProbabilityTheory.kernel.deleteRight (ProbabilityTheory.kernel.map κ (fun (b : β) => (f b, g b, g' b)) ) = ProbabilityTheory.kernel.map κ (fun (b : β) => (f b, g b))
      noncomputable def ProbabilityTheory.kernel.reverse {α : Type u_1} {γ : Type u_3} {δ : Type u_4} :
      {x : MeasurableSpace α} → {x_1 : MeasurableSpace δ} → {β : Type u_9} → [inst : MeasurableSpace β] → [inst_1 : MeasurableSpace γ] → (ProbabilityTheory.kernel α (β × γ × δ))(ProbabilityTheory.kernel α (δ × γ × β))

      Given a kernel taking values in a product of three spaces, reverse the order of the spaces.

      Equations
      Instances For
        @[simp]
        theorem ProbabilityTheory.kernel.reverse_reverse {α : Type u_1} {γ : Type u_3} {δ : Type u_4} :
        ∀ {x : MeasurableSpace α} {x_1 : MeasurableSpace δ} {β : Type u_9} [inst : MeasurableSpace β] [inst_1 : MeasurableSpace γ] (κ : (ProbabilityTheory.kernel α (β × γ × δ))), ProbabilityTheory.kernel.reverse (ProbabilityTheory.kernel.reverse κ) = κ
        Equations
        • =

        Reversing preserves finite kernel support