Proof review

From MechMath/MechMath-agent-team · View interactive version

Proof review is an AI agent skill from the GitHub repository MechMath/MechMath-agent-team. Use before accepting any terminal non-proof result, boundary-case counterexample, presentation-dependent disproof, or missing-context obstruction, AND whenever a human (professor, advisor, referee) voices a mathematical opinion, objection, doubt, or claim about the current proof or route; writes a t

How to use this skill

Skill file

Proof Review

Use this skill when a run is close to a user-facing result but the result is not

an already verified proof of the original statement. Its purpose is to keep

proof failure, missing context, boundary artifacts, and presentation choices from

being packaged as mathematical conclusions.

This is a workflow and packet shape, not a standalone custom agent. When the

next owner is unclear or the result may affect routing, dispatch Regulator with

this proof-review artifact as context. Regulator selects the next owner and

branch queue.

When To Use

impossible precondition, target defect, or "cannot prove from available

setup" conclusion.

mixed proof/refutation state.

otherwise exceptional case.

family, parameter range, or convention that could differ from a convenient

replacement used in the argument.

missing definitions, missing source theorems, or an unfinished route.

reports that a person — "the professor said…", "my advisor thinks…", "a

referee objects that…", "someone claims the lemma is false because…" — offers

a judgement, doubt, objection, or counter-claim about the current statement,

route, or a proof step, treat it as a proof-review trigger. Do not act on the

human opinion directly and do not fold it silently into proof.tex: open a

two-sided review that carries the opinion into the Refutation Route (if it

doubts the result) or the Proof Route (if it proposes a fix), record it under

provenance, and let a fresh Verifier / Regulator adjudicate. This is the

§2.3.1 human-in-the-loop signal — it must be routed, not obeyed.

Output

Write a short artifact in the problem workspace, normally

review/proof_review.md or a route-specific routes/proof_review_*.md. This

is a routing artifact, not a proof artifact. It may be written by the

Orchestrator as a structured workflow artifact when it only records already

available claims and routes; mathematical classification belongs to Regulator

or Verifier.

# Proof Review

## Target Reading Check
- Exact target or direction:
- Accepted parameter range and boundary conventions:
- Accepted definitions, named constructions, and presentations:
- Unresolved reading obligations:

## Proof Route
- Best available proof route:
- Missing evidence, if any:
- Next owner if pursued:

## Refutation Route
- Proposed object, contradiction, or impossible precondition:
- Hypotheses satisfied under accepted reading:
- Conclusion failure under accepted reading:
- Boundary/presentation dependence:
- Next owner if pursued:

## Decision
- Selected status: PROOF_REVISION | SOURCE_OR_DEFINITION_RECOVERY | RESKETCH |
  OBSTRUCTION_VERIFICATION | HUMAN_CLARIFICATION | FINAL_PROOF_READY
- Owner:
- File target:
- Reason:

Review Discipline

  1. Read sketch/target_contract.md, STATUS.md, the latest proof attempt or

final assembly, and the latest review packet.

  1. Record the accepted reading before scoring either side: exact claim,

direction, hypotheses, parameter range, boundary conventions, named objects,

and canonical presentations.

  1. Build both sides of the review:

read, including missing definitions, theorem statements, bridge lemmas, or

final assembly steps.

precondition, plus the hypotheses it satisfies and the conclusion it

falsifies.

  1. Stress-test presentation choices. If the target specifies a canonical

presentation, construction, or generating family, do not replace it by a

minimal or more convenient presentation unless an accepted bridge proves the

replacement preserves the target conclusion.

  1. Stress-test boundary cases. A degenerate or endpoint case supports a

terminal obstruction only when the target contract includes that case under

the same definitions and the conclusion fails there under the accepted

presentation.

  1. Select exactly one next status and owner. If the refutation route is

plausible but lacks a concrete object or contradiction, use RESKETCH or

PROOF_REVISION with owner CE-Hunter. Choose

OBSTRUCTION_VERIFICATION only if the refutation route already contains a

concrete mathematical obstruction that can be sent to a fresh Verifier. If

the artifact mixes several distinct blockers

blockers and the next owner is not clear, use a restart status with owner

Regulator.

  1. Before using the selected status, run

uv run python cli_tools/gate.py proof-review <proof_review_file>.

A lint failure means the artifact is still routing state; fix the review or

send the blocker to the selected owner before any terminal answer.

  1. The completion gate inspects review/proof_review.md when it exists.

Restart statuses are incompatible with completion, and

OBSTRUCTION_VERIFICATION also requires an accepted obstruction packet

supplied to the gate with --packet.

Hard Stops

context, or exhausted attempts as a mathematical obstruction.

generating data, or parameter domain without an accepted bridge.

reading treats that case as a separate convention or unresolved definition

obligation.

the selected branch later receives the required verification artifacts.

said…", "a referee objected…", or any record of who raised a doubt must never

appear in the proof text. The opinion is a routing signal only; it lives in

review/proof_review.md and provenance. The final proof.tex carries clean

mathematics that reads as an ordinary proof, with no trace of the review

exchange.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.