Bases: sage.categories.category.Category
The category of semirings.
A semiring is similar to a ring, but without the
requirement that each element must have an additive inverse. In
other words, it is a combination of a commutative additive monoid
and a multiplicative monoid
, where
distributes
over
.
See: http://en.wikipedia.org/wiki/Semiring
EXAMPLES:
sage: Semirings()
Category of semirings
sage: Semirings().super_categories()
[Category of commutative additive monoids, Category of monoids]
TESTS:
sage: TestSuite(Semirings()).run()
EXAMPLES:
sage: Semirings().super_categories()
[Category of commutative additive monoids, Category of monoids]