Skip to content
TakoAPI
Back to skills

acorn-prover

by flyingnobita

Image & Video Generation
1.4kDownloads reported by clawskills.sh
1Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Verify and write proofs using the Acorn theorem prover for mathematical and cryptographic formalization.

Description

What This Skill Does

Acorn Prover integrates the Acorn theorem prover into an AI agent workflow for writing and verifying formal proofs. It supports mathematical and cryptographic protocol formalization using Acorn's language and standard library. Handles verification, CI reverification, training data generation, and documentation generation.

Automates the verify-debug-iterate loop with direct CLI integration, so proof errors surface immediately without manual command construction.

When to Use It

  • Verifying a cryptographic protocol proof in an .ac file
  • Running proof verification in a CI/CD pipeline
  • Formalizing natural number theorems using acornlib
  • Generating training data pairs from existing proofs
  • Producing reference docs from the Acorn standard library

Example Workflow

INPUT

User asks: verify my proof in group_theory.ac

AGENT
  1. 1

    Source config.env to load ACORN_LIB and ACORN_PROJECT paths

  2. 2

    Check USE_MISE flag to select correct command variant

  3. 3

    Run acorn verify group_theory.ac against the configured library path

  4. 4

    Display full command output to the user

  5. 5

    If errors appear, consult syntax.md error table and suggest fixes

OUTPUT

Verification result shown in full, with error diagnostics if the proof fails

Requirements

  • Acorn CLI installed and available on PATH
  • acornlib directory (ACORN_LIB path provided by user)
  • Acorn project directory for .ac files (ACORN_PROJECT path provided by user)

Installation

clawhub install flyingnobita/acorn-prover

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links