Verify proof

From frenzymath/Rethlas · View interactive version

Verify proof is an AI agent skill from the GitHub repository frenzymath/Rethlas. Verify candidate proofs with the local proof verification MCP service. Use only when a full candidate proof of the entire problem has been assembled in markdown, and before publishing the final verified blueprint.

How to use this skill

Skill file

Verify Proof

Use the local proof verification service as the canonical verifier before accepting a solution.

Do not use this skill for partial proofs, isolated subgoals, or branches that have not yet produced a full proof draft of the whole problem.

Input Contract

Read:

Procedure

  1. Read the current results/{problem_id}/blueprint.md draft as pure text.
  2. First check that blueprint.md contains a full proof draft of the entire target theorem rather than a partial proof, fragment, or exploratory notes. If it does not, do not call the verifier yet.
  3. Call MCP tool verify_proof_service with:
  1. Read verification_report.summary, critical_errors, gaps, verdict, and repair_hints.
  2. Return and persist exactly what the verification service returns. Do not rename keys, add keys, or change the JSON structure.
  3. Treat the proof as failed if any of the following hold:
  1. Only treat the proof as passed when none of the failure conditions above hold.
  2. If the proof passes, rename results/{problem_id}/blueprint.md to results/{problem_id}/blueprint_verified.md.

Output Contract

Append to verification_reports:

{
  "verification_report": {
    "summary": "string",
    "critical_errors": [
      {"location": "", "issue": "detailed description of the issue"}
    ],
    "gaps": [
      {"location": "", "issue": "detailed description of the gap"}
    ]
  },
  "verdict": "string",
  "repair_hints": "string"
}

Persist the verification service response exactly as returned.

If verification fails, revise blueprint.md directly and append to failed_paths when a branch is invalidated.

MCP Tools

Failure Logging

Always persist verification output, including successful checks.

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.