Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Probability): notation and lemmas for the composition of a measure and a kernel (Measure.bind) #19639

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

RemyDegenne
Copy link
Contributor

From the TestingLowerBounds project.
Co-authored-by: Lorenzo Luccioli


Open in Gitpod

@RemyDegenne RemyDegenne added WIP Work in progress t-measure-probability Measure theory / Probability theory labels Nov 30, 2024
Copy link

PR summary d0c87ff25b

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Probability.Kernel.Composition.ParallelComp (new file) 1952
Mathlib.Probability.Kernel.Composition.MeasureComp (new file) 1955

Declarations diff

+ AbsolutelyContinuous.comp
+ AbsolutelyContinuous.comp_left
+ AbsolutelyContinuous.comp_right
+ MeasureTheory.Measure.parallelComp_comp_compProd
+ MeasureTheory.Measure.prod_comp_left
+ MeasureTheory.Measure.prod_comp_right
+ compProd_eq_comp_prod
+ compProd_eq_parallelComp_comp_copy_comp
+ compProd_id
+ compProd_id_eq_copy_comp
+ comp_add_left
+ comp_add_left'
+ comp_add_right
+ comp_apply_univ
+ comp_assoc
+ comp_const
+ comp_deterministic_eq_map
+ comp_id
+ comp_smul_left
+ comp_swap
+ deterministic_comp_copy
+ instance (κ : Kernel α β) (η : Kernel γ δ) : IsSFiniteKernel (κ ∥ₖ η) := by
+ instance (κ : Kernel α β) [IsFiniteKernel κ] (η : Kernel γ δ) [IsFiniteKernel η] :
+ instance (κ : Kernel α β) [IsMarkovKernel κ] (η : Kernel γ δ) [IsMarkovKernel η] :
+ instance [IsFiniteMeasure μ] [IsFiniteKernel κ] : IsFiniteMeasure (κ ∘ₘ μ) := by
+ instance [IsProbabilityMeasure μ] [IsMarkovKernel κ] : IsProbabilityMeasure (κ ∘ₘ μ) := by
+ instance [SFinite μ] [IsSFiniteKernel κ] : SFinite (κ ∘ₘ μ) := by
+ lintegral_parallelComp
+ map_comp
+ parallelComp
+ parallelComp_apply
+ parallelComp_comm
+ parallelComp_comp_copy
+ parallelComp_comp_id_left_right
+ parallelComp_comp_id_right_left
+ parallelComp_comp_left
+ parallelComp_comp_parallelComp
+ parallelComp_comp_prod
+ parallelComp_comp_right
+ snd_compProd
+ swap_parallelComp

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR to Mathlib (this label is automatically managed by a bot) label Nov 30, 2024
@mathlib4-dependent-issues-bot
Copy link
Collaborator

This PR/issue depends on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked-by-other-PR This PR depends on another PR to Mathlib (this label is automatically managed by a bot) t-measure-probability Measure theory / Probability theory WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants