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

Derive limit instead of colimit operations #1472

Open
mohamed-barakat opened this issue Sep 30, 2023 · 1 comment
Open

Derive limit instead of colimit operations #1472

mohamed-barakat opened this issue Sep 30, 2023 · 1 comment

Comments

@mohamed-barakat
Copy link
Member

I suggest deriving the limit from the colimit operations rather than vice versa. At some point, we can derive most colimit operations from the towers and have less code to verify in Coq. Currently, our towers for the colimits are shorter than those for limits, where the latter are the ones that need several opposite-category constructors.

@zickgraf
Copy link
Member

zickgraf commented Oct 2, 2023

The reason why I chose to generate the colimit operations from the limit operations in #1468 was that limits seem to usually come first in CAP, so I expected their derivations to have less bugs. Additionally, the names for limits are usually shorter and easier to distinguish. For example, in a derivation involving Cokernel and Coequalizer one has to be really careful to not mix up the two when quickly reading the derivation, while Kernel and Equalizer are shorter and easy to distinguish.

But of course this does not contradict your point. Mathematics simply seems to have chosen the wrong "default".

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

No branches or pull requests

2 participants