-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Implement northwest diagrams #34260
Comments
Commit: |
Branch: u/tkarn/diagrams-34260 |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
comment:8
There is currently an issue in
|
comment:9
From a quick look, you are not passing a ClonableArray.__init__(self, Diagrams(), cells, check=False) Diagram.__init__(self, cells, **kwargs)
ClonableArray.__init__(self, NorthwestDiagrams(), cells, check=check) I also don't like the double initialization of Remove also the You should also use |
comment:11
Thanks for the feedback! Replying to @tscrim:
Sorry, I'm confused. I thought that New commits:
New commits:
|
comment:12
They are, but elements should take a |
comment:13
Oh! That makes sense now. It also helps with some general confusion I had about when to use |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:71
needs to be rebased |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
comment:73
Rebased, but now a test fails. |
comment:74
My guess is somewhere there is a multiplication convention issue:
A very annoying subtlety to deal with (which we can usually just hand-wave away), but we have to deal with here. Actually, I suspect the former is the "correct" output doing:
Although annoyingly this is different from One extra thing I noticed, you can pull out the inverse here to not redo it so many times: + winv = w.inverse()
cells = [c for c in cartesian_product_iterator((range(N), range(N)))
- if c[0]+1 < w.inverse()(c[1]+1) and c[1]+1 < w(c[0]+1)]
+ if c[0]+1 < winv(c[1]+1) and c[1]+1 < w(c[0]+1)] |
comment:76
I realized that the Stanley symmetric function things should be on #34335 instead (where they have the correct multiplication convention) so I removed them from this ticket. I think this is ready. |
comment:78
Tests are passing for me, but it might be good to wait for the patchbot one more time. |
Changed branch from u/tkarn/diagrams-34260 to u/tscrim/diagrams-34260 |
comment:79
I made some changes to the doc and the unicode output. If my changes are good, back to a positive review. New commits:
|
comment:80
It looks like pyflakes is raising some warnings about unused variables. I'm changing/testing those now, but your changes LGTM. |
New commits:
|
Changed branch from u/tscrim/diagrams-34260 to u/tkarn/diagrams-34260 |
comment:82
All the tests pass on my end - I'll wait for patchbot. |
comment:83
Green bot. |
comment:84
so what is this now waiting for ? |
comment:85
Nothing. Thanks Frédéric |
Changed branch from u/tkarn/diagrams-34260 to |
Implement a class for diagrams (collections of cells
(i,j)
indexed by the natural numbers), and a class for diagrams with the northwest property. A diagram has the northwest property if the fact that(i1, j1)
and(i2,j2)
are in the diagram implies that the cell(min(i1,i2), min(j1,j2))
are in the diagram.Depends on #34339
Depends on #34343
Depends on #34345
CC: @tscrim
Component: combinatorics
Keywords: gsoc2022 northwest-diagram
Author: Trevor K. Karn
Branch/Commit:
382926c
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/34260
The text was updated successfully, but these errors were encountered: