Left to Solve
Problems / MathOverflow (not formalized)

Formalize ignorance

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

Statement

This is a spinoff of my attempt to capture the notion of 'explicit bijection' at https://mathoverflow.net/a/323827.

I wonder whether it is possible to formalize the idea that an algorithm computing a map between two finite sets does not 'know' or 'use' a description of .

Let me give two examples to illustrate what I mean. Let be the set of binary words of length .

For the first example, let be the map corresponding to the following algorithm:

• let be the binary word

• let

• for in , reading the word left to right:

• if increase by one

• otherwise write down , and set

• write down .

That is, the word is mapped to and the word is mapped to . In general, this algorithm associates (bijectively) to each binary word of length a composition of . So is the set of integer compositions of , but it seems (to me) that the algorithm does not use this fact.

For the second example, let be the map corresponding to the following algorithm:

• let be the binary word

• let

• sort the integer compositions of into …

Posed by Martin Rubey · 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-324117.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-324117.lean

import Mathlib

/-!
# Formalize ignorance

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_324117