/- Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ import FormalConjecturesUtil

Green's Open Problem 47

References:

    [Gr24] Ben Green's 100 Open Problems

    [GH14] Green, Ben, and Adam J. Harper. "Inverse questions for the large sieve." Geometric and Functional Analysis 24.4 (2014): 1167-1203.

    [HV09] Helfgott, Harald Andrés, and Akshay Venkatesh. "How small must ill-distributed sets be." Analytic number theory 2 (2009): 224-234.

    [Wa12] Walsh, Miguel N. "The inverse sieve problem in high dimensions." (2012): 2001-2022.

    [Wa14] Walsh, Miguel N. "The algebraicity of ill-distributed sets." Geometric and Functional Analysis 24.3 (2014): 959-967.

open Filter namespace Green47

Suppose that a large sieve process leaves a set of quadratic size. Is that set quadratic?

The following very particular instance is probably the simplest [Gr24]: Suppose that $A \subset \mathbb{N}$ is a set with the property that $|A \pmod p| \leqslant \frac{1}{2}(p + 1)$ for all sufficiently large $p$. Is it true that either $|A \cap [X]| \ll X^{1/2} / \log^{100} X$, or $A$ is contained in the image of $\mathbb{Z}$ under a quadratic map $\phi : \mathbb{Q} \to \mathbb{Q}$?

@[category research open, AMS 11] theorem declaration uses 'sorry'green_47 : answer(sorry) A : Set , (∀ᶠ p in atTop, Nat.Prime p Set.ncard (Set.image (fun a : => (a : ZMod p)) A) (p + 1) / 2) ((fun X : => ((A Set.Iic X).ncard : )) (fun X : => Real.sqrt (X : ) / (Real.log (X : )) ^ 100)) ( P : Polynomial , P.degree = 2 a A, z : , (a : ) = P.eval (z : )) := True (A : Set ), (∀ᶠ (p : ) in atTop, Nat.Prime p ((fun a => a) '' A).ncard (p + 1) / 2) ((fun X => (A Set.Iic X).ncard) =O[atTop] fun X => X / Real.log X ^ 100) P, P.degree = 2 a A, z, a = Polynomial.eval (↑z) P All goals completed! 🐙 end Green47