lean4

Official

AI-powered Lean 4 proof helper.

Authorfrenzymath
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Lean developers often grapple with diagnosing Lean errors, locating relevant lemmas in mathlib, and coordinating cross-file proof tasks. This Skill provides an LSP-driven assistant that surfaces diagnostics, searches mathlib, and guides interactive formalization while preserving the user's code.

Core Features & Use Cases

  • LSP-based goal inspection, error parsing, and targeted lemma search
  • Script primitives for sorry analysis, axiom checks, and repair guidance
  • Cross-tool coordination with lake builds, reference navigation, and learning Lean 4 concepts
  • Safe, bounded proof cycles that orchestrate plan → work → checkpoint → review → replan

Quick Start

Start a guided Lean 4 session with /lean4:prove to begin interactive proof assistance.

Dependency Matrix

Required Modules

sorry_analyzer.pycheck_axioms_inline.shsmart_search.shfind_golfable.pyfind_usages.sh

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lean4
Download link: https://github.com/frenzymath/Archon/archive/main.zip#lean4

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.