ProbabilityTheory.Kernel.sub_def
This page has the declaration's own card below, then its dependency graph, then a card for each dependency (type dependencies first, then the rest of the transitive closure). For a theorem, the graph and the dependency cards only follow its statement's dependencies (its proof is replaced by sorry, so what it proves doesn't depend on how); for everything else, both the type and the body/value are followed, since their content is part of what later declarations build on.
sub_def🔗
ProbabilityTheory.Kernel.sub_defNo docstring.
ProbabilityTheory.Kernel.sub_def.{u_1, u_2} {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} [MeasurableSpace.CountableOrCountablyGenerated α β] {κ η : Kernel α β} [(η : Kernel α β) → Decidable (IsSFiniteKernel η)] : κ - η = if h : IsSFiniteKernel κ ∧ IsSFiniteKernel η then have this := ⋯; have this_1 := ⋯; (withDensity η fun a => rnDeriv κ η a - 1) + singularPart κ η else 0ProbabilityTheory.Kernel.sub_def.{u_1, u_2} {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} [MeasurableSpace.CountableOrCountablyGenerated α β] {κ η : Kernel α β} [(η : Kernel α β) → Decidable (IsSFiniteKernel η)] : κ - η = if h : IsSFiniteKernel κ ∧ IsSFiniteKernel η then have this := ⋯; have this_1 := ⋯; (withDensity η fun a => rnDeriv κ η a - 1) + singularPart κ η else 0
Code
lemma sub_def [∀ η : Kernel α β, Decidable (IsSFiniteKernel η)] :
κ - η = if h : IsSFiniteKernel κ ∧ IsSFiniteKernel η
then
haveType uses (1)
Used by (1)
Actions: Source · Open Issue
Proof
h.1
have := h.2
η.withDensity (fun a ↦ κ.rnDeriv η a - 1) + κ.singularPart η
else 0 :=
rflDependency graph
Type dependencies (1)
instSubOfDecidableIsSFiniteKernel_leanMachineLearning🔗
ProbabilityTheory.Kernel.instSubOfDecidableIsSFiniteKernel_leanMachineLearningNo docstring.
ProbabilityTheory.Kernel.instSubOfDecidableIsSFiniteKernel_leanMachineLearning.{u_1, u_2} {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} [MeasurableSpace.CountableOrCountablyGenerated α β] [(η : Kernel α β) → Decidable (IsSFiniteKernel η)] : Sub (Kernel α β)ProbabilityTheory.Kernel.instSubOfDecidableIsSFiniteKernel_leanMachineLearning.{u_1, u_2} {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} [MeasurableSpace.CountableOrCountablyGenerated α β] [(η : Kernel α β) → Decidable (IsSFiniteKernel η)] : Sub (Kernel α β)
Code
noncomputable
instance [∀ η : Kernel α β, Decidable (IsSFiniteKernel η)] :
Sub (Kernel α β) where
sub κ ηUsed by (11)
Actions: Source · Open Issue
Proof
if h : IsSFiniteKernel κ ∧ IsSFiniteKernel η
then
have := h.1
have := h.2
η.withDensity (fun a ↦ κ.rnDeriv η a - 1) + κ.singularPart η
else 0