Category of QUD Partitions #
Category of QUD (Question Under Discussion) partitions over a fixed type M,
with refinement witnesses as morphisms.
This is a thin category (at most one morphism between any two objects): refinement is a preorder on partitions, and all refinement proofs between the same QUDs are equal by proof irrelevance.
QUD.refines_refl and QUD.refines_trans from Partition.lean provide the
categorical identity and composition.
Bundled QUD: an object in the partition category for a fixed meaning type.
- qud : QUD M
The underlying QUD partition.
Instances For
Hom type for the QUD category: a refinement witness lifted to Type.
QUD.refines is Prop-valued; PLift promotes it to Type 0 so it
can serve as a CategoryTheory.Category hom type. The category is thin
(at most one morphism between any two objects).
Instances For
QUDHom is proof-irrelevant: at most one morphism between any two objects.
Equations
- One or more equations did not get rendered due to their size.
The trivial partition is terminal: every QUD refines it.
Equations
- Core.Categorical.QUDHom.toTrivial q = { down := ⋯ }
Instances For
Compose of two QUDs refines the left factor.
Equations
- Core.Categorical.QUDHom.composeLeft q₁ q₂ = { down := ⋯ }