Left to Solve
Problems / MathOverflow (not formalized)

Is there a natural metric on the space of proofs of a fixed proposition that captures "strategic similarity"?

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

Statement

Background

By the Curry–Howard correspondence, a proof of is a term in a suitable type theory. For a fixed pair of propositions , there may be many distinct proof terms — corresponding to different proof strategies.

For example, the infinitude of primes has proofs via:

• Euclid's construction ()

• Euler's product formula (analytic)

• Furstenberg's topological argument

• Kummer's argument via Fermat numbers

These are "the same theorem" but "very different proofs." Each follows a different chain of intermediate lemmas through the ambient space of mathematical propositions:

Different proof strategies are different paths through this space, passing through different intermediate vertices.

The question

Is there a known natural metric (or pseudometric) on the set of proof terms

(modulo definitional equality) that captures structural or strategic similarity?

By "natural" I mean a metric satisfying at least:

• Strategy-sensitive: Two proofs sharing the same key …

Posed by Tamas Nagy · ct.category-theory, lo.logic, proof-theory, type-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-509682.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-509682.lean

import Mathlib

/-!
# Is there a natural metric on the space of proofs of a fixed proposition that captures "strategic similarity"?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_509682