Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs

10/21/2022
by   Albert Q. Jiang, et al.
0

The formalization of existing mathematical proofs is a notoriously difficult process. Despite decades of research on automation and proof assistants, writing formal proofs remains arduous and only accessible to a few experts. While previous studies to automate formalization focused on powerful search algorithms, no attempts were made to take advantage of available informal proofs. In this work, we introduce Draft, Sketch, and Prove (DSP), a method that maps informal proofs to formal proof sketches, and uses the sketches to guide an automated prover by directing its search to easier sub-problems. We investigate two relevant setups where informal proofs are either written by humans or generated by a language model. Our experiments and ablation studies show that large language models are able to produce well-structured formal sketches that follow the same reasoning steps as the informal proofs. Guiding an automated prover with these sketches enhances its performance from 20.9 39.3

READ FULL TEXT

page 17

page 19

page 20

research
09/07/2020

Generative Language Modeling for Automated Theorem Proving

We explore the application of transformer-based language models to autom...
research
04/27/2022

FindFacts: A Scalable Theorem Search

The Isabelle Archive of Formal Proofs (AFP) has grown to over 500 articl...
research
01/13/2020

Interactive Visualization of Saturation Attempts in Vampire

Many applications of formal methods require automated reasoning about sy...
research
04/02/2018

Learning to Reason with HOL4 tactics

Techniques combining machine learning with translation to automated reas...
research
04/28/2021

Learning from Łukasiewicz and Meredith: Investigations into Proof Structures (Extended Version)

The material presented in this paper contributes to establishing a basis...
research
02/08/2022

Four Geometry Problems to Introduce Automated Deduction in Secondary Schools

The introduction of automated deduction systems in secondary schools fac...
research
03/01/2023

CoProver: A Recommender System for Proof Construction

Interactive Theorem Provers (ITPs) are an indispensable tool in the arse...

Please sign up or login with your details

Forgot password? Click here to reset