The Lumenary · First-year graduate
Enriched categories
Name: ______________________
Date: ______________________
You will learn to
- Define categories, functors and natural transformations enriched in a monoidal category , and the underlying ordinary category
- Show that Lawvere metric spaces are exactly the categories enriched in , with the triangle inequality as composition, and that enriched functors are the non-expansive maps
- Show that locally small categories, preorders and rings are the categories enriched in sets, truth values and abelian groups (one object)
- Explain why additive categories are -enriched and strict 2-categories are -enriched, and derive the interchange law
- Use closedness of to prove the enriched Yoneda embedding for Lawvere metric spaces
- 1.
In a category enriched in , the hom-object from to is a number . What does the composition morphism say?
- A.
- B.
- C.
- D.
- 2.
Directed footpaths between four places take these times (minutes): : 4, : 3, : 5, : 9, : 2, : 10. In the free Lawvere metric space on this weighted graph (shortest-path distance), what is ?
- 3.
Replace by : let . What is a -category?
- A.A set with and — a generalised ultrametric space
- B.An ordinary metric space
- C.A preorder
- D.Nothing: is not a monoidal structure
- 4.
Which statement about one-object enriched categories is correct?
- A.A one-object -category is a ring
- B.A one-object -category is a field extension of
- C.A one-object -category is a group
- D.A one-object -category is any number
- 5.
The category with abelian groups as objects and all functions as morphisms has an abelian group of morphisms from to (pointwise addition). Why is it not an -enriched category?
- A.Composition is not bilinear: when is not additive
- B. is not an abelian group
- C.There are no identity morphisms
- D.There are too many objects
- 6.
Let be non-expansive maps between Lawvere metric spaces, viewed as -functors. When is there a -natural transformation ?
- A.Exactly when for every , and then it is unique
- B.Always, since naturality is automatic
- C.Exactly when
- D.Only when
- 7.
In the Lean file,
Distis the order dual ofℝ≥0∞, soa ⟶ bholds whena ≥ bas distances, and Mathlib writes the composition of an enriched category ascomp x y z : Hom x y ⊗ Hom y z ⟶ Hom x z. InlawvereEquivEnriched, what doeshomOfLE (M.triangle x y z)provide?- A.The composition morphism, from the triangle inequality
M.d x z ≤ M.d x y + M.d y z - B.The identity morphism
𝟙_ Dist ⟶ Hom x x - C.A proof of the associativity axiom
- D.A proof that
M.dis symmetric
- A.The composition morphism, from the triangle inequality
- 8.
Theorem 4 says in any Lawvere metric space. Which attains the supremum, and why is no term larger?
- A.; each term is by the triangle inequality
- B.; by symmetry of
- C.No single ; the supremum is a limit
- D.Every attains it, because the terms are all equal
- 9.
Write
free_metric(w): given a square matrixw(list of lists) of direct path lengths, with0on the diagonal andfloat('inf')where there is no path, return the shortest-path distance matrix — the free Lawvere metric. Use repeated min-plus squaring , , until the matrix stops changing.Computational — Practice