Built with Alectryon, running Coq+SerAPI v8.19.0+0.19.3. Bubbles () indicate interactive fragments: hover for details, tap to reveal contents. Use Ctrl+↑Ctrl+↓ to navigate, Ctrl+🖱️ to focus. On Mac, use ⌘ instead of Ctrl.
(** * Homotopy precategory of types *)
[Loading ML file number_string_notation_plugin.cmxs (using legacy method) ... done]
Require Import HoTT.Basics HoTT.Truncations.Core.Set Universe Polymorphism.Set Implicit Arguments.Generalizable All Variables.Set Asymmetric Patterns.LocalOpen Scope path_scope.LocalOpen Scope category_scope.(** Quoting the HoTT Book: Example. There is a precategory whose type of objects is [U] and with [hom(X,Y) : ∥X → Y∥₀], and composition defined by induction on truncation from ordinary composition [(Y → Z) → (X → Y) → (X → Z)]. We call this the homotopy precategory of types. *)(** We don't want access to all of the internals of this category at top level. *)ModuleHomotopyPreCategoryInternals.Sectionhomotopy_precategory.Local Notationobject := Type (only parsing).Local Notationmorphism s d := (Trunc 0 (s -> d)) (only parsing).
s, d, d': Type m: Trunc 0 (d -> d') m': Trunc 0 (s -> d)
Trunc 0 (s -> d')
s, d, d': Type m: Trunc 0 (d -> d') m': Trunc 0 (s -> d)
Trunc 0 (s -> d')
s, d, d': Type m: Trunc 0 (d -> d') m': s -> d
Trunc 0 (s -> d')
s, d, d': Type m': s -> d m: d -> d'
Trunc 0 (s -> d')
s, d, d': Type m': s -> d m: d -> d'
s -> d'
exact (m o m')%core.Defined.Definitionidentityx : morphism x x
:= tr idmap.GlobalArguments compose [s d d'] m m' / .GlobalArguments identity x / .Endhomotopy_precategory.EndHomotopyPreCategoryInternals.(** ** The homotopy precategory of types *)