3 ms·
Mathematicians Discover the Perfect Way to Multiply
- pseudolus 8y agoHere's a link to the actual paper: https://hal.archives-ouvertes.fr/hal-02070778/document https://hal.archives-ouvertes.fr/hal-02070778/document (PDF)
- amichail 8y agoThe second author is the creator of TeXmacs btw.
- hannob 8y agoThe title is a bit misleading, though they do explain it in the text. It seems they cannot show right now that this is the perfect way to multiply. It's faster than any previously existing way and they hope to be able to proove in the future that there is no faster way. I found this interesting because coming from cryptography I know that it's very hard to have any lower bounds for algorithm speed. Which is why we can't have provably secure cryptography (yet?).
- lower 8y agoPrevious discussion: https://news.ycombinator.com/item?id=19474280 https://news.ycombinator.com/item?id=19474280
- spuz 8y agoPrevious discussion: https://news.ycombinator.com/item?id=19474280 https://news.ycombinator.com/item?id=19474280
- rollthehard6 8y agoQ - how do you multiply something like 25x63 example in your head? Personally, I'd break that down also, by doing - 5 x 63 = 315 x 5 = 1575 reminds me a little of the Feynman story about his duel with the abacus master. https://news.ycombinator.com/item?id=5849665 https://news.ycombinator.com/item?id=5849665
- docdeek 8y agoFor that example I would be thinking 60 x 25 = 1500 (4 x 25=100, so that's the simple part for me) and then 3 x 25 = 75, and add the two products.
- soVeryTired 8y agoIn general I find mental arithmetic like this easiest if you start from the most significant digits. So you just need to keep track of a running sum and which multiplications you still need to add. Here's the calculation as I would do it in my head, more or less: 25 * 63 = (20 + 5) * (60 * 3) = (20 * 60) + (5 * 60) + (3 * 20) + (5 * 3) = 1200 + (5 * 60) + (3 * 20) + (5 * 3) = 1500 + (3 * 20) + (5 * 3) = 1560 + (5 * 3) = 1575
- flashgordon 8y agoIf division can be involved, why not: = ((25 * 4) * 63) /4 = 100 * 63 /4 = 6300 / 4 = (6400 - 100) / 4 = 1600 - 25 = 1575
- JustSomeNobody 8y ago25 X 63 25 X 6 X 10 = 1500 25 X 3 = 75 1500 + 75 1575 This is easier for me to do in my head than juggle as many steps as the "perfect way"
- deleted 8y ago[deleted]
- rawwar 8y agoAren't algorithms for multiplying integers in O(n log n) using DFT known for a long time (eg. Cooley-Tukey)?
- eesmith 8y agoAccording to the article, Schönhage and Strassen introduced the use of fast Fourier transform to integer multiplication in 1971, giving n × log n × log(log n). "The technique has been the basis for every fast multiplication algorithm since." "Over the past decade, mathematicians have found successively faster multiplication algorithms, each of which has inched closer to n × log n, without quite reaching it. Then last month, Harvey and van der Hoeven got there."