← All papers
First page of An additive basis for natural functions

An additive basis for natural functions

Arnaud Mayeux, Anna Szumowicz

math.AC Dec 1, 2026 · v1 math.CO
Main theorem and corollaries are fully formalized in Lean 4 with Mathlib, with Lean declaration names cited alongside each result and a public repository.
A natural function is a map $\mathbb{Z}_{>0}\to\mathbb{Z}_{>0}$ defined by an expression in $1$ and a variable $n$ with addition, multiplication and exponentiation. A tower is $n$ or $U^T$, where $U\neq 1$ is a natural function and $T$ is a tower. We prove that the natural functions that are not a sum of two natural functions are exactly the finite products of towers, and that every natural function is, uniquely up to order, a sum of such products: under addition, the natural functions form the free commutative semigroup on the finite products of towers. This answers Question(ii) of Mayeux [Proc. Bulg. Acad. Sci. 78 (2025)] on a canonical form. It also proves Conjectures 1 and 2 of Gurevič [Trans. Amer. Math. Soc. 336 (1993)] on $+$-prime functions.

Natural functions are maps from positive integers to positive integers built from 1 and n using addition, multiplication and exponentiation. The question is which natural functions are not sums of two others, and whether every natural function has a canonical additive decomposition. This answers Mayeux's Question (ii) and Gurevič's conjectures on +-prime functions.

Towers are defined recursively as n or U^T, with U not equal to 1 and T a tower. A one-variable version of Wilkie's normal forms maps each natural function to a polynomial with natural-number coefficients, under which finite products of towers become coefficient-one monomials. A coefficient-sum weight argument and coefficient comparison then give atomicity and uniqueness. All results, including the needed inputs, are formalized in Lean 4 with Mathlib, and multi-agent systems assisted with proofs and formalization.

The +-atomic natural functions are exactly the finite products of towers. Every natural function is a sum of such products, unique up to order, so under addition the natural functions form a free commutative semigroup. The Lean formalization of the main theorems has no extra hypotheses and relies on no external results beyond Mathlib.