Canonical for Automated Theorem Proving in Lean

Chase Norman, Jeremy Avigad

Preprint: not peer reviewed. Results may change in later versions.

Abstract

Canonical is a solver for type inhabitation in dependent type theory, that is, the problem of producing a term of a given type. We present a Lean tactic which invokes Canonical to generate proof terms and synthesize programs. The tactic supports higher-order and dependently-typed goals, structural recursion over indexed inductive types, and definitional equality. Canonical finds proofs for 84% of Natural Number Game problems in 51 seconds total.

Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.

Record

Archive ID
arxiv:2504.06239
Published
Apr 8, 2025
Updated
Sep 26, 2025
Venue
LIPIcs 352 (2025) 14:1-14:20
DOI
10.4230/lipics.itp.2025.14
arXiv
2504.06239
Categories
cs.LO
Provenance
arxiv

Topics