[Merged by Bors] - feat(Order/Category): partial orders with order embeddings as morphisms#30693
[Merged by Bors] - feat(Order/Category): partial orders with order embeddings as morphisms#30693joelriou wants to merge 2 commits intoleanprover-community:masterfrom
Conversation
PR summary 2c2d756603Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| instance hasForgetToPartOrd : HasForget₂ PartOrdEmb PartOrd where | ||
| forget₂.obj X := .of X | ||
| forget₂.map f := PartOrd.ofHom f.hom |
There was a problem hiding this comment.
Do we have the subcategory of monomorphisms somewhere? Can we identify this with that?
I'm happy for you to proceed if that either is too big a detour, or there's a reason you think it wouldn't be helpful.
bors d+
There was a problem hiding this comment.
Actually, monomorphisms correspond to injective maps, but there are some injective monotone maps between partial orders that are not order embeddings (consider the identity of Fin 2 where there is the usual order on the target but in the source 0 and 1 are not comparable).
|
✌️ joelriou can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Thanks! bors merge |
…ms (#30693) This category will be relevant in the study of accessible categories. I am making Johan Commelin a co-author as the new file `PartOrdEmb.lean` is essentially a copy-paste of `PartOrd.Lean`. Co-authored-by: Johan Commelin <johan@commelin.net>
|
Pull request successfully merged into master. Build succeeded: |
…ms (leanprover-community#30693) This category will be relevant in the study of accessible categories. I am making Johan Commelin a co-author as the new file `PartOrdEmb.lean` is essentially a copy-paste of `PartOrd.Lean`. Co-authored-by: Johan Commelin <johan@commelin.net>
This category will be relevant in the study of accessible categories. I am making Johan Commelin a co-author as the new file
PartOrdEmb.leanis essentially a copy-paste ofPartOrd.Lean.Co-authored-by: Johan Commelin johan@commelin.net