package partial
- Alphabetic
- Public
- All
Type Members
-
trait
Groupoid
[A] extends Semigroupoid[A]
A groupoid is a semigroupoid where inverse are defined for all elements, and thus left and right identity elements such that:
A groupoid is a semigroupoid where inverse are defined for all elements, and thus left and right identity elements such that:
(i) (leftId(g) |+|? g).get === g (ii) (g |+|? rightId(g)).get === g (iii)
a.inverse |+|? aanda |+|? a.inverseare always defined (iv) ifa |+|? b, then((a |+|? b).get |+|? b.inverse).get === aand((a.inverse |+|? a).get |+|? b) === b - trait GroupoidLowPriority extends AnyRef
-
trait
LeftPartialAction
[P, G] extends Any
A left partial action of a semigroupoid
GonPis the implementation of a methodpartialActl(g, p), org ?|+|> preturningOpt[P], such that:A left partial action of a semigroupoid
GonPis the implementation of a methodpartialActl(g, p), org ?|+|> preturningOpt[P], such that:1. for all
g,hinG,pinPsuch thatg |+|? handh ?|+|> pare defined,((g |+|? h).get ?|+|> p).get === (g ?|+|> (h ?|+|> p).get).getwith all operations defined.In addition, if
Gis a partial monoid, the following relation holds:2. for all
ginGandpinPsuch thatg ?|+|> pis defined:(g.rightId ?|+|> p).get === p, the operation?|+|>being defined. -
trait
PartialAction
[P, G] extends LeftPartialAction[P, G] with RightPartialAction[P, G]
A partial action is the combination of left and right partial actions, providing:
A partial action is the combination of left and right partial actions, providing:
- a method
partialActl(g, p), org ?|+|> preturningOpt[P], such that:1. for all
g,hinG,pinPsuch thatg |+|? handh ?|+|> pare defined,((g |+|? h).get ?|+|> p).get === (g ?|+|> (h ?|+|> p).get).getwith all operations defined.- a method
partialActr(p, g), orp <|+|? greturningOpt[P], such that:
2. for all
g,hinG,pinPsuch thatg |+|? handp <|+|? gare defined,(p <|+|? (g |+|? h).get).get === ((p <|+|? g).get |+|? h).get, and all operations are defined.In addition, if
Gis a groupoid, the following relations holds:3. for all
ginGandpinPsuch thatg ?|+|> pis defined:(g.rightId ?|+|> p).get === p, the operation?|+|>being defined.4. for all
ginGandpinPsuch thatp <|+|? gis defined:(p <|+|? g.leftId).get === p, the operation<|+|?being defined.5. for all
ginGandpinPsuch thatg ?|+|> pis defined:(g ?|+|> p).get === (p <|+|? g.inverse).get - a method
-
trait
RightPartialAction
[P, G] extends Any
A right partial action of a semigroupoid
GonPis the implementation of a methodpartialActr(p, g), orp <|+|? greturningOpt[P], such that:A right partial action of a semigroupoid
GonPis the implementation of a methodpartialActr(p, g), orp <|+|? greturningOpt[P], such that:1. for all
g,hinG,pinPsuch thatg |+|? handp <|+|? gare defined,(p <|+|? (g |+|? h).get).get === ((p <|+|? g).get |+|? h).get, and all operations are defined.In addition, if
Gis a partial monoid, the following relation holds:2. for all
ginGandpinPsuch thatp <|+|? gis defined:(p <|+|? g.leftId).get === p, the operation<|+|?being defined. -
trait
Semigroupoid
[A] extends Any
A semigroupoid is any set
Awith a partial binary associative operation (partialOp), which is associative in the following sense: if f,g,h are elements of the semigroupoid such that either: (i) f |+|? g is defined and g |+|? h is defined (ii) f |+|? g is defined and (f |+|? g).get |+|? h is defined (iii) g |+|? h is defined and f |+|? (g |+|? h).get is definedA semigroupoid is any set
Awith a partial binary associative operation (partialOp), which is associative in the following sense: if f,g,h are elements of the semigroupoid such that either: (i) f |+|? g is defined and g |+|? h is defined (ii) f |+|? g is defined and (f |+|? g).get |+|? h is defined (iii) g |+|? h is defined and f |+|? (g |+|? h).get is definedthen all of f |+|? g, g |+|? h, (f |+|? g).get |+|? h, f |+|? (g |+|? h).get are defined and ((f |+|? g).get |+|? h).get = (f |+|? (g |+|? h).get).get
- trait SemigroupoidLowPriority extends AnyRef
Value Members
- object Groupoid extends GroupoidLowPriority
- object LeftPartialAction
- object PartialAction
- object RightPartialAction
- object Semigroupoid extends SemigroupoidLowPriority