Minimal resources for Undecidability of First-Order Logic: the number of variables
Statement
It is well-known that First-Order Logic (FO) with a full vocabulary (i.e., a countable numbers of unary predicate symbols, a countable number of binary predicate symbols, etc.) is undecidable. And it is also known that the jump between decidability and undecidable occurs when we introduce binary symbols; i.e., FO is decidable in the case of the vocabulary with just a countable number of unary predicate symbols, and FO is undecidable in the case of the vocabulary which just one predicate symbol with arity (see the book [1]).
I stress that before (and also later) I am talking about the language without the equality symbol (but the previous claims are also true when there is an equality symbol, see also [1]).
Let us now look at FO (without equality) restricted to a finite number of variables (from now on ). It is well-known that, with a full vocabulary, is decidable [2] (the same was proved true by Mortimer when there is an equality symbol) while is undecidable (see [1]).
My question concerns which is a minimal vocabulary to have undecidability for . In [1] it is proved that is undecidable in the vocabulary which only has one binary …
Posed by boumol · lo.logic, computability-theory
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-56728.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-56728.lean
import Mathlib /-! # Minimal resources for Undecidability of First-Order Logic: the number of variables Source: https://mathoverflow.net/questions/56728 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_56728 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_56728