Skip to main content

Python client for AXLE (Axiom Lean Engine) API

Project description

AXLE

Axiom Lean Engine - Python client and CLI for the AXLE Lean verification API.

Homepage: https://axle.axiommath.ai/

Recent Announcements

June 3, 2026 - v1.3.0

Support for all declaration kinds, a reworked repair_proofs, link shortening, and broader MCP support. See the changelog for details and other changes.

Highlights:

  • All declaration kinds: A new theorems_only option lets most tools select over every declaration kind — definitions, opaques, instances, and more — not just theorems and lemmas. Set it to false to opt in.
  • Reworked repair_proofs: New passes, stacked repairs, and clearer messages for failed repairs.
  • Tool updates: Changes and new options for verify_proof, merge, extract_decls, and sorry2lemma.
  • Link shortening: Short, shareable links to requests.
  • MCP web support: The axiom-axle-mcp server now works with Claude web, desktop, and mobile.
April 15, 2026 - v1.2.0

New extract_decls tool for extracting all declaration kinds, and corresponding updates to extract_theorems. Users using extract_theorems (which will be deprecated in a future update) should migrate to extract_decls. See the changelog for details.

April 8, 2026 - v1.1.1

Default option changes, a Lean version bump, and bug fixes.

Highlights:

  • Default options changed: autoImplicit is now set to true by default, matching standard Lean behavior.
  • Lean 4.29.0: Added the latest stable Lean release.
  • Timeout bug fix: Fixed a bug where requests were prematurely preempted. Requests now properly max out at the 15-minute maximum timeout.

See the changelog for details and other changes.

Past announcements

Documentation

Past Announcements

April 1, 2026 - v1.1.0

🎉 After mass feedback from the public, we're excited to announce that AXLE is switching from Lean to Rocq. The new name will be AXRE (Axiom Rocq Engine). All existing Lean proofs will be automatically translated using GPT-2. 🚀

Notable API changes:

  • document_messages has been removed from extract_theorems. To replicate old behavior, run the content field of the resulting documents through the check tool.
  • Lean messages now include end positions across all tools, changing the format from -:4:38: ... to -:4:38-4:43: ....

Performance improvements:

  • Reworked the Lean worker pool for faster responses, no environment warm-up time, and more secure containers.
  • Improved the worker scaling pipeline to decrease delays when all worker slots are busy or offline. In the worst case, users should expect no more than a 2-3 minute delay before more worker capacity spins up.

See the changelog for details and other changes.

March 11, 2026 - v1.0.1

New documentation pages, increased rate limits, and bug fixes. See the changelog for details.

March 6, 2026

Lean Zulip Thread

Join the discussion, ask questions, and share feedback on the Lean Zulip.

Higher Rate Limits

Rate limits were unintentionally too restrictive:

  • API key users: increased to 20 active requests (up from 4)
  • Anonymous users: increased to 10 active requests (up from 1)
  • Max timeout: increased to 15 minutes (up from 5 minutes)

Users with an API key should regenerate their key to apply the new limits.

March 5, 2026 - v1.0.0

AXLE Public Release

We're excited to release AXLE to the public! AXLE provides proof verification and manipulation primitives we've used across all of our research efforts, including training AI models and AxiomProver's 12/12 on Putnam 2025.

Playground | API docs | Why we built AXLE | Request more capacity | axle@axiommath.ai

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axiom_axle-1.3.0.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axiom_axle-1.3.0-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

Details for the file axiom_axle-1.3.0.tar.gz.

File metadata

  • Download URL: axiom_axle-1.3.0.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axiom_axle-1.3.0.tar.gz
Algorithm Hash digest
SHA256 276c067278ba309a5f810f6d518dd32e2a8058bb34e5a3e86769368d2ecd5478
MD5 ebd6d65bf7d092fcaed3a2acb860bb27
BLAKE2b-256 9fa9dd56adc619e76a7ec2bf9cf2eb6301e00f4a5889db070c52bc6b76e0e2db

See more details on using hashes here.

Provenance

The following attestation bundles were made for axiom_axle-1.3.0.tar.gz:

Publisher: publish-pypi.yml on AxiomMath/axiom-lean-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file axiom_axle-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: axiom_axle-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 44.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axiom_axle-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb4dcbb3419962f27af3df07c53c3cc5c48b0ae2d944ce43f433a17aa08f2d5a
MD5 43a6efe2ffa70eb06c558b8314aa505f
BLAKE2b-256 59b52b43151ca2ccefcc23a290c219d341f8456007a3fcf21a763e9204105574

See more details on using hashes here.

Provenance

The following attestation bundles were made for axiom_axle-1.3.0-py3-none-any.whl:

Publisher: publish-pypi.yml on AxiomMath/axiom-lean-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page