module Math.FiniteCategories.ConeCategory.Examples
(
exampleConeCategory,
exampleLimit,
exampleCoconeCategory,
exampleColimit,
)
where
import Math.Category
import Math.FiniteCategories.ConeCategory
import Math.FiniteCategories.FunctorCategory
import Math.FiniteCategories
import Math.FiniteCategories.FunctorCategory.Examples
import Data.WeakSet (Set)
import qualified Data.WeakSet as Set
import Data.WeakSet.Safe
import Data.WeakMap (Map)
import qualified Data.WeakMap as Map
import Data.WeakMap.Safe
exampleConeCategory :: ConeCategory V VAr VOb Square SquareAr SquareOb
exampleConeCategory :: ConeCategory V VAr VOb Square SquareAr SquareOb
exampleConeCategory = Diagram V VAr VOb Square SquareAr SquareOb
-> ConeCategory V VAr VOb Square SquareAr SquareOb
forall c1 m1 o1 c2 m2 o2.
(FiniteCategory c1 m1 o1, Morphism m1 o1, Eq c1, Eq m1, Eq o1,
FiniteCategory c2 m2 o2, Morphism m2 o2, Eq c2, Eq m2, Eq o2) =>
Diagram c1 m1 o1 c2 m2 o2 -> ConeCategory c1 m1 o1 c2 m2 o2
coneCategory Diagram V VAr VOb Square SquareAr SquareOb
exampleDiagramVToSquare
exampleLimit :: Set (Cone V VAr VOb Square SquareAr SquareOb)
exampleLimit :: Set (Cone V VAr VOb Square SquareAr SquareOb)
exampleLimit = Diagram V VAr VOb Square SquareAr SquareOb
-> Set (Cone V VAr VOb Square SquareAr SquareOb)
forall c1 m1 o1 c2 m2 o2.
(FiniteCategory c1 m1 o1, Morphism m1 o1, Eq c1, Eq m1, Eq o1,
FiniteCategory c2 m2 o2, Morphism m2 o2, Eq c2, Eq m2, Eq o2) =>
Diagram c1 m1 o1 c2 m2 o2 -> Set (Cone c1 m1 o1 c2 m2 o2)
limits Diagram V VAr VOb Square SquareAr SquareOb
exampleDiagramVToSquare
exampleCoconeCategory :: CoconeCategory Hat HatAr HatOb Square SquareAr SquareOb
exampleCoconeCategory :: CoconeCategory Hat HatAr HatOb Square SquareAr SquareOb
exampleCoconeCategory = Diagram Hat HatAr HatOb Square SquareAr SquareOb
-> CoconeCategory Hat HatAr HatOb Square SquareAr SquareOb
forall c1 m1 o1 c2 m2 o2.
(FiniteCategory c1 m1 o1, Morphism m1 o1, Eq c1, Eq m1, Eq o1,
FiniteCategory c2 m2 o2, Morphism m2 o2, Eq c2, Eq m2, Eq o2) =>
Diagram c1 m1 o1 c2 m2 o2 -> CoconeCategory c1 m1 o1 c2 m2 o2
coconeCategory Diagram Hat HatAr HatOb Square SquareAr SquareOb
exampleDiagramHatToSquare
exampleColimit :: Set (Cocone Hat HatAr HatOb Square SquareAr SquareOb)
exampleColimit :: Set (Cocone Hat HatAr HatOb Square SquareAr SquareOb)
exampleColimit = Diagram Hat HatAr HatOb Square SquareAr SquareOb
-> Set (Cocone Hat HatAr HatOb Square SquareAr SquareOb)
forall c1 m1 o1 c2 m2 o2.
(FiniteCategory c1 m1 o1, Morphism m1 o1, Eq c1, Eq m1, Eq o1,
FiniteCategory c2 m2 o2, Morphism m2 o2, Eq c2, Eq m2, Eq o2) =>
Diagram c1 m1 o1 c2 m2 o2 -> Set (Cocone c1 m1 o1 c2 m2 o2)
colimits Diagram Hat HatAr HatOb Square SquareAr SquareOb
exampleDiagramHatToSquare