1,760 karma · joined September 20, 2011
However, while this does improve performance over the naive algorithm, it's still not as good as a tiling algorithm.
SymPy is doing nicely, but it's decades behind Mathematica when it comes to symbolic computation.
By the way, if you want to invert a symbolic matrix, chances are that generic Gaussian elimination working with symbolic expressions isn't the best algorithm (it might even give wrong answers if zero testing is done incorrectly), and compiled code isn't going to change that. The state of the art in symbolic linear algebra uses specialized algorithms like evaluation-interpolation, modular computation, and all kinds of low level optimizations.
For machine precision, I believe ordinary interval arithmetic is the best way to go still. Unfortunately, this not only uses twice as much space; the time overhead can be enormous on current processors due switching rounding modes (there are proposed processor improvements that will alleviate this problem). However, the better interval libraries batch operations to minimize such overhead, and it's even possible to write kernel routines for things like matrix multiplication and FFT that run just as fast as the ordinary floating-point versions (if you sacrifice some tightness of the error bounds).
Regarding the article, using a more compact encoding for intervals is a fairly old idea and I'm not really sure what is novel here.
As a Swede, aren't you familiar with the saying "There's no such thing as bad weather, only bad clothes"? :-)
I did spend one summer planting trees in Sweden. It was miserable, but in a good way: I'd sleep well every night. I'm not sure how well I'd put up with something like that over an extended period of time though.
This works very nicely for me.
Actually, I made the first comment after I checked the second author's earlier paper https://arxiv.org/abs/1109.0130 where they essentially made the claim about inventing "CNS" as the first-ever reliable technique for long-term solutions of dynamical systems, without referencing any of the earlier work I mentioned above.
However, I just checked the actual text of this new article on the three-body problem (through sci-hub) and there the authors do cite the earlier work I mentioned above, giving proper attribution to others for the basic ideas behind what they call "CNS"! So all is actually well, and the peer review presumably did work (or the authors found out about the earlier work even before writing the new paper). It is just the press release that is misleading, as usual.
To answer your question, I'm not really familiar with the research on the N-body problem, so I can't say why or whether no one tried looking for periodic solutions in this way before. Perhaps no one actually thought of it, or they didn't try since they didn't expect to find anything, or they didn't have the computational resources, or they just couldn't figure out the details of how to do it (which the present authors did, and deserve credit for). Again, I was not trying to downplay the significance of this work, and finding new applications of existing methods (and making even tiny improvements along the way) is how science progresses. It also happens all the time that methods get rediscovered/reinvented independently.
That said, using this method to discover new periodic solutions of the three-body system is a very neat application, which deserves applause!
What would count as a "master theorem" for some field, anyway? I suppose something like Tarski's quantifier elimination of semialgebraic sets over R^n might be an example, though for actual computations the best algorithms have double exponential worst case complexity (i.e. even worse than integer factorization). Or for something even more basic, perhaps the fundamental theorem of linear algebra (along with Gaussian elimination). There's the saying that mathematics is the art of reducing any problem to linear algebra -- I suppose the hard problems in number theory are the ones that don't have a good linear algebra reformulation :-)