project-numina/numina-lean-agent / skills/verification
verification
VerifiedVerification tools for compiling, validating, and disproving Lean theorems
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 780 B |
| reference-axle-disprove.md | markdown | 1.5 KB |
| reference-axle-verify-proof.md | markdown | 1.7 KB |
| reference-lean-check.md | markdown | 1.2 KB |
reference-axle-verify-proof.md
View on GitHub# axle verify-proof — Verify Proof Matches Statement
Validates a candidate proof against a formal statement specification. Checks that the proof proves exactly the stated theorem (not a different, weaker, or sorry-based version).
## CLI Invocation
```bash
python skills/cli/axle.py verify-proof FORMAL_STATEMENT CONTENT --environment ENV [OPTIONS]
```
| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| `FORMAL_STATEMENT` | yes | — | Sorried theorem to verify against |
| `CONTENT` | yes | — | Candidate proof code |
| `--environment` | yes | — | Lean environment, e.g. `lean-4.28.0` |
| `--permitted-sorries` | no | none | Comma-separated theorem names allowed to contain sorry |
| `--mathlib-linter` | no | off | Enable Mathlib linters |
| `--use-def-eq` | no | on | Use definitional equality for type comparison |
| `--ignore-imports` | no | off | Ignore import mismatches |
| `--timeout-seconds` | no | 120 | Max execution time (max 300) |
## Output
Returns:
- `okay` (bool) — whether the proof is valid and matches the statement
- `failed_declarations` — names of declarations that failed verification
- `tool_messages` — detailed verification messages
## Examples
```bash
python skills/cli/axle.py verify-proof "theorem foo : 1 + 1 = 2 := by sorry" proof.lean --environment lean-4.28.0
python skills/cli/axle.py verify-proof formal_stmt.lean candidate.lean --environment lean-4.28.0 --permitted-sorries helper_lemma
```
## Notes
- The `FORMAL_STATEMENT` should be a sorried version of the theorem you want to prove.
- Use `--permitted-sorries` to allow helper lemmas to contain sorry while still verifying the main theorem.
- `AXLE_API_KEY` environment variable is required.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |