CLI tool for submitting Lean proof requests to the Aleph Prover API
Project description
Aleph Prover CLI
Prove Lean4 theorems with the Aleph Prover API from your terminal or from Claude Code.
Install
# Run directly with uvx (no install needed)
uvx alephprover prove <file_path> <theorem_name>
# Or install globally
uv tool install alephprover
# Or with pip
pip install alephprover
Usage
# Set your API key (get one at https://alephprover.logicalintelligence.com/account)
export PROVER_API_KEY="sk-aleph-..."
# Submit a proof request
alephprover prove Mathlib/Algebra/Group/Basic.lean mul_left_cancel
# With hints and budgets
alephprover prove MyProject/Basic.lean my_theorem \
--hints "try induction on n" \
--time-budget 30 \
--cost-budget 10
The CLI will:
- Find the Lean project root (walks up to
lakefile.lean/lakefile.toml) - Zip the project (excluding build artifacts)
- Upload to the API and poll for completion
- Download and apply the proof diff via
git apply
Claude Code Skill
Install the /prove skill for Claude Code:
# Install in current project
uvx alephprover install-skill
# Or install globally (available in all projects)
uvx alephprover install-skill --global
Then in Claude Code:
/prove mul_left_cancel in Mathlib/Algebra/Group/Basic.lean
/prove my_theorem in MyProject/Basic.lean with hint: try induction on n
Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
PROVER_API_KEY |
Yes | — | API key (sk-aleph-...) from Account Settings |
PROVER_API_URL |
No | https://alephprover.logicalintelligence.com |
API base URL |
Requirements
- Python >= 3.10
uv(foruvxusage) orpip install alephprovergit(for applying patches)- An Aleph Prover account with an API key
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alephprover-0.0.3.tar.gz.
File metadata
- Download URL: alephprover-0.0.3.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c151808c5474cf7b85a4553bf04b56fc13931b7a053fcff6f34042d2138cb0c0
|
|
| MD5 |
ddbf9ec474811027513afd71da577f80
|
|
| BLAKE2b-256 |
502ed249df6026e60b17695089784572a1009ee856d6eb6e6fe3811e62e59f6a
|
Provenance
The following attestation bundles were made for alephprover-0.0.3.tar.gz:
Publisher:
publish.yml on logiq-ai/alephprover
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alephprover-0.0.3.tar.gz -
Subject digest:
c151808c5474cf7b85a4553bf04b56fc13931b7a053fcff6f34042d2138cb0c0 - Sigstore transparency entry: 1246558184
- Sigstore integration time:
-
Permalink:
logiq-ai/alephprover@918a0f6db3d4792ae5defe6d8fe700213f3a3917 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/logiq-ai
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@918a0f6db3d4792ae5defe6d8fe700213f3a3917 -
Trigger Event:
push
-
Statement type:
File details
Details for the file alephprover-0.0.3-py3-none-any.whl.
File metadata
- Download URL: alephprover-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f488ba505f7da02e6da50239be7c95ab4dfd98b765e511738d0b4d4d239549fe
|
|
| MD5 |
6bc0128d605e1b659809c193e2e83d93
|
|
| BLAKE2b-256 |
d652262350414eff4427bec594f727041a6ae6a36d7ab9f2c04118d1f4e0a39a
|
Provenance
The following attestation bundles were made for alephprover-0.0.3-py3-none-any.whl:
Publisher:
publish.yml on logiq-ai/alephprover
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alephprover-0.0.3-py3-none-any.whl -
Subject digest:
f488ba505f7da02e6da50239be7c95ab4dfd98b765e511738d0b4d4d239549fe - Sigstore transparency entry: 1246558191
- Sigstore integration time:
-
Permalink:
logiq-ai/alephprover@918a0f6db3d4792ae5defe6d8fe700213f3a3917 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/logiq-ai
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@918a0f6db3d4792ae5defe6d8fe700213f3a3917 -
Trigger Event:
push
-
Statement type: