Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(Algebra/Homology): right shifting cochains #8937

Closed
wants to merge 5 commits into from

Conversation

joelriou
Copy link
Collaborator

@joelriou joelriou commented Dec 9, 2023

In this PR, we study the behaviour of cochains (of the complex of homomorphisms) with respect to shifts (on the target). In particular, we obtain an additive equivalence rightShiftAddEquiv K L n a n' h : Cochain K L n ≃+ Cochain K L⟦a⟧ n' when n' + a = n.


A similar PR shall be necessary for the study of the shift on the source, but that will be more intricate as there will be signs in the definitions...

Open in Gitpod

@joelriou joelriou added the t-category-theory Category theory label Dec 9, 2023
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@joelriou joelriou changed the title feat(Algebra/Homology/HomotopyCategory): shifting cochains feat(Algebra/Homology/HomotopyCategory): right shifting cochains Dec 14, 2023
@joelriou joelriou changed the title feat(Algebra/Homology/HomotopyCategory): right shifting cochains feat(Algebra/Homology): right shifting cochains Dec 14, 2023
Comment on lines +119 to +127
/-- The additive equivalence `Cochain K L n ≃+ Cochain K L⟦a⟧ n'` when `n' + a = n`. -/
@[simps]
def rightShiftAddEquiv (n a n' : ℤ) (hn' : n' + a = n) :
Cochain K L n ≃+ Cochain K (L⟦a⟧) n' where
toFun γ := γ.rightShift a n' hn'
invFun γ := γ.rightUnshift n hn'
left_inv γ := by simp
right_inv γ := by simp
map_add' γ γ' := by simp
Copy link
Member

@jcommelin jcommelin Dec 27, 2023

Choose a reason for hiding this comment

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

Please consider moving this up a bit higher. And then you can deduce all the lemmas about preserving 0 and - etc, by just restating the goal in terms of this AddEquiv, and applying some generic map_zero or map_neg lemma.

Also... should this even be upgraded to a linear equiv?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the suggestion! I have deduced the lemmas that can be deduced from the additive equivalence, and I have also made a linear equivalence version.

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review labels Dec 27, 2023
@joelriou joelriou added awaiting-review and removed awaiting-author A reviewer has asked the author a question or requested changes labels Dec 31, 2023
Copy link
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

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jan 1, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jan 1, 2024
In this PR, we study the behaviour of cochains (of the complex of homomorphisms) with respect to shifts (on the target). In particular, we obtain an additive equivalence `rightShiftAddEquiv K L n a n' h : Cochain K L n ≃+ Cochain K L⟦a⟧ n'` when `n' + a = n`.



Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 1, 2024

Pull request successfully merged into master.

Build succeeded!

And happy new year! 🎉

@mathlib-bors mathlib-bors bot changed the title feat(Algebra/Homology): right shifting cochains [Merged by Bors] - feat(Algebra/Homology): right shifting cochains Jan 1, 2024
@mathlib-bors mathlib-bors bot closed this Jan 1, 2024
@mathlib-bors mathlib-bors bot deleted the homcomplex-shift branch January 1, 2024 22:36
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.

3 participants