Skip to content

Conversation

@ster99
Copy link
Contributor

@ster99 ster99 commented Nov 25, 2025

Adding lemmas (and their symmetric version thereof)
μ(c • s ∩ t) = μ(s ∩ c⁻¹ • t)
μ(c • s ∪ t) = μ(s ∪ c⁻¹ • t)
μ(c • s ∖ t) = μ(s ∖ c⁻¹ • t)
μ(c • s Δ t) = μ(s Δ c⁻¹ • t)
for μ a SMulInvariantMeasure.


Open in Gitpod

@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Nov 25, 2025
@github-actions
Copy link

github-actions bot commented Nov 25, 2025

PR summary 4e321186bf

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ measure_inter_inv_smul
+ measure_inv_smul_inter
+ measure_inv_smul_sdiff
+ measure_inv_smul_symmDiff
+ measure_inv_smul_union
+ measure_sdiff_inv_smul
+ measure_symmDiff_inv_smul
+ measure_union_inv_smul

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

@github-actions github-actions bot added the t-measure-probability Measure theory / Probability theory label Nov 25, 2025
@ster99 ster99 changed the title feat(MeasureTheory\Group\Action): add μ(c ⋅ s ∩ t) = μ(s ∩ c⁻¹⋅ t) and similar feat(MeasureTheory\Group\Action): add μ(c • s ∩ t) = μ(s ∩ c⁻¹ • t) and similar Nov 25, 2025
@ocfnash
Copy link
Contributor

ocfnash commented Nov 26, 2025

I think these would make good simp lemmas if you flipped the LHS and RHS.

@ster99
Copy link
Contributor Author

ster99 commented Nov 26, 2025

I think these would make good simp lemmas if you flipped the LHS and RHS.

Yep you are right, thanks. Do you think the naming measure_smul_inter for μ (s ∩ c⁻¹ • t) = μ (c • s ∩ t) would still be appropriate?

@ocfnash
Copy link
Contributor

ocfnash commented Nov 27, 2025

I think these would make good simp lemmas if you flipped the LHS and RHS.

Yep you are right, thanks. Do you think the naming measure_smul_inter for μ (s ∩ c⁻¹ • t) = μ (c • s ∩ t) would still be appropriate?

I think I'd try to get an _inv into the name. So for the lemma you mention I suggest measure_inter_inv_smul.

@ocfnash
Copy link
Contributor

ocfnash commented Nov 27, 2025

Thanks!

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Nov 27, 2025
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Nov 27, 2025

Canceled.

@ocfnash
Copy link
Contributor

ocfnash commented Nov 27, 2025

@ster99 You have taken this out of the bors queue by merging master. Was this intentional?

@ster99
Copy link
Contributor Author

ster99 commented Nov 27, 2025

@ocfnash Yep, but I didn't know that merging master would have put it out of queue. Sorry, my bad. It is indeed ready to be merged and I won't touch anything this time

@ocfnash
Copy link
Contributor

ocfnash commented Nov 27, 2025

No need to apologise!

Let's try again:

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Nov 27, 2025
…nd similar (#32117)

Adding lemmas (and their symmetric version thereof)
`μ(c • s ∩ t) = μ(s ∩ c⁻¹ • t)`
`μ(c • s ∪ t) = μ(s ∪ c⁻¹ • t)`
`μ(c • s ∖ t) = μ(s ∖ c⁻¹ • t)`
`μ(c • s Δ t) = μ(s Δ c⁻¹ • t)`
for μ a `SMulInvariantMeasure`.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Nov 27, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(MeasureTheory\Group\Action): add μ(c • s ∩ t) = μ(s ∩ c⁻¹ • t) and similar [Merged by Bors] - feat(MeasureTheory\Group\Action): add μ(c • s ∩ t) = μ(s ∩ c⁻¹ • t) and similar Nov 27, 2025
@mathlib-bors mathlib-bors bot closed this Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! 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.

4 participants