Skip to content

C_16: certified upper bound 2.1562256466 (enclosure with the #226 lower bound) - #246

Merged
teorth merged 3 commits into
teorth:mainfrom
maximusrufus:c16-two-sided
Oct 26, 2026
Merged

teorth merged 3 commits into
teorth:mainfrom
maximusrufus:c16-two-sided

Conversation

@maximusrufus

@maximusrufus maximusrufus commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Adds a certified upper bound for C_16 (Brezis–Gallouët–Wainger remainder constant on the 2D torus) in constants/16a.md, the README table row and "Recent progress":

2.1562247706 ≤ C_16 ≤ 2.1562256466

  • Upper bound (new). Cauchy–Schwarz with weights |k|²(1+μ|k|²) gives F(δ) ≤ S1(μ)(1+μδ)/π − ln δ − ln(1+ln δ) for every μ > 0, where S1(μ) = Σ_{k≠0} 1/(|k|²(1+μ|k|²)). The right-hand side is convex in δ.
    • A branch-and-bound over δ ∈ [1, 4.9·10⁸] (84 boxes) uses a truncated S1 with a proven tail bound.
    • The choice μ = 1/(δ ln δ) bounds F by 2.0587 beyond 4.9·10⁸.
    • The page previously listed only the numerical ≈ 2.15627 [BDZ2013], which lies outside the enclosure.
  • Lower bound. This builds on 2.156224 from Improved bounds: 16a ≥ 2.156224, 70a ≥ 1.201927, 20a ≥ 8, 20c ≥ √3 (lower) and 23b ≤ 1/2 (upper) #226. An explicit zero-mean trial function u = Σ_{0<|k|≤4000} e^{ik·x}/(|k|²(1+μ|k|²)), with μ = 0.1221 and lattice sums enclosed with outward rounding, gives 2.1562247706.

Certificates and checkers (Python 3 + numpy; each prints VERIFIED): https://github.com/maximusrufus/c16-bgw-certificates

Both rows carry an asterisk per CONTRIBUTING (self-archived computation). If #226 merges first, I'm happy to rebase onto it.

@maximusrufus maximusrufus changed the title C_16: certified bounds 2.1562247706 <= C_16 <= 2.1562256466 C_16: certified upper bound 2.1562256466 (enclosure with the #226 lower bound) Oct 20, 2026

@chessing234 chessing234 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the summary drops the proved lower bound (beta+pi)/pi and shows only the starred numerical lower. keep the proved bound and put the starred refinement beside it, the way the other rows do. the new upper row is also above the 2013 numerical row. the bound table is chronological, so the new row goes after that one.

@maximusrufus

Copy link
Copy Markdown
Contributor Author

Thanks — fixed the escaped LaTeX, put the 16a.md rows in date order, and linked the certificates in the summary row.

@teorth
teorth merged commit 87cb5db into teorth:main Oct 26, 2026
@carlostoledo1891

Copy link
Copy Markdown
Contributor

Independent replay of both C_16 certificates (a second party, for the asterisk rule in CONTRIBUTING)

@maximusrufus, thank you for the C_16 certificates and for re-running several of our rows. Here we return the favour. We re-decided both ends of 2.1562247706 ≤ C_16 ≤ 2.1562256466 from the published bytes (maximusrufus/c16-bgw-certificates @ b3728b85, page 16a.md @ e95af44b). We used two implementations that share no code with each other or with your checkers. We read your checkers but did not run them. One implementation is JavaScript: outward-rounded interval doubles, a series logarithm, and BigInt rationals for every comparison with a printed digit. The other is the Python standard library: exact integer fixed point at 2⁻²⁰⁰ / 2⁻¹⁶⁰, and decimal with directed rounding. Before deciding anything, we wrote down each finite claim and each analytic step.

Lower bound, 2.1562247706: holds. We used your trial polynomial at |k|² ≤ 4000² with μ = 1221/10000. That is 50,265,328 lattice points, a count checked against Gauss's formula. δ_u = S3/S2 = 3.92902950936…, which is ≥ 1, and

S1²/(πS2) − ln δ_u − ln(1 + ln δ_u) ∈ [2.15622477064423579034, 2.15622477064423579035].

Your six bracket integers contain the exact sums. Your rational (2.1562247706442344…) is at or below the exact value.

Upper bound, 2.1562256466: the finite layer holds. Each of the following was checked by both implementations:

  • the 84 boxes tile [1, 4.9·10⁸] exactly;
  • on every box, the supremum of min(B_μ, g) is ≤ 2.1562256466. S1(μ) is your partial sum (|k| ≤ 2000 in one implementation, ≤ 1000 in the other) plus your tail bound, with Catalan's G computed two different ways. Neither implementation uses the convexity step. One decides each box by subdivision with monotone enclosures, the other by enclosing the sign of B_μ′;
  • g(4.9·10⁸) = 2.05869178083391… ≤ U;
  • U_rational ≤ 2.1562256466.

We read and re-derived the analytic steps, and we agree with them: the weighted Cauchy–Schwarz bound F ≤ B_μ, both tail bounds (including Σ|k|⁻⁴ = (2π²/3)G), and the asymptotic g obtained from μ = 1/(δ ln δ), with its supremum on [D0, ∞). These steps are read, not machine-checked, so in our own ledger the upper end is marked "finite core certified, analytic steps read".

Small observations, none of which moves the enclosure:

  1. The boxes actually support C_16 ≤ 2.1562256458. The largest endpoint value is 2.15622564575… on the box at δ ≈ 3.928 with μ = 0.12207. Each printed box bound sits about 5–8·10⁻¹⁰ above its endpoint maximum, which looks like the float64 error factor. The printed 2.1562256466 is therefore correct but about 8·10⁻¹⁰ conservative.
  2. Neither checker's VERIFIED is the printed inequality on its own. The lower checker accepts |L_lo − claimed| < 10⁻⁹, and the upper checker accepts U_v ≤ U + 10⁻⁹. We decided both inequalities against the printed digits directly, and both hold.
  3. certify_c16_upper.py and certify_c16_lower.py, which the checkers name, are not in the repository. We re-derived g from the write-up, and it matches the checker's formula.
  4. Two float fields differ from their own rationals in the twelfth place: L_lower_bound_float_rounded_down is 2.1562247706432345 where the rational is 2.1562247706442346, and U is 2.1562256465520826 where the rational is 2.1562256465510825. Both differences are harmless.

Together, the two ends exclude the numerical row ≈ 2.15627 [BDZ2013], as your PR says.

Record, pins and both deciders: carlostoledo1891/cert-machine @ f4ee2715, in certs/c16-replay.json, corpus/optconst-queue/c16-2026-10-27/ (claims.json lists every claim and every reading), tools/replay-c16.js and instruments/optq/c16.py. Red controls fired: a bound one unit below the supported 2.1562256458 is refused, the lower bound one unit up is refuted, a box bound below its maximum is refuted, a coverage gap is refuted, and a mutant decider that drops the tail is caught when it "certifies" an upper bound below the certified lower end.

@maximusrufus

Copy link
Copy Markdown
Contributor Author

@carlostoledo1891, thank you for the careful replay, and for the red controls.

Your observations are addressed in maximusrufus/c16-bgw-certificates@0c57070:

  • certify_c16_lower.py and certify_c16_upper.py are now in the repository.
  • L_lower_bound_float_rounded_down and U are regenerated from their rationals (2.156224770644234, rounded down, and 2.156225646551083, rounded up).
  • Both checkers now also decide the printed bounds 2.1562247706 and 2.1562256466 directly in rational arithmetic; both still print VERIFIED.

Per the asterisk paragraph in CONTRIBUTING, this thread now includes an independent replay of both C_16 rows; we leave it to the maintainers whether the * on the two 16a rows still applies.

@carlostoledo1891

Copy link
Copy Markdown
Contributor

@maximusrufus, thank you, that was quick and thorough. I read 0c57070 without running it:

  • certify_c16_lower.py and certify_c16_upper.py are there now, so the certificates can be regenerated from the
    repository alone.
  • Both float fields now sit on the right side of their rationals, and as tightly as a double can. I checked in exact
    arithmetic that 2.156224770644234 is the largest double at or below the lower rational, and 2.156225646551083 the
    smallest double at or above the upper rational.
  • The two rationals are byte-identical to the ones we replayed, so our verdicts stand unchanged: the lower end
    certified, and the upper end's finite core certified with its analytic steps read.

Agreed: whether the asterisks stay is the maintainers' call. Two replays that share no code, and every observation
answered within a day: this is the exchange the second-party rule asks for.

@maximusrufus

Copy link
Copy Markdown
Contributor Author

@carlostoledo1891 thank you for the second replay and the exact-arithmetic check on both float fields. Agreed that the asterisks are the maintainers' call.

@arhancanli

Copy link
Copy Markdown

Independent replay of the upper bound this pull request added, $C_{16} \le 2.1562256466$, with our own code: verify_c16_upper.py and certify_c16_upper.py were neither read nor run. As far as we can see, this is the second replay by a party unconnected with the author, after carlostoledo1891's above.

bound data replayed result
$C_{16} \le 2.1562256466$ maximusrufus/c16-bgw-certificates @ 0c57070, upper_certificate.json, sha256 f46adc04…25a3 the 84 boxes tile $[1, 4.9 \cdot 10^8]$ exactly. On all 82 boxes that start below $2^{18}$ the bound holds with the box's own $\mu$ (the one that crosses $2^{18}$ is checked up to $2^{18}$). The largest endpoint value is $2.15622564574899300283$ (box $[3.928106, 3.931069]$, $\mu = 0.12206997134993264$), $8.5 \cdot 10^{-10}$ below the printed bound

How. Cauchy–Schwarz with weights $\lvert k\rvert^2(1+\mu\lvert k\rvert^2)$ gives $F(\delta) \le G(\mu)(1+\mu\delta)/\pi - \ln\delta - \ln(1+\ln\delta)$ with $G(\mu) = \sum_{k \ne 0} 1/(\lvert k\rvert^2(1+\mu\lvert k\rvert^2))$. This is convex in $\delta$, so each box is decided at its endpoints, rounded outward; $\mu$ is read exactly from its decimal string. $G$ is summed by rows, $\sum_y 1/(y^2+s^2) = (\pi/s)\coth(\pi s)$, with the rows past $N$ bracketed by convexity and closed-form integrals, in 50-digit decimal arithmetic. Near the peak $G$ is refined until the bound is reproduced, not only shown to be below the claim. This is the code of our replays of #270's upper bounds and shares nothing with yours.

For $\delta \ge 2^{18}$ we use neither your tail argument nor your boxes there. Our own bound (the lattice count $#{0 &lt; \lvert k\rvert \le \rho} \le \pi(\rho + 1/\sqrt 2)^2$, with $\mu = 1/(\delta\ln\delta)$) gives at most $2.0163$ there. The bound holds for every $\delta \ge 1$, so it covers both readings asked about in #325.

Red controls, all as expected: the bound $10^{-15}$ below our largest endpoint value is refused; the $\mu$ of that box raised by 1% is refused; that box removed (a gap) is refused.

Not checked: your two boxes above $2^{18}$, the top of the one that crosses it, and your tail beyond $4.9 \cdot 10^8$; our own tail bound replaces them.

Re-derive from https://github.com/arhancanli/quantavane-replays/tree/3a3662f9056544fa34521a5d25288fe3e933fcde/c16: ./fetch.sh && python3 -I c16_boxes_check.py certs/maxu/upper_certificate.json --controls (Python 3.9+, standard library only, about 3 minutes). We have no connection with the author. Prepared with AI assistance (Claude, Anthropic).

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.

5 participants