Computing sums with linear conditions quickly
Statement
Let , be given by tables (or, what is basically the same, assume their values can be computed in constant time). For , , define
Write for "roughly ", e.g., .
Question 1. Is it possible to spend time in some preparatory computations and then be able to compute for any given as above in time ?
(This would be the case if all it took were some initial sorting and/or FFT and/or what have you. One can clearly do this for the special cases and . That's weak reason for hope; I expect the answer to be most likely "no", though I have no idea of how one would prove it.)
Question 2. What about computing for some given sequence , ? Can that be done in time ?
A "yes" answer to Q1 would obviously imply a "yes" answer to Q2.
An informal description of …
Posed by H A Helfgott · algorithms, sequences-and-series, fourier-analysis, computational-geometry
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-437865.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-437865.lean
import Mathlib /-! # Computing sums with linear conditions quickly Source: https://mathoverflow.net/questions/437865 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_437865 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_437865