Skip to content

[Merged by Bors] - feat(Algebra/Homology): the bijection of Ext-groups that is induced by an adjunction between exact functors - #43086

Closed
joelriou wants to merge 37 commits into
leanprover-community:masterfrom
joelriou:ext-adjunction
Closed

joelriou wants to merge 37 commits into
leanprover-community:masterfrom
joelriou:ext-adjunction

Conversation

@joelriou

@joelriou joelriou commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

If adj : F ⊣ G is an adjunction between exact functors between abelian categories, we promote the bijections adj.homEquiv X Y : (F.obj X ⟶ Y) ≃ (X ⟶ G.obj Y) into additive equivalences adj.extEquiv : Ext (F.obj X) Y n ≃+ Ext X (G.obj Y) n for any natural number n.


Open in Gitpod

@joelriou joelriou added WIP Work in progress t-category-theory Category theory labels Aug 24, 2026
@github-actions

github-actions Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

PR summary 931a483063

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Algebra.Homology.DerivedCategory.Ext.MapAdjunction (new file) 1458

Declarations diff (regex)

+ extEquiv
+ extEquiv_mk₀
+ extEquiv_mk₀_counit_app
+ extEquiv_naturality_left
+ extEquiv_naturality_left₀
+ extEquiv_naturality_right
+ extEquiv_naturality_right₀
+ extEquiv_symm_mk₀
+ extEquiv_symm_mk₀_unit_app
+ extEquiv_symm_naturality_left
+ extEquiv_symm_naturality_left₀
+ extEquiv_symm_naturality_right
+ extEquiv_symm_naturality_right₀
+ extLinearEquiv

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

  • +17 new declarations
  • −0 removed declarations
+CategoryTheory.Adjunction.extEquiv
+CategoryTheory.Adjunction.extEquiv.congr_simp
+CategoryTheory.Adjunction.extEquiv_apply
+CategoryTheory.Adjunction.extEquiv_mk₀
+CategoryTheory.Adjunction.extEquiv_mk₀_counit_app
+CategoryTheory.Adjunction.extEquiv_naturality_left
+CategoryTheory.Adjunction.extEquiv_naturality_left₀
+CategoryTheory.Adjunction.extEquiv_naturality_right
+CategoryTheory.Adjunction.extEquiv_naturality_right₀
+CategoryTheory.Adjunction.extEquiv_symm_apply
+CategoryTheory.Adjunction.extEquiv_symm_mk₀
+CategoryTheory.Adjunction.extEquiv_symm_mk₀_unit_app
+CategoryTheory.Adjunction.extEquiv_symm_naturality_left
+CategoryTheory.Adjunction.extEquiv_symm_naturality_left₀
+CategoryTheory.Adjunction.extEquiv_symm_naturality_right
+CategoryTheory.Adjunction.extEquiv_symm_naturality_right₀
+CategoryTheory.Adjunction.extLinearEquiv

No changes to strong technical debt.

Increase in weak tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type (weak)
exposed public sections 5039 1

Current commit 931a483063
Reference commit 2fbace17aa

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 t-algebra Algebra (groups, rings, fields, etc) label Aug 24, 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 24, 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 26, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2026
…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).
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2026
…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).
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Sep 1, 2026
@joelriou joelriou removed the WIP Work in progress label Sep 2, 2026
/-- The linear equivalence on `Ext`-modules that is induced by an adjunction
between exact linear functors. -/
noncomputable abbrev extLinearEquiv (adj : F ⊣ G) (R : Type*) [Ring R] [Linear R C] [Linear R D]
[Functor.Linear R G]

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.

Is there are reason you assume linearity for G instead of F?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this situation, I believe that the linearity of F should be equivalent to the linearity of G. Initially, I had assumed both, but for some reason, the proof only uses the linearity of G.

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

LGTM Thanks 🎉

bors d+

@mathlib-bors mathlib-bors Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Sep 2, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

✌️ joelriou can now approve this pull request until 2026-09-16 11:27 UTC (in 2 weeks). To approve and merge, reply with bors r+. More detailed instructions are available here.

⚠️ This delegation only covers changes within Archive/**, Counterexamples/**, docs/**, DownstreamTest/**, Mathlib/**, MathlibTest/**, Wanted/**, widget/**, Archive.lean, Counterexamples.lean, docs.lean, Mathlib.lean, Wanted.lean; an author commit touching anything else will revoke it. Bors also revokes it if a later push changes too many files for it to check the full list — even if it stays within scope.

@joelriou

joelriou commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Thanks!

bors merge

@mathlib-bors mathlib-bors Bot added ready-to-merge This PR has been sent to bors. bors-staging This PR is currently being built by bors on the staging branch. labels Sep 2, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 2, 2026
… by an adjunction between exact functors (#43086)

If `adj : F ⊣ G` is an adjunction between exact functors between abelian categories, we promote the bijections `adj.homEquiv X Y : (F.obj X ⟶ Y) ≃ (X ⟶ G.obj Y)` into additive equivalences `adj.extEquiv : Ext (F.obj X) Y n ≃+ Ext X (G.obj Y) n` for any natural number `n`.
@mathlib-bors

mathlib-bors Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat(Algebra/Homology): the bijection of Ext-groups that is induced by an adjunction between exact functors [Merged by Bors] - feat(Algebra/Homology): the bijection of Ext-groups that is induced by an adjunction between exact functors Sep 2, 2026
@mathlib-bors mathlib-bors Bot closed this Sep 2, 2026
@mathlib-bors mathlib-bors Bot removed the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Sep 2, 2026
joelriou added a commit to joelriou/mathlib4 that referenced this pull request Sep 5, 2026
…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).
joelriou added a commit to joelriou/mathlib4 that referenced this pull request Sep 5, 2026
… by an adjunction between exact functors (leanprover-community#43086)

If `adj : F ⊣ G` is an adjunction between exact functors between abelian categories, we promote the bijections `adj.homEquiv X Y : (F.obj X ⟶ Y) ≃ (X ⟶ G.obj Y)` into additive equivalences `adj.extEquiv : Ext (F.obj X) Y n ≃+ Ext X (G.obj Y) n` for any natural number `n`.
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-algebra Algebra (groups, rings, fields, etc) 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