-
-
Notifications
You must be signed in to change notification settings - Fork 539
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
Classes of combinatorial structures #17367
Comments
comment:1
So... I want push the code but... it is ask the "git@trac... password:". (It is a strange problem, from an other folder of sage I have not this fu**** problem) |
Commit: |
New commits:
|
comment:4
I have no real interest in this, but I'm curious as to whether such a long name needs to be in the global namespace. We already have way too many categories there that are fairly "empty" when you try to use them directly (as opposed to giving properties to actual mathematical objects). |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Hey, Sorry I'm the king of duplicate... Plus #16465 it is my own ticket... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Ok... this is not really a duplicate... #16465 contains lot of things... to many... I'm not sure about its destiny! whatever... This ticket #17367 provides a category of combinatorial classes For example, most of the time we define graded connected Hopf algebras indexed by a "connected" class of combinatorial structure
This ticket provides to that, it provides those kind of methods. It also provides some code to easily design a class of combinatorial structures ( new files:
all classes of combinatorial structures modified to use the category:
|
comment:10
I am talking with Jean-Baptiste so I want to make a few things clear in this ticket for the record. My main question when I look at this category, is how is it different than Follow-up question is then is/should/could Follow-up question is then a better name The reason graded infinite enumerated sets are ALL over combinat and we need common methods to work with them and create combinatorial Hopf algebras of a |
comment:11
Jean-Baptiste is proposing giving the |
comment:12
But we noticed that it is not necessarily the cases that this category is a sub-category of |
comment:13
Great ideas. (I prefer to keep "combinatorial' out of the name, if possible.) For the record, we're talking about enumeratable sets, right? Set partitions, etc., may be enumeratable, but I don't want to specify an enumeration (i.e., make it into an enumerated set) if I don't have to.... Or maybe I should? |
comment:14
In this category you would need to specify the enumeration and it is graded (by non-negative integers by default). |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
Hello, I strongly think that creating this category is useless and I certainly understand that it is needed. What I propose is to not create a new category but make this featured sets with NN grading and finite slices available. What I would rather implement is:
(.. the names are awful, but I hope that the plan is clear ...). Related to my previous remark, you add plenty of stuff that should be discussed at the level of
Some terminology and english weirdnesses:
Vincent |
comment:18
If same thing can be achieved by adding to I didn't know the word Jean-Baptiste and I had a discussion about the use of |
comment:19
Hi Vincent, Thank you about your comments. Replying to @videlec:
This seems not totally useless to create a new category or I don't know how to do that easily using the category framework of sage.
The parameter grading set is already provided in the
I also wish to provide a category class SetsWithGrading(Category):
....
class GradedComponent(Category):
def super_category(self):
return .???.
class ParentMethods:
def ambient(self):
pass
def grade(self):
pass It seems natural to have At this point, if I use So my opinion is
If we have a finite sets (in sage), could we assume that it is an enumerated sets? (I suppose the answer is no but...) |
comment:20
Replying to @sagetrac-elixyre:
This is not true. It is provided by the parents that belong to the category. You have no category
In the case of
Do you mean a method of the parent belonging to that category?
I don't think that this
I still do not think that this
Certainly not. Solutions for categories should never be with a class for each particular problem.
Indeed. The problem is that the behavior are actually quite different (see also #18411 comment 39 and #18411 comment 40):
Enumerated in the Sage category context does not mean iterable, it is rather with a presribed iteration order. Nicolas wanted a new category When we will converge to something reasonable, it would be better to split the features:
The most important is to actually not focus on your particular case if you want to implement something useful for categories. |
comment:21
Replying to @videlec:
I understand your point. What I say that it is already a method which provides to the parent a default grading set:
How to use facade such that there is an
Yes, this should be coherent with the degree.
I'm not sure to understand what you mean.
Ok, so have you any idea about how to do that? (I don't understand the mean
Please, could you provide this splitting and propose some code to start? (I'm lost in the sage maze... show me the line) I don't care about the path, but at the end, a denumerable set |
comment:22
I think you cheated a little bit with your implementation on
On this branch
You can see why, because you overwrote the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:25
Replying to @zabrocki:
I have fixed that:
Replying to @sagetrac-elixyre:
Vincent, could you take some time to answer us your plan about this ticket? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
I propose several feature in this ticket:
some generic methods for all combinatorial structures:
I put those methods in a category called ClassesOfCombinatorialStructure.
a generic pattern to define a class of combinatorial structure
a fix of some combinatorial structure to be coherent with that... (permutations, compositions, binarytrees).
CC: @nthiery @zabrocki @alauve @kevindilks
Component: combinatorics
Author: Jean-Baptiste Priez
Branch/Commit: u/elixyre/class_of_combinatorial_structures @
2e03999
Issue created by migration from https://trac.sagemath.org/ticket/17367
The text was updated successfully, but these errors were encountered: