lean-proof-review

Audit Lean 4 proofs for correctness, soundness, and proof quality.

2|Updated May 26, 2026
One-click install
npx skills add https://github.com/r-irbe/proof-skills --skill lean-proof-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lean-proof-review
Source: https://github.com/r-irbe/proof-skills/tree/main/skills/lean-proof-review
Command: npx skills add https://github.com/r-irbe/proof-skills --skill lean-proof-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps reviewers audit Lean 4 proofs for correctness, formal soundness, and overall proof quality across a standardized verification pipeline.

Core Features & Use Cases

  • Enforces a four-layer verification workflow to systematically assess formal soundness, statement correctness, non-triviality, and proof quality.
  • Flags common pitfalls such as vacuous hypotheses, missing hypotheses, and brittle tactic choices, while aligning with project guidelines and references.
  • Use cases include single-file proof audits or module-wide reviews to ensure adherence to specs and best practices.

Quick Start

Run a four-layer audit on a Lean file and generate a signed review record.

Frequently Asked Questions about lean-proof-review

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

FAQPage Schema
How do I audit Lean 4 proofs for formal soundness and correctness?

Lean proof review works by applying a rigorous four-layer verification workflow that systematically assesses formal soundness, statement faithfulness, non-triviality, and overall proof quality across single files or entire modules.

How do I run a formal proof review on a Lean 4 file?

Run a formal proof review on a Lean 4 file by applying the four-layer verification workflow to assess formal soundness, statement faithfulness, non-triviality, and proof quality, which generates a signed review record.

Can I use this four-layer audit for module-wide Lean proof reviews?

Yes, you can use the four-layer audit for module-wide Lean proof reviews to ensure adherence to specs and best practices across entire Lean modules, not just single proof files.

What common pitfalls does a Lean proof audit flag?

A Lean proof audit flags common pitfalls such as vacuous hypotheses, missing hypotheses, and brittle tactic choices while aligning the verification findings with project guidelines and references.

Do I need any dependencies to verify Lean proofs with a four-layer check?

No dependencies are required to verify Lean proofs with a four-layer check, as the skill operates independently to audit formal soundness and records findings with a formal review log.