-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Characteristic Classes: Sequences #30211
Comments
Commit: |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
This ticket is ready for review. Patchbot should turn green after this commit. |
comment:6
Do you have an example that gives something that is not a symmetric function over Also, you are better off using m = Sym.m()
m._from_dict({p: prod(ring(coeff[i]) for i in p)
for k in range(len(coeff))
for p in Partitions(k)) which is faster as it more directly creates the symmmetric function you want. |
comment:7
Replying to @tscrim:
Sure:
Thanks, I'll try this. |
comment:8
Apparently, there is something wrong with the code since some doctests fail. I'll check on this. |
comment:9
Replying to @mjungmath:
I know what a symmetric function is (that is basically my main research area). What I want is a symmetric function over some other base ring besides |
comment:10
Ah, I see. I was already wondering. :D Well yes, the standard case is |
comment:11
I will try another attempt using power series only. I hope this simplifies the code significantly. Furthermore, this could improve the performance since power series compute things faster than symbolic expressions; also the use of power series is mathematically more rigorous. Finally, power series (over the symbolic ring) allow to distinct between parameters and the actual variable. |
comment:13
Replying to @tscrim:
General question: do the examples have to be mathematically sensible? For instance, there are plenty of examples where the coefficients of the Taylor expansion are not rationals and |
comment:14
Replying to @mjungmath:
Uncommon is different than mathematically sensible. Since it something you are supporting, it should be tested, even if it is uncommon. Something you could do is have |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Thanks. This will be good. Just one comment on the code: from sage.combinat.partition import Partitions
# Get the multiplicative sequence in the monomial basis:
- mon_pol = Sym.m().sum(prod(ring(coeff[i]) for i in p) * Sym.m()[p]
+ mon_pol = Sym.m()._from_dict({p: sum(prod(ring(coeff[i]) for i in p)
for k in range(len(coeff))
- for p in Partitions(k))
+ for p in Partitions(k)}) This will create the element faster with far less temporary objects. |
comment:20
You will probably also want to do something similar for the additive case. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:22
Here we go. Wait for patchbot. @tscrim: However, I am not sure whether this ticket is still useful since I plan to reconstruct the whole architecture of characteristic classes. Perhaps it is good if you could join my talk on Friday because I plan to explain the rough idea of the current implementation and an outline of what I have in mind. |
comment:23
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
comment:24
This will be good for now. If things get completely rewritten, then this can be modified/deprecated at that time. |
Reviewer: Travis Scrimshaw |
comment:25
Thank you for the review! |
Changed branch from u/gh-mjungmath/characteristic_classes_sequence to |
To each additive/multiplicative characteristic class corresponds a sequence. Namely, due to the fundamental theorem of symmetric polynomials, each symmetric polynomial can be expressed in terms of the elementary symmetric polynomials. In our setup, the
k
-th elementary symmetric polynomials corresponds to thek
-th Chern class. This allows us to express additive/multiplicative characteristic classes in terms of Chern classes (or Pontryagin classes in the real case respectively). This is the sequence.CC: @slel @egourgoulhon @tscrim
Component: manifolds
Author: Michael Jung
Branch/Commit:
7aa0ec5
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/30211
The text was updated successfully, but these errors were encountered: