# Axiom Lean Engine (AXLE)

> Cloud API, Python client, and CLI for verifying, checking, and manipulating Lean 4 proofs.

Axiom Lean Engine (AXLE) is a Lean 4 proof verification and manipulation service from Axiom Math, available through a web playground, an API, a Python client and CLI, and an MCP server. The release announcement says it provides the proof verification and manipulation primitives Axiom used across its research, including training AI models and AxiomProver's 12/12 on Putnam 2025.

## What It Is

AXLE is a set of interactive tools for exploring, validating, and transforming formal mathematical proofs written in Lean. Users submit Lean code or files and receive results such as validation outcomes, Lean messages, split declarations, or rewritten code. The Python client and CLI are MIT-licensed and wrap the hosted AXLE Lean verification API.

## Tools and Workflow

The tool set covers several kinds of work:
- Verification: `verify_proof` validates a Lean proof against a formal statement, including find-the-answer problems, and `check` evaluates Lean code and reports all messages.
- Decomposition: `extract_decls` splits a file into declarations with dependencies, and `extract_proof_states` extracts the proof state at each line. `extract_theorems` is deprecated in favor of `extract_decls`.
- Rewriting: `rename`, `theorem2lemma`, `theorem2sorry`, `have2lemma`, `have2sorry`, `sorry2lemma`, `merge`, and `normalize`.
- Proof work: `simplify_theorems`, `repair_proofs`, and `disprove`, which tries to disprove theorems by proving the negation.

## Environments and Integration

AXLE supports multiple Lean versions; the latest listed is Lean 4.36.0. It also offers environments such as CSLib, Physlib, and PrimeGapsLib. The `axiom-axle-mcp` server works with Claude web, desktop, and mobile, and pulls tool instructions from machine-readable docs endpoints under `/v1/docs`.

## Update: v1.9.1

The latest listed release, v1.9.1 (November 18, 2026), adds Lean 4.36.0 and a `nested_proofs` option to `theorem2sorry`. v1.9.0 added the new environments and options for faster, simpler, or more permissive use of `extract_decls`, `simplify_theorems`, and `verify_proof`.

## Features
- Lean proof verification against formal statements
- Lean code checking with full message reporting
- Declaration and theorem extraction with dependencies
- Per-line proof state extraction
- Proof repair and simplification
- Disproving theorems by proving the negation
- Rename, merge, and normalize Lean files
- Theorem/lemma/sorry conversions
- Shareable short links to requests
- MCP server support
- Python client and CLI

## Integrations
Lean 4, Mathlib, Claude, MCP, CSLib, Physlib, PrimeGapsLib

## Platforms
WEB, API, CLI, DEVELOPER_SDK

## Pricing
Open Source

## Version
v1.9.1

## Links
- Website: https://axle.axiommath.ai
- Documentation: https://axle.axiommath.ai/v1/docs/
- Repository: https://github.com/AxiomMath/axiom-lean-engine
- EveryDev.ai: https://www.everydev.ai/tools/axiom-lean-engine
