lean-proof-assistant

Interface with Lean 4 proof assistant for formal theorem verification

509 stars

Best use case

lean-proof-assistant is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Interface with Lean 4 proof assistant for formal theorem verification

Teams using lean-proof-assistant should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/lean-proof-assistant/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/domains/science/mathematics/skills/lean-proof-assistant/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/lean-proof-assistant/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How lean-proof-assistant Compares

Feature / Agentlean-proof-assistantStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Interface with Lean 4 proof assistant for formal theorem verification

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Lean Proof Assistant

## Purpose

Provides expert guidance on using the Lean 4 proof assistant for formal theorem verification and mathematical formalization.

## Capabilities

- Parse informal proofs into Lean 4 syntax
- Generate tactic-based proof scripts
- Access Mathlib4 library for standard results
- Automated term rewriting and simplification
- Generate proof outlines with sorry placeholders
- Extract executable code from proofs

## Usage Guidelines

1. **Proof Development**: Use Lean 4 syntax with Mathlib4 conventions
2. **Tactic Application**: Apply tactics systematically (intro, apply, exact, rw)
3. **Library Navigation**: Search Mathlib4 for existing lemmas and theorems
4. **Proof Completion**: Fill sorry placeholders incrementally

## Tools/Libraries

- Lean 4
- Mathlib4
- Lake build system
- VS Code Lean extension

Related Skills

elicit-research-assistant

509
from a5c-ai/babysitter

AI-assisted literature review for question-answering over papers and evidence synthesis

academic-writing-assistant

509
from a5c-ai/babysitter

Skill for assisting with academic and scientific writing

cleanroom-protocol-manager

509
from a5c-ai/babysitter

Cleanroom operations skill for managing protocols, contamination control, and process flows

cleanroom-metrology-controller

509
from a5c-ai/babysitter

Nanofabrication metrology skill for process control with CD-SEM, ellipsometry, and profilometry

proof-structure-analyzer

509
from a5c-ai/babysitter

Analyze and restructure mathematical proofs for clarity and completeness

coq-proof-assistant

509
from a5c-ai/babysitter

Interface with Coq proof assistant for formal verification

soundness-proof-assistant

509
from a5c-ai/babysitter

Assist in constructing type soundness proofs using progress and preservation theorems

latex-proof-formatter

509
from a5c-ai/babysitter

Format proofs and algorithms in publication-quality LaTeX

amortized-analysis-assistant

509
from a5c-ai/babysitter

Apply amortized analysis techniques including aggregate, accounting, and potential methods

qbr-preparation-assistant

509
from a5c-ai/babysitter

Quarterly Business Review preparation and facilitation skill with agenda and materials generation

refactoring-assistant

509
from a5c-ai/babysitter

Suggest and guide application of refactoring patterns to improve code quality

containerization-assistant

509
from a5c-ai/babysitter

Assist in containerizing applications with Dockerfile generation and optimization