{"id":"arxiv:2205.12615","kind":"preprint","title":"Autoformalization with Large Language Models","authors":["Yuhuai Wu","Albert Q. Jiang","Wenda Li","Markus N. Rabe","Charles Staats","Mateja Jamnik","Christian Szegedy"],"author_count":7,"year":2022,"published":"2022-05-25","venue":null,"cited_by":62,"doi":null,"arxiv_id":"2205.12615","nct_id":null,"source_url":"https://arxiv.org/abs/2205.12615","archive_url":"https://space-kitty.com/papers/arxiv:2205.12615","updated":"2022-05-25","pmid":null,"pmcid":null,"openalex_id":"W4282045675","pdf_url":"https://arxiv.org/pdf/2205.12615","abstract":"Autoformalization is the process of automatically translating from natural language mathematics to formal specifications and proofs. A successful autoformalization system could advance the fields of formal verification, program synthesis, and artificial intelligence. While the long-term goal of autoformalization seemed elusive for a long time, we show large language models provide new prospects towards this goal. We make the surprising observation that LLMs can correctly translate a significant portion ($25.3\\%$) of mathematical competition problems perfectly to formal specifications in Isabelle/HOL. We demonstrate the usefulness of this process by improving a previously introduced neural theorem prover via training on these autoformalized theorems. Our methodology results in a new state-of-the-art result on the MiniF2F theorem proving benchmark, improving the proof rate from $29.6\\%$ to $35.2\\%$.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":true,"retracted":false,"peer_reviewed":false,"categories":["cs.LG","cs.AI","cs.LO","cs.SE"],"details":null,"provenance":"arxiv+openalex","attribution":"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.","topics":[{"slug":"ai-mathematics","name":"AI for Mathematics & Formal Proof","domain_slug":"math-cs"}],"cited_in_dossiers":[]}