Alcides Fonseca

40.197958, -8.408312

Lean Automation

This page aggregates several resources related to automating proofs (and programs) in the Lean programming language.

Tactics

  • LeanHammer (training repo) – A tactic that performs machine-learning premise selection, translation to SMT and proof reconstruction back to Lean.
  • Aesop is a tactic that performs white-box proof search. You annotate lemmas with tags so they can be used in Aesop, both in forward or backwards style. It can be seen as a much more powerful simp tactic.
  • LLMStep a tactic that uses LLMs to suggest the next tactic
  • Lean GPTf A tactic that uses ChatGPT to suggest tactics

Writing Tactics and Metaprogramming in Lean

Extracting theorems from Lean and MathLib

Mostly from Python scripts.