On the VC Dimension of Quadratic Residues in Finite Fields

A mix of human-written and AI-generated textHuman understanding: some partsmath.CO — Combinatorics

Contributed by Chea Luke Berg ↗

Version 1 / Dec 01, 2026 / CC BY 4.0

Abstract

Let qq tend to infinity through odd prime powers and let SqS_q be the set of nonzero squares in Fq\mathbb F_q. The VC dimension of the translates of SqS_q is (1+o(1))log⁡2q(1+o(1))\log_2 q, as conjectured by McDonald, Sahay, and Wyman. The argument uses exact averaging of quadratic-character agreement counts and fixed-order factorial moments to bound the expected number of missing sign patterns. In particular, for each fixed 0<ε<10<\varepsilon<1, a uniformly sampled ordered tuple of length ⌊(1−ε)log⁡2q⌋\lfloor(1-\varepsilon)\log_2 q\rfloor is shattered with probability tending to one, with witnesses outside the tuple.

Provenance statement

I directed the mathematical research, investigated relevant combinatorial methods, selected and adapted mathematical frameworks, and determined which approaches and operations to apply throughout the work. ChatGPT was primarily used to assist with mathematical analysis, checking calculations, examining the argument for potential gaps, and preparing the LaTeX manuscript. The mathematical direction and selection of methods were guided by my independent research, with AI serving as a tool for analysis and verification.

References

  1. B. McDonald, A. Sahay, and E. L. Wyman, The VC dimension of quadratic residues in finite fields, Discrete Mathematics 348 (2025), no. 1, 114192. arXiv:2210.03789 (https://arxiv.org/abs/2210.03789).arXiv
  2. R. Lidl and H. Niederreiter, Finite Fields , 2nd ed., Encyclopedia of Mathematics and its Applications, vol. 20, Cambridge University Press, 1997.

Version history

  1. v1 · 9 pagesSubmitted by Chea Luke BergInitial depositCurrentNov 30, 2026