MathLabs

Worked solution: The polynomial method resolves the cap set problem (Croot-Lev-Pach, Ellenberg-Gijswijt, 2016)

Step 6 of 7: Counting monomials with large deviations: the constant 2.7562.756
In plain words

All that remains is arithmetic: how many of the 3n3^n monomials actually have total degree at most 2n/32n/3, out of a maximum possible degree of 2n2n? Since each of the nn coordinates independently contributes degree 00, 11, or 22, this is exactly the probability that a sum of nn independent random digits falls below its usual average -- a classical large-deviations (Chernoff-type) computation.

3e−I(2/3)<2.7563e^{-I(2/3)} < 2.756
Detailed analysis

Ellenberg and Gijswijt (2017, final computation) observe that m(q−1)n/3/qnm_{(q-1)n/3}/q^n is exactly the probability that the sum of nn independent uniform random variables on {0,…,q−1}\{0,\ldots,q-1\} is at most (q−1)n/3(q-1)n/3, i.e. far below its mean of (q−1)n/2(q-1)n/2; standard large-deviations theory gives lim⁡n→∞1nlog⁡(m(q−1)n/3/qn)=−I((q−1)/3)\lim_{n\to\infty} \frac{1}{n}\log(m_{(q-1)n/3}/q^n) = -I((q-1)/3), where I(x)=sup⁡θ(θx−log⁡1+eθ+⋯+e(q−1)θq)I(x) = \sup_\theta \left(\theta x - \log\frac{1+e^\theta+\cdots+e^{(q-1)\theta}}{q}\right) is the Legendre-transform rate function of a single uniform digit. Plugging in q=3, x=2/3q=3,\ x=2/3 for the cap-set case and optimising over θ\theta yields the numeric bound 3e−I(2/3)<2.7563e^{-I(2/3)} < 2.756.

Terms in this step
Large deviations / rate function
The theory of large deviations estimates the exponentially small probability that a sum of many independent random variables lands far from its average; the rate function I(x)I(x) controls the exponent of that probability.