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.
Check each statement and subproof in order and log all local issues.
Assume:
Proof is markdown text.Statement contains the target theorem statement and its hypotheses.Do not split the proof with utility code. Read the markdown in order and use its own structure.
Statement before checking the proof.proof paragraph 2.Statement are actually used in the proof.critical_error: logical contradiction, invalid theorem use, false implication.gap: missing derivation, vague justification, unsupported step, or suspiciously unused assumptions whose role is not justified.statement_checks using memory_append.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."}
]
}
memory_appendmemory_query