Skip to content

[Merged by Bors] - refactor(Algebra/Homology): remove single₀#8208

Closed
joelriou wants to merge 21 commits intomasterfrom
remove-single-zero
Closed

[Merged by Bors] - refactor(Algebra/Homology): remove single₀#8208
joelriou wants to merge 21 commits intomasterfrom
remove-single-zero

Conversation

@joelriou
Copy link
Copy Markdown
Contributor

@joelriou joelriou commented Nov 5, 2023

This PR removes the special definitions of single₀ for chain and cochain complexes, so as to avoid duplication of code with HomologicalComplex.single which is the functor constructing the complex that is supported by a single arbitrary degree. single₀ was supposed to have better definitional properties, but it turns out that in Lean4, it is no longer true (at least for the action of this functor on objects). The computation of the homology of these single complexes is generalized for HomologicalComplex.single using the new homology API: this result is moved to a separate file Algebra.Homology.SingleHomology.


After this, the plan is to refactor CategoryTheory.Abelian.RightDerived so as to use the new homology API.

Open in Gitpod

@joelriou joelriou added WIP Work in progress t-category-theory Category theory labels Nov 5, 2023
Comment thread Mathlib/Algebra/Homology/Single.lean Outdated
Comment thread Mathlib/Algebra/Homology/Single.lean Outdated
Comment thread Mathlib/Algebra/Homology/SingleHomology.lean Outdated
Comment thread Mathlib/Algebra/Homology/Single.lean Outdated
@joelriou joelriou added awaiting-review and removed WIP Work in progress labels Nov 6, 2023
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Nov 10, 2023
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 10, 2023
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 10, 2023

Canceled.

@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 10, 2023
@joelriou
Copy link
Copy Markdown
Contributor Author

retrying:

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Nov 10, 2023
This PR removes the special definitions of `single₀` for chain and cochain complexes, so as to avoid duplication of code with `HomologicalComplex.single` which is the functor constructing the complex that is supported by a single arbitrary degree. `single₀` was supposed to have better definitional properties, but it turns out that in Lean4, it is no longer true (at least for the action of this functor on objects). The computation of the homology of these single complexes is generalized for `HomologicalComplex.single` using the new homology API: this result is moved to a separate file `Algebra.Homology.SingleHomology`.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 10, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor(Algebra/Homology): remove single₀ [Merged by Bors] - refactor(Algebra/Homology): remove single₀ Nov 10, 2023
@mathlib-bors mathlib-bors bot closed this Nov 10, 2023
@mathlib-bors mathlib-bors bot deleted the remove-single-zero branch November 10, 2023 21:41
grunweg pushed a commit that referenced this pull request Dec 15, 2023
This PR removes the special definitions of `single₀` for chain and cochain complexes, so as to avoid duplication of code with `HomologicalComplex.single` which is the functor constructing the complex that is supported by a single arbitrary degree. `single₀` was supposed to have better definitional properties, but it turns out that in Lean4, it is no longer true (at least for the action of this functor on objects). The computation of the homology of these single complexes is generalized for `HomologicalComplex.single` using the new homology API: this result is moved to a separate file `Algebra.Homology.SingleHomology`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-category-theory Category theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants