Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categories for finite (enumerated) sets #12957

Open
nthiery opened this issue May 17, 2012 · 7 comments
Open

Categories for finite (enumerated) sets #12957

nthiery opened this issue May 17, 2012 · 7 comments

Comments

@nthiery
Copy link
Contributor

nthiery commented May 17, 2012

There still remains a lot of finite (enumerated) sets that are not in the appropriate categories::

sage: LatticePolytope(matrix(ZZ, [[3,0],[0,3]])).points().category()
Category of objects

See also: #12913

The following examples were originally in the ticket description but are good on sage-6.9.beta1

sage: Permutations().category()
Category of infinite enumerated sets
sage: DirichletGroup(5).category()
Category of finitely generated finite commutative groups

Moreover, with Sage 7.4.beta0 we now have:

sage: CartesianProduct([1,2],[2,3]).category()
... DeprecationWarning: CartesianProduct is deprecated. Use cartesian_product instead
See http://trac.sagemath.org/18411 for details.
  #!/usr/bin/env python
Category of Cartesian products of finite enumerated sets
sage: cartesian_product([[1,2],[2,3]]).category()
Category of Cartesian products of finite enumerated sets
sage: Set([1,2,3]).category()
Category of finite sets

Formerly not working, ok in sage 9.3.b6:

sage: Set([1,2,3]).category()
Category of finite sets
sage: (GF(3) ^ 2) in FiniteEnumeratedSets()
True
sage: MatrixSpace(GF(3),2) in FiniteEnumeratedSets()
True

Depends on #12913

CC: @sagetrac-sage-combinat @simon-king-jena @novoselt

Component: categories

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

@nthiery nthiery added this to the sage-5.11 milestone May 17, 2012
@nthiery nthiery self-assigned this May 17, 2012
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@videlec
Copy link
Contributor

videlec commented Aug 13, 2015

comment:5

On sage-6.9.beta1 things get better... I modified the description accordingly

@videlec

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor

mkoeppe commented Aug 15, 2016

comment:6

I have updated the description with the status as of version 7.4.beta0.

Regarding LatticePolytope (one of the examples in the description), I would be reluctant to consider it a finite enumerated set. There should be a distinction between the lattice polytope (an infinite set) and the set of its lattice points. The latter (which also makes sense for non-lattice polytopes) should be made a finite enumerated set.

@mkoeppe mkoeppe modified the milestones: sage-6.4, sage-7.4 Aug 15, 2016
@fchapoton

This comment has been minimized.

@fchapoton

This comment has been minimized.

@fchapoton fchapoton modified the milestones: sage-7.4, sage-9.4 Jan 29, 2021
@fchapoton

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 9, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants