Skip to content

[Merged by Bors] - feat: more API for the variation of vector measures#39616

Closed
sgouezel wants to merge 12 commits into
leanprover-community:masterfrom
sgouezel:SG_variation
Closed

[Merged by Bors] - feat: more API for the variation of vector measures#39616
sgouezel wants to merge 12 commits into
leanprover-community:masterfrom
sgouezel:SG_variation

Conversation

@sgouezel

Copy link
Copy Markdown
Contributor

Prompted by the extension of the API around integrals wrt vector measures in #39113


Open in Gitpod

@github-actions

github-actions Bot commented May 20, 2026

Copy link
Copy Markdown

PR summary 06cfdd5534

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.MeasureTheory.VectorMeasure.Variation.Basic 1549 1572 +23 (+1.48%)
Import changes for all files
Files Import difference
Mathlib.MeasureTheory.VectorMeasure.Variation.Basic 23

Declarations diff

+ _root_.MeasurableEmbedding.variation_map
+ dirac_zero
+ instance : CovariantClass ℝ≥0 ℝ≥0∞ (· • ·) (· ≤ ·)
+ instance : CovariantClass ℝ≥0∞ ℝ≥0∞ (· • ·) (· ≤ ·)
+ instance [Finite X] : IsFiniteMeasure μ.variation
+ instance [IsFiniteMeasure μ.variation] : IsFiniteMeasure (μ.map φ).variation
+ instance [IsFiniteMeasure μ.variation] : IsFiniteMeasure (μ.restrict s).variation
+ instance [SMul R ℝ≥0∞] [IsScalarTower R ℝ≥0∞ ℝ≥0∞] [CovariantClass R ℝ≥0∞ (· • ·) (· ≤ ·)] :
+ instance {x : X} {v : V} : IsFiniteMeasure (VectorMeasure.dirac x v).variation := by
+ instance {𝕜 : Type*} [NormedField 𝕜] [NormedSpace 𝕜 V] {c : 𝕜} [IsFiniteMeasure μ.variation] :
+ mapRange_smul
+ restrict_dirac
+ restrict_dirac_of_mem
+ restrict_dirac_of_notMem
+ restrict_inter_add_diff
+ restrict_restrict
+ restrict_singleton
+ restrict_union
+ restrict_union_add_inter
+ variation_apply_eq_zero
+ variation_apply_le_of_forall_enorm_le
+ variation_dirac
+ variation_eq_zero
+ variation_map_le
+ variation_restrict
+ variation_restrict_le
+ variation_smul
+ variation_smul_le

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

Current commit 06cfdd5534
Reference commit 06f1f222bb

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/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).

@github-actions github-actions Bot added the t-measure-probability Measure theory / Probability theory label May 20, 2026
Comment thread Mathlib/MeasureTheory/Measure/MeasureSpace.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Basic.lean
Comment thread Mathlib/MeasureTheory/VectorMeasure/Basic.lean
Comment thread Mathlib/MeasureTheory/VectorMeasure/Basic.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Basic.lean
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
@EtienneC30 EtienneC30 added the awaiting-author A reviewer has asked the author a question or requested changes. label May 24, 2026
sgouezel and others added 3 commits May 24, 2026 18:58
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
@sgouezel sgouezel removed the awaiting-author A reviewer has asked the author a question or requested changes. label May 24, 2026

@EtienneC30 EtienneC30 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
maintainer delegate

Comment thread Mathlib/MeasureTheory/VectorMeasure/Basic.lean
@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by EtienneC30.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label May 29, 2026

@RemyDegenne RemyDegenne left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors d+

@mathlib-bors

mathlib-bors Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

✌️ sgouezel can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage Bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels May 29, 2026
@sgouezel

Copy link
Copy Markdown
Contributor Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request May 30, 2026
Prompted by the extension of the API around integrals wrt vector measures in #39113

Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label May 30, 2026
@mathlib-bors

mathlib-bors Bot commented May 30, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: more API for the variation of vector measures [Merged by Bors] - feat: more API for the variation of vector measures May 30, 2026
@mathlib-bors mathlib-bors Bot closed this May 30, 2026
xroblot pushed a commit to xroblot/mathlib4 that referenced this pull request May 30, 2026
…nity#39616)

Prompted by the extension of the API around integrals wrt vector measures in leanprover-community#39113

Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
b-mehta pushed a commit to b-mehta/mathlib4 that referenced this pull request Jun 2, 2026
…nity#39616)

Prompted by the extension of the API around integrals wrt vector measures in leanprover-community#39113

Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Bergschaf pushed a commit to Bergschaf/mathlib4 that referenced this pull request Jun 3, 2026
…nity#39616)

Prompted by the extension of the API around integrals wrt vector measures in leanprover-community#39113

Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
@sgouezel
sgouezel deleted the SG_variation branch June 9, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). 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.

3 participants