LeanMachineLearning

ProbabilityTheory.Kernel.whiskerLeft🔗

Lemma

No docstring.

🔗theorem
ProbabilityTheory.Kernel.whiskerLeft.{u_1, u_2, u_4, u_5} {X : Type u_1} {Y : Type u_2} {Z : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [MeasurableSpace Z] (SX SY SZ : SFinKer) (ex : SFinKer.carrier SX ≃ᵐ X) (ey : SFinKer.carrier SY ≃ᵐ Y) (ez : SFinKer.carrier SZ ≃ᵐ Z) (κ : Kernel X Y) [IsSFiniteKernel κ] : CategoryTheory.MonoidalCategoryStruct.whiskerLeft SZ (hom κ) = hom (parallelComp Kernel.id κ)
ProbabilityTheory.Kernel.whiskerLeft.{u_1, u_2, u_4, u_5} {X : Type u_1} {Y : Type u_2} {Z : Type u_4} [MeasurableSpace X] [MeasurableSpace Y] [MeasurableSpace Z] (SX SY SZ : SFinKer) (ex : SFinKer.carrier SX ≃ᵐ X) (ey : SFinKer.carrier SY ≃ᵐ Y) (ez : SFinKer.carrier SZ ≃ᵐ Z) (κ : Kernel X Y) [IsSFiniteKernel κ] : CategoryTheory.MonoidalCategoryStruct.whiskerLeft SZ (hom κ) = hom (parallelComp Kernel.id κ)

Code

lemma whiskerLeft (κ : Kernel X Y) [IsSFiniteKernel κ] : SZ ◁ κ.hom (ex := ex) (ey := ey) =
      (Kernel.id (α := Z) ∥ₖ κ).hom (ex := ez.prodCongr ex) (ey := ez.prodCongr ey)
Proof
by
  ext _ _ hs; dsimp
  simp only [hom]
  rw [parallelComp_apply, comap_apply, map_apply, id_apply,
    comap_apply, map_apply, parallelComp_apply, id_apply]
  · simp only [Measure.dirac_prod, MeasurableEquiv.prodCongr]
    rw [Measure.map_map, Measure.map_map, Measure.map_apply, Measure.map_apply]
    · congr 3
      simp
    all_goals try fun_prop
    all_goals exact hs
  all_goals fun_prop

Actions: Source · Open Issue

Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23).

Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file · open it in the Lean web editor.

Dependency graph

Audit surface: 1 project declarations, 31 external constants

✓ Proved: no sorry anywhere in its closure

This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.