acorn-prover
由 flyingnobita 提供
Image & Video Generation简介
Verify and write proofs using the Acorn theorem prover for mathematical and cryptographic formalization.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: verify my proof in group_theory.ac
- 1
Source config.env to load ACORN_LIB and ACORN_PROJECT paths
- 2
Check USE_MISE flag to select correct command variant
- 3
Run acorn verify group_theory.ac against the configured library path
- 4
Display full command output to the user
- 5
If errors appear, consult syntax.md error table and suggest fixes
Verification result shown in full, with error diagnostics if the proof fails
前置要求
- 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)
安装
clawhub install flyingnobita/acorn-prover运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。