Skip to content

[Merged by Bors] - chore: use unsigned measures for Lebesgue decomposition#20400

Closed
RemyDegenne wants to merge 1 commit intomasterfrom
RD_unsigned
Closed

[Merged by Bors] - chore: use unsigned measures for Lebesgue decomposition#20400
RemyDegenne wants to merge 1 commit intomasterfrom
RD_unsigned

Conversation

@RemyDegenne
Copy link
Copy Markdown
Contributor

@RemyDegenne RemyDegenne commented Jan 2, 2025

Signed measures require around 500 more imports than unsigned measures, because they use Bochner integration. As there is no particular reason to use signed measures to prove the Lebesgue decomposition theorem, we use unsigned measures instead.
This PR does not have a big impact on imports, since the file also contains other lemmas about integrability. The effect will be seen in a future PR splitting those out.


See #19278 for the stats on import reduction once the Bochner integral is not imported anymore.

Open in Gitpod

@RemyDegenne RemyDegenne added the t-measure-probability Measure theory / Probability theory label Jan 2, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 2, 2025

PR summary e4b040e094

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.MeasureTheory.Decomposition.Lebesgue 1911 1910 -1 (-0.05%)
Import changes for all files
Files Import difference
76 files Mathlib.NumberTheory.LSeries.HurwitzZetaValues Mathlib.Analysis.SpecialFunctions.Gamma.Basic Mathlib.Probability.Variance Mathlib.NumberTheory.Harmonic.ZetaAsymp Mathlib.Dynamics.Ergodic.AddCircle Mathlib.Analysis.Calculus.BumpFunction.Convolution Mathlib.Analysis.Fourier.PoissonSummation Mathlib.NumberTheory.NumberField.Discriminant.Basic Mathlib.Analysis.Distribution.FourierSchwartz Mathlib.NumberTheory.EulerProduct.DirichletLSeries Mathlib.NumberTheory.LSeries.DirichletContinuation Mathlib.Probability.StrongLaw Mathlib.Analysis.SpecialFunctions.Gaussian.GaussianIntegral Mathlib.Probability.Kernel.Composition.MeasureCompProd Mathlib.Analysis.SpecialFunctions.Gamma.Beta Mathlib.Analysis.FunctionalSpaces.SobolevInequality Mathlib.NumberTheory.LSeries.ZMod Mathlib.Analysis.SpecialFunctions.ImproperIntegrals Mathlib.Analysis.SpecialFunctions.Gamma.Deligne Mathlib.NumberTheory.ModularForms.JacobiTheta.Manifold Mathlib.MeasureTheory.Measure.Lebesgue.VolumeOfBalls Mathlib.NumberTheory.Cyclotomic.Three Mathlib.NumberTheory.LSeries.HurwitzZetaEven Mathlib.Analysis.SpecialFunctions.Gaussian.PoissonSummation Mathlib.Analysis.Fourier.Inversion Mathlib.Probability.Distributions.Gaussian Mathlib.NumberTheory.Harmonic.GammaDeriv Mathlib.NumberTheory.NumberField.CanonicalEmbedding.FundamentalCone Mathlib.Analysis.SpecialFunctions.PolarCoord Mathlib.MeasureTheory.Covering.LiminfLimsup Mathlib.MeasureTheory.Order.UpperLower Mathlib.NumberTheory.ModularForms.JacobiTheta.OneVariable Mathlib.MeasureTheory.Covering.BesicovitchVectorSpace Mathlib.Analysis.Fourier.FourierTransformDeriv Mathlib.NumberTheory.LSeries.RiemannZeta Mathlib.MeasureTheory.Covering.OneDim Mathlib.NumberTheory.FLT.Three Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody Mathlib.MeasureTheory.Covering.DensityTheorem Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds Mathlib.NumberTheory.LSeries.Dirichlet Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable Mathlib.NumberTheory.LSeries.Nonvanishing Mathlib.MeasureTheory.Integral.IntegralEqImproper Mathlib.Probability.Kernel.Disintegration.Basic Mathlib.NumberTheory.LSeries.MellinEqDirichlet Mathlib.MeasureTheory.Function.Jacobian Mathlib.Probability.Moments Mathlib.NumberTheory.Cyclotomic.PID Mathlib.Analysis.SpecialFunctions.Gamma.BohrMollerup Mathlib.MeasureTheory.Decomposition.Lebesgue Mathlib.MeasureTheory.Integral.PeakFunction Mathlib.NumberTheory.NumberField.Units.DirichletTheorem Mathlib.MeasureTheory.Integral.ExpDecay Mathlib.NumberTheory.NumberField.Units.Regulator Mathlib.Analysis.Calculus.Monotone Mathlib.Probability.IdentDistrib Mathlib.Analysis.MellinInversion Mathlib.MeasureTheory.Covering.Differentiation Mathlib.NumberTheory.LSeries.HurwitzZetaOdd Mathlib.Analysis.Calculus.LineDeriv.IntegrationByParts Mathlib.Analysis.BoundedVariation Mathlib.NumberTheory.WellApproximable Mathlib.Analysis.Calculus.Rademacher Mathlib.Analysis.MellinTransform Mathlib.MeasureTheory.Integral.Gamma Mathlib.Analysis.SpecialFunctions.Trigonometric.EulerSineProd Mathlib.NumberTheory.LSeries.PrimesInAP Mathlib.MeasureTheory.Covering.Besicovitch Mathlib.NumberTheory.NumberField.ClassNumber Mathlib.Probability.ConditionalExpectation Mathlib.NumberTheory.LSeries.HurwitzZeta Mathlib.Analysis.SpecialFunctions.Gaussian.FourierTransform Mathlib.Analysis.SpecialFunctions.Gamma.Deriv Mathlib.Probability.Notation Mathlib.NumberTheory.LSeries.AbstractFuncEq
-1
35 files Mathlib.Probability.Process.HittingTime Mathlib.Probability.BorelCantelli Mathlib.Probability.Distributions.Exponential Mathlib.Probability.Martingale.Upcrossing Mathlib.Probability.Martingale.OptionalSampling Mathlib.MeasureTheory.Measure.LogLikelihoodRatio Mathlib.Probability.Kernel.Disintegration.Integral Mathlib.Probability.Independence.ZeroOne Mathlib.Probability.Kernel.Disintegration.StandardBorel Mathlib.Probability.Kernel.CondDistrib Mathlib.Probability.Martingale.Basic Mathlib.MeasureTheory.Decomposition.RadonNikodym Mathlib.Probability.Kernel.RadonNikodym Mathlib.MeasureTheory.Decomposition.SignedLebesgue Mathlib.MeasureTheory.Measure.WithDensityFinite Mathlib.Probability.Martingale.Convergence Mathlib.Probability.Kernel.Disintegration.CondCDF Mathlib.Probability.Kernel.Disintegration.Density Mathlib.Probability.Distributions.Uniform Mathlib.MeasureTheory.Measure.Tilted Mathlib.Probability.Process.Stopping Mathlib.Probability.Process.Adapted Mathlib.Probability.Distributions.Pareto Mathlib.Probability.Process.Filtration Mathlib.Probability.Kernel.Condexp Mathlib.Probability.Distributions.Gamma Mathlib.Probability.Martingale.OptionalStopping Mathlib.Probability.Martingale.BorelCantelli Mathlib.Probability.Density Mathlib.Probability.Kernel.Disintegration.Unique Mathlib.Probability.Independence.Conditional Mathlib.MeasureTheory.Function.ConditionalExpectation.Real Mathlib.Probability.Process.PartitionFiltration Mathlib.Probability.CDF Mathlib.Probability.Martingale.Centering
1

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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).

@sgouezel
Copy link
Copy Markdown
Contributor

sgouezel commented Jan 3, 2025

bors r+
Much better, thanks!

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jan 3, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jan 3, 2025
Signed measures require around 500 more imports than unsigned measures, because they use Bochner integration. As there is no particular reason to use signed measures to prove the Lebesgue decomposition theorem, we use unsigned measures instead.
This PR does not have a big impact on imports, since the file also contains other lemmas about integrability. The effect will be seen in a future PR splitting those out.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 3, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: use unsigned measures for Lebesgue decomposition [Merged by Bors] - chore: use unsigned measures for Lebesgue decomposition Jan 3, 2025
@mathlib-bors mathlib-bors bot closed this Jan 3, 2025
@mathlib-bors mathlib-bors bot deleted the RD_unsigned branch January 3, 2025 14:55
Julian added a commit that referenced this pull request Jan 5, 2025
* origin/master: (133 commits)
  chore(1000): remove nonexistent fields (#20493)
  chore(CategoryTheory/Adjunction.Basic, CategoryTheory/Equivalence): change definition of `Adjunction.comp` and `Equivalence.trans` (#20490)
  feat(Asymptotics): add `Asymptotics.*.*Prod` lemmas (#20458)
  feat: a conditional kernel is almost everywhere a probability measure (#20430)
  feat: if `f` is a measurable group hom, then every point has a neighborhood `s` such that `f '' s` is bounded (#20304)
  feat: `Ico`, `Ioc`, and `Ioo` are not closed or compact (#20479)
  chore: drop redundant hypothesis in `Module.Dual.eq_of_preReflection_mapsTo` (#20492)
  feat(FaaDiBruno): derive `DecidableEq` (#20482)
  chore(SetTheory/Ordinal/Basic): `{x // x < y}` → `Iio y` (#20413)
  chore: generalize `FormalMultilinearSeries.ofScalars_norm` to `Seminormed` (#20351)
  chore(MvPolynomial/Localization): golf using TensorProduct (#20309)
  chore(Combinatorics/Enumerative/Partition): auto-derive DecidableEq (#20277)
  chore(CategoryTheory): make relevant parameters explicit in `Arrow.homMk`. (#20259)
  feat: add `IsStarNormal (↑x⁻¹ : R)` instance for `x : Rˣ` (#20091)
  fix: Stop cancelling builds of master (#20435)
  chore: update Mathlib dependencies 2025-01-05 (#20485)
  feat(SetTheory/Cardinal/Arithmetic): miscellaneous cardinality lemmas (#18933)
  chore: bump toolchain to v4.16.0-rc1, and merge bump/v4.16.0 (#20464)
  chore: bot validates lean-toolchain on bump/v4.X.0 branches (#20478)
  feat: shorthand lemmas for the L1 norm (#20383)
  chore: remove unnecessary adaptation notes (#20467)
  chore(Algebra/Category/MonCat/Colimits): remove smallness condition (#20473)
  chore(SetTheory/Ordinal/Arithmetic): `IsLeftCancelAdd Ordinal` (#19888)
  feat(Algebra): more on `OrthogonalIdempotents` (#18195)
  feat(Radical): `(radical a).natDegree ≤ a.natDegree` (#20468)
  feat(Polynomial): `(a^n)' = 0` iff `a' = 0` when `n` doesn't divide the characteristic (#20190)
  feat(Algebra/Lie): add Lie's theorem (#13480)
  chore(RingTheory/Generators): make algebra instance a def (#14265)
  feat(Topology/Group): Lemmas about profinite group (#20282)
  feat: the empty set is a topological basis iff the space is empty (#20441)
  chore: make uniqueness of conditionally complete linearly ordered archimedean fields independent of the construction of `Real` (#20242)
  chore: `inherit_doc`s for notations (#20376)
  chore: split AEEqOfIntegral into two files, one for each integral type (#20405)
  chore: split Kernel/MeasurableIntegral (#20427)
  feat(MeasureTheory/Group/Measure): add ContinuousMulEquiv.isHaarMeasure_map (#20469)
  fix(Mathlib.Tactic.CC.Datatypes): `cc` raises panic (#20422)
  feat(Probability/Moments): add lemmas about moment generating functions (#19886)
  feat(Algebra/Order/AddGroupWithTop): lemmas about LinearOrderedAddCommGroupWithTop (#18954)
  chore: bump toolchain to v4.15.0 (#20461)
  chore: update Mathlib dependencies 2025-01-04 (#20463)
  fix: make `Prod` projection delaborators respond to options, add option to disable (#20455)
  chore(Algebra): Improve attribute generation (#20451)
  feat(Polynomial): `(C a * p).degree = p.degree` if `a * p.leadingCoeff ≠ 0` (#20446)
  feat: add `ENNReal.finStronglyMeasurable_of_measurable` (#20404)
  doc(Algebra/Lie/Weights/Basic): fix typo (#20450)
  chore(1000): remove `identifiers` (#20445)
  feat: add sumPiEquivProdPi and piUnique (#20195)
  feat: add fst_compProd_apply (#20429)
  chore: use unsigned measures for Lebesgue decomposition (#20400)
  feat: Two lemmas on divisibility and coprimality of `expand` (#20143)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants