Help with Categories in Lean

143 Views Asked by At

I'm looking to start a project on categories in Lean. I was wondering if anyone could help me out with finding a few of the basic constructions... maybe you know where to look.

I'd like to be able to:

  1. Create a category given a type for the objects, morphisms, etc. (or some variation of this)
  2. Create the opposite category
  3. Product and internal hom of categories
  4. Isomorphism classes of natural transformations.
  5. Simplicial C w/ for a category C
  6. Full subcategory consisting of objects matching a certain condition
  7. Equalizer and coequilizer of functors.