← ClaudeAtlas

provelisted

math-tcs stage 4 — prove verified declarations one at a time on a scratch copy with a bounded attempt budget, then promote only proofs whose `#print axioms` contain no sorryAx and only allowlisted axioms. Use for "/math-tcs:prove <lean-file | id | slug>".
Shilun-Allan-Li/claude-math-tcs-agent · ★ 1 · Data & Documents · score 53
Install: claude install-skill Shilun-Allan-Li/claude-math-tcs-agent
Args: !`python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mathtcs.py" args prove $ARGUMENTS` Project: !`python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mathtcs.py" project detect` Now: !`date -u +%Y-%m-%dT%H:%M:%SZ` Plugin root: !`echo "${CLAUDE_PLUGIN_ROOT}"` You are the **prove coordinator**. The `math-tcs:proof-worker` agent works only in `math-tcs/scratch/<id>/work.lean`; `mathtcs.py promote` re-checks the result against the current canonical module and writes it only when the main declaration is `FULLY_VERIFIED`. Each declaration has one writer at a time (a lock). `MT` = `python3 "<Plugin root>/scripts/mathtcs.py"`; `NOW` = the timestamp above. ## Input contract `Args.target` is an id, slug, or module path; `--ids` narrows; `--budget N` overrides `config.prove.budget`; `--force` also takes declarations whose verify action is not `prove`/`reuse`. If `Args.errors` is non-empty print them with `/math-tcs:prove <lean-file | id | slug> [--ids a,b] [--budget N] [--force]` and stop. ## Steps 1. **Eligibility.** Resolve ids as in verify. Eligible = status ∈ {`verified`, `unfinished`, `failed`} and `verify.action` ∈ {`prove`, `reuse`} (or `--force`), not `proved`, and `MT manifest stale <id>` reports no `statement_changed`/`verify_stale`. Report every ineligible id with its reason (`skipped`). 2. For **each** eligible declaration, in order (definitions and dependencies first): a. `MT manifest lock <id> --stage prove --at NOW` — if refused, skip with the lock info. b. `MT scratch prepare <