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(category_theory/abelian): biproducts of projective objects are projective #7319

Closed
wants to merge 4 commits into from

Conversation

semorrison
Copy link
Collaborator

Also all objects of Type are projective.


Open in Gitpod

@semorrison semorrison added the awaiting-review The author would like community review of the PR label Apr 22, 2021
Copy link
Collaborator

@b-mehta b-mehta left a comment

Choose a reason for hiding this comment

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

LGTM!

Co-authored-by: Bhavik Mehta <bhavikmehta8@gmail.com>
Comment on lines +107 to +111
instance {P Q : C} [has_zero_morphisms C] [has_binary_biproduct P Q]
[projective P] [projective Q] :
projective (P ⊞ Q) :=
{ factors := λ E X' f e epi, by exactI
⟨biprod.desc (factor_thru (biprod.inl ≫ f) e) (factor_thru (biprod.inr ≫ f) e), by tidy⟩, }
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It would be nice if this didn't need to be separately stated, let alone proved, and Lean just knew that biproducts were coproducts, but it doesn't seem easy in our current setup. :-(

@jcommelin
Copy link
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Apr 27, 2021
bors bot pushed a commit that referenced this pull request Apr 27, 2021
…rojective (#7319)

Also all objects of `Type` are projective.





Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link

bors bot commented Apr 27, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(category_theory/abelian): biproducts of projective objects are projective [Merged by Bors] - feat(category_theory/abelian): biproducts of projective objects are projective Apr 27, 2021
@bors bors bot closed this Apr 27, 2021
@bors bors bot deleted the projective_biproduct branch April 27, 2021 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants