Lean Copilot for LLMs, introduced by LeanDojo, acts as a copilot in Lean for proof automation by suggesting tactics/premises and searching for proofs. Users can utilize the provided model or bring their own models to run locally or on the cloud. LeanDojo extracts proofs in Lean into datasets for training machine learning models, enabling the model to interact with Lean’s proof environment to prove theorems. The ReProver model, which retrieves premises from the math library and generates tactics using an encoder-decoder Transformer, shows promising results in theorem proving, outperforming other baselines. LeanDojo also helps uncover bugs in formalization and offers a ChatGPT plugin for interactive theorem proving.
https://leandojo.org/