-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
parent of plethysm #27652
Comments
Branch: u/mantepse/parent_of_plethysm |
Commit: |
Author: Martin Rubey |
New commits:
|
comment:4
Can you explain why you would do this? It seems wrong to me.
|
comment:5
I have two reasons: 1.) the result of plethysm with a tensor is a tensor. 2.) I have a class that inherits from To elaborate on 2., here is my code. (The
|
comment:6
A change like this may make yours work but at the expense of breaking other's code. This change is not consistent with other uses of plethysm. I don't think that your "1.) the result of plethysm with a tensor is a tensor" is a reason at all because the plethysm of a tensor is already a tensor. What you are doing is proposing changing the output basis. The choice of making the basis output of
But then you should cast the output into your class. |
comment:7
OK, no problem, although I do not understand your reasons. Possibly I miscommunicated item 1: what I meant to say is that In other words, the change of basis I agree that item 2 is not a good reason. However, I do not know an easy workaround. In particular, I do not know how to cast the output into my class, because |
comment:8
In my example I showed you that the plethysm of a Schur basis element and a power basis element outputs something in the Schur basis. That is the default behavior.
Maybe sometimes, but not in my uses of plethysm. I might be able to be convinced, but I would examples and even then I would hesitate to make a change like this because that is not what happens for
I think that what you are proposing is a way to |
comment:9
I agree that other conventions may be more convenient for other uses. Of course, I know nothing about your uses of plethysm. In my computations, it happens frequently that the basis of the tensor product is chosen for a reason, and the basis of
I guess that the only real reason I have to offer is that a basis for the symmetric functions cannot possibly be a basis for a tensor power of symmetric functions. Since the result is in tensor space, I really have to choose a basis for the tensor space, and taking a power of the basis of Concerning the other question: no I do not want to add another case into the computation of |
comment:10
Moving tickets from the Sage 8.8 milestone that have been actively worked on in the last six months to the next release milestone (optimistically). |
comment:11
Ticket retargeted after milestone closed |
comment:12
Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date. |
comment:14
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
comment:15
Setting a new milestone for this ticket based on a cursory review. |
comment:27
Replying to Martin Rubey:
You are already changing the code there anyways. It is simple enough to do if you know which parent you are summing over.
The current branch here doesn't have the lazy series stuff (it is better that it doesn't IMO). You can create a new branch and merge the two together to test them simultaneously. |
comment:28
Travis, I tested it on my branch, not on this branch.
|
comment:29
The branch in this ticket is also your branch. So I thought that was what you were talking. However, I am not sure what has changed with the lazy plethysm speed. I don't think we changed anything with that... |
comment:30
Can we be sure that our plethysm was faster? |
comment:31
You had an example of this in ticket:34383#comment5. |
comment:32
Wow, great, thank you! Apparently I misremembered, because there we only compute a single degree of the plethysm, not all of them. However,
For some reason, |
comment:33
Indeed, that is interesting. I guess it depends on what things we want to actually compute. Perhaps we can move this to a new ticket, both to keep the scope of this ticket to symmetric functions, and to not spam other cc-ed people. For this ticket, I rebased it on #34470 (strictly speaking, it should be #34413) as there was a conflict. I made an optimization with how the sums are computed. I also fixed a few things with how scalars are handled, which arose from making the output be in the input parent (or the base ring for scalars; I don't see an easy way to deal with doing pushouts). Unfortunately I accidentally put my changes into the merge comment. Anyways, if the patchbot comes back again green and you are happy with my changes, then I think we are at a positive review. Last 10 new commits:
|
Reviewer: Travis Scrimshaw |
Changed branch from u/mantepse/parent_of_plethysm to u/tscrim/parent_plethysm-27652 |
Dependencies: #34470 |
comment:34
I agree to moving the performance discussion to a different ticket. I feel a bit uneasy with merging the lazy stuff into this ticket, but I guess it makes no difference. |
comment:35
We have to deal with the conflict somewhere, and better here because #34413 is already positively reviewed. |
comment:36
Do you understand these warnings?
|
comment:37
It comes from the patchbot implementation being simple and not realizing it is coming from a dependency ticket. We can ignore it. |
comment:38
Should there be a doctest (and perhaps even specification) demonstrating that the parent is now the parent of the inner function? Should there maybe even be a warning? I am somewhat afraid that some people may have private code like
who might be not amused about not being warned. |
comment:39
IMO, this is a bug (such as composing with a tensor product), so no warning/deprecation is necessary. I agree with you that we should add a doctest and documentation indicating this behavior. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:41
I've added it. |
Changed branch from u/tscrim/parent_plethysm-27652 to u/mantepse/parent_plethysm-27652 |
comment:43
ping? New commits:
|
comment:44
I'm happy. If you are with my added tests, then positive review. |
Changed branch from u/mantepse/parent_plethysm-27652 to |
Depends on #34470
CC: @zabrocki
Component: combinatorics
Keywords: conversion
Author: Martin Rubey
Branch/Commit:
0dcc0aa
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/27652
The text was updated successfully, but these errors were encountered: