axiom-verify
Installation
SKILL.md
Axiom Lean 4 Proof Verification
Axiom provides cloud-based Lean 4 proof verification through the Axle API. It compiles and checks Lean code against a full Mathlib environment without requiring a local Lean installation -- verification results come back in seconds rather than the minutes it takes to build locally.
Before First Use
Check these once per session before running any Axle commands:
- API key: Run
echo $AXLE_API_KEY. If empty, the user needs to get a key fromaxle.axiommath.ai/app/consoleand set it:export AXLE_API_KEY=<key>. - CLI installed: Run
axle --version. If not found, install withpip install axiom-axle. - Lean environment: Check for a
lean-toolchainfile in the project root to detect the Lean version. If present, use its version (e.g.,leanprover/lean4:v4.28.0becomeslean-4.28.0). If absent, default tolean-4.28.0.
Reference Files
Read these as needed based on the task:
Related skills