definition theorem proof example
Construction 2.64. Let be a Monoidal Monotone Map. Given a -category , the associated -category has
(i) ; (ii) .
Sources: 7 Sketches §2.4.1, Construction 2.64, Example 2.65, Exercises 2.67, 2.68; DaoFP §20 (change of enriching category via a monoidal functor).
Proof that is a -category. (a) , using that is monoidal monotone and a -category. (b) .
Example 2.65. , iff , is a monoidal monotone (cf. 7S Exercise 2.44), so it converts Lawvere metric spaces into preorders: iff . On the regions Boston, US, Spain this is the “is a part of” preorder: (7S Exercise 2.67). The other monoidal monotone gives the reachability preorder; the two disagree on the two-point space with (7S Exercise 2.68). Conversely (, ) turns a preorder into a metric space with distances and .
Change of base is a functor ; in the categorical setting (DaoFP, Kelly) a lax Monoidal Functor induces it, and the underlying ordinary category of a -category is change of base along .
Docs: Vignette: monoidal preorders & SMCs
Builds on: Bool (Monoidal Preorder) (BoolPre), Cost (CostPre), Enriched Category (VCategory) — run those notes’ Julia code first.
change_of_base(f, W, X::VCategory) = VCategory(W, X.objects, map(f, X.hom))
D = VCategory(CostPre(), [:Boston, :US, :Spain], [0.0 0 6000; 4000 0 6000; 7000 7000 0])
P = change_of_base(x -> x == 0, BoolPre(), D) # the "is a part of" preorder
is_vcategory(P) # true-- Mathlib: change of enriching category along a lax monoidal functor
#check CategoryTheory.TransportEnrichment -- TransportEnrichment F C for F : LaxMonoidalFunctor V WchangeOfBase :: (v -> w) -> VCat v o -> VCat w o
changeOfBase f (VCat os h) = VCat os (\x y -> f (h x y))
costToBool :: Cost -> All -- "is the distance zero?"
costToBool (Fin 0) = All True
costToBool _ = All False