All products

Write a Lean proof blueprint with AI

Connect mathematical prose to real declarations, map dependencies and distinguish a completed formal result from work that still needs doing.

Write a Lean proof blueprint with AI when a paper and a codebase describe the same argument but no longer use the same names. The lean-blueprint skill starts by surveying both. A declaration with a familiar name may have a stronger assumption or a different conclusion from the prose it supposedly supports.

Work backwards from one main theorem. Give each supporting result a useful mathematical description and identify the Lean declaration when it exists. An unfinished node is valuable information for the next contributor, particularly when several later results depend on it.

What it does

  • Map the lemmas and definitions needed by a main result.
  • Separate a statement from its proof in the written blueprint.
  • Check the exact declaration name, namespace and statement.
  • Keep explanatory prose readable as mathematics.
  • Update dependent nodes when the formal project changes.

Install and use

  1. Provide the authorised Lean project, its existing blueprint files and the intended mathematical result. Formal verification needs the matching project environment.
  2. Ask, “Trace this theorem back to its prerequisites. Link each existing declaration and leave unformalised steps visibly open.”
  3. Compare the dependency graph and each completion claim with the actual project before sharing the blueprint.

FAQ

Source

Made by Texra (texra-ai). Original skill: lean-blueprint, published on GitHub under the MIT licence.

View on GitHub