Skip to content

[Merged by Bors] - chore(Algebra/Homology): unexpose HomologicalComplexUpToQuasiIso.Qh - #43103

Closed
joelriou wants to merge 9 commits into
leanprover-community:masterfrom
joelriou:clean-up-derived-category
Closed

joelriou wants to merge 9 commits into
leanprover-community:masterfrom
joelriou:clean-up-derived-category

Conversation

@joelriou

@joelriou joelriou commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

The consequence is that the natural isomorphism HomotopyCategory.quotient C (ComplexShape.up ℤ) ⋙ DerivedCategory.Qh ≅ DerivedCategory.Q is no longer Iso.refl _, which prevents "abuse" of defeq in the syntax. At the same time, this allows to get better definitional properties for DerivedCategory.singleFunctor. (When working on individual objects, it is more convenient to work with cochain complexes rather than objects in the homotopy category, which is the reason why I am making this design choice.)


Open in Gitpod

@joelriou joelriou added WIP Work in progress t-category-theory Category theory labels Aug 25, 2026
@github-actions github-actions Bot added the tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip label Aug 25, 2026
@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

PR summary 5ee41ddd12

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ singleFunctorIsoCompQh
- Qh_obj_singleFunctors_obj
- 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)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 5ee41dd).

  • +2 new declarations
  • −2 removed declarations
+CategoryTheory.MorphismProperty.RightFraction.mk.congr_simp
-CategoryTheory.SingleFunctors.postcompIsoOfIso.congr_simp
-DerivedCategory.Qh_obj_singleFunctors_obj
+DerivedCategory.singleFunctorIsoCompQh

Decrease in strong tech debt: (relative, absolute) = (1.70, 0.01)
Current number Change Type (strong)
backward.defeqAttrib.useBackward 4297 -9
backward.isDefEq.respectTransparency 4862 -3
backward.isDefEq.respectTransparency.types 2502 -5
erw 496 -1
adaptation notes 377 -1
No changes to weak technical debt.

Current commit 5ee41ddd12
Reference commit 5a71cf863f

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

@joelriou joelriou removed the WIP Work in progress label Aug 25, 2026

@jcommelin jcommelin 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 🎉

bors merge

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Aug 31, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Aug 31, 2026
…#43103)

The consequence is that the natural isomorphism `HomotopyCategory.quotient C (ComplexShape.up ℤ) ⋙ DerivedCategory.Qh ≅ DerivedCategory.Q` is no longer `Iso.refl _`, which prevents "abuse" of defeq in the syntax. At the same time, this allows to get better definitional properties for `DerivedCategory.singleFunctor`. (When working on individual objects, it is more convenient to work with cochain complexes rather than objects in the homotopy category, which is the reason why I am making this design choice.)
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Aug 31, 2026
@mathlib-bors

mathlib-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This PR was included in a batch that was canceled, it will be automatically retried

@mathlib-bors mathlib-bors Bot removed the bors-staging This PR is currently being built by bors on the staging branch. label Aug 31, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Aug 31, 2026
…#43103)

The consequence is that the natural isomorphism `HomotopyCategory.quotient C (ComplexShape.up ℤ) ⋙ DerivedCategory.Qh ≅ DerivedCategory.Q` is no longer `Iso.refl _`, which prevents "abuse" of defeq in the syntax. At the same time, this allows to get better definitional properties for `DerivedCategory.singleFunctor`. (When working on individual objects, it is more convenient to work with cochain complexes rather than objects in the homotopy category, which is the reason why I am making this design choice.)
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Aug 31, 2026
@mathlib-bors

mathlib-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title chore(Algebra/Homology): unexpose HomologicalComplexUpToQuasiIso.Qh [Merged by Bors] - chore(Algebra/Homology): unexpose HomologicalComplexUpToQuasiIso.Qh Aug 31, 2026
@mathlib-bors mathlib-bors Bot closed this Aug 31, 2026
joelriou added a commit to joelriou/mathlib4 that referenced this pull request Sep 5, 2026
…leanprover-community#43103)

The consequence is that the natural isomorphism `HomotopyCategory.quotient C (ComplexShape.up ℤ) ⋙ DerivedCategory.Qh ≅ DerivedCategory.Q` is no longer `Iso.refl _`, which prevents "abuse" of defeq in the syntax. At the same time, this allows to get better definitional properties for `DerivedCategory.singleFunctor`. (When working on individual objects, it is more convenient to work with cochain complexes rather than objects in the homotopy category, which is the reason why I am making this design choice.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. ready-to-merge This PR has been sent to bors. t-category-theory Category theory tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants