Repository navigation
[Merged by Bors] - feat(Algebra/Homology): pseudofunctorial behaviour of Functor.mapDerivedCategory - #43089
[Merged by Bors] - feat(Algebra/Homology): pseudofunctorial behaviour of Functor.mapDerivedCategory#43089joelriou wants to merge 29 commits into
Functor.mapDerivedCategory#43089Conversation
PR summary 563b376a95Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| backward.defeqAttrib.useBackward | 4276 | -10 |
| backward.isDefEq.respectTransparency | 4801 | -16 |
| backward.isDefEq.respectTransparency.types | 2482 | -1 |
Current commit 563b376a95
Reference commit 981fa8f557
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.py 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).
|
This PR/issue depends on: |
| attribute, as the generated lemmas would not be very useful.) -/ | ||
| @[implicit_reducible] | ||
| noncomputable def singleFunctors : SingleFunctors C (CochainComplex C ℤ) ℤ where | ||
| noncomputable abbrev singleFunctors : SingleFunctors C (CochainComplex C ℤ) ℤ where |
There was a problem hiding this comment.
Do you have a heuristic for this change?
There was a problem hiding this comment.
Unfortunately, no. On a just slightly older mathlib, it seems this change was not necessary. Trying to keep an implicit_reducible def broke a few other files, so that making this an abbrev is the solution with the minimum diff. If you have a strong preference, I can try to make this again an implicit_reducible def, and fix the downstream breakages...
There was a problem hiding this comment.
The amount of backwards-compat options that are being removed in this PR is very encouraging.
It would be great if we can rationalize (post-rationalize 🙈) a good explanation for why abbrev is the best choice here.
But I don't necessarily want to block on that.
bors d+
|
✌️ joelriou can now approve this pull request until 2026-09-15 09:03 UTC (in 2 weeks). To approve and merge, reply with
|
|
Thanks! bors merge |
…ivedCategory` (#43089) In this PR, we do not construct a pseudofunctor from the bicategory of abelian categories and exact functors to the bicategory of triangulated categories which sends an abelian category to its derived category: we show part of the corresponding compatibilites (those that are required for #43086).
|
This PR was included in a batch that was canceled, it will be automatically retried |
…ivedCategory` (#43089) In this PR, we do not construct a pseudofunctor from the bicategory of abelian categories and exact functors to the bicategory of triangulated categories which sends an abelian category to its derived category: we show part of the corresponding compatibilites (those that are required for #43086).
|
Pull request successfully merged into master. Build succeeded: |
Functor.mapDerivedCategoryFunctor.mapDerivedCategory
…ivedCategory` (leanprover-community#43089) In this PR, we do not construct a pseudofunctor from the bicategory of abelian categories and exact functors to the bicategory of triangulated categories which sends an abelian category to its derived category: we show part of the corresponding compatibilites (those that are required for leanprover-community#43086).
In this PR, we do not construct a pseudofunctor from the bicategory of abelian categories and exact functors to the bicategory of triangulated categories which sends an abelian category to its derived category: we show part of the corresponding compatibilites (those that are required for #43086).
I had to replace an
implicit_reducible defby anabbrevat https://github.com/joelriou/mathlib4/blob/7fa46d31af3ddc735d7e996cbfbf856b4b8709ac/Mathlib/Algebra/Homology/HomotopyCategory/SingleFunctors.lean#L42 to prevent some breakage. I am not completely sure what is going on :-(HomologicalComplexUpToQuasiIso.Qh#43103