Skip to content

Five-phase workflow that formalizes mathematical claims in Lean 4 with Mathlib and produces machine-verified proofs.

CCM score
41 of 100
skills.sh installs
510
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Runs research, design, counterexample testing, implementation, and audit phases, pausing for user decisions on obstacles or counterexamples
  • Searches Mathlib by type signature via Loogle, with Nia, Perplexity, and web search as fallbacks for strategies and references
  • Enforces a zero-sorry requirement and an axiom audit, reporting any custom axioms that remain in the final proof
  • Designed for mathematicians who want verified proofs without learning Lean syntax, and assumes Lean4 and Mathlib are installed

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill prove -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

/prove - Machine-Verified Proofs (5-Phase Workflow)

For mathematicians who want verified proofs without learning Lean syntax.

Prerequisites

Before using this skill, check Lean4 is installed:

# Check if lake is available
command -v lake &>/dev/null && echo "Lean4 installed" || echo "Lean4 NOT installed"

If not installed:

# Install elan (Lean version manager)
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh

# Restart shell, then verify
lake --version

First run of /prove will download Mathlib (~2GB) via lake build.

Usage

/prove every group homomorphism preserves identity
/prove Monsky's theorem
/prove continuous functions on compact sets are uniformly continuous

The 5-Phase Workflow

┌─────────────────────────────────────────────────────────────┐
│  📚 RESEARCH → 🏗️ DESIGN → 🧪 TEST → ⚙️ IMPLEMENT → ✅ VERIFY  │
└─────────────────────────────────────────────────────────────┘

Phase 1: RESEARCH (before any Lean)

Goal: Understand if/how this can be formalized.

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
Research & Academic, Learning & Teaching
First seen
Jun 3, 2026

Questions

What does the prove skill do in Claude Code?

The prove skill performs formal theorem proving in five phases: research, design, test, implement and verify. It aims to produce machine-verified proofs in Lean 4, using Mathlib, so users can get verified proofs without learning Lean syntax.

Who is the prove skill for?

The prove skill is written for mathematicians who want verified proofs without learning Lean syntax. It turns a statement such as Monsky's theorem into a Lean file that is checked by the compiler.

What do I need before using the prove skill?

You need Lean 4 installed, with the lake command available, which you can get through elan. The first run of prove downloads Mathlib, about 2GB, via lake build.

How do I install the prove skill?

Run npx -y skills add parcadei/continuous-claude-v3 --skill prove -y in a project. The install adds the prove skill from the continuous-claude-v3 repository, and it then lets the agent run the five-phase proof workflow on theorems you name.

Where does the prove skill stand in Research & Academic?

The prove skill is listed in the Research & Academic category on Claude Marketplaces, alongside research, paper-context-resolver, repo-intake-and-plan, minimal-run-and-audit and env-and-assets-bootstrap. It stands out by its formal theorem proving workflow that ends in a verification audit of axioms and sorries.

More from parcadei/continuous-claude-v3

All 108

Similar to Prove

More Research & Academic