Left to Solve
Problems / MathOverflow (not formalized)

Representing iteration of a function in PA

Open, not yet stated in LeanMathOverflow (not formalized)Logic & Foundationsdifficulty55/100

Statement

Let be a (recursive) FOL language, with numeral symbols . Let be a recursive, consistent theory, containing PA (or even just Robinson arithmetic). It is well-known that all computable functions are strongly represented. This means that for any computable function there exists a formula in (with the free variables as given) such that the following two conditions hold:

(1) .

(2) For any , we have if and only if .

There are many ways to build new computable functions from old ones. The standard way to build all computable functions is to start with a few initial functions, and take the closure under addition, composition, basic recursion, and -minimization; e.g., see this wiki article about primitive recursive functions.

Thus, the proof that all computable functions are strongly represented seems clear enough. Prove it for the …

Posed by Pace Nielsen · lo.logic, computability-theory, peano-arithmetic

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-369505.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-369505.lean

import Mathlib

/-!
# Representing iteration of a function in PA

Source: https://mathoverflow.net/questions/369505
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_369505

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_369505