oalg-base-1.1.4.0: Algebraic structures on oriented entities and limits as a tool kit to solve algebraic problems.
Copyright(c) Erich Gut
LicenseBSD3
Maintainerzerich.gut@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

OAlg.Category.Proposition

Description

propositions on categories.

Synopsis

Category

prpCategory :: (Category c, Eq2 c, Show2 c) => XCat c -> Statement Source #

validity of a Category.

data XCat c Source #

random variable for validating Category.

Constructors

XCat 

prpCategory1 :: (Category c, Show2 c, Eq2 c) => X (SomeMorphism c) -> Statement Source #

validity according to OAlg.Category.Category.

prpCategory2 :: (Category c, Show2 c, Eq2 c) => X (SomeCmpb3 c) -> Statement Source #

validity according to OAlg.Category.Category.

data SomeCmpb3 c where Source #

some composable morphisms.

Constructors

SomeCmpb3 :: c x w -> c y x -> c z y -> SomeCmpb3 c 

Application

type XAppl h = X (SomeApplication h) Source #

random variable for some application.

Functorial

prpFunctorial :: (Functorial c, Show2 c) => XFnct c -> Statement Source #

validity of a Functorial category.

data XFnct c where Source #

random variable for Functorial categories.

Constructors

XFnct :: X (SomeEntity c) -> X (SomeCmpbAppl c) -> XFnct c 

data SomeCmpbAppl c where Source #

some composable morphisms with an applicable value.

Constructors

SomeCmpbAppl :: (Entity x, Eq z) => c y z -> c x y -> x -> SomeCmpbAppl c 

Cayleyan2

X

Categroy

xCat :: Category c => XMrphSite s c -> XCat c Source #

random variable for validating Category.

data XMrphSite (s :: Site) m where Source #

random variable of SomeObjectClass and SomeMorphismSite with:

Note

  1. The random variable X (SomeObjectClass m) should have a bias towards non terminal respectively initial object classes. For an implementation see xIsoOpOrtFrom.
  2. It is the analogue to XStart at the level of Categorys.

Constructors

XDomain :: X (SomeObjectClass m) -> (forall x. Struct (ObjectClass m) x -> X (SomeMorphismSite From m x)) -> XMrphSite From m 
XRange :: X (SomeObjectClass m) -> (forall y. Struct (ObjectClass m) y -> X (SomeMorphismSite To m y)) -> XMrphSite To m 

Instances

Instances details
Dualisable (XMrphSite 'To m) Source # 
Instance details

Defined in OAlg.Category.Proposition

type Dual (XMrphSite s m :: Type) Source # 
Instance details

Defined in OAlg.Category.Proposition

type Dual (XMrphSite s m :: Type) = XMrphSite (Dual s) (Op2 m)

xSomePathSiteMax :: Morphism m => XMrphSite s m -> N -> Struct (ObjectClass m) x -> X (SomePathSite s m x) Source #

random variable of paths of Morphisms having maximal the given length. If during the randomly build path no terminal respectively initial object class has reached then the resulting path will have the given length.

It is the analogue to xStartPathOrt at the level of Categorys.

xSomePathMax :: Morphism m => XMrphSite s m -> N -> X (SomePath m) Source #

derived random variable for some paths.

xSomePathSite :: Category c => XMrphSite s c -> N -> Struct (ObjectClass c) x -> X (SomePathSite s c x) Source #

constructing random variable for some path site.

xSomePath :: Category c => XMrphSite s c -> N -> X (SomePath c) Source #

constructing random variable for some path.

Functorial

xMrphSite :: XFnctMrphSite s m -> XMrphSite s m Source #

random variable for Morphisms for a given Site.

data XFnctMrphSite s m where Source #

random variable for Functorial Categorys.

Constructors

XFnctMrphSite :: XMrphSite s m -> (forall x. Struct (ObjectClass m) x -> X x) -> XFnctMrphSite s m