Computer Science (@CompSciFact) header
Computer Science (@CompSciFact) profile picture

Daily tweets about computer science and related stuff @JohnDCook.

Joined November 2010
Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)Photo by Computer Science (@CompSciFact)
The algebraic citcuit analog of P != NP is true. github.com/anthropics/formal…
11
43
5,185
Differentiating regular expressions and functions blog.sigfpe.com/2026/11/deri…
2
18
4,428
Induction makes you feel guilty for getting something out of nothing ... but it is one of the greatest ideas of civilization. ~ Herbert Wilf
1
2
25
5,145
Google, OpenAI, and Anthropic name their AI models after words from chemistry, astronomy, and literature respectively.
3
1
29
5,421
Counterintuitive results in operations research or.stackexchange.com/questio…
1
1
27
5,882
Computer Science retweeted
If the Generalized Riemann Hypothesis (the stronger version of the Riemann Hypothesis) is proven, these become proven facts: Algorithms that no longer need randomness - Primality testing: Miller's fast test becomes proven correct with no randomness - Square roots mod a prime: becomes solvable fast and with no coin flips (today that's an open problem) - Cube roots and other roots mod a prime: same. - Factoring polynomials over finite fields: almost fast (quasi-polynomial) with no randomness, instead of needing randomness - Building finite fields: you can construct any finite field directly, with no random search - Factoring vs. φ(n): factoring a number becomes provably as easy as computing φ(n), even without randomness - Primes with a given remainder: a prime with any allowed remainder mod q exists that's at most about q², so searching for one is fast Complexity theory - Polynomial equations: "does this system of equations have a solution?" drops from PSPACE to a much lower class (AM) - Algebraic P vs NP: Valiant's algebraic version of P vs NP gets tied to the normal P vs NP over the complex numbers - Turing machines: a known 744-state Turing machine is proven to run forever Number theory software - Math libraries: PARI/GP and Magma results computed "assuming GRH" become fully proven - Class groups: algorithms that compute these number-field structures get guaranteed running times - Elliptic curve generation: the algorithms used to create curves for crypto get guaranteed running times Cryptography (no new attacks, only proofs) - Elliptic curves: proven that if discrete log is hard on one curve, it's hard on almost all similar curves - Lattice crypto: known quantum attacks on some lattice schemes become proven to work - Isogeny crypto: known quantum attacks on some isogeny schemes get proven speeds - Code-based crypto: schemes like BIKE get the guarantee that the special primes they need exist Prime gaps - Next prime: there's always one within about √p·log p of p, so "find the next prime" has a guaranteed worst case What it does NOT do - It doesn't solve P vs NP - It doesn't make factoring easy, so RSA and elliptic-curve crypto stay safe - It doesn't make anything faster in practice, because randomized versions already work today - Ramanujan graphs, expanders and AG codes are unaffected: they use a finite-field version of RH that was proven decades ago
80
602
62
4,731
493,359
“I am worried that algorithms are getting too prominent in the world.' -- Donald Knuth
2
8
2
63
6,211
'There may, indeed, be other applications of the system [i.e. lambda calculus] than its use as a logic.' -- Alonzo Church, 1932
8
40
6,286
No Silver Bullet: Essence and Accident in Software Engineering worrydream.com/refs/Brooks-N… [pdf]
1
2
23
6,200
Why is division so much more complex than other arithmetic operations? scicomp.stackexchange.com/qu…
2
6
1
69
8,287
Until recently there was more interest in formally verifying software than formally verifying math. Now the tables have turned. Why is that? AI has made it easier to formally verify math, but hasn't it done the same for software?
4
5
44
6,777
Before someone brings it up, yes I know about the Curry-Howard isomorphism and the idea that proofs and programs are ultimately the same thing. But in practice the kinds of proofs and programs that people care about are substantially different.
1
2
1,223
Why does quicksort work so well in practice? cs.stackexchange.com/questio…
1
40
7,936
The term 'trie' came from 'retrieval.' Was intended to be pronounced like 'tree' but now is pronounced like 'try.'
1
2
26
6,693
'About 1,000 instructions is a reasonable upper limit for the complexity of problems now envisioned.' -- John von Neumann, 1946
7
31
5,943