chore: replace WithLp.equiv with a new pair WithLp.toLp/WithLp.ofLp#24261
chore: replace WithLp.equiv with a new pair WithLp.toLp/WithLp.ofLp#24261
WithLp.equiv with a new pair WithLp.toLp/WithLp.ofLp#24261Conversation
PR summary 78a26d50f7Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type |
|---|---|---|
| 81 | 2 | disabled deprecation lints |
Current commit 7bb53035e4
Reference commit 78a26d50f7
You can run this locally as
./scripts/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
WithLp.equiv, make arguments implicit and change the direction of the equivalenceWithLp.toLp
YaelDillies
left a comment
There was a problem hiding this comment.
Thanks!
maintainer delegate
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
eric-wieser
left a comment
There was a problem hiding this comment.
I think we should rip off the bandaid and deprecate equiv in this PR, rather than in a follow-up. Otherwise we have two spellings of everything, and reviewers have to tell contributors which one to use.
|
Can't this be done in a second PR soon? Paul is really really focused on that refactor and definitely doesn't have 10 other things going on. |
|
I don't see any benefit in merging this PR until the other is ready to go. Mathlib shouldn't have two non-deprecated ways to spell something identical. |
|
I can take care of this tonight! |
|
Sure, I agree. All I'm saying is that they should be in separate PR. But I am happy for both PRs to land in a short time frame. |
|
Added the deprecations (and also removed Along the way, I also noticed that |
|
This pull request has conflicts, please merge |
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
|
I've adjusted the diff here to show the difference with the now-merged #26459; merging this PR as is would amount to reverting that one and merging the original version of this instead. I don't think we should actually do that, but maybe there are parts of this diff we still want. |
|
This pull request has conflicts, please merge |
…26249) Put a measurable space structure on a general `WithLp`. Define a `MeasurableEquiv` version of `WithLp.equiv`. The direction is reversed in prevision of the `WithLp` refactor in leanprover-community#24261. Define a `BorelSpace` instance.
…26249) Put a measurable space structure on a general `WithLp`. Define a `MeasurableEquiv` version of `WithLp.equiv`. The direction is reversed in prevision of the `WithLp` refactor in leanprover-community#24261. Define a `BorelSpace` instance.
This PR does the following:
WithLp.equivWithLp.toLpandWithLp.ofLp(for consistency with other equivalences to type synonyms)See Zulip discussion