r/compsci • • 1d ago

Notes on the finite-field toy model behind the GRH proof

8 Upvotes

I put together a writeup (thing.rodeo/alpoge-toy-system) and a Lean 4 / Python repo (github.com/ryanncode/tensor-sieve) reconstructing the finite-field toy model behind Alpöge and Claude's GRH proof. Plenty of work was already going into simplifying and shrinking the full proof. Working on the toy model and its tests looked like a much more interesting project to take on. I used coding and research agents along the way to search the archives and write implementation code, so I wanted to share two notes here on what remark.pdf says about Alpöge's part early on and how I checked things along the way.

Most arguments about who proved what look at the final Lean release, where Claude generated a massive amount of code. Reading remark.pdf (keeping in mind that its timeline was reconstructed afterward from session history, not raw logs) points to what Alpöge did before that. In early October, while most attention around OpenAI's release stayed on their main Quasi-Riemann paper, Alpöge focused on their separate Landau–Siegel note even though its headline bound wasn't competitive, spotting a version of Stepanov's method inside it. From there he spent weeks distilling Weil and Deligne down to qN = M^k + R over finite fields and hunting for an integer analogue with no guarantee anything would work. Plenty of toy models over the years (including my own earlier divisor-matrix experiments in the same repo) wandered in the dark without leading to a theorem. Spotting that overlooked clue and choosing the right finite-field analogy came from Alpöge, well before Claude suggested the sqrt(X) lift length and generated most of the late-stage Lean code.

There is also a huge gap between building this toy model and working on the real proof. Once Alpöge confirmed that qN = M^k + R and Stepanov point toward the full argument, coding up the finite-field piece skips the hard part of guessing blind which toy setup might generalize. Going all the way to the full proof over the integers also requires heavy compute and token budgets well beyond a normal desktop. Even so, implementing the toy model gives concrete numbers you can run and small proofs you can inspect, while showing where finite-field tricks stop working on the integers.

With coding agents involved in the Lean and Python work, a compiling build was only a baseline since models quietly take shortcuts or misread source papers. Reading remark.pdf side by side with the compiled Lean archives showed where the informal note differs from the verified route. For example, the note mentions Guinand–Weil explicit formulas and a sixfold cover construction, whereas the compiled Lean code uses finite Landau positivity windows instead. Small Python scripts in tensor-sieve and the solvers linked in the post checked curves numerically before formalizing anything, making it easy to watch single-prime counts stay inconclusive and watch ordinary 1/k! derivatives break at p.

When a proof needs an explicit example, fast numerical code finds it outside Lean so the proof assistant only has to check the final answer. Unproved sketches stay separate from the default build, and running lake test fails automatically if any proof touches sorry or native_decide. Turning verified Lean into readable prose takes a different set of writing skills and attention to exposition than getting code to typecheck, especially when formal releases get too big to read line by line. Doing the writeup alongside the code and source checks lets people pull a huge formal release apart into small pieces they can actually test and build on.


r/compsci • • 3d ago

The community AI efforts to solve P ≠ NP are a waste of time and compute.

452 Upvotes

(1.) Hundreds of people volunteering couldn't even get the Riemann Hypothesis reduced by more than 30%.

Anthropic collaborated with a handful of folks and got it reduced by 98%+ practically overnight. Researchers have access to internal models without the same safety guardrails as the rest of us.

(2.) A community effort might offer the equivalent of $1M - $10M / month in AI efforts. That's a rounding error to AI lab revenues, multiplied by their willingness to run research compute at a loss.

(3.) Chances are everyone trying to solve P ≠ NP is having their responses nerfed, too, so even if it was possible, the frontier AI models wouldn't allow you to actually solve it.

If this problem is tractable with current AI, frontier models probably have a 99.99% chance of solving it first.

It sucks handing this authority over to the frontier labs, but it is what it is.


r/compsci • • 5d ago

A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem

Thumbnail eprint.iacr.org
313 Upvotes

r/compsci • • 7d ago

Why isn't ETH being false a much bigger deal?

173 Upvotes

I feel like we're somewhat underestimating what it means for ETH to be false.

The way I understood it, as long as ETH held true, combined with our fairly strong belief that P != NP, we had a somewhat comforting boundary. Exponential time was a clear dividing line. No matter how much we improved the constant in the exponential running time, we could compensate for those improvements simply by increasing the problem size by a relatively small amount. There was a certain sense of safety in knowing that exponential complexity wasn't going away.

But now that ETH is false, that boundary is gone.

Sure, we can still believe that the complexity of NP-hard problems cannot be pushed arbitrarily low without eventually reaching polynomial time. And we can continue believing that P != NP. But the comforting exponential boundary that ETH provided no longer exists.

Even if P != NP were proven tomorrow, would we ever really feel safe ruling out something like an NlogN algorithm for an NP-complete problem? It would still be superpolynomial, so P != NP wouldn't rule it out, but it would be dramatically better than what we traditionally associate with brute force.

I think that's the unsettling part. We might retain the belief that these problems are fundamentally hard, but lose our ability to be confident about just how hard they have to remain.

Am I missing something here, or is this aspect of ETH being false not getting enough attention?


r/compsci • • 7d ago

Linear Programming is Strongly Polytime

Thumbnail github.com
398 Upvotes

r/compsci • • 7d ago

The Matrix Multiplication Exponent is 9/4

Thumbnail github.com
994 Upvotes

r/compsci • • 8d ago Mindblown

Minimum spanning tree solvable in deterministic linear time

Thumbnail eccc.weizmann.ac.il
660 Upvotes

r/compsci • • 8d ago

VP ≠ VNP

Thumbnail github.com
275 Upvotes

r/compsci • • 9d ago

How applicable is classical computer science theory to quantum computers? If it is, then to what extent?

4 Upvotes

I'm looking to get a better understanding of quantum computing, and wanted to try and tie some of what I know from regular computer science to it. From what I know, since quantum computers are non deterministic, classical comp sci theory shouldn't work on quantum computers. I think this would break things like compilers which rely on being deterministic to work. But what other areas do work on these new computers, and what kinds of modifications to classical theories have been made such that they do hold for quantum computers?


r/compsci • • 10d ago

A Turing-complete queue machine with just 6 string-rewriting rules

38 Upvotes

Got GPT 6.2 astra to discover what I believe to be the smallest known universal 2-deletion tag system. A 2-deletion tag system reads the first letter of a queue, deletes the first two letters, and appends a fixed word for the letter read, so it's a very, very simple machine.

The rules here are:
I → ezII
D → DDez
z → e
a → b
b → aaaeaeae
e → [empty]

Halting is halting <=> a cycle is reached.

De Mol constructed a 3-symbol tag system that encodes Collatz, and proved that 2-symbols is decidable, so this puts the universality limit somewhere between Collatz and 6 symbols.

Full result here (along with a 2000 lines lean proof): https://github.com/wraitii/tag-systems

This improves on UT19: https://esolangs.org/wiki/UT19


r/compsci • • 10d ago

Will we get a proof for P=NP in next few weeks?

Thumbnail robot-future.com
0 Upvotes

r/compsci • • 12d ago

Exciting result: NL = UL !

Thumbnail eccc.weizmann.ac.il
222 Upvotes

r/compsci • • 22d ago

Exploring Data Integrity and Fault Tolerance in Erasure-Coded Distributed Storage Systems

3 Upvotes

Hello everyone!

I've been exploring a research direction around distributed storage systems, particularly the challenge of maintaining data integrity and availability when information is distributed across multiple storage nodes.

The research idea I'm investigating is titled:

Verifiable Erasure-Coded Cloud Storage Systems

The problem I'm interested in

Erasure coding allows a system to divide data into fragments and distribute them across multiple storage nodes. This improves storage efficiency and fault tolerance because the original data can be reconstructed even when some fragments become unavailable.

However, distributing data introduces another challenge: how can a storage system efficiently verify that its fragments remain intact and have not been corrupted or improperly modified?

Traditional integrity checks can help detect corruption, but I am interested in exploring verification mechanisms that can operate without requiring the entire original dataset to be reconstructed.

The technical direction

I'm particularly interested in investigating the interaction between:

  • Erasure Coding: Distributing data fragments to improve fault tolerance and storage efficiency.
  • Cryptographic Verification: Establishing confidence in the integrity of stored fragments.
  • Distributed Storage Architecture: Handling node failures, corrupted fragments, and verification across multiple storage nodes.

One challenge I find particularly interesting is balancing verification overhead against storage efficiency, fault tolerance, and system performance.

A question for the community

When combining erasure coding with cryptographic integrity verification, what are the most significant architectural or theoretical challenges that should be considered?

In particular, are there established approaches that allow efficient verification of individual or distributed fragments without reconstructing the entire original dataset?

I'd be interested in relevant research papers, established techniques, and alternative approaches that address this problem.

I'm currently exploring the research literature and refining the problem formulation before moving towards an experimental prototype.

I'd appreciate technically grounded discussion and critical perspectives.

Thanks for reading!


r/compsci • • 23d ago

A Matrix Multiplication Algorithm Rooted In Graph Theory

Thumbnail leetarxiv.substack.com
0 Upvotes

r/compsci • • 23d ago

Symmetry gives 136 states, the Hankel rank is 51: minimal weighted automaton for 3-colourings of grid strips (review request)

0 Upvotes

For the w × m grid, the number of proper 3-colourings is 1ᵀ Tm−1 1, with T the symmetric transfer matrix on column colourings (1536 states at w = 10). The quotient under S₃ × Z₂ has 136 states. The minimal linear representation (Hankel rank) has dimension 51. Because T is symmetric, the Hankel matrix is a Gram matrix of Krylov vectors, and det H₅₁ ≠ 0 with det H₅₂ = 0 certifies the order exactly.

Minimal orders for w = 1…10: 1, 1, 2, 3, 5, 7, 13, 19, 35, 51. Has anyone seen this sequence, or a structural reason for the gap between the symmetry quotient and the Hankel rank? Details: [CSTheory link]

This opens a broader review request on three costs that are easy to conflate: what stays observable, what a representation must keep, and what a query costs in operations. Two controls separate them. A variable reorder takes the maximum cut rank from 256 to 2 with the same count. Satisfiable Tseitin formulas on expanders need exponential ordered representations yet count in polynomial time by Gaussian elimination. The request lists nine claims with their status and asks where proofs fail, where prior art exists, and whether exact signed decompositions can lower the total cost.

Review request and reproducible lab


r/compsci • • 25d ago

Challenges in calculating ETA at scale

Thumbnail mehrdadmahabadi.com
7 Upvotes

r/compsci • • 29d ago

Deriving the Y-combinator

Thumbnail blog.tinyinterpreters.dev
17 Upvotes

r/compsci • • Oct 31 '26

"Galactus the Devourer", Ben Recht's reaction to The Exponential Time Hypothesis.

Thumbnail argmin.net
187 Upvotes

r/compsci • • Oct 29 '26

Deterministic factoring in time N^o(1)

Thumbnail reddit.com
9 Upvotes

r/compsci • • Oct 26 '26

The Exponential Time Hypothesis is false

Thumbnail github.com
670 Upvotes

r/compsci • • Oct 23 '26

What if brain surgery affected your ability to code?

50 Upvotes

Imagine we need brain surgery to remove a tumor. The surgery goes well, but afterward, you struggle to write or understand code. Scary, right?

We know that neurosurgeons try to preserve important abilities like speaking and moving during brain surgery. But what about programming?

A new study in Human Brain Mapping explores exactly this!

The researchers developed a new protocol during awake brain surgery to help identify and preserve brain areas involved in programming.

The idea is simple: if coding is an important part of someone's life, shouldn't we try to preserve that ability too?

Here's the paper: https://doi.org/10.1002/hbm.70634