The areas / V24. Category theory
Mathlib.Order.Category.OmegaCompletePartialOrder
24 declarations. Mathlib docs · Source
Category of types with an omega complete partial order
In this file, we bundle the class OmegaCompletePartialOrder into a
concrete category and prove that continuous functions also form
an OmegaCompletePartialOrder.
Main definitions
ωCPO- an instance of
CategoryandConcreteCategory
- an instance of
theorem ωCPO.of.injEq E0 #
∀ (carrier : Type u) [str : OmegaCompletePartialOrder carrier] (carrier_1 : Type u)
(str_1 : OmegaCompletePartialOrder carrier_1), (↧carrier = ↧carrier_1) = (carrier = carrier_1 ∧ str ≍ str_1)
theorem ωCPO.of.inj E1 #
∀ {carrier : Type u} {str : OmegaCompletePartialOrder carrier} {carrier_1 : Type u}
{str_1 : OmegaCompletePartialOrder carrier_1}, ↧carrier = ↧carrier_1 → carrier = carrier_1 ∧ str ≍ str_1
def ωCPO.ctorIdx E1 #
ωCPO → ℕ
structure ωCPO E3 #
Type (u + 1)
The category of types with an omega complete partial order.
ctor ωCPO.of E0 #
(carrier : Type u) → [str : OmegaCompletePartialOrder carrier] → ωCPO
Construct a bundled ωCPO from the underlying type and typeclass.
abbrev ωCPO.carrier E1 #
ωCPO → Type u
The underlying type.
instance ωCPO.str E0 #
(self : ωCPO) → OmegaCompletePartialOrder self.carrier
def ωCPO.delabOf E1 #
Lean.PrettyPrinter.Delaborator.Delab
This prints ωCPO.of X as ↧X.
instance ωCPO.instCoeSortType E0 #
CoeSort ωCPO (Type u_1)
theorem ωCPO.coe_of E0 #
∀ (α : Type u_1) [inst : OmegaCompletePartialOrder α], (↧α).carrier = α
instance ωCPO.instLargeCategory E0 #
CategoryTheory.LargeCategory ωCPO
instance ωCPO.instConcreteCategoryContinuousHomCarrier E0 #
CategoryTheory.ConcreteCategory ωCPO fun x1 x2 ↦ x1.carrier →𝒄 x2.carrier
instance ωCPO.instInhabited E0 #
Inhabited ωCPO
def ωCPO.HasProducts.product E1 #
{J : Type v} → (f : J → ωCPO) → CategoryTheory.Limits.Fan f
The pi-type gives a cone for a product.
def ωCPO.HasProducts.isProduct E1 #
(J : Type v) → (f : J → ωCPO) → CategoryTheory.Limits.IsLimit (ωCPO.HasProducts.product f)
The pi-type is a limit cone for the product.
instance ωCPO.HasProducts.instHasProduct E0 #
∀ (J : Type v) (f : J → ωCPO), CategoryTheory.Limits.HasProduct f
instance ωCPO.omegaCompletePartialOrderEqualizer E0 #
{α : Type u_1} →
{β : Type u_2} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : OmegaCompletePartialOrder β] → (f g : α →𝒄 β) → OmegaCompletePartialOrder { a // f a = g a }
def ωCPO.HasEqualizers.equalizerι E1 #
{α : Type u_1} →
{β : Type u_2} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : OmegaCompletePartialOrder β] → (f g : α →𝒄 β) → { a // f a = g a } →𝒄 α
The equalizer inclusion function as a ContinuousHom.
def ωCPO.HasEqualizers.equalizer E1 #
{X Y : ωCPO} → (f g : X ⟶ Y) → CategoryTheory.Limits.Fork f g
A construction of the equalizer fork.
def ωCPO.HasEqualizers.isEqualizer E1 #
{X Y : ωCPO} → (f g : X ⟶ Y) → CategoryTheory.Limits.IsLimit (ωCPO.HasEqualizers.equalizer f g)
The equalizer fork is a limit.
instance ωCPO.instHasProducts E0 #
CategoryTheory.Limits.HasProducts.{v, v, v + 1} ωCPO
instance ωCPO.instHasLimitWalkingParallelPairParallelPair E0 #
∀ {X Y : ωCPO} (f g : X ⟶ Y), CategoryTheory.Limits.HasLimit (CategoryTheory.Limits.parallelPair f g)
instance ωCPO.instHasEqualizers E0 #
CategoryTheory.Limits.HasEqualizers ωCPO
instance ωCPO.instHasLimits E0 #
CategoryTheory.Limits.HasLimits ωCPO