lean-prover

Formalize mathematical theorems in Lean 4 with blueprint-driven dependency tracking.

2|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/zachmayer/skills --skill lean-prover-zachmayer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lean-prover
Source: https://github.com/zachmayer/skills/tree/main/.claude/skills/lean-prover
Command: npx skills add https://github.com/zachmayer/skills --skill lean-prover-zachmayer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of formalizing mathematical proofs in Lean 4 by providing a structured, multi-agent coordination framework that manages dependencies, proof strategies, and systematic exploration.

Core Features & Use Cases

  • Blueprint-Driven Coordination: Maintains a dependency topology via a BLUEPRINT.md file to track proof status and lemma dependencies.
  • Specialized Agent Roles: Orchestrates four distinct agent roles (Coordinator, Blueprint, Sketch, and Proof) to handle different stages of the formalization process.
  • Systematic Proof Exploration: Implements a rigorous budget-based proof system that mandates library searches, structural decomposition, and external AI consultation to minimize manual effort.

Quick Start

Activate the lean-prover skill and provide the informal theorem statement to begin the multi-agent formalization process.

Frequently Asked Questions about lean-prover

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I formalize mathematical proofs in Lean 4 using a multi-agent approach?

To formalize proofs in Lean 4, this skill uses a multi-agent coordinator pattern with blueprint-driven dependency tracking to manage proof strategies, systematic exploration, and complex theorem verification.

Can I use this skill to verify competition math problems in Lean 4?

Yes, this skill applies to formalizing competition math problems by orchestrating specialized agent roles—Coordinator, Blueprint, Sketch, and Proof—to handle different stages of the theorem proving process.

What's the best way to manage dependencies when verifying theorems in Lean 4?

Managing Lean 4 theorem dependencies is handled via a BLUEPRINT.md file that tracks proof status and lemma dependencies, ensuring structured coordination throughout the formalization campaign.

Do I need external proof-search tools to formalize theorems in Lean 4?

Yes, formalizing theorems requires integration with external proof-search tools like loogle and leandex, alongside Lean 4 and Mathlib, to minimize manual effort through library searches and AI consultation.

How does a multi-agent system explore proof strategies for Lean 4?

The system implements a rigorous budget-based proof approach that mandates library searches, structural decomposition, and external AI consultation to systematically explore and solve Lean 4 proofs.