-
-
Notifications
You must be signed in to change notification settings - Fork 462
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
Up-down Posets #19383
Comments
comment:1
From another ticket: "Maybe implement up-down posets generally, and then have At least the docstring must mention "zigzag" and "fence" so that they will be found by search. (Compare to my addition about "weak order" etc. to Also nothing prevents the index to have
|
Branch: u/kdilks/updowndimension19383 |
comment:3
This was not marked as needs_review, but I'll comment anyway.
Should it be said that for What is best way to give parameters to Should every function have a New commits:
|
Commit: |
comment:4
If you want to name a Poset as "StandardPoset", and if it is really known under this name, please provide in the documentation a reference toward a textbook or paper that coins it so. Also, please make the starting sentence of your docstring short and independent. You can then be as verbose as you want in a second paragraph. http://doc.sagemath.org/html/en/developer/coding_basics.html#the-docstring-of-a-function-content Nathann |
comment:5
Replying to @nathanncohen:
Just google for "poset standard example". It founds this, and only this, poset. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
I don't think we should reject n=1,2 for the standard example. Just because they're simple and can more easily be described in other ways doesn't mean the definition doesn't make sense and should raise an error. Sadly, "standard example" is the accepted terminology. I don't know what the original source would be, but there are tons of papers that use the term, and it's also mentioned on the Wikipedia page for Order-Dimension. Suggestions for what to use? For UpDownPoset, I just followed the convention that Wikipedia had (although I think I reversed up steps and down steps...there's a reason I didn't mark this for review yet). I don't see any real reason to exclude "kind of incomplete" fences. It just makes the code more complicated, and limits what kind of posets the user can create. Plus I'm not even sure exactly how one would define an "incomplete" fence. The more I think about it, the more I realize the code should be a little more general to allow more cases. For example, we always start with an up step...but what if we want a fence starting with a down step? What if instead of wanting one down-step after every m up-steps, we want k down-steps after every m up-steps? I think what I really want is a method where you put in Since all of poset examples isn't consistent with including New commits:
|
comment:8
Replying to @kevindilks:
Hmm... OK. How about
Hmmm number two... Will interface be too complicated? There are tons of different posets that the user could want to get easily. Some of them are trivial to make by hand, like (I'll be mostly offline for some time. Looking reindeers from kitchen's window...) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Great, now I have git things tomorrow. I think I had the patchbot ticket pulled into develop on this machine. |
comment:11
Computing dimension of "Returns" should be "Return" in one-line description. (Back from Lapland. Reindeers eat bits, as network is slower when there is more reindeers outside. |
comment:12
Just pinging this one... Are you doing this, or should someone (me?) take this to todo list? |
This comment has been minimized.
This comment has been minimized.
comment:13
I splitted this to #19690, as the branch of this one does not merge. |
Changed branch from u/kdilks/updowndimension19383 to u/jmantysalo/updowndimension19383 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
One-line code is from Kevin, I just rephrased docstring and added error detection. I also turned the order of parameters. IMO it is more logical to have number of elements as a first parameter. |
Author: Kevin Dilks, Jori Mäntysalo |
Changed keywords from none to poset |
comment:18
Frédéric maybe...? This is an easy one. |
comment:19
ok, I take |
Changed branch from u/jmantysalo/updowndimension19383 to public/19383 |
Reviewer: Frédéric Chapoton |
comment:21
Replying to @fchapoton:
Thanks! |
Changed branch from public/19383 to |
Add additional examples for up-down posets ( https://en.wikipedia.org/wiki/Fence_(mathematics) ).
CC: @jm58660 @fchapoton
Component: combinatorics
Keywords: poset
Author: Kevin Dilks, Jori Mäntysalo
Branch/Commit:
890f5f2
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/19383
The text was updated successfully, but these errors were encountered: