A generalization of the category of types to apply to any sort.
The main reason for this generalization is to define the category of propositions, but we also get wacky higher types for free as well.
@[reducible, inline]
The category whose objects are propositions, and whose morphisms are implications.
Equations
Instances For
@[reducible, inline]
The category whose objects are types, and whose morphisms are functions.
This is our version of SET
in textbook category theory.
Equations
Instances For
Give a category, explicitly construct the opposite category.
This provides a way to get the canonical instance of the opposite category, allowing us to easily use the fact that we've used the standard instance in proving things.
This allows us to lean on opposites when defining categorical constructs.
Equations
- C.Op = Category.mk ⋯ ⋯ ⋯