A New Approach Towards Autoformalization

Nilay Patel, Rahul Saha, Jeffrey Flanigan
10/12/2023
cs.CLcs.AI

No official code found. Best implementation: jlab-nlp/arxiv2formal (6 stars, last commit 2023-12-15).

Abstract

Verifying mathematical proofs is difficult, but can be automated with the assistance of a computer. Autoformalization is the task of automatically translating natural language mathematics into a formal language that can be verified by a program. This is a challenging task, and especially for higher-level mathematics found in research papers. Research paper mathematics requires large amounts of background and context. In this paper, we propose an avenue towards tackling autoformalization for research-level mathematics, by breaking the task into easier and more approachable subtasks: unlinked formalization (formalization with unlinked definitions and theorems), entity linking (linking to the proper theorems and definitions), and finally adjusting types so it passes the type checker. In addition, we present arXiv2Formal, a benchmark dataset for unlinked formalization consisting of 50 theorems formalized for the Lean theorem prover sampled from papers on arXiv.org. We welcome any contributions from the community to future versions of this dataset.

View on arXivView PDF

Code Implementations(1)

Arxiv2formal dataset for formalized math

60Oct 11, 20232 years ago

Similar Papers

Cite this paper

@article{patel2023approach,
  title  = {A New Approach Towards Autoformalization},
  author = {Nilay Patel and Rahul Saha and Jeffrey Flanigan},
  year   = {2023},
  eprint = {2310.07957},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.07957v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.07957.svg)](https://codeofpaper.com/paper/2310.07957)

Discussion