Skip to content

Add the category of SemiRings with an example : NonNegativeIntegers() #9056

@sagetrac-nborie

Description

@sagetrac-nborie

All is in the title, we want :

sage: Semirings()
sage: Category of semirings
sage: NN = NonNegativeIntegerSemiring()
sage: NN.category()
Join of Category of semirings and Category of infinite enumerated sets

CC: @sagetrac-sage-combinat @nthiery

Component: categories

Keywords: semiring

Author: Nicolas Borie

Reviewer: Nicolas M. Thiéry

Merged: sage-4.4.4.alpha1

Issue created by migration from https://trac.sagemath.org/ticket/9056

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions