Re:Yes, 17M lines of Lean is a lot
by dgacmu on Monday November 23, 2026 @08:06AM
(#50611058)
But the results were still conditional, and it was useful to have results that didn't depend on the (formerly unproven) RH.
Example: Deterministic primality testing. Miller's test gave us an ln(n)^4 algorithm for deterministic primality testing decades ago [1]. But it depended on RH. The later AKS work found a way to avoid the RH dependency, giving an ln(n)^6 deterministic algorithm, and was the first to show that PRIMES \in P. [2]
With RH having been proven, Miller's test is back to being the fastest deterministic test. (ECCP is faster in practice for large primes but its running time isn't fully known.) This isn't a terribly practical result because the range of primes for which you'd use miller is a bit narrow, but it's quite cool to me to have the theoretical best also be something you can implement -- AKS is impractical and its contribution was showing you could solve the problem in polynomial time without depending on unproven conjectures.
Example: Deterministic primality testing. Miller's test gave us an ln(n)^4 algorithm for deterministic primality testing decades ago [1]. But it depended on RH. The later AKS work found a way to avoid the RH dependency, giving an ln(n)^6 deterministic algorithm, and was the first to show that PRIMES \in P. [2]
With RH having been proven, Miller's test is back to being the fastest deterministic test. (ECCP is faster in practice for large primes but its running time isn't fully known.) This isn't a terribly practical result because the range of primes for which you'd use miller is a bit narrow, but it's quite cool to me to have the theoretical best also be something you can implement -- AKS is impractical and its contribution was showing you could solve the problem in polynomial time without depending on unproven conjectures.
[1] https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality... (but ignore the rabin part, look at the original Miller test) [2] https://en.wikipedia.org/wiki/AKS_primality_test