acorn-installation
Install and set up the Acorn theorem prover CLI. Use when the environment doesn't have Acorn installed or when the user needs to set up Acorn for the first time.
When & Why to Use This Skill
The Acorn Installation skill automates the setup and configuration of the Acorn theorem prover CLI. It streamlines the developer workflow by automatically downloading the latest binaries, managing local path installations, and verifying the environment, ensuring a seamless experience for formal verification and mathematical proof tasks.
Use Cases
- 1. Automated Environment Setup: Quickly initializing the Acorn theorem prover in new development environments or cloud-based IDEs without manual intervention.
- 2. Formal Verification Readiness: Ensuring the necessary CLI tools are present and functional before executing complex proof verification tasks.
- 3. CI/CD Pipeline Integration: Using the installation script to prepare ephemeral environments for automated testing of mathematical proofs.
- 4. Troubleshooting Toolchains: Re-installing or verifying the Acorn setup when the environment lacks the required dependencies for theorem proving.
| name | "Acorn Installation" |
|---|---|
| description | "Install and set up the Acorn theorem prover CLI. Use when the environment doesn't have Acorn installed or when the user needs to set up Acorn for the first time." |
Acorn Installation Skill
This skill helps install the Acorn theorem prover CLI in various environments.
Installation
Simply run the installation script:
bash .claude/skills/acorn-installation/install-acorn.sh
The script will:
- Check if Acorn is already installed (if so, it exits successfully)
- Download the latest Acorn binary from GitHub releases
- Install it to
~/.local/bin/acorn - Verify the installation works
Running the Verifier
Once installed, you can verify Acorn proofs by running:
acorn
This should be run after every change to ensure proofs are verifiable.
Instructions for the Agent
When this skill is invoked:
- Run the installation script:
bash .claude/skills/acorn-installation/install-acorn.sh - The script handles checking for existing installation automatically
- After the script completes successfully, run
acornto verify proofs in the current project