Axiom Lean Engine (AXLE)
Cloud API, Python client, and CLI for verifying, checking, and manipulating Lean 4 proofs.
At a Glance
About Axiom Lean Engine (AXLE)
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_proofvalidates a Lean proof against a formal statement, including find-the-answer problems, andcheckevaluates Lean code and reports all messages. - Decomposition:
extract_declssplits a file into declarations with dependencies, andextract_proof_statesextracts the proof state at each line.extract_theoremsis deprecated in favor ofextract_decls. - Rewriting:
rename,theorem2lemma,theorem2sorry,have2lemma,have2sorry,sorry2lemma,merge, andnormalize. - Proof work:
simplify_theorems,repair_proofs, anddisprove, 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.
Community Discussions
Be the first to start a conversation about Axiom Lean Engine (AXLE)
Share your experience with Axiom Lean Engine (AXLE), ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
MIT-licensed Python client and CLI for the AXLE Lean verification API; the hosted API is a separate service whose pricing is not published.
- MIT License covers the axiom-lean-engine repository (Python client and CLI)
- Hosted API rate limits: API key users 20 active requests, anonymous users 10 active requests, 15-minute max timeout
- Additional capacity available via request form
Capabilities
Key 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
