problems / long-gap-dilate

Also in this folder: compute/ · figures/

Attack log — a long gap in a dilate modulo a prime

2026-08-17 — literature (do not claim a dent yet)

Fetched:

Published record I must beat: Shakan’s universal 2. A construction with max⁡dg(dA)≤(2+ε)p\max_d g(dA)\le(2+\varepsilon)\sqrt p would show that 2 cannot be replaced by 2+ε2+\varepsilon. A proof that every AA of size ∼p\sim\sqrt p has some dilate missing CpC\sqrt p with a fixed C>2C>2 is the dent. G(p,n):=min⁡∣A∣=nmax⁡dg(dA)G(p,n):=\min_{|A|=n}\max_d g(dA).

2026-08-17 — tonight’s handles

  1. Re-derive Shakan and see whether the unused interval structure of B={1,…,m}B=\{1,\ldots,m\} (rising factorials / binomial polynomials) improves the Wronskian degree. The written proof uses only that PP is a cartesian product.
  2. Structure vs randomness: rank-O(1)O(1) GAPs collapse under Dirichlet (some dilate sits in an interval of length o(p)o(p)); random / Sidon / small multiplicative subgroups should have max⁡g∼(p/n)log⁡n\max g\sim(p/n)\log n. If the minimum really tracks log⁡n\log n, that is a dent (C→∞C\to\infty). If some algebraic family stays at C=O(1)C=O(1), 2 may be sharp.
  3. Exact G(p,n)G(p,n) for small pp by SAT (hitting all TT-APs) and constructions + local search for larger pp. Tables are residue unless they force a lifting argument.

Starting with (1) and a compute census, then (2).

2026-08-17 — dictionary

2026-08-17 — dictionary check, then Shakan's 2 is a degree wall

Re-derived the proof. Set m=sup⁡g(dA)+1m=\sup g(dA)+1, B={1,…,m}B=\{1,\ldots,m\}, k=nm−p+1k=nm-p+1, w(d,t)=d∏a,j(t+j+da)w(d,t)=d\prod_{a,j}(t+j+da). Alon gives w=(tp−t)u+(dp−d)vw=(t^p-t)u+(d^p-d)v. The top homogeneous slice is χm=tpg+h\chi^m=t^pg+h with deg⁡g,deg⁡h≤k\deg g,\deg h\le k. Then χm−1\chi^{m-1} divides the Wronskian W=h′g−hg′W=h'g-hg', and deg⁡W≤2k−1\deg W\le 2k-1. Cancelled leading terms actually give deg⁡W≤2k−2\deg W\le 2k-2, which only rearranges the O(1)O(1). The comparison (m−1)n≤2k−1(m-1)n\le 2k-1 is exactly nm≥2p−n−1nm\ge 2p-n-1.

The 2 is α=2\alpha=2 in deg⁡g+deg⁡h≤αk\deg g+\deg h\le\alpha k. To get leading constant CC one needs α=C/(C−1)\alpha=C/(C-1), so C=2.5C=2.5 wants α=5/3\alpha=5/3 and C=3C=3 wants α=3/2\alpha=3/2. Nothing in the homogeneous slice forces that.

Worse: at m=Cp/nm=Cp/n with C>2C>2, one has k=(C−1)p+O(1)>pk=(C-1)p+O(1)>p, so the “middle coefficients” of χm\chi^m that would have to vanish sit in an empty range. There are no conditions for C>2C>2. Green’s “limit of the method” is this empty middle, not a missing lemma.

The interval structure of BB is thrown away when ∏j(t+j+da)\prod_j(t+j+da) is replaced by (t+da)m(t+da)^m. That is the unused degree of freedom. A direct 2-variable experiment (poly_experiment.py) on p=11p=11, A={0,1,3}A=\{0,1,3\} confirms ww vanishes on Fp2\mathbb F_p^2 precisely when m>max⁡dg(dA)m>\max_d g(dA), as it must: the full ww restates the hitting condition and does not improve the degree bound.

If 0∈A0\in A (legal by translation), deg⁡dw=1+(n−1)m\deg_d w=1+(n-1)m. At the C=2C=2 scale this is still >p>p, so the dp−dd^p-d reduction does not go away.

2026-08-17 — Dirichlet / structure-vs-randomness, no √p dent

max_d g(dA) is the length of the longest AP in AcA^c. Equivalently G(p,n)G(p,n) is one less than the minimal TT such that some nn-set hits every TT-AP.

Dirichlet in n−1n-1 simultaneous approximations: some dilate of an nn-set has circular diameter ≤n p1−1/(n−1)\le n\,p^{1-1/(n-1)}, hence

G(p,n)  ≥  p−n p(n−2)/(n−1)−1. G(p,n)\;\ge\; p-n\,p^{(n-2)/(n-1)}-1.

For each fixed nn the right-hand side is p−o(p)p-o(p) and G(p,n)/(p/n)→nG(p,n)/(p/n)\to n. This beats Shakan once n=o(log⁡p/log⁡log⁡p)n=o(\log p/\log\log p), which is Green’s Bohr-set regime already. At n∼pn\sim\sqrt p one has p1/p→1p^{1/\sqrt p}\to 1 and the diameter bound exceeds pp. No clustering, no dent.

Energy / Freiman: sets with ∣A−A∣≤3n|A-A|\le 3n are almost APs and have some dilate with gap p−O(n)p-O(n), huge. Random sets of size p\sqrt p have energy ∼2n2\sim 2n^2 and typical max-gap ∼(p/n)log⁡n\sim(p/n)\log n, also huge. The dangerous sets sit in the middle and are exactly the ones Shakan treats. Rank-2 Bohr sets / GAPs collapse by 2-dimensional Dirichlet to diameter p3/4p^{3/4}, complementary gap p−p3/4p-p^{3/4}, so they are not extremal for minimising max⁡dg\max_d g.

Cauchy–Schwarz on occupancy N(d,t)=∣dA∩(t+I)∣N(d,t)=|dA\cap(t+I)| recovers only the pigeonhole C≥1C\ge 1. Inclusion-exclusion with a matching of pairs recovers only C≥1+o(1)C\ge 1+o(1).

2026-08-17 — exact G, independently checked

SAT encoding: AA has max⁡dg(dA)<T\max_d g(dA)<T iff AA hits every TT-AP. Binary search TT, symmetry 0,1∈A0,1\in A, Glucose4, cardinality via sequential counters (sat_exact.py).

Exact values for n=roundpn=\mathrm{round}\sqrt p:

p n G Shakan G/(p/n) G/√p
17 4 9 6.5 2.118 2.183
31 6 13 8.33 2.516 2.335
47 7 18 11.43 2.681 2.626
53 7 22 13.14 2.906 3.022
61 8 21 13.25 2.754 2.689
71 8 26 15.75 2.930 3.086

Full table in compute/certs/sat_G.jsonl. Every witness recomputed from scratch (verify_sat_witnesses.py). Enumeration of all {0,1}⊂A\{0,1\}\subset A agrees through p=41p=41 (enum_diagonal.py). verify.py checks Shakan on every nonempty proper subset of Fp\mathbb F_p for p≤13p\le 13.

Fixed-nn enumerations: G(p,3)/(p/3)G(p,3)/(p/3) climbs from 1.2 to 2.76 at p=199p=199, consistent with Dirichlet →3\to 3. G(p,4)/(p/4)G(p,4)/(p/4) reaches 2.97 at p=97p=97. Extra G−(2p/n−2)G-(2p/n-2) on the diagonal is order nn, which would be a leading-constant 3 if it persisted, and would be O(1)O(1) slack if it died. The table does not decide.

2026-08-17 — constructions are not a 2+o(1) family

Local search upper bounds on GG sit at ratio 3.03.0–3.53.5 for p≤113p\le 113, slightly above the SAT values where both exist. Random / geometric / jittered / equally-spaced all have some dilate that clusters (equally-spaced collapses to an interval). Multiplicative subgroups of size ∼p\sim\sqrt p look random-like additively and have large max-gap. Singer difference sets (prime qq, p=q2+q+1p=q^2+q+1) match SAT GG at p=13,31p=13,31, then at q=17q=17, p=307p=307, n=18n=18 give g=90g=90, ratio 5.285.28. Not a C→2C\to 2 family.

Greedy hitting sets for T=2pT=2\sqrt p need more than p\sqrt p vertices, as Shakan requires. For T=3pT=3\sqrt p greedy is sometimes at most p\sqrt p, sometimes not, and is suboptimal versus SAT.

2026-08-17 — stop

No proof that every AA of size ∼p\sim\sqrt p has a dilate missing CpC\sqrt p with a fixed C>2C>2. No infinite family with max⁡dg≤(2+ε)p\max_d g\le(2+\varepsilon)\sqrt p. Shakan’s 2 is still the published universal leading constant. The SAT table and the failed homogeneous / Dirichlet / energy / CS attempts are the residue. The interval structure of BB remains the live handle, unused.

2026-08-27 — q1, replay first

Fetched Green #32 (PDF) and Shakan 2004.14828 before searching. Confirmed 2205.14038 is the Weyl-equation paper. Parent compute/run_all.sh replays: Shakan holds on every proper nonempty subset for p≤13p\le 13; every stored SAT witness recomputes; enum matches SAT through p=41p=41.

Work lives in compute/q1/. Three handles: the unused rising factorials, a SAT push past p=71p=71, and more families that might sit at C=2+εC=2+\varepsilon.

2026-08-27 — rising factorials saturate the Alon degree

wronskian_slice.py rebuilds χm=tpg+h\chi^m=t^pg+h on every stored SAT witness at m=G+1m=G+1. For every prime 11≤p≤7111\le p\le 71 one already has k=nm−p+1≥pk=nm-p+1\ge p, so the “middle coefficient” list is empty at the actual GG, not only at hypothetical C>2C>2. The Wronskian still satisfies deg⁡W≤2k−1\deg W\le 2k-1 and deg⁡W≥n(m−1)\deg W\ge n(m-1); there is slack in the upper bound but not enough to force a larger mm.

The full rising w(d,t)=d∏a(t+da+1)mw(d,t)=d\prod_a(t+da+1)_m was expanded for p=11,13p=11,13. It vanishes on Fp2\mathbb F_p^2 (remainder 0), and the Alon degrees of u,vu,v equal kk on the nose (max_u_tot = max_v_tot = k). The Stirling terms occupy the full worst-case degree. They are not a leftover that a sharper α<2\alpha<2 can spend.

Differentiating the top slice recovers the degree-nmnm Stirling slice, so that slice is not an independent equation. BSW’s Rédei– Szőnyi direction bound is a different problem (and is tight on rectangles). Incidence geometry on A×BA\times B versus all non-vertical lines is p3/4p^{3/4} against a p2p^2 incidence demand; no contradiction at C=2C=2 or C=3C=3.

2026-08-27 — SAT past 71 is residue

Downward Glucose4 walk, hard process kill (SIGALRM interrupt() does not stop Glucose). SAT near the local-search upper bound is cheap; the first timeout is the wall.

p n G_upper ratio first timeout T shakan
73 9 24 2.959 exact G=24G=24 (Cadical UNSAT at T=24T=24 in 165s) 14.22
79 9 26 2.962 26 (60s) 15.56
83 9 27 2.928 27 (60s) 16.44
89 9 30 3.034 30 (60s) 17.78

Witnesses in q1/certs/sat_extend.jsonl. Cadical proved T=24T=24 UNSAT at p=73p=73 in 165s after a 90s timeout on Glucose4/42, so G(73,9)=24G(73,9)=24 is exact (ratio 2.9592.959). That row is in compute/certs/sat_G.jsonl. The next primes still have only upper bounds; those timeouts are residue. No lifting pattern: 2424 sits on the same 2.932.93–3.033.03 plateau as G(71,8)/(p/n)=2.93G(71,8)/(p/n)=2.93. One new exact row is not a universal C>2C>2.

2026-08-27 — no C→2C\to 2 family through p=199p=199

constructions_q1.py: quadratic rulers, Paley prefixes, cyclotomic cosets, two-scale grids, the (73,9,1)(73,9,1) Singer orbit {2k}\{2^k\} in F73\mathbb F_{73} (gap 27, ratio 3.333.33), and a longer anneal. Best diagonal ratios climb from 2.12.1 at p=19p=19 to 3.33.3–5.35.3 by p=199p=199. Subgroups sometimes win a single pp (e.g. p=127p=127, ratio 3.293.29) and then lose. No infinite family with max⁡dg≤(2+ε)p\max_d g\le(2+\varepsilon)\sqrt p.

2026-08-27 — stop

No certified universal C>2C>2. No construction that meets Shakan on infinitely many primes. Exact G(73,9)=24G(73,9)=24 extends the table by one prime and does not lift. Shakan’s 2 is still the published leading constant. The q1 leftover is a degree-saturation of the rising factorials, that one new exact row, SAT upper bounds at p=79,83,89p=79,83,89, and a construction table through p=199p=199. The live handle is no longer “expand ww and read degrees”; those degrees are full.