Download PDFOpen PDF in browser

A SAT Attack on Tarski's High School Algebra Problem

20 pages•Published: October 23, 2026

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 found an identity that is valid over the positive integers and yet does not follow from Tarski's axioms.
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.

Keyphrases: equational theories, high school identities, sat, wilkie s identity

In: Erika Ábrahám, Nikolaj Bjørner and Michael Rawson (editors). Proceedings of the 26th Conference on Logic for Programming, Artificial Intelligence, and Reasoning, vol 112, pages 465-484.

BibTeX entry
@inproceedings{LPAR-26:SAT_Attack_Tarskis_High,
  author    = {Bernardo Subercaseaux and Benjamin Przybocki},
  title     = {A SAT Attack on Tarski's High School Algebra Problem},
  booktitle = {Proceedings of the 26th Conference on Logic for Programming, Artificial Intelligence, and Reasoning},
  editor    = {Erika Ábrahám and Nikolaj Bjørner and Michael Rawson},
  series    = {EPiC Series in Computing},
  volume    = {112},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {/publications/paper/Z28t},
  doi       = {10.29007/8l4s},
  pages     = {465-484},
  year      = {2026}}
Download PDFOpen PDF in browser