计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
for inline math and `$...$` for display equations\n- never write math in plain text\n- if the proof uses an equivalent normalization that is stronger in appearance than the user's original theorem statement, label it explicitly as a proof device and keep the original claim separate\n\n### Step 6: Final Verification\nBefore finishing the target proof file, verify:\n- the theorem statement exactly matches what was actually shown\n- every assumption used is stated\n- every nontrivial implication is justified\n- every inequality direction is correct\n- every cited result is applicable under the stated assumptions\n- edge cases are handled or explicitly excluded\n- no hidden dependence on an unproved lemma remains\n\nIf a key step still cannot be justified, downgrade the status and write a blockage report instead of forcing a proof.\n\n## Required File Structure\n\nWrite the target proof file using this structure:\n\n```md\n# Proof Package\n\n## Claim\n[exact statement]\n\n## Status\nPROVABLE AS STATED / PROVABLE AFTER WEAKENING / NOT CURRENTLY JUSTIFIED\n\n## Assumptions\n- ...\n\n## Notation\n- ...\n\n## Proof Strategy\n[chosen approach and why]\n\n## Dependency Map\n1. Main claim depends on ...\n2. Lemma A depends on ...\n3. Step k uses ...\n\n## Proof\nStep 1. ...\nStep 2. ...\n...\nTherefore the claim follows. ∎\n\n## Corrections or Missing Assumptions\n- [only if needed]\n\n## Open Risks\n- [remaining fragile points, if any]\n```\n\n## Output Modes\n\n### If the claim is provable as stated\nWrite the full file structure above with a complete proof.\n\n### If the original claim is too strong\nWrite:\n- why the original statement is not justified\n- the corrected claim\n- the minimal extra assumption if one exists\n- a proof of the corrected claim\n\n### If the proof cannot be completed honestly\nWrite:\n- `Status: NOT CURRENTLY JUSTIFIED`\n- the exact blocker: missing lemma, invalid implication, hidden assumption, or counterexample direction\n- what extra assumption, lemma, or derivation would be needed to finish the proof\n- a corrected weaker statement if one is available\n\n## Chat Response\n\nAfter writing the target proof file, respond briefly with:\n- status\n- whether the original claim survived unchanged\n- what file was updated\n\n## Key Rules\n\n- Never fabricate a missing proof step.\n- Prefer weakening the claim over overclaiming.\n- Separate assumptions, derived facts, heuristics, and conjectures.\n- Preserve the user's original theorem statement unless you explicitly mark a corrected claim or an internal normalization.\n- If the statement is false as written, say so explicitly and give a counterexample or repaired statement.\n- If uncertainty remains, mark it explicitly in `Open Risks`; do not hide it inside polished prose.\n- Correctness matters more than brevity.\n\n","licenseDocuments":[]}}
proof-writer【效率与协作】Writes rigorous mathematical proofs for ML/AI theory. Use when asked to prove a theorem, lemma, proposition, or corollary, fill in missing proof steps, formalize a proof sketch, 补全证明, 写证明, 证明某个命题, or determine whether a claimed proof can actually be completed under the stated assumptions.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Write a mathematically honest proof package, not a polished fake proof.
PROOF_PACKAGE.md in project rootPROVABLE AS STATED | PROVABLE AFTER WEAKENING / EXTRA ASSUMPTION | NOT CURRENTLY JUSTIFIEDProduce exactly one of:
Extract and normalize:
If notation or assumptions are ambiguous, state the exact interpretation you are using before proving anything.
Determine the target proof file with this priority:
PROOF_PACKAGE.md in project root as the default targetRead the relevant local context:
Extract:
Restate:
Identify:
Preserve the user's original theorem statement unless a change is explicitly required. If you use a stronger normalization or cleaner internal formulation only to make the proof easier, keep that as an internal proof device rather than silently replacing the original claim.
When the user requests Lean, or formalizing a specific proof obligation would
materially help establish correctness, invoke
/lean-formalize with the original statement,
current attempt, and known dependencies. It develops the proof as well as its
formal implementation. Return the checked scope, exported theorem and remaining
obligations to this proof package. A partial result closes only its corresponding
obligation. When called by lean-formalize to develop a missing mathematical
argument, return that argument and remaining gaps to the calling Lean run;
do not invoke lean-formalize recursively. Ordinary proof drafting does not
require Lean; difficulty alone does not trigger it.
Before writing a proof, classify the claim into exactly one status:
PROVABLE AS STATEDPROVABLE AFTER WEAKENING / EXTRA ASSUMPTIONNOT CURRENTLY JUSTIFIEDCheck explicitly:
If the claim is not provable as stated, do NOT fabricate a proof. Do NOT silently strengthen assumptions or narrow the theorem's scope just to make the proof work.
Choose a proof strategy, for example:
Then write a dependency map:
If one step is substantial, isolate it as a lemma instead of burying it in one sentence.
Write to the chosen target proof file.
If the target proof file already exists:
If the user does not specify a target, default to PROOF_PACKAGE.md in project root.
Do NOT write directly into paper sections or appendix .tex files unless the user explicitly asks for that target.
The proof package must include:
Mathematical rigor requirements:
$...$ for inline math and $...$ for display equationsBefore finishing the target proof file, verify:
If a key step still cannot be justified, downgrade the status and write a blockage report instead of forcing a proof.
Write the target proof file using this structure:
# Proof Package
## Claim
[exact statement]
## Status
PROVABLE AS STATED / PROVABLE AFTER WEAKENING / NOT CURRENTLY JUSTIFIED
## Assumptions
- ...
## Notation
- ...
## Proof Strategy
[chosen approach and why]
## Dependency Map
1. Main claim depends on ...
2. Lemma A depends on ...
3. Step k uses ...
## Proof
Step 1. ...
Step 2. ...
...
Therefore the claim follows. ∎
## Corrections or Missing Assumptions
- [only if needed]
## Open Risks
- [remaining fragile points, if any]
Write the full file structure above with a complete proof.
Write:
Write:
Status: NOT CURRENTLY JUSTIFIEDAfter writing the target proof file, respond briefly with:
Open Risks; do not hide it inside polished prose.