Skip to content

Update Extensive.agda #384

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
merged 3 commits into from
Aug 9, 2023
Merged

Update Extensive.agda #384

merged 3 commits into from
Aug 9, 2023

Conversation

sergey-goncharov
Copy link
Collaborator

added pullback-of-cp-is-cp' to Categories.Category.Extensive; cleaned up the file a bit

added pullback-of-cp-is-cp' to Categories.Category.Extensive; cleaned up the file a bit



-- a version with non-canonical pullbacks
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you can make the following shorter by instead using a local module, i.e.

module _ {A B C : Obj} {f : A ⇒ B + C} (pb₁ : Pullback 𝒞 f i₁) (pb₂ : Pullback 𝒞 f i₂) where

and then do a few common open at the top. You could also share some definitions in a private block that way.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indeed, thanks! Done the module _ thing. Not sure about the private part.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Did you mean to make the declarations before pullback-of-cp-is-cp' private to the module?

@JacquesCarette JacquesCarette merged commit 98e5dbb into master Aug 9, 2023
@JacquesCarette JacquesCarette deleted the sergey-goncharov-patch-1 branch August 9, 2023 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants