-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
performanceSomething isn't as fast as it should beSomething isn't as fast as it should be
Description
At the moment I can see two areas where a lot of performance could be gained. One is the computation of ϕ-adic expansions and the other one I'd like to discuss here is the collapsing of a tower of extensions by replacing it by a single simple extension generated by a unformizing element.
What I do at the moment to collapse a tower of simple extensions is:
- guess a uniformizing element that generates that extension
- write down its matrix with respect to the obvious basis given by products of powers of generators of all the intermediate fields
- compute the characteristic polynomial
- check whether it's the minimal polynomial (i.e., square-free)
- find a simpler polynomial that generates the same field extension
The only step that is a problem at the moment is the computation of the characteristic polynomial. Currently, I just do this computation with Sage's algorithm over the rationals. I think that this algorithm is quite good, but due to coefficient explosion, I guess, this takes a very long time.
I would be happy to discuss some ideas on how to make this faster @swewers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
performanceSomething isn't as fast as it should beSomething isn't as fast as it should be