The VC-dimension of quadratic residues: beyond the constant 1/2
Version 1 / Nov 30, 2026 / CC BY 4.0
Abstract
We prove that the translates of the nonzero squares in have VC-dimension at least , where , breaking the classical -barrier established by McDonald, Sahay and Wyman. More strongly, every subset of of size roughly contains a shattered subset of three-quarters of its size. The proof is short and conceptual: a second-moment estimate via the Weil bound controls the number of omitted sign patterns, and the Sauer--Shelah lemma converts the resulting abundance of realised patterns into a large shattered coordinate set.
Replacing the Weil bound by the generalised Riemann hypothesis for real Dirichlet -functions yields the analogous bound for the family of Legendre symbols indexed by odd primes , together with an explicit version valid for all .
Provenance statement
Tools used
- Anthropic
- Claude FableVersion Fable 5.2
- GeminiVersion 4 Carbon
References
- R. Ahlswede, L. H. Khachatrian, C. Mauduit and A. Sárközy, A complexity measure for families of binary sequences, Period.\ Math.\ Hungar. \ 46 (2003), no. 2, 107--118.
- N. Alon, O. Goldreich, J. Hå stad and R. Peralta, Simple constructions of almost -wise independent random variables, Random Structures Algorithms 3 (1992), no. 3, 289--304.
- L. Alpöge, A remark on the Riemann hypothesis, preprint and Lean 4 formalization, 2026, https://alpo.ge/remark.pdf.link
- L. Alpöge, with Claude, The Generalized Riemann Hypothesis for Dirichlet -functions, in Lean 4, readable edition, 2026, https://github.com/lsernau/grh-lean.link
- Axiom Math, Report: The extended Riemann hypothesis for Dedekind zeta functions of totally real fields, Hexagon preprint 2611.01389v1, 2026.
- A. Blass, G. Exoo and F. Harary, Paley graphs satisfy all first-order adjacency axioms, J.\ Graph Theory 5 (1981), no. 4, 435--439.
- B. Bollobás and A. Thomason, Graphs which contain all small graphs, European J.\ Combin. \ 2 (1981), no. 1, 13--15.
- I. Byrne, J. Byrne and S. M. Cioabă, The VC-dimension of strongly regular graphs, preprint, arXiv:2609.10330.arXiv
- H. Davenport, Multiplicative Number Theory , 3rd ed., revised and with a preface by H. L. Montgomery, Graduate Texts in Mathematics 74, Springer, New York, 2000.
- L. Grenié and G. Molteni, Explicit versions of the prime ideal theorem for Dedekind zeta functions under GRH, Math.\ Comp. \ 85 (2016), no. 298, 889--906; arXiv:1312.4463.arXiv
Show all 25 referencesShow fewer references
- K. Gyarmati, On the complexity of a family related to the Legendre symbol, Period.\ Math.\ Hungar. \ 58 (2009), no. 2, 209--215.
- H. Iwaniec and E. Kowalski, Analytic Number Theory , Amer.\ Math.\ Soc.\ Colloquium Publications 53, Amer.\ Math.\ Soc., Providence, RI, 2004.
- Y. Lamzouri, The distribution of large quadratic character sums and applications, Algebra Number Theory 18 (2024), no. 11, 2091--2131; arXiv:2212.03227.arXiv
- Y. Lamzouri, X. Li and K. Soundararajan, Conditional bounds for the least quadratic non-residue and related problems, Math.\ Comp. \ 84 (2015), no. 295, 2391--2412; corrigendum, Math.\ Comp. \ 86 (2017), no. 307, 2551--2554; arXiv:1309.3595.arXiv
- R. Lidl and H. Niederreiter, Finite Fields , 2nd ed., Encyclopedia of Mathematics and its Applications 20, Cambridge Univ.\ Press, 1996.
- C. Mauduit and A. Sárközy, Family complexity and VC-dimension, in Information Theory, Combinatorics, and Search Theory , Lecture Notes in Comput.\ Sci.\ 7777, Springer, Berlin, 2013, 346--363.
- B. McDonald, A. Sahay and E. L. Wyman, The VC dimension of quadratic residues in finite fields, Discrete Math. \ 348 (2025), no. 1, Paper No. 114192; arXiv:2210.03789.arXiv
- T. Pham, S. Senger, M. Tait and Nguyen Thu-Huyen, VC-dimension and pseudo-random graphs, Discrete Appl.\ Math. \ 365 (2025), 231--246; arXiv:2303.07878.arXiv
- C. Pomerance and I. E. Shparlinski, On pseudosquares and pseudopowers, in Combinatorial Number Theory (Proc.\ Integers Conference 2007), Walter de Gruyter, Berlin, 2009, 171--184; arXiv:0712.1081.arXiv
- B. Rodgers and A. Sahay, The VC-dimension of random subsets of finite groups, Random Structures Algorithms 69 (2026), no. 1, e70089; arXiv:2506.14219.arXiv
- J. B. Rosser and L. Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J.\ Math. \ 6 (1962), 64--94.
- N. Sauer, On the density of families of sets, J.\ Combin.\ Theory Ser. A 13 (1972), no. 1, 145--147.
- A. Schinzel, On pseudosquares, in Analytic and Probabilistic Methods in Number Theory (Palanga, 1996), New Trends Probab.\ Stat.\ 4, VSP, Utrecht / TEV, Vilnius, 1997, 213--220.
- S. Shelah, A combinatorial problem; stability and order for models and theories in infinitary languages, Pacific J.\ Math. \ 41 (1972), no. 1, 247--261.
- V. N. Vapnik and A. Ya. Chervonenkis, On the uniform convergence of relative frequencies of events to their probabilities, Theory Probab.\ Appl. \ 16 (1971), no. 2, 264--280.