acorn-prover
Verify and write proofs using the Acorn theorem prover for mathematical and cryptographic formalization. Use when working with Acorn proof files (.ac), verifying theorems, formalizing mathematical or cryptographic protocols, or writing proofs in the Acorn language. Triggers on: (1) Creating or editing .ac files, (2) Running acorn verify commands, (3) Formalizing math or crypto proofs, (4) Questions about Acorn syntax or standard library.
Why use this skill?
Formalize proofs and verify cryptographic protocols with the Acorn Prover skill for OpenClaw. Streamline mathematical modeling and library documentation generation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/flyingnobita/acorn-proverWhat This Skill Does
The acorn-prover skill is a powerful extension for OpenClaw that enables users to formalize mathematical proofs and cryptographic protocols using the Acorn theorem prover. It provides a structured environment to verify, manage, and document complex logical systems. The skill handles the necessary configuration, environment setup, and command-line execution for the Acorn ecosystem, allowing users to focus on writing correct proofs within .ac files rather than debugging infrastructure.
Installation
To install this skill, run the command: clawhub install openclaw/skills/skills/flyingnobita/acorn-prover. Upon first initialization, ensure you have your acornlib path ready. OpenClaw will prompt you to define ACORN_LIB and ACORN_PROJECT paths to initialize the local config.env file. Once paths are validated, the skill will execute setup.sh to configure the environment for either native execution or mise-managed workflows.
Use Cases
- Formal Mathematical Verification: Proving algebraic theorems or set-theoretic properties with guaranteed correctness.
- Cryptographic Protocol Analysis: Modeling security protocols as Acorn files to verify adherence to security assumptions.
- CI/CD Pipelines: Utilizing the
reverifycommand to ensure that updates to an Acorn project maintain the integrity of all proofs without manual re-runs. - Training Data Generation: Automatically exporting problem-proof pairs to facilitate the training of fine-tuned language models for formal methods.
- Documentation Generation: Converting proof libraries into readable reference documentation.
Example Prompts
- "I've just created a new file called security_proof.ac in my project directory. Please verify the proofs contained within it."
- "Can you help me formalize a typeclass for commutative groups and verify that it satisfies the inverse properties in Acorn?"
- "Generate the library reference documentation for my current Acorn project and save the output in the ./docs directory."
Tips & Limitations
- Setup First: Always ensure the
config.envfile is properly sourced before attempting to run verification commands; the skill will guide you through this if you are using it for the first time. - Error Handling: If you encounter syntax errors, refer to the provided
references/syntax.mdfile for common patterns. Iteration is key, as formal proof writing often requires adjusting hints or axioms. - System Paths: The skill depends on external paths for the Acorn CLI and library. If you move your project folders, ensure you update the configuration via the provided setup prompts.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-flyingnobita-acorn-prover": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution