Is there a natural metric on the space of proofs of a fixed proposition that captures "strategic similarity"?
Imported on
The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.
Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.
Problem 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 intermediate lemma should be closer than two proofs using disjoint lemma sets. (Euclid and Kummer, which both construct an explicit integer, should be closer to each other than either is to Furstenberg.)
Compositional: If and share a common sub-proof , then .
Non-syntactic: should not reduce to edit distance on proof terms — proofs that are syntactically different but use the "same idea" (e.g., after unfolding definitions) should be close.
What I know
In HoTT, the type is itself a type with path structure, giving an -groupoid of proofs. But these paths encode propositional equality between proofs, not strategic similarity. Two proofs can be homotopy-inequivalent yet strategically identical (same method, different bookkeeping).
In proof complexity (Razborov, Cook–Reckhow), one measures proof length or circuit depth — a scalar, not a metric between proofs.
Proof nets (Girard, linear logic) give a geometric representation of proofs where some equivalences become graph isomorphisms, but I'm not aware of a distance function on the resulting structures.
In categorical logic, proofs are morphisms in the free CCC (Lambek). The hom-set can be large, but I don't know of a studied metric on it.
Empirically, in the Lean 4 proof assistant, proofs of the same theorem can be clustered by which Mathlib lemmas they invoke — this gives a Jaccard-type similarity on "dependency sets" that is strategy-sensitive but ad hoc.
Specific sub-questions
Is there work in proof theory or categorical logic defining a distance on the space of proofs (not on propositions)?
Does the path structure in HoTT encode anything about proof strategy, or is it purely about identity types?
If we model the space of propositions as a metric space (e.g., via effective resistance in the proof dependency graph) and proofs as paths, does the induced path-length metric on the space of proofs have good properties?
Statement and context adapted from MathOverflow · Tamas Nagy
CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history
A few useful definitions
- Prime number
- An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.
- Graph
- A set of vertices connected by edges. A vertex’s degree counts the incident edges; the statement specifies whether directions or multiple edges are allowed.
Sources and original status
- MathOverflow Status in source : unanswered at collection
Last activity on the question :
Coverage, sources and method
This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.
This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.
Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.
Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.
Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.
OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.
Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.
Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.
- Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
- Erdős Problems (teorth) · 622 · Apache-2.0
- Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
- OEIS · 18,857 · CC BY-SA 4.0
- MathOverflow · 19,035 · CC BY-SA (version on each entry)
- Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)