Left to Solve
Problems / MathOverflow (not formalized)

Coding third-order objects via second-order ones

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

Statement

As is well-known, the language of second-order arithmetic only has variables for natural numbers and sets of natural numbers. Higher-order objects, like functions on , have to be represented (aka 'coded').

For various reasons (including the foundational claims made in reverse math), it seems desirable that one can prove that 'basic' higher-order objects have codes/representations in 'relatively weak' systems. (Note the subjective 'terms' meant to evade a flame war.)

To be absolutely clear, we assume at least Kohlenbach's base theory RCA ([2]), which uses the language of all finite types.

As a positive example, one can show that (third-order) continuous functions on Cantor space have a representation/code in RCA plus weak Koenig's lemma ([1]).

As negative examples, one needs rather stronger comprehension axioms (namely Kleene's , which implies Z) to prove the following for third-order functions on :

• A Riemann integrable function on can be represented by a code.

• A lower semi-continuous function on a (countably or sequentially) compact and complete metric space can be represented by a code.

• A Borel function …

Posed by Sam Sanders · lo.logic, computability-theory, reverse-math, computable-analysis

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

import Mathlib

/-!
# Coding third-order objects via second-order ones

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_396983