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

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.

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.

Past announcements

Documentation

Past Announcements

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.2.1.tar.gz (41.0 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.2.1-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axiom_axle-1.2.1.tar.gz
  • Upload date:
  • Size: 41.0 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.2.1.tar.gz
Algorithm Hash digest
SHA256 38796c205553049e989ede7c2f637cb2d4f79071bfe2db5c64671a30a1a98691
MD5 82d3105479131bc77306875de94d3103
BLAKE2b-256 377df62c7071b7d1e5659f625b93edeb795dce3dcd5d38dbe3caaca32bf3f06d

See more details on using hashes here.

Provenance

The following attestation bundles were made for axiom_axle-1.2.1.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: axiom_axle-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 42.6 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e37a729d3b91c53b43c81a61e3a640cfc7f2b6d5530ef469e973aefb55d3de99
MD5 33c79fcb6f49865ea1384d90e0e79c70
BLAKE2b-256 e8809ac66e455f69fe5a33efbfe34261767533432086eeeb225bab6a8ea4aef9

See more details on using hashes here.

Provenance

The following attestation bundles were made for axiom_axle-1.2.1-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