TRANSMISSION // 2611.31811v1

How Can We Tell Two Proofs Apart?

Source published

A new study compares 19 ways to measure how different formal proofs are—and finds that proof similarity depends on what the measure notices.

AI-generated conceptual illustration for How Can We Tell Two Proofs Apart?
AI-generated conceptual illustration; not documentary evidence.

As AI systems generate more mathematical proofs, checking that each one is valid may not answer a further question: does it offer a new argument, or merely repackage an existing one? A preprint tests different ways to compare proofs, using formal versions of a theorem about the infinitude of primes and examples from Lean and Mathlib.

A proof checker can confirm that an argument follows the rules of a formal system. But it does not automatically tell us whether two valid proofs use the same idea. That distinction matters if researchers want to sort many generated proofs, spot duplicates or understand how a computer’s argument relates to familiar mathematics.

In this preprint, Nikolaos Nikolaou asks how far apart two proofs of the same theorem are, and what it means to measure that distance. The answer is not a single universal score: a comparison can focus on the written expressions, the proof’s structure, the facts it depends on, or its meaning.

Many ways to compare proofs

The paper proposes 19 measures, grouped into six families: syntactic, structural, dependency and resource-based, semantic, information-theoretic, and higher-categorical. It also sets out 10 properties that a useful measure should satisfy, arguing that these can guide safe optimization of the measures.

The central idea is that formal proofs contain several kinds of information. A proof’s raw text may change when it is rewritten, even if its reasoning stays the same. Conversely, two proofs can look alike in some respects while relying on different intermediate results. Measures based on dependencies instead ask which facts a proof uses; structural measures examine how its steps are organized. Semantic measures aim to capture what the proof establishes or the mathematical content of its route.

Tests with prime-number proofs

The study first examines five machine-checked proofs that there are infinitely many primes in a Curry–Howard kernel, a setting where proofs are represented in a formal language and checked by a kernel. The abstract reports that raw syntax does not reliably distinguish a rewrite from a genuinely different argument. Dependency-based and structural measures produce an ordering the author describes as intuitive: a rewritten Euclidean proof is closer to Goldbach’s proof than to Furstenberg’s topological proof. Semantic measures can reverse that ordering because Furstenberg’s proof produces exactly the same witness as Euclid’s.

The paper then reports a replication in Lean 4 with Mathlib, Lean’s mathematics library. This part covers three theorems, 19 proofs and 18 measures. According to the abstract, dependency-closure measures best track intuitive judgments in this test. Other results highlight limitations of particular comparisons: differently written versions of the same argument never have equal normal forms; proofs that cite an existing result can look unlike the arguments they cite; and proof irrelevance cannot distinguish between proofs.

These findings point toward reporting a profile across several levels rather than treating any one number as a definitive measure of proof novelty. The author also proposes extending the measures to proofs of different theorems and discusses possible uses, including identifying duplicate AI-generated proofs and finding human-understandable proofs near an AI argument.

What the results do—and don’t—show

The evidence described here is limited to the paper’s abstract, not a full examination of its methods, definitions, examples or data. The reported evaluations involve five proofs in one kernel setting and a Lean/Mathlib replication with three theorems and 19 proofs. They do not establish that the proposed measures work equally well across mathematics, proof assistants or large collections of AI-generated work. Nor does an ordering that seems intuitive in these examples amount to a general, objective definition of mathematical novelty.

The work is an arXiv preprint, and the supplied source information does not establish that it has been peer reviewed. The abstract says that code, Lean sources and data are released, but those materials were not independently examined for this article. The results are therefore best read as a proposed framework and a small set of reported tests, not as a settled standard for judging whether a proof is new.

The broader lesson is practical: formal correctness and proof similarity are different questions. A kernel can check that a proof works, while comparison measures can offer clues about how its route relates to others. Those clues depend on what each measure counts—and should be read together, with human judgment, rather than as a verdict on originality.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • An AI proof can pass—and still answer the wrong question

    Supporting evidence: Both papers delimit what formal verification establishes: the proof-dissimilarity study says a kernel certifies correctness but not what a proof contains or how it relates to others, while Eigner et al. distinguish a valid proof of a formal statement from whether that statement faithfully represents the author’s claim. These are compatible but distinct limits; neither finding alone establishes a general audit procedure.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.31811v1 — Original paper

      Excerpt reference: static/papers/2611.31811v1.md:191-246
      Basis: Paper text
      Source SHA-256: 39ec170d2da9abc3c38baf1ebbef26f2dca3c6ce0f33e480a4f1a6decb1dbaa4

    • 2611.13042v1 — Original paper

      Excerpt reference: static/papers/2611.13042v1.md:148-240
      Basis: Paper text
      Source SHA-256: 53b79c33862b6ce3584e0610a0e6fd6a30dfb4e9ebb2d3d3fd7e656515c74fc9

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.