Skip to content
HN On Hacker News ↗

A SAT Attack on Tarski's High School Algebra Problem

▲ 98 points 39 comments by matt_d 2w ago HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 239
PEAK AI % 0% · §1
Analyzed
Aug 16
backend: pangram/v3.3
Segments scanned
1 windows
avg 239 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 239 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

View PDF HTML (experimental) Abstract:Tarski's high school algebra problem asks whether every true identity concerning addition, multiplication, and exponentiation of positive integers follows from a list of 11 elementary identities. Surprisingly, Wilkie showed that the following identity is valid over the positive integers and yet does not follow from Tarski's axioms: \begin{align*} &\left((1+x)^y + (1+x+x^2)^y\right)^x \cdot \left((1+x^3)^x + (1+x^2+x^4)^x\right)^y = \\ &\left((1+x)^x + (1+x+x^2)^x\right)^y \cdot \left((1+x^3)^y + (1+x^2+x^4)^y\right)^x. \end{align*} Gurevič gave an algebra on 59 elements that satisfies Tarski's axioms but not Wilkie's identity, and over the years several authors whittled down the size of such a countermodel, culminating in a countermodel of size 12 due to Burris and Yeats. On the other hand, Zhang proved that there is no countermodel with fewer than 11 elements. Using SAT, we prove that the smallest countermodels are of size 12, as conjectured by Burris and Yeats. Moreover, we show that there are exactly 8,957,952 countermodels on 12 elements up to isomorphism and provide a simple classification of them. Our SAT approach outperforms dedicated tools for finding countermodels in equational theories, namely Mace4 and SEM. Furthermore, using autoformalization, we prove the correctness of our main result in Lean. Comments: 21 pages Subjects: Logic (math.LO); Logic in Computer Science (cs.LO) Cite as: arXiv:2608.08421 [math.LO] (or arXiv:2608.08421v1 [math.LO] for this version) https://doi.org/10.48550/arXiv.2608.08421 arXiv-issued DOI via DataCite Submission history From: Bernardo Anibal Subercaseaux Roa [view email] [v1] Sun, 9 Aug 2026 02:32:31 UTC (32 KB)