Skip to content

C45: improved upper bound 0.489440909905826 (59 primes) - #281

Open
vidigoat wants to merge 5 commits into
teorth:mainfrom
vidigoat:romanoff-c45
Open

vidigoat wants to merge 5 commits into
teorth:mainfrom
vidigoat:romanoff-c45

Conversation

@vidigoat

@vidigoat vidigoat commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Updated 5 Nov (evening): C45 < 0.489440909905826* (exact rational sum S = 0.48944090990582567951473617427079243852…), with 59 primes.

This is 4.08·10⁻⁵ below 0.489481743486002* of R. Salavatov (#290), and 3.29·10⁻⁵ below this PR's morning certificate. The morning certificate (57 primes) is kept as its own row.

What is new.

  • Two more base primes, 331 and 673 (orders 30 and 48), on top of the 57-prime set below.
  • Both orders divide T₀ and fit the existing groups: 331 joins the group with L = 60 and 673 the group with L = 48. So the group structure, T₀ and the clusters are all unchanged.
  • The generator and evaluator are unchanged byte for byte.
  • Cut: C = 1528627, with 1,495,742 bins (sha256 of the histogram 612e6348…4b8d).
  • S was evaluated on the generating machine, and again locally from the downloaded file; the two agree.
  • Run: 5 h 56 min on 64 cores, 169 GB.

Certificate: vidigoat/optimization-records@eff83aa, tao/certificates/c45/v3.

./c45x 1528627 64 B:3,7,5,13 B:37,109,19,73 B:31,11,41,61,151,331 B:17,257,97,241,673 \
    A:29,113,43,127 A:8191,53,157,1613 A:23,89,397,683,2113 A:137,953 > xA5.txt
python3 c45eval.py specs/specA5.json xA5.txt 1528627

Morning update (57 primes, kept as a row): C45 < 0.489473818147233* (exact rational sum S = 0.48947381814723275919828409928792897470…), with 57 primes.

This is 7.9·10⁻⁶ below 0.489481743486002* of R. Salavatov (#290), which extended this pull request's original 21-prime base (0.489596115074071*, kept as its own row). Both rows are kept; credit for the 54-prime set goes to #290, and for the clusters to Griego and Yoo.

What is new. Three more base primes, 953, 1613 and 2113 (orders 68, 52, 44). All three orders divide T₀ = 12252240, so T₀ and the clusters are unchanged.

How. The base primes are split into groups that share only r mod 12 (four groups) or r mod 4 (four groups), with pairwise coprime quotients of the order-lcms, so ν₀ = Σ_{s mod 4} σ_s β_s with independent group factors. The generator computes:

  • exact per-group laws;
  • the B side up to the affine maps of ℤ/12, and σ up to those of ℤ/4;
  • the A side as a full law with 256-bit counts;
  • a histogram with 384-bit counts, written for ν₀ ≤ C = 1535541.

The classes above the cut give the trivial term for every cluster multiplier; the evaluator checks that condition and gets their count as M₀ minus the written bins. The evaluator uses exact Fractions, with λ = 2Σ_{j<60} 1/((2j+1)3^{2j+1}) < log 2.

Validation.

  • The same generator reproduces this pull request's 21-prime histogram bit for bit (sha256 238174d0…, the certificate checked by two independent checkers in October).
  • It reproduces C45: improved upper bound 0.489481743486002 (29-prime base, 54 primes) #290's 54-prime histogram: same 1,434,945 bins, same cut 1538836, and S agreeing in all 39 published digits.
  • The 57-prime S was evaluated on the generating machine and again on a second machine from the downloaded file.
  • Run: 2 h 26 min on 64 cores, 50 GB.

Certificate, generator, evaluator, specs and logs: vidigoat/optimization-records@e84f167, tao/certificates/c45/v2. The histogram is data/xA3.txt.xz (sha256 of the decompressed file 272bcc40d95a73215043ed38c552dac53ce82d68d2adc280ce96bd1e68d36bdb).

Reproduce:

./c45x 1535541 64 B:3,7,5,13 B:37,109,19,73 B:31,11,41,61,151 B:17,257,97,241 \
    A:29,113,43,127 A:8191,53,157,1613 A:23,89,397,683,2113 A:137,953 > xA3.txt
python3 c45eval.py specs/specA3.json xA3.txt 1535541

scripts/check_pages.py: 0 errors, 0 warnings. The branch is on current main.

Found and prepared with Claude (Anthropic) agents under V. Patankar's direction; the value is recomputed by the linked code. It has not been verified line by line by a human expert.

🤖 Generated with Claude Code

@vidigoat vidigoat changed the title C45: improved upper bound 0.489596115074071 (21-prime base) C45: improved upper bound 0.489473818147233 (57 primes) Nov 5, 2026
@vidigoat

vidigoat commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Updated (5 Nov): C45 < 0.489473818147233* with 57 primes. It adds the base primes 953, 1613 and 2113 (orders 68, 52, 44 dividing T₀) to the 54-prime set of #290, and is 7.9·10⁻⁶ below #290. The original 21-prime row is kept. The generator reproduces this PR's 21-prime histogram bit for bit, and #290's 54-prime histogram and S in all 39 published digits. Certificate: c45/v2. scripts/check_pages.py: 0 errors, 0 warnings.

@vidigoat

vidigoat commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Updated (5 Nov): C45 < 0.489440909905826* with 59 primes, which is 4.08·10⁻⁵ below #290 (and 3.29·10⁻⁵ below this PR's 57-prime row, which is kept). It adds the base primes 331 and 673 (orders 30 and 48). Both fit the existing groups, with L = 60 and L = 48, so the generator and evaluator are unchanged. Exact S = 0.48944090990582567951…, evaluated twice from the same histogram. Certificate: c45/v3 (histogram sha256 612e6348a7af5344c5e7622e51ccaad58f0982d7d9e81b08da5375dc5a634b8d). scripts/check_pages.py: 0 errors, 0 warnings.

@vidigoat vidigoat changed the title C45: improved upper bound 0.489473818147233 (57 primes) C45: improved upper bound 0.489440909905826 (59 primes) Nov 5, 2026
@arhancanli

Copy link
Copy Markdown

Independent replay of the first row this pull request adds, [P2026] $C_{45} &lt; 0.489596115074071$ (the 21-prime base with the 18 clusters of [G2026] and [Y2026]), with our own code, from the obstruction inequality on the 45a page and the prime set in the row. The packet's generators and evaluators were neither read nor run; its base_final.txt was read as data, only to compare it with our histogram. It holds.

statement result
the 21 base primes (orders dividing $5040$) our histogram of $\nu_0$ has $4559$ values with total $M_0$ and exact first and second moments; it equals base_final.txt (sha256 238174d0…)
the 28 cluster primes, in 18 clusters of prime orders $11, \ldots, 251$ each order is a prime coprime to $5040$ and to the others, so $\nu = \nu_0 \prod_c h_c$
$S = \sum_\nu \delta(\nu)\min\big(\tfrac1{2M}, \tfrac{\nu}{T\varphi(M)\lambda}\big)$ $S = 0.489596115074070106872931527173\ldots$ (exact rational, $\lambda = \sum_{k\le 120} 1/(k2^k) &lt; \log 2$), so $0.489596115074071$ holds: it is $S$ rounded up

How. We work on $\mathbb Z/5040$. A base prime $q$ of order $m$ removes the class $r \equiv j \pmod m$ for the $m$ residues $a \equiv 2^j \pmod q$ and nothing for the other $q - m$. The base primes are grouped by the modulus their orders divide ($12$, $36$, $60$, $48$, $28$). For $t = r \bmod 12$, the residues above $t$ correspond by CRT to independent components in the five groups ($1 \cdot 3 \cdot 5 \cdot 4 \cdot 7 = 420$ of them), so $\nu_0 = \sum_t \prod_g u_g(t)$. Each group's distribution of $(u_g(t))_t$ is exact, by a DP over its primes on the covered set. A short C program combines the groups with 128-bit weights under the affine symmetry of $\mathbb Z/12$: 2.56 million canonical states for the first three groups, each paired with the 4,621 vectors of the fourth. That takes 11 minutes on one core, in 0.6 GB. The histogram is checked three ways: its total is $M_0$; $\sum \nu_0 = 5040\prod(q-1)$ and $\sum \nu_0^2 = 5040 \sum_d \prod_q (q-1 \text{ or } q-2)$ hold exactly; and on five small prime sets the pipeline equals brute force over every $a \bmod M_0$ from the definition. Each cluster's distribution of $h_c$ is exact, by a DP on the number of distinct classes removed. $S$ is then evaluated in exact rational arithmetic.

Red controls, each as expected: without the base prime $151$, $S = 0.489640182196383\ldots$, the packet's 20-prime value; without the cluster prime $176383$, $S = 0.4895961163381\ldots$; both are above the bound. The prime $53$ (order $52$) is refused, both in the set and placed in a cluster, and moving one $a$ by one in our histogram makes the moment checks fail.

A small point. The row says "with 39 primes", but the set it lists has 49: 21 base primes and 28 cluster primes in 18 clusters ($21 + 18 = 39$ counts the clusters, not their primes).

Not covered: the [P2026b] and [P2026c] rows (57 and 59 primes); their base histograms are far beyond what we can compute here. Not checked: the inequality itself beyond our re-derivation of it (the covering argument, with the prime number theorem in progressions to the fixed modulus $M$).

Re-derive from https://github.com/arhancanli/quantavane-replays/tree/867fb7b6c839013a5d6c5322f9b5b8f5d61636a4/c45: ./fetch.sh && ./run_all.sh (a C compiler and Python 3.9+; about 13 minutes for this row, results/pin21.txt; fetch.sh downloads only the packet's histograms, for the comparison). We have no connection with the author or with this pull request. Prepared with AI assistance (Claude, Anthropic).

@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.

Reviewed the complete diff and discussion at 76287162a5aa7b714000894ad385c16aa9a75d28. From the pinned v3 specification I independently checked 34 base primes + 25 cluster primes = 59, primality, the relevant multiplicative orders, T₀ = 12,252,240, and the cluster-order coprimality conditions. The three displayed S decimals round upward to their printed bounds.

As already acknowledged in the discussion, please correct “39 primes” in the original [P2026] row. The posted independent replay identifies 21 base primes + 28 cluster primes = 49; 39 counts its 18 clusters as single primes. Keep the historical row, but correct its count.

I did not regenerate the base histograms or recompute the obstruction sums. The posted independent replay covers the original row, not the larger v2/v3 histograms; these structural and transcription checks do not independently establish those computations.

AI-generated review. No repository build or end-to-end certificate replay was performed.

Prepared with AI assistance; validation scope and limitations are stated above.

… base + 28 in 18 clusters), not 39

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vidigoat

Copy link
Copy Markdown
Contributor Author

Thanks for the review. Addressed in 9d3defc, which also merges current main (ee89e67); the PR is mergeable again.

  • [P2026] row: now "with 49 primes": the 21-prime base and the 28 primes in the union of the 18 clusters of [G2026] and [Y2026]. The row is otherwise kept as it was.

scripts/check_pages.py: 0 errors, 0 warnings, 0 notes.

…eable

Conflicts resolved by keep_mergeable.py: main's rows and baselines kept, ours added after them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
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