agda / agda-categories

A new Categories library for Agda
https://agda.github.io/agda-categories
MIT License
369 stars 68 forks source link

Contribution of lemmas about colimits #417

Open t-wissmann opened 6 months ago

t-wissmann commented 6 months ago

Hi,

thank you all for agda-categories :-) I spent almost entire last year on an initial F-algebra construction, which builds the initial algebra from finite, recursive F-coalgebras ("Initial Algebras Unchained", accepted at LICS'24, preprint, formalization, agda html). For the construction, I had written a couple of lemmas (mostly about colimits) which I find helpful for a general audience. Before flooding you with PRs, I'd like to double check with you, which ones you find useful:

Rather special results (maybe only of limited interest):

Most of the above mentioned general results should easily adapt to the the non-Co-world (Limits and Algebras). But before rewriting them, I'd be interested in your comments, which ones I should clean up and prepare as PRs.

Looking forward to your comments :-)

JacquesCarette commented 6 months ago

Definitely very interested. The next couple of days are very busy for me, but I'll give more detailed comments as soon as I can. (Others are most welcome to comment too!)

JacquesCarette commented 3 months ago

Turns out that "very busy" extended for months! I now have a nice 2 week window before the next term starts...

I think the results in your first list seem quite useful. It would be nice to be careful to have explicit duals to these theorems, when they exist / are true / etc. Having each of them as a separate PR would be wonderful.

The special results do seem more special. However, a lot of the set up (like finitary, presentable, etc) are things that are really needed in agda-categories!

Again, apologies for taking so long.