Verify sequential statements

From frenzymath/Rethlas · View interactive version

Verify sequential statements is an AI agent skill from the GitHub repository frenzymath/Rethlas. Verify a markdown proof in the order it is written. Use when the task is to check local correctness, theorem applicability, and reasoning gaps statement by statement through a paper-style proof.

How to use this skill

Skill file

Verify Sequential Statements

Check each statement and subproof in order and log all local issues.

Input Contract

Assume:

Do not split the proof with utility code. Read the markdown in order and use its own structure.

Procedure

  1. Extract the assumptions and hypotheses from Statement before checking the proof.
  2. Iterate through the statements/subproofs in the order they appear in the markdown.
  3. For each item, determine a location key:
  1. Check local reasoning:
  1. Pay special attention to assumptions that an object exists or satisfies a property. Sometimes such an object has not been constructed, or it exists but has not been proved to satisfy the claimed property.
  2. Audit whether the assumptions from Statement are actually used in the proof.
  3. If some assumptions seem unused, do not assume they are harmless. Reason carefully about whether:
  1. Classify findings:
  1. Persist each checked item to statement_checks using memory_append.

Output Contract

Append records to statement_checks with structure like:

{
  "location": "Lemma 3",
  "status": "checked",
  "critical_errors": [
    {"location": "Lemma 3", "issue": "Incorrect implication from A to B."}
  ],
  "gaps": [
    {"location": "Lemma 3", "issue": "Missing justification of boundedness."}
  ]
}

MCP Tools

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.