Skip to content

feat(Algebra/Homology): pseudofunctorial behaviour of Functor.mapDerivedCategory - #43089

Open
joelriou wants to merge 11 commits into
leanprover-community:masterfrom
joelriou:ext-adjunction-0
Open

feat(Algebra/Homology): pseudofunctorial behaviour of Functor.mapDerivedCategory#43089
joelriou wants to merge 11 commits into
leanprover-community:masterfrom
joelriou:ext-adjunction-0

Conversation

@joelriou

@joelriou joelriou commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

In this PR, we shall show the compatibilities required for #43086.


Open in Gitpod

@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown

PR summary 0658bfe564

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ comp_mapExactFunctor
+ id_mapExactFunctor
+ instance (R : Type*) [Ring R] [CategoryTheory.Linear R C₁] [CategoryTheory.Linear R C₂]
+ instance :
+ instance : NatTrans.CommShift (mapDerivedCategoryCompIso F G).hom ℤ := sorry
+ instance : NatTrans.CommShift (mapDerivedCategoryIdIso C₁).hom ℤ := sorry
+ mapDerivedCategoryCompIso
+ mapDerivedCategoryCompIso_hom_app_Q_obj
+ mapDerivedCategoryCompIso_hom_app_comp_mapDerivedCategorySingleFunctor_hom_app
+ mapDerivedCategoryIdIso
+ mapDerivedCategoryIdIso_hom_app_singleFunctor_obj
+ mapDerivedCategoryIdIso_inv_app_singleFunctor_obj
+ mapDerivedCategorySingleFunctor_inv_app_comp_mapDerivedCategoryCompIso_inv_app
+ mapExactFunctor_comp_mk₀_natTransApp
+ singleFunctorIsoCompQh
- Qh_obj_singleFunctors_obj
- instance [F.Linear R] : F.mapDerivedCategory.Linear R := by
- singleFunctorsPostcompQIso_hom_hom
- singleFunctorsPostcompQIso_inv_hom

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.

Declarations diff (Lean -- pending)

Computed after the build finishes.


Decrease in strong tech debt: (relative, absolute) = (0.17, 0.00)
Current number Change Type (strong)
backward.defeqAttrib.useBackward 4299 -8
backward.isDefEq.respectTransparency 4864 -2
backward.isDefEq.respectTransparency.types 2522 -5
erw 500 3
adaptation notes 377 -1
No changes to weak technical debt.

Current commit 0658bfe564
Reference commit 661ab0bdd3

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 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 tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip label Aug 25, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Aug 25, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) t-category-theory Category theory tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant