Fastest sine of a large power of 2
Statement
What is the fastest known way to calculate for large integer ?
I only need the highest few bits to be correct. I suspect that the compute time required scales with (and actually is a little slower-than-linear because more bits are needed within a longer computation to target a final numerical precision), but hoping here for something faster-than-linear, like the trick of repeated squaring used for analogous problems in discrete chaos.
If faster-than-linear computation here is impossible, can you prove it?
Here is a benchmark for my 3GHz (though RAM access is my bottleneck) PC using just one core, just inverting a precalculated and getting tail bits (see François Brunault's comment):
[code] A new PC would probably post 10x faster times, but 10^14 is the limit of bits that have been calculated, so further values will take much more (still slower-than-linear) work for this method (for comparison, calculating 10^9 bits of took 1400 seconds on my PC). It's interesting that the fastest algorithm to calculate first calculates our desired , so inversion is actually not needed. For more generality, I wonder whether we could extract …
Posed by bobuhito · computational-complexity, random-functions, chaos
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-415333.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-415333.lean
import Mathlib /-! # Fastest sine of a large power of 2 Source: https://mathoverflow.net/questions/415333 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_415333 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_415333