Is the equational theory of $(\mathbb{N},+,\times,\mathrm{factorial}(\cdot),0,1)$ decidable?
Statement
Given two terms over the signature with arbitrarily many variables, is there an algorithm to decide whether the two terms define the same function on (where is the number of variables in the terms) when the operations are interpreted in the obvious way?
It suffices to show that the equational theory is axiomatized by the axioms for commutative semirings together with the axioms and , because these axioms allow us to put every term into a normal form. Specifically, we can put every term into the form where each is a term in normal form with no constant term (i.e., is not of the form ). It seems plausible that this axiomatization is complete, but I haven't managed to prove it.
Posed by BPP · lo.logic, universal-algebra, decidability
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-486328.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-486328.lean
import Mathlib
/-!
# Is the equational theory of $(\mathbb{N},+,\times,\mathrm{factorial}(\cdot),0,1)$ decidable?
Source: https://mathoverflow.net/questions/486328
Credit: @<your GitHub handle>
State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/
namespace OMA.S_mo_486328
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_mo_486328