logoalt Hacker News

A SAT Attack on Tarski's High School Algebra Problem

68 pointsby matt_dlast Wednesday at 6:30 AM26 commentsview on HN

Comments

zero_ktoday at 7:58 PM

Markus Anders, who wrote the symmetry breaking system (satsuma) they use for SAT is pretty much a genius. His version of Kissat won the SAT Competition this year, with satsuma of course:

https://satcompetition.github.io/2026/downloads/satcomp26sli...

See slide 18. It was really nice to see him win. I have always been a huge fan of symmetry breaking, CryptoMiniSat (that I develop) had a symmetry breaking system, BreakID (which is _way_ slower than Markus' satsuma), in it for many years now.

NooneAtAll3today at 1:19 PM

I love SAT solver papers, always interesting to see auxiliary variable techniques, since those aren't really listed anywhere central

here for example, instead of saying {f(x,y,z)==g(x,y,z)}, authors instead make variable group a_w:=(f(x,y,z)=w||g(x,y,z)=w), and then apply "at most 1" to it. Can't be unequal if both functions only can have 1 result in total

this adds an index to iterate over, but separates internal subexpressions of f() and g(), removing 2 indixes (in this problem) and thus dropping whole power of n of clauses

---

what I don't get is that they aren't searching Tarski's problem per se, but for one specific solution to it (one identity that isn't resulting from given). I'd totally look for arithmetic models that violate expectations in other ways than Wilkie

show 2 replies
406380581today at 1:30 PM

The lower bound had already been established in prior work: https://zenodo.org/records/18568303

show 2 replies
LPisGoodtoday at 5:59 PM

They address the following concern of Zhang (2005), which contained prior work involving similar techniques:

> […] Of course, this conclusion is not proved mathematically. It is possible that the programs have some bugs, or the user (myself made some errors.

They address it as follows:

> We address this [… through] ChatGPT 5.5 Pro, through Codex, to automatically generate a Lean formalization that we then checked ourselves to confirm the statements and definitions indeed match their expected semantics. This process took multiple iterations and discussions with the model over several days, and generated over 10,000 lines of code.

This is extremely unconvincing. Manual review of 10,000 lines of AI generated code is a terrifying prospect. I’m sure the result is correct, however I am deeply uncomfortable with this being mankind’s new mathematical process. Similar concerns have been expressed since the days of the 4 color theorem, but this feels different. Perhaps it is just new.

>in a nutshell, it defines an executable function encode that takes a natural number n ≥ 5 and emits a CNF formula, which is byte-for-byte equal to the output of our Python encoding

The phrase “byte-for-byte equal” makes my eye twitch these days.

show 2 replies
munchlertoday at 12:47 PM

Why is subtraction not part of the algebra? It’s certainly familiar to every high school math student. This omission allows the counterexample, so the reveal is a bit of a disappointment IMHO.

show 4 replies
doogliustoday at 2:06 PM

Isn't the underlying question proved impossible by Godel's incompletness theorem?

show 3 replies
Abh1Workstoday at 4:11 PM

I thought SAT like the high school admissions test