Skip to content

Cartesian product of rings #16405

@nthiery

Description

@nthiery

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions