Copyright | (c) Erich Gut |
---|---|
License | BSD3 |
Maintainer | zerich.gut@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
distributive structures, i.e. multiplicative structures with a suitable additive structure.
Synopsis
- class (FibredOriented d, Additive d, Multiplicative d) => Distributive d
- data Dst
- class (ForgetfulOrt s, ForgetfulMlt s, ForgetfulFbr s, ForgetfulAdd s, ForgetfulFbrOrt s, Transformable s Dst) => ForgetfulDst s
- class (TransposableMultiplicative d, Distributive d) => TransposableDistributive d
Distributive
class (FibredOriented d, Additive d, Multiplicative d) => Distributive d Source #
FibredOriented
structures equipped with an Additive
and Multiplicative
structure
satisfying the laws of distributivity.
Properties Let d
be a Distributive
structure, then holds:
- For all
g
ind
andr
in
withRoot
d
holds:end
g==
start
r
wherezero
r*
g==
zero
r'r'
.==
start
g:>
end
r - For all
g
,a
andb
ind
with
androot
a==
root
b
holds:start
a==
end
g(a
.+
b)*
g == a*
g+
b*
g - For all
f
ind
andr
in
withRoot
d
holds:start
f==
end
rf
where*
zero
r==
zero
r'r' =
.start
r:>
end
f - For all
f
,a
andb
ind
with
androot
a==
root
b
holds:start
f==
end
af
.*
(a+
b) == f*
a+
f*
b
Note If d
is interpreted as a small category C
then it is usually called
preadditive. If d
is also Abelian
then C
is also usually called
abelian.
Instances
type representing the class of Distributive
structures.
Instances
class (ForgetfulOrt s, ForgetfulMlt s, ForgetfulFbr s, ForgetfulAdd s, ForgetfulFbrOrt s, Transformable s Dst) => ForgetfulDst s Source #
transformable to Distributive
structure.
Instances
ForgetfulDst Dst Source # | |
Defined in OAlg.Structure.Distributive.Definition | |
ForgetfulDst (Alg k) Source # | |
Defined in OAlg.Structure.Algebraic.Definition |
Transposable
class (TransposableMultiplicative d, Distributive d) => TransposableDistributive d Source #
transposable distributive structures.
Property Let d
be a TransposableDistributive
structure, then holds:
Instances
TransposableDistributive N Source # | |
Defined in OAlg.Structure.Distributive.Definition | |
TransposableDistributive Q Source # | |
Defined in OAlg.Structure.Distributive.Definition | |
TransposableDistributive Z Source # | |
Defined in OAlg.Structure.Distributive.Definition | |
(Distributive x, TransposableDistributive x) => TransposableDistributive (Matrix x) Source # | |
Defined in OAlg.Entity.Matrix.Definition | |
Entity p => TransposableDistributive (Orientation p) Source # | |
Defined in OAlg.Structure.Distributive.Definition |