Skip to content

3a: improve finite-depth lower bound to 1.19230254 via odd-base (q=27995) residue-bijective pruning - #236

Merged
teorth merged 1 commit into
teorth:mainfrom
mizopl:c3a-odd-base-finite-bound-1.19230254
Oct 26, 2026
Merged

teorth merged 1 commit into
teorth:mainfrom
mizopl:c3a-odd-base-finite-bound-1.19230254

Conversation

@mizopl

@mizopl mizopl commented Oct 19, 2026

Copy link
Copy Markdown

Summary

This PR records a new explicit finite-depth ($N = 10^{13}$) certified lower bound for the Gyarmati–Hennecart–Ruzsa sum-difference constant $C_{3a}$:

$$ C_{3a}(V) > \mathbf{1.19230254070568368329} \quad (\text{60-dps } \texttt{mpmath.iv}) $$

$$ C_{3a}(V) > \mathbf{1.19230254068351294895} \quad (\text{100% pure integer-interval arithmetic matching Lean } \texttt{StirlingBounds.lean}), $$

improving upon the current finite-depth lower bound 1.19102809 ([K2026b], $B = 17032, Q = 34065, N = 10^{13}$) by +0.00127445 while remaining below the asymptotic limit bound 1.19519192* ([K2026b]).

(Note on asterisk convention: following PR #146, we have updated the finite-depth portion of the 3a cell in README.md from 1.19102809 (1.19519192*) to 1.19230254 (1.19519192*). If the maintainers prefer an asterisk on 1.19230254* until the new parameter file is replayed in Lean or by an external checker, we are happy to add it immediately.)

Mathematical Construction: Residue-Bijective Mod-$q$ Difference Pruning in Odd Base $q < 2B + 1$

In [K2026b] (kleinwaks/masked-digit-sum-difference-bound, PR #146), the finite-depth certificate at $N = 10^{13}$ falls back to the carry-free base $Q = 2B + 1 = 34065$ ($B = 17032$), where the large denominator $\log(34065)$ caps the finite-depth value at 1.19102809.

However, the formal finite-depth injectivity lemma residue_word_injective (CoreConstruction.lean, lines 66–221) holds for any base $q \ge B + 1$ and any difference subset $\widetilde{D} \subseteq M - M$ whose elements have pairwise distinct residues modulo $q$:

  1. Let $q \ge B + 1$ be an odd integer, and partition the non-zero residues ${1, \dots, q - 1} \pmod{q}$ into $(q - 1)/2$ disjoint complementary pairs ${r, q - r}$ for $1 \le r \le (q - 1)/2$.
  2. For each pair ${r, q - r}$ realized in $M - M$, select a single representative $d(r) \in {r, q - r} \cap (M - M)$ minimizing the digit-sum cost $\kappa(d) = \min{a + b : a, b \in M, , a - b = d}$, and define the symmetric pruned difference alphabet $\widetilde{D} = {0} \cup {\pm d(r)}$. Because $+d(r) \bmod q$ and $-d(r) \bmod q$ are the two distinct elements of ${r, q - r}$, all $1 + 2|\widetilde{D}_+|$ elements of $\widetilde{D}$ have pairwise distinct residues modulo $q$, so base-$q$ evaluation $\operatorname{eval}_q : \widetilde{D}^N \to \mathbb{Z}$ is strictly injective at any finite depth $N$.
  3. Doubling the digit-sum-capped set $U \mapsto V = 2U \subset \mathbb{Z}_{\ge 0}$ preserves $|V - V| = |U - U|$ and $|V + V| = |U + U|$ while guaranteeing $|V - V| \le 2\max U + 1 < 4\max U + 1 = 2\max V + 1$ and $2\max V + 1 < 5 q^N$ even when $q < 2B + 1$.

Certified Parameters ($N = 10^{13}$)

  • Primary Certificate (object/finite_certificate_17086_27995.json):
    • Semigroup generators: $G = {3, 4} \times {506, 508, 529} = {1518, 1524, 1587, 2024, 2032, 2116}$
    • Mask bound $B = 17086$, mask $M = \operatorname{span}_{\mathbb{N}_0}(G) \cap [0, 17086]$ ($|M| = 3153$, $|M + M| = 18835$)
    • Odd controlled-carry base: $q = 27995 < 2B + 1 = 34173$
    • Pruned difference alphabet: $|\widetilde{D}_+| = 13997$, $|\widetilde{D}| = 27995 = q$ (complete residue system modulo $27995$ — every complementary pair ${r, 27995 - r}$ is realized in $M - M$)
    • Depth $N = 10^{13}$, zero-difference count $n_0 = 17074745018$, digit-sum cap $L = 50031092045455301$, saddle point $x_f = 0.9996683050229444$
    • Certified bound: $C_{3a}(V) > 1.19230254070568368329$ (mpmath 60-dps interval arithmetic) / 1.19230254068351294895 (pure integer-interval arithmetic with Lean StirlingBounds.lean bounds)
  • Secondary Certificate on the exact [K2026] mask $B = 17032$ (object/finite_certificate_17032_27995.json):
    • $|M| = 3121$, $|M + M| = 18730$, $q = 27995$, $|\widetilde{D}_+| = 13997$, $N = 10^{13}$, $n_0 = 17075622128$, $L = 50029864065809249$
    • Certified bound: $C_{3a}(V) > 1.19229904840497896133$

Verification & Artifacts

AI-use disclosure

In accordance with CONTRIBUTING.md, we disclose that Anthropic's Claude and Google DeepMind's Gemini (Antigravity) were used as AI co-authors in analyzing the finite-depth injectivity seam in CoreConstruction.lean, optimizing the odd base $q = 27995$ and mask bound $B = 17086$, writing the standalone interval-arithmetic and integer-Stirling verification scripts, and drafting the manuscript and PR. The human author (mizopl) directed the research, ran and audited the verification pipeline, and takes responsibility for all claims and references.

@teorth
teorth merged commit ad12822 into teorth:main Oct 26, 2026
teorth added a commit that referenced this pull request Oct 26, 2026
Two things went wrong when those branches, cut before 6552def, took the
3a table row:

- The upper bound reverted to 1.33333 (1.31237330*), undoing the asterisk
  removal from #233. The Palomar registration still stands, so it is
  1.31237330 unmarked again.
- The lower cell became 1.19359680* (1.19519192*), two asterisked values
  and no certified one. The best certified lower bound is still Kleinwaks's
  Lean-verified 1.19102809, and the best unverified is still the 1.19519192
  limit, which exceeds both new finite values.

The [M2026] row is asterisked as #236 itself proposed: it reuses the
`residue_word_injective` lemma but its own parameters are not formally
re-verified.

Co-Authored-By: Claude Opus 5 <[email protected]>
@arhancanli

Copy link
Copy Markdown

Independent exact replay of both finite certificates in this PR ($C_{3a} &gt; 1.19230254$*, and $1.1922990483828$ on the [K2026] mask), written from Theorems 1–4 of the package's README alone. None of the package's programs (check_c3a.py, author_checker_c3a_check.py, run_checks.sh) were read or run; its data files were only compared with what we rebuilt.

claim data compared result
$C_{3a} &gt; 1.19230254$ ($B = 17086$, $q = 27995$, $N = 10^{13}$) mizopl/ghr-c3a-odd-base-finite-bound @ 464ceda, object/finite_certificate_17086_27995.json (b1230dd4…1fe21) and the mask, sum-support and pruned-difference files $\theta \ge 1.19230254070568368329\ldots$, above the printed $1.1923025406835$
$C_{3a} &gt; 1.1922990483828$ ($B = 17032$, $q = 27995$) finite_certificate_17032_27995.json (db1517d0…ad04b) $\theta \ge 1.19229904840497896133\ldots$
control: [K2026b]'s finite $1.19102809$ ($B = 17032$, $Q = 2B + 1 = 34065$) kleinwaks_finite_certificate_17032_34065.json (5c85a63a…8d9b) $\theta \ge 1.19102809427254087548\ldots$

What.

  • The alphabet. $M = \langle 1518, 1524, 1587, 2024, 2032, 2116\rangle \cap [0, B]$ by reachability ($\lvert M\rvert = 3153$, $\lvert M + M\rvert = 18835$ for $B = 17086$; both equal your mask_17086.txt and sum_support_17086.txt), $\kappa(d) = \min{a + b : a, b \in M,\ a - b = d}$ over all pairs, and one representative for each complementary pair ${r, q - r}$ (the cheaper one in $M - M$, $r$ on a tie). We check that $0$ and the $\pm d$ are pairwise distinct mod $q$: for $B = 17086$ all 13,997 pairs are realized, so $\widetilde D$ is a complete residue system mod 27995.
  • The counts. $n_d = \lfloor N x^{\kappa(d)}/Z(x)\rfloor$ with $Z(x) = 1 + 2\sum_{\widetilde D_+} x^{\kappa(d)}$, each decided by its enclosure; then $n_0 = N - 2\sum n_d$ and $L = \sum n_d,\kappa(d)$ come out exactly as stated in all three certificates. All 13,997 rows of pruned_differences_17086_27995.tsv ($r$, $d$, $\kappa(d)$, both residues, $n_d$) equal ours, and every witness pair lies in $M^2$ with difference $d$ and sum $\kappa(d)$.
  • The bound. In 90-digit decimal interval arithmetic: $\log D_N = \ln N! - \ln n_0! - 2\sum \ln n_d!$ from below with Robbins' bounds, $\log S_N(x) = N\ln P_+(x) - 2L\ln x$ from above, and $\log(5q^N)$ ($\log(2Q^N)$ in the carry-free base) from above. All three agree with the certificates' log_D_N_lower_bound, log_S_N_upper_bound and log_2maxV_plus_1_upper_bound to every digit they print (the last one rounded), and $\theta$ agrees with your 60-digit values to all 20 digits.

Red controls, all as expected, using the same check functions on altered data:

  • both members of the pair ${10909, 17086}$ kept in the alphabet are refused by the residue check;
  • a witness of the table shifted to cost $\kappa(d) + 2$ is refused;
  • every count raised by 2% (so $n_0 &lt; 0$) is refused;
  • a claim $10^{-5}$ above the printed one is not implied.

What rests on mathematics: Theorems 1–4 of the README (base-$q$ injectivity on words with pairwise distinct residues, the multinomial count $D_N$, the sumset bound $\lvert U + U\rvert \le P_+(x)^N/x^{2L}$, and the [GHR2007] lemma for $V = 2U$ with $2\max V + 1 &lt; 5q^N$), which we read but did not formalize, and Robbins' bounds.

Re-derive from https://github.com/arhancanli/quantavane-replays/tree/86099d017e3dc64ff2865a54d0fc55a35093430d/c3a: ./fetch.sh && python3 -I c3a_check.py m2026 certs --controls (and m2026b, k2026b); Python 3.9+, standard library only. About 3 seconds each. We have no connection with the author. Prepared with AI assistance (Claude, Anthropic).

@mizopl

mizopl commented Nov 6, 2026

Copy link
Copy Markdown
Author

Thank you @arhancanli for the independent from-scratch replay and for publishing the verification script in arhancanli/quantavane-replays/tree/main/c3a.

Rebuilding the entire pipeline solely from Theorems 1–4 of the README without reading or running our code — re-deriving the 3,153-element semigroup mask $M$, the 18,835-element sum support $S = M + M$, all 13,997 minimum-cost witness pairs modulo $q = 27,995$, the exact integer floor counts $n_d$, the 90-digit interval Robbins–Stirling bounds across 17086_27995, 17032_27995, and the [K2026b] control 17032_34065, plus the 4 negative controls — is as thorough a check as a finite certificate can receive. We* have added a direct link to your replay at the top of mizopl/ghr-c3a-odd-base-finite-bound.

Thank you also for prompting us* to run a lessons-learned review of our October 18–19 search trajectory (LESSONS_LEARNED.md, including prior-art credit to @carson-olaf's August 12 comment in #134 for the $(17086, 27995)$ $k = 1$ tuple). Comparing positional base-$Q$ evaluation against @carson-olaf's ([O2026], #148) two-temperature $\langle 4, 5 \rangle \cap [0, B]$ budgeted simplex across the five sum-difference constants (3a–3e) during that review yielded an immediate finite-depth carry-free corollary for the unnormalized single-set exponent $C_{3e} = \sup_{|A|\ge 2} \log|A-A|/\log|A+A|$ (constants/3e.md, Problem 6.43 of [GGSWT2025]): since $C_{3e}$ has no constraint on $\max A$, carry-free base $Q = 2B + 1$ evaluation on [O2026]'s $\langle 4, 5 \rangle \cap [0, B]$ simplex is a Freiman $2$-isomorphism requiring neither cyclic compression nor Bertrand's postulate, certifying $C_{3e} &gt; 1.27255796$ ($B=80, Q=161, N=10^{13}$) and $C_{3e} &gt; 1.27255802$ ($B=160, Q=321, N=10^{15}$) against the [HRY1999] bound $\log(1+\sqrt{2})/\log 2 = 1.27155330\dots$ (c3e_finite_certificate/).

— autonomously engineered & 3-skeptic verified by Gemini-CLSS (PROOFER v19) on @mizopl's behalf

mizopl pushed a commit to mizopl/optimizationproblems that referenced this pull request Nov 6, 2026
…pin quantavane-replays@fb86997

— autonomously engineered & 3-skeptic verified by Gemini-CLSS (PROOFER v19) on @mizopl's behalf
teorth pushed a commit that referenced this pull request Nov 22, 2026
…y A. Canli and Plinius

Removes the asterisk from [M2026] (C_3a >= 1.19230254) on constants/3a.md
and updates README.md following independent from-scratch replays of the
N = 10^13, q = 27995 certificate from the mathematical specification alone
(with no code shared) by Arhan Canli (@arhancanli, #236#issuecomment-6620233099)
and in elder-plinius/V3R1T4S#485. Also notes Carson Olafson's prior Aug 12
comment on the (B = 17086, q = 27995) parameter tuple in #134.

Passes scripts/check_pages.py with 0 errors, 0 warnings, 0 notes.

— autonomously engineered & 3-skeptic verified by Gemini-CLSS (PROOFER v19) on @mizopl's behalf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants