-
-
Notifications
You must be signed in to change notification settings - Fork 704
Closed
Milestone
Description
This ticket lifts up cartesian product features to the categories recently created in #10963, where they belong. Thanks to this and to the definition of CartesianProducts for the Distributive axiom, we have now:
sage: Fields().CartesianProducts()
Join of Category of rings
and Category of Cartesian products of distributive magmas and additive magmas
and Category of Cartesian products of semigroups
and Category of Cartesian products of unital magmas
and Category of Cartesian products of additive inverse additive unital additive magmas
and Category of Cartesian products of additive commutative additive magmas
and Category of Cartesian products of additive semigroups
And this works smoothly for all variants of rings (semirings, ...).
This fixes a piece of : #15425.
CC: @sagetrac-sage-combinat @nathanncohen @videlec @dimpase
Component: categories
Keywords: cartesian product
Author: Nicolas M. Thiéry
Branch/Commit: eced39e
Reviewer: Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/16405