LeanMachineLearning

ProbabilityTheory.Kernel.monoComp🔗

Definition

The kernelized version of the monoidal composition of kernels using the SFinKer category.

🔗def
ProbabilityTheory.Kernel.monoComp.{u_1, u_2, u_3, u_4} {W : Type u_1} {X : Type u_2} {Y : Type u_3} {Z : Type u_4} [MeasurableSpace W] [MeasurableSpace X] [MeasurableSpace Y] [MeasurableSpace Z] [MeasurableCoherence X Y] (κ : Kernel W X) [IsSFiniteKernel κ] (η : Kernel Y Z) [IsSFiniteKernel η] : Kernel W Z
ProbabilityTheory.Kernel.monoComp.{u_1, u_2, u_3, u_4} {W : Type u_1} {X : Type u_2} {Y : Type u_3} {Z : Type u_4} [MeasurableSpace W] [MeasurableSpace X] [MeasurableSpace Y] [MeasurableSpace Z] [MeasurableCoherence X Y] (κ : Kernel W X) [IsSFiniteKernel κ] (η : Kernel Y Z) [IsSFiniteKernel η] : Kernel W Z

Code

noncomputable abbrev monoComp : Kernel W Z := monoComp₀ (SW := SFinKer.of <| ULift W) (SX := SFinKer.of <| ULift X) (SY := SFinKer.of <| ULift Y) (SZ := SFinKer.of <| ULift Z) ulift.{_, max u_1 u_2 u_3 u_4} ulift.{_, max u_1 u_2 u_3 u_4} ulift.{_, max u_1 u_2 u_3 u_4} ulift.{_, max u_1 u_2 u_3 u_4} κ η

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: 5 project declarations, 29 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.