OpenParable
Skip to content
← Back to skills

Lean Proof Assistant

Testing & Quality
lean-proof-assistant

Lean Proof Assistant is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Interface with Lean 4 proof assistant for formal theorem verification

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/mathematics/skills/lean-proof-assistant/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/lean-proof-assistant, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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