Lagrange's Theorem for Binary Squares
Parthasarathy Madhusudan, Dirk Nowotka, Aayush Rajasekaran, Jeffrey, Shallit

TL;DR
This paper uses automata-based decision procedures to prove a binary number theorem, showing every number over 686 can be expressed as a sum of four binary squares, with implications for decidability in number theory.
Contribution
It introduces an automata-based approach to additive number theory, proving a binary squares theorem and exploring its embedding in decidable logical theories.
Findings
Every number > 686 is sum of at most 4 binary squares.
The number 4 is proven to be optimal.
Automated methods can find stronger lemmas for decidability.
Abstract
We show how to prove theorems in additive number theory using a decision procedure based on finite automata. Among other things, we obtain the following analogue of Lagrange's theorem: every natural number > 686 is the sum of at most 4 natural numbers whose canonical base-2 representation is a binary square, that is, a string of the form xx for some block of bits x. Here the number 4 is optimal. While we cannot embed this theorem itself in a decidable theory, we show that stronger lemmas that imply that the theorem can be embedded in decidable theories, and show how automated methods can be used to search for these stronger lemmas.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
