Skip to content

[Merged by Bors] - feat(FiberedCategory/BasedCategory): add bicategory of based categories - #13545

Closed
callesonne wants to merge 36 commits into
masterfrom
fiberedcategory_basedcategory
Closed

callesonne wants to merge 36 commits into
masterfrom
fiberedcategory_basedcategory

Conversation

@callesonne

Copy link
Copy Markdown
Collaborator

We define the strict bicategory of based categories. Its objects are categories equipped with a functor to some fixed base-category. The strict bicategory of fibered categories will later be built on top of this one.

Co-authored-by: Paul Lezeau [email protected]


This is a remake of a previous PR of the same name, but some awful git accident happened and I think its just easier to remake the PR. (I by mistake added 400 commits to the PR by rebasing instead of merging with master in some weird way).

Open in Gitpod

@callesonne

Copy link
Copy Markdown
Collaborator Author

@joelriou I already incorporated all, except one, of your comments on the previous PR, thanks a lot for them! The suggestion about making BasedFunctor have functor as a field instead of extending Functor I have not changed yet. That is because this change would not let me use the notation F.obj for a F : BasedFunctor, and instead I would have to use F.functor.obj. Is there a way around this?

@joelriou

joelriou commented Jun 5, 2024

Copy link
Copy Markdown
Contributor

@joelriou I already incorporated all, except one, of your comments on the previous PR, thanks a lot for them! The suggestion about making BasedFunctor have functor as a field instead of extending Functor I have not changed yet. That is because this change would not let me use the notation F.obj for a F : BasedFunctor, and instead I would have to use F.functor.obj. Is there a way around this?

Ok, let us keep extends.

@joelriou joelriou added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels Jun 17, 2024
@github-actions

github-actions Bot commented Jun 17, 2024 •

Copy link
Copy Markdown

PR summary 4398168f81

Import changes

No significant changes to the import graph


Declarations diff

+ BasedCategory
+ BasedCategory.ofFunctor
+ BasedFunctor
+ BasedNatTrans
+ app_isHomLift
+ bicategory
+ comp_assoc
+ comp_id
+ ext
+ forgetful
+ homCategory
+ homCategory.ext
+ id_comp
+ instance (F : 𝒳 ⥤ᵇ 𝒴) (a : 𝒳.obj) : IsHomLift 𝒴.p (𝟙 (𝒳.p.obj a)) (𝟙 (F.obj a))
+ instance (𝒳 : BasedCategory.{v₂, u₂} 𝒮) : Category 𝒳.obj := 𝒳.category
+ instance : (forgetful 𝒳 𝒴).ReflectsIsomorphisms
+ instance : Bicategory.Strict (BasedCategory.{v₂, u₂} 𝒮)
+ instance : Category (BasedCategory.{v₂, u₂} 𝒮)
+ instance {F G : 𝒳 ⥤ᵇ 𝒴} (α : F ⟶ G) [IsIso α] : IsIso (X:=F.toFunctor) α.toNatTrans := by
+ isHomLift
+ isHomLift_iff
+ isHomLift_map
+ isIso_of_toNatTrans_isIso
+ mkNatIso
+ preserves_isHomLift
+ w_obj
+ whiskerLeft
+ whiskerRight
++ comp
+++ id

You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

@callesonne callesonne added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Jun 17, 2024
@joelriou joelriou added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels Jun 21, 2024
@callesonne callesonne added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Jun 21, 2024
@joelriou joelriou added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels Jun 21, 2024
@callesonne callesonne added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Jun 21, 2024
@joelriou

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@github-actions github-actions Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jun 23, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jun 23, 2024
…es (#13545)

We define the strict bicategory of based categories. Its objects are categories equipped with a functor to some fixed base-category. The strict bicategory of fibered categories will later be built on top of this one.

Co-authored-by: Paul Lezeau [[email protected]](mailto:[email protected])
@mathlib-bors

mathlib-bors Bot commented Jun 23, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(FiberedCategory/BasedCategory): add bicategory of based categories [Merged by Bors] - feat(FiberedCategory/BasedCategory): add bicategory of based categories Jun 23, 2024
@mathlib-bors mathlib-bors Bot closed this Jun 23, 2024
@mathlib-bors
mathlib-bors Bot deleted the fiberedcategory_basedcategory branch June 23, 2024 15:48
kbuzzard pushed a commit that referenced this pull request Jun 26, 2024
…es (#13545)

We define the strict bicategory of based categories. Its objects are categories equipped with a functor to some fixed base-category. The strict bicategory of fibered categories will later be built on top of this one.

Co-authored-by: Paul Lezeau [[email protected]](mailto:[email protected])
dagurtomas pushed a commit that referenced this pull request Jul 2, 2024
…es (#13545)

We define the strict bicategory of based categories. Its objects are categories equipped with a functor to some fixed base-category. The strict bicategory of fibered categories will later be built on top of this one.

Co-authored-by: Paul Lezeau [[email protected]](mailto:[email protected])
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