跳到正文
TakoAPI
返回技能列表

acorn-prover

由 flyingnobita 提供

Image & Video Generation
1.4k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

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 或你在用的任意编程智能体里。

链接