agda / agda-categories

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

Parametrized NNO #394

Closed Reijix closed 1 year ago

Reijix commented 1 year ago

I added parametrized natural numbers objects (definition 2.2 https://ncatlab.org/nlab/show/natural+numbers+object#withparams).

This entails:

Furthermore I needed two lemmas that I added to Categories.Category.BinaryProducts, Categories.Object.Exponential and Categories.Category.CartesianClosed, these are:

I thought they are convenient to have so I added them to the respective files, but I can also remove them and use them locally.