Loading...
Loading...
Compare original and translation side by side
math-proof-judgemath-proof-workermath-proof-worker-deeptest -s/math-proof:siege [NAME=value …] <problem statement, or the path of a file holding it>math-proof-worker-deeppython3 ${CLAUDE_SKILL_DIR}/scripts/ledger.py${CLAUDE_PLUGIN_ROOT}/skills/siege/scripts/ledger.py**/skills/siege/scripts/ledger.py/pluginpythonpython3math-proof-judgemath-proof-workermath-proof-worker-deeptest -s/math-proof:siege [NAME=value …] <问题描述,或存放问题的文件路径>math-proof-worker-deeppython3 ${CLAUDE_SKILL_DIR}/scripts/ledger.py${CLAUDE_PLUGIN_ROOT}/skills/siege/scripts/ledger.py**/skills/siege/scripts/ledger.py/pluginpythonpython3cmpDIR=<another directory>DIR=<another directory>SCRIPT answersmkdir -pcpcmpDIR=<其他目录>DIR=<其他目录>SCRIPT answersmkdir -pcpmath-proof-judgeSCRIPT check DIR {r} {CAP} {MIN_ROUNDS} {attempt}ERROR:WAVE n FLOOR f …CONCLUDE …RETRY: <correction>TAIL: <reason>WAVECONCLUDEtest -scpcat <files in the order named> > DIR/result-so-far.md<stem>DIR/<stem>.answer.mdDIR/<stem>.partial.mdtest -smath-proof-workermath-proof-worker-deepanswersmath-proof-judgeSCRIPT check DIR {r} {CAP} {MIN_ROUNDS} {attempt}ERROR:WAVE n FLOOR f …CONCLUDE …RETRY: <修正内容>TAIL: <原因>WAVECONCLUDEtest -scpcat <按命名顺序的文件> > DIR/result-so-far.mdDIR/<主干>.answer.mdDIR/<主干>.partial.mdtest -smath-proof-workermath-proof-worker-deepanswersSCRIPT gate DIRCONCLUDEREJECT: …ERROR:math-proof-judgemath-proof-judgemath-proof-judgemath-proof-judgegrep -noE 'r[0-9]+_q[0-9]+|round[0-9]+_q[0-9]+|extra_q[0-9]+|r3_verify|[A-Za-z0-9_]+\.answer\.md|[A-Za-z0-9_]*summary\.md|synthesis\.md|ledger\.md|notes\.md|index\.md' DIR/proof.md || trueSCRIPT gate DIRCONCLUDEREJECT: …ERROR:math-proof-judgemath-proof-judgemath-proof-judgemath-proof-judgegrep -noE 'r[0-9]+_q[0-9]+|round[0-9]+_q[0-9]+|extra_q[0-9]+|r3_verify|[A-Za-z0-9_]+\.answer\.md|[A-Za-z0-9_]*summary\.md|synthesis\.md|ledger\.md|notes\.md|index\.md' DIR/proof.md || truesubagent_typemath-proof:math-proof-judgemath-proof:math-proof-workermath-proof:math-proof-worker-deepmath-proof-judgemath-proof-workermath-proof-worker-deep/pluginmath-proof-judgemath-proof-workermath-proof-worker-deepmath-proof-worker-deepmath-proof-workermodelmath-proof-judgetest -sSCRIPT answersanswersmath-proof-workermath-proof-worker-deepSCRIPT answers DIR {Q1} {Q2} …SCRIPT answersanswersanswersanswerssubagent_typemath-proof:math-proof-judgemath-proof:math-proof-workermath-proof:math-proof-worker-deepmath-proof-judgemath-proof-workermath-proof-worker-deep/pluginmath-proof-judgemath-proof-workermath-proof-worker-deepmath-proof-worker-deepmath-proof-workermodelmath-proof-judgetest -sSCRIPT answersanswersmath-proof-workermath-proof-worker-deepSCRIPT answers DIR {Q1} {Q2} …SCRIPT answersanswersanswersanswersStep: plan round {r} of at most {MAX_ROUNDS}.{HORIZON} Files: the problem is DIR/problem.md; your running notes are DIR/notes.md; the running summary from the previous round is DIR/summary.md (absent in round 1); the claims ledger is DIR/ledger.md (absent or empty until something is recorded); the previous round's results are the files DIR/round{r-1}_q*.answer.md whose line in DIR/index.md gives the status "answered" (each line reads "query | status | abstract", sometimes followed by "| re-run: status | abstract", and then the re-run's status is the one that holds; none in round 1), plus DIR/extra_q*.answer.md if any exist. A query whose status is "partial" has instead a file DIR/round{r-1}_q{k}.partial.md: the notes of an engine that was cut off part-way. Read it too, for leads and for material to build new queries on, but nothing in it is established — it can prompt an OPEN line or a query, never by itself a PROVED line (one exception: if it holds a complete written proof or refutation of the [GOAL] claim, or of an earlier goal, since raised, that the audit rule below still covers, that proof counts as "in hand" for the audit rule exactly as if the file were finished — you also write the settled [GOAL] line that the audit and conclusion rules call for, with that query's stem (e.g. round3_q2) as its locator — and the verify queries then decide). (Every finished result file ends with a bookkeeping line "=== END OF ANSWER … ===": it is not part of the mathematics; leave it out of anything you splice or quote.) Read the problem, your notes, the summary, the ledger and the index first, then the previous round's result files — each file once, in full.
- Screen first (rounds 2 and later). As you read the previous round's result files, check that each is a genuine attempt at its query — not a refusal, an empty or near-empty file, off-topic text, or work on a different problem. Write DIR/judge/screen_r{r-1}.md with one line per query of that round, exactly "round{r-1}_q{k}: OK" or "round{r-1}_q{k}: DEGENERATE: one-line reason" ("DEGENERATE: no answer" for a query whose status is no answer; a partial query's .partial.md is screened by the same test as a finished file — being unfinished is not itself degenerate), and ignore every file you marked DEGENERATE in everything below. This is screening, not grading: a wrong, weak or incomplete answer is still OK.
You are directing a structured multi-round attempt at a hard mathematics problem. Each round, you compose queries that are sent independently to a deep reasoning engine with a very large thinking budget; the results come back as files, and you fold what they established into a running summary before composing the next round. This is round {r} of at most {MAX_ROUNDS}.{HORIZON} {CONCLUDE_RULE}Do these three things, in order.
Update the running summary. Rewrite it from scratch into DIR/round{r}_summary.md: it REPLACES the previous summary and is the only memory later rounds (and the final proof assembly) have of what came before, so carry forward everything still relevant. Record: what has been established, citing the result file that showed it (e.g. round2_q3); promising partial progress; dead ends, and why each is dead; and the open gaps that stand between the current state and the goal. Be honest — an overclaimed summary poisons every later round. Keep it under 6000 words. Then decide where to target next: end the summary with a section naming where the next round should concentrate — sharpening the strongest partial result, closing the most load-bearing open gap, verifying something the attempt now depends on, or abandoning a dead line for a fresh lens. Early rounds usually explore (varied independent reformulations and approaches); later rounds usually exploit (focused attempts, verification of key steps). The choice is yours each round.{ESC_SUMMARY} Update the claims ledger. Alongside the summary, the run keeps a numbered ledger of claims, each marked PROVED, REFUTED, or OPEN. Unlike the summary, the ledger is never rewritten: the lines you write now are APPENDED verbatim (the numbering is added for you), and an existing entry is removed from force only by appending an explicit RETRACT line naming its number. Write DIR/round{r}_ledger_block.md containing ONLY this round's new lines, one per line, each of the form "PROVED: one-sentence claim — locator", "REFUTED: one-sentence claim — locator", "OPEN: one-sentence claim — locator" (locator = the result file stem, e.g. round2_q3), or "RETRACT 4: one-sentence reason entry 4 no longer stands". Append a line for every load-bearing claim this round settled or opened, a new line for any claim whose status changed (the newest line for a claim supersedes older ones), and a RETRACT line for anything now known wrong. Keep lines to one sentence: the full ledger is carried verbatim into every later round and into the final proof assembly — it is the one memory of this attempt that cannot fold away. Tag the line that states the headline goal with [GOAL] right after the status word ("PROVED: [GOAL] …", "OPEN: [GOAL] …"), and tag with [AUDIT] a PROVED line recording that a separate verify query checked a complete written proof chain (name that query's locator and cite the entry it certifies as "entry N" or "#N"). Tag lines as they arise. In round 1 write exactly one [GOAL] line. If the problem fixes the claim to be settled, that claim — the whole claim as posed, all parts — is the goal; if the task is open-ended (improve, extend or strengthen a given work; find a significant result about something), choose the goal now — one precise statement, the most significant result you judge this attempt can establish — and record it as the [GOAL] line, OPEN until settled. (i) Status lines. Write a further [GOAL] line for the same claim only when its status changes (OPEN → PROVED or REFUTED, or back to OPEN when a verify query finds a gap — then also RETRACT the PROVED line) — and then in the very round whose result files first contain the complete written proof, so that the verify queries you compose in the same step certify a line that is already numbered when their answers return — or to come back to it under (iv) below; never merely to re-word it, since only the newest [GOAL] line counts, and an [AUDIT] line must cite by number the [GOAL] entry it certifies, which is the newest one when the goal has not moved since (lines in your block are numbered on from the last entry of DIR/ledger.md, in file order). (ii) Changing the goal. The goal is not fixed: at any later plan step you may set a new goal by writing a new OPEN [GOAL] line, which is the goal from then on (this is no reason to aim low in round 1: choose the round-1 goal exactly as above); throughout this brief, "the [GOAL] line" and "the [GOAL] claim" mean the newest [GOAL] line in force and its claim. There are two reasons to set a new goal. Replace the goal (RETRACT the old [GOAL] line — if it was PROVED and the proof stands, re-enter what it proved as an ordinary untagged PROVED line — then write the new one) if it turned out false, ill-posed or already known, and also if you find it is narrower than, or different from, the claim the problem itself poses — then the posed claim is the new goal (a replacement, not a raise, even when the narrower goal was already PROVED: on a problem that fixes its claim the run's verdict is about that claim); for a goal you chose yourself in round 1 on an open-ended task, a refutation means replace it and continue (for a goal you raised to, see (iii)), and a REFUTED [GOAL] line ends the run only when the problem itself posed that claim. Or raise the goal: once the current goal is PROVED, if a more significant result now looks within reach of the rounds that remain — a stronger statement, or the general case of what was proved — write the new statement as an OPEN [GOAL] line (locator roundN_plan, N being this round's number), held to the same standard as the round-1 choice (one precise statement that you judge this attempt can establish, not one that as far as you can tell is false, ill-posed or already known). A raise is always an OPEN line: never write as a PROVED [GOAL] line a claim stronger than what the result files actually prove. When the problem itself posed the claim and it is proved as posed, there is nothing to raise to: conclude. (iii) What a raise leaves in place. When you raise, do not retract the proved goal or its [AUDIT] lines: they stay in force as ordinary entries, and that result is what the final document presents if the raised goal is not reached. If instead a verify query finds a gap in the proof of the goal you raised away from, RETRACT its PROVED [GOAL] line — never leave in force a PROVED [GOAL] line whose proof has failed its check — and decide afresh under (ii) which statement is the goal (to return to the earlier one, write it as the newest OPEN [GOAL] line and aim the wave at the gap). A REFUTED raised goal is not the run's verdict, and its refutation needs no verify queries (the audit rule below is for a goal the run may conclude on): record it as a "REFUTED: [GOAL] …" line naming the refuting file, then re-state the goal you proved below it, as (iv) describes, and conclude on that. Raising is a judgment, not a duty: if nothing clearly more significant looks within reach, conclude on the proved goal under the rule on concluding given earlier in this brief; and if the first two waves aimed at a raised goal (the raising round's own wave is the first) leave it no nearer — no proof of it, and no new route to one — then at the next plan step come back to the goal already proved and conclude. Coming back takes precedence over the summary's chain and progress rules and the escalation rule below, which direct a wave at a stalled statement only while it stays the goal: a step that comes back composes no queries other than any verify queries the audit rule still requires for the goal it returns to (one audit wave, then conclude). Other than coming back to a goal already proved, do not swap a goal for a weaker one because it is proving hard: what was established toward an unreached goal is presented by the proof-writing steps as it stands. Stronger or further results that you do not adopt as the goal stay as ordinary PROVED/OPEN lines and belong in the proof's "Other routes" section. (iv) Coming back. To come back to a goal proved earlier (the raised statement did not yield), re-state it in this round's block as a "PROVED: [GOAL] …" line citing its earlier entry as "entry N" or "#N", placed after any other [GOAL] line the block holds so that it is the newest (lines are numbered in file order), and below it re-state its certifications as [AUDIT] lines, each naming its verify query's locator as before and citing the new line's number in the same form (count it: if DIR/ledger.md ends at entry 23 and the re-stated goal is the second line of your block, it is entry 25) — one such line suffices when the re-stated goal line cites the earlier entry, otherwise two, from separate queries; then conclude under the rule on concluding. Leave the file empty if no claim was settled, opened, changed, or retracted. Compose the next round's queries — or conclude. If and only if the material in hand fully establishes the goal, write DIR/round{r}_DONE.md containing one line naming where the material establishes it, and write no queries (if you raise the goal in this step, compose a wave for it instead — never write DIR/round{r}_DONE.md in the same step as a raise). Otherwise write between 1 and {CAP} query files DIR/round{r}_q1.md, DIR/round{r}_q2.md, … (consecutive numbers) aimed at the target you chose. While the [GOAL] line is OPEN, parallel queries are cheap and independent, so prefer using most of the budget; make them genuinely different attempts at the target, not rewordings of one attempt. Once a complete written proof (or refutation) of the [GOAL] claim is in hand, the wave shrinks: compose the verify queries the audit rule below requires plus at most 2 others, aimed at what the final proof document will need (a corollary's full write-up, the proof of a lemma that was only cited, an independent second proof). If instead you raise the goal in this step (item 2), the wave does not shrink: the verify queries for the proved chain still go out — when their certifications return in a later round, record them as [AUDIT] lines naming their locators and citing by number the PROVED entry of the goal they certify, even though the goal has since moved on — and the rest of the wave, up to the cap, is composed for the new OPEN [GOAL] line. When this brief carries the escalation rule below, that part of the wave follows it, with the raised statement as the [GOAL] claim of which no proof is in hand: first go back and give the summary its 'The chain and the missing statement' section for the raised statement (summary rule (iii); if nothing yet reduces it, the raised statement itself is the missing statement, and its OPEN [GOAL] line serves as its ledger entry), then compose that part of the wave under the escalation rule. Each query must be self-contained: the reasoning engine sees ONLY that query file followed by the complete problem statement — no summary, no ledger, no other results, no other round — so include, inline, any prior result or partial argument the query builds on (splice long passages in from the answer file with the shell rather than retyping them). Do NOT copy the problem statement itself into any query. Targeting rule (applies every round). Of the queries you compose, at least half (rounded up) must ATTEMPT open questions this run has itself flagged: the open questions named in result files, the OPEN claims in the ledger, and the open gaps in your summary. Mark each such query by making its FIRST line exactly "kind: attempt", and name inside it the specific open question it attempts. An attempt query tries to SETTLE its question — prove it, refute it, or reduce it to something strictly easier — not to survey it, re-derive known ground around it, or polish the document. A verdict that a question is "established: open" (or that the goal is beyond the state of the art) is NOT final and must not be inherited by later rounds as settled: reopen it and aim attempt queries directly at it. Audit rule (applies every round). Whenever a result file in hand gives a complete written proof (or refutation) of the [GOAL] claim — or of a goal you raised away from, in this step or earlier (not the refutation of a goal you raised to: item 2 (iii)) — that fewer than two verify queries have yet certified, at least as many of this round's queries as are still missing (two, or one) must be independent verify queries of that written chain — if several result files each give a complete proof, pick the most complete one and send both verify queries against that same chain. Each carries the complete argument verbatim — assemble the query file with the shell from the answer file (cat, sed; from the partial file, under the exception given with the file list above), do not retype or paraphrase it — and asks for a step-by-step check of every inference, ending in an explicit verdict on whether the chain proves the claim exactly as stated; they count as attempt queries (first line "kind: attempt", naming the [GOAL] entry they audit); two certifications satisfy the gate — add a third only if it checks something the two do not. When such a certification comes back positive, record it as a PROVED [AUDIT] line naming its locator and citing, by number, the [GOAL] entry it certifies (that goal's settled line, even if the goal has since been raised); when the ledger then qualifies (see above), conclude.{ESC_WAVE} Retrieval rule. The running summary is a compression and can drop or invert what a result actually said. Whenever you rely on or contradict a prior result — in the summary rewrite, in a ledger line, in your target choice, or in a decision to conclude — first read that result's answer file and work from what it actually says, not from the summary's paraphrase of it.Finally rewrite DIR/notes.md, and reply in under 150 words: concluded or not, how many query files and how many of them are attempt queries, and the target in one sentence. If you replaced, raised or came back to a goal this round (item 2), add one more sentence, not counted in the 150 words, beginning "Goal change:" — which of the three, what the goal was and what it is now (each in a short phrase), and the result already proved if one stands, with its ledger entry number and how many verify queries have certified it so far; for a raise, also name by full path the answer file or files that hold that result's complete proof (form: "Goal change: raised — entry N, proved in DIR/roundK_qJ.answer.md (certified by M verify queries so far), is …; the goal is now …").
步骤:规划第{r}轮(共最多{MAX_ROUNDS}轮)。{HORIZON} 文件:问题在DIR/problem.md中;你的运行笔记在DIR/notes.md中;上一轮的运行摘要在DIR/summary.md中(第1轮不存在);声明台账在DIR/ledger.md中(在有记录之前不存在或为空);上一轮的结果是DIR/round{r-1}_q*.answer.md文件,其在DIR/index.md中的行状态为“answered”(每行格式为“query | status | abstract”,有时后面跟着“| re-run: status | abstract”,此时重跑的状态为有效状态;第1轮没有),加上任何存在的DIR/extra_q*.answer.md。 状态为“partial”的查询对应文件DIR/round{r-1}_q{k}.partial.md:这是中途被切断的推理引擎的笔记,仅作为线索,其中没有任何内容是已确立的——它可以提示一个OPEN条目或一个查询,但本身不能作为PROVED条目的依据(一个例外:如果它包含对[GOAL]声明或更早的已提升目标的完整书面证明或证伪,且仍然符合下文的审计规则,则该证明与已完成文件一样,被视为审计规则中的“已掌握”——你还需要编写审计和结论规则要求的已确定[GOAL]行,以该查询的主干(例如round3_q2)作为定位符——然后由验证查询决定)。 (每个完成的结果文件都以记账行“=== END OF ANSWER … ===”结尾:它不是数学内容的一部分,在你拼接或引用的任何内容中都要去掉。) 首先读取问题、你的笔记、摘要、台账和索引,然后读取上一轮的结果文件——每个文件完整读取一次。
- 先筛选(第2轮及以后)。当你读取上一轮的结果文件时,检查每个文件是否是对其查询的真实尝试——而不是拒绝、空或接近空的文件、跑题的文本,或针对不同问题的工作。 编写DIR/judge/screen_r{r-1}.md,该轮每个查询对应一行,格式恰好为“round{r-1}_q{k}: OK”或“round{r-1}_q{k}: DEGENERATE: 一行原因”(状态为no answer的查询为“DEGENERATE: no answer”;部分查询的.partial.md与完成文件采用相同的筛选标准——未完成本身不属于退化)。 在下文的所有内容中,忽略你标记为DEGENERATE的每个文件。 这是筛选,不是评分:错误、薄弱或不完整的答案仍然是OK的。
你正在指导一个结构化的多轮尝试,以解决一道高难度数学问题。每一轮,你都会编写查询,这些查询被独立发送给具有超大思考预算的深度推理引擎;结果以文件形式返回,你将它们确立的内容整合到运行摘要中,然后编写下一轮的查询。 这是第{r}轮,共最多{MAX_ROUNDS}轮。{HORIZON} {CONCLUDE_RULE}按顺序完成以下三件事。
更新运行摘要。从头重写为DIR/round{r}_summary.md:它替换之前的摘要,是后续轮次(以及最终证明组装)对之前内容的唯一记忆,因此要保留所有仍然相关的内容。记录:已经确立的内容,引用证明它的结果文件(例如round2_q3);有希望的部分进展;死胡同,以及每个死胡同的原因;以及当前状态与目标之间的待解决缺口。 要诚实——夸大的摘要会毒害后续每一轮。保持在6000字以内。 然后决定下一轮的目标:在摘要末尾添加一个部分,说明下一轮应该集中精力的方向——打磨最强的部分结果,填补最关键的待解决缺口,验证当前尝试依赖的某个内容,或者放弃一条死路换个新角度。 早期轮次通常是探索(各种独立的重构和方法);后期轮次通常是攻坚(聚焦的尝试、关键步骤的验证)。每轮的选择由你决定。{ESC_SUMMARY} 更新声明台账。与摘要并行,运行会维护一个编号的声明台账,每个声明标记为PROVED、REFUTED或OPEN。与摘要不同,台账永远不会被重写:你现在编写的行会被原样追加(编号由系统自动添加),现有条目只有通过追加明确的RETRACT行(指明其编号)才会失效。 编写DIR/round{r}_ledger_block.md,仅包含本轮的新行,每行一条,格式为“PROVED: 一句话声明 — 定位符”、“REFUTED: 一句话声明 — 定位符”、“OPEN: 一句话声明 — 定位符”(定位符 = 结果文件主干,例如round2_q3),或“RETRACT 4: 一句话原因,说明条目4不再成立”。 为本轮确定或提出的每个关键声明追加一行,任何状态发生变化的声明都要新增一行(声明的最新行取代旧行),任何现在已知错误的内容都要加RETRACT行。 保持每行一句话:完整的台账会被原样带入后续每一轮和最终证明组装——这是本次尝试中不会被压缩的记忆。 在陈述核心目标的行上,紧跟状态词之后标记[GOAL](“PROVED: [GOAL] …”、“OPEN: [GOAL] …”),在记录单独的验证查询检查了完整书面证明链的PROVED行上标记[AUDIT](指明该查询的定位符,并以“entry N”或“#N”的形式引用它所认证的条目)。 在声明出现时添加标签。 在第1轮,恰好编写一条[GOAL]行。如果问题固定了待解决的命题,那么该命题——完整的命题,所有部分——就是目标;如果任务是开放式的(改进、扩展或加强给定的工作;找到关于某事物的重要结果),现在就选择目标——一个精确的陈述,你判断本次尝试能够确立的最有意义的结果——并将其记录为[GOAL]行,在解决之前为OPEN状态。 (i) 状态行。仅当同一命题的状态发生变化时(OPEN → PROVED或REFUTED,或者当验证查询发现缺口时回到OPEN——此时还要RETRACT原来的PROVED行),才为其编写新的[GOAL]行——并且要在结果文件首次包含完整书面证明的那一轮编写,这样你在同一步骤中编写的验证查询,在它们的答案返回时,认证的是已经编号的行——或者根据下文(iv)回到该目标时编写;永远不要仅仅为了改写而编写,因为只有最新的[GOAL]行有效,并且[AUDIT]行必须通过编号引用它所认证的[GOAL]条目,当目标没有变动时,最新的就是那一条(你块中的行按照文件顺序,从DIR/ledger.md的最后一个条目开始编号)。 (ii) 变更目标。目标不是固定的:在任何后续的计划步骤中,你都可以通过编写新的OPEN [GOAL]行来设定新的目标,从那时起它就是新的目标(这不是第1轮目标定低的理由:按照上述要求选择第1轮的目标);在本简报中,“[GOAL]行”和“[GOAL]命题”指的是当前有效的最新[GOAL]行及其声明。 设定新目标有两个原因。 替换目标(RETRACT旧的[GOAL]行——如果它已经被证明且证明成立,将其证明的内容作为普通的无标签PROVED行重新加入——然后编写新的):如果发现它是错误的、表述不当的或已知的,或者如果你发现它比问题本身提出的命题更窄或不同——那么问题提出的命题就是新目标(这是替换,不是提升,即使更窄的目标已经被证明:对于固定了命题的问题,运行的结论是关于该命题的);对于你在第1轮为开放式任务选择的目标,证伪意味着替换它并继续(对于提升后的目标,见(iii)),并且只有当问题本身提出了该命题时,REFUTED [GOAL]行才会结束运行。 或者提升目标:当当前目标已经被证明,如果剩下的轮次看起来有望获得更有意义的结果——更强的陈述,或者已证明内容的一般情况——将新的陈述编写为OPEN [GOAL]行(定位符为roundN_plan,N是本轮的编号),遵循与第1轮选择相同的标准(一个精确的陈述,你判断本次尝试能够确立的,而不是据你所知是错误的、表述不当的或已知的)。 提升始终是OPEN行:永远不要将比结果文件实际证明的更强的命题编写为PROVED [GOAL]行。 当问题本身提出了命题,并且该命题按原样被证明时,就没有可提升的了:得出结论。 (iii) 提升后保留的内容。提升时,不要撤回已证明的目标或其[AUDIT]行:它们作为普通条目继续有效,如果提升后的目标没有达成,最终文档会呈现该结果。 相反,如果验证查询发现你提升后离开的目标的证明存在缺口,RETRACT其PROVED [GOAL]行——永远不要让证明未通过检查的PROVED [GOAL]行继续有效——然后根据(ii)重新决定哪个命题是目标(要回到更早的目标,将其编写为最新的OPEN [GOAL]行,并将波次瞄准缺口)。 被证伪的提升目标不是运行的结论,其证伪不需要验证查询(下文的审计规则适用于运行可以据此得出结论的目标):将其记录为“REFUTED: [GOAL] …”行,指明证伪它的文件,然后在其下方重新陈述你之前证明的目标,如(iv)所述,并据此得出结论。 提升是一种判断,不是义务:如果没有明显更有意义的结果看起来触手可及,就根据本简报前面给出的结论规则,就已证明的目标得出结论;如果前两波针对提升后的目标(提升轮本身的波次是第一波)都没有进展——没有证明,也没有新的证明路径——那么在下一个计划步骤回到已经证明的目标并得出结论。 回到原有目标优先于摘要的链条和进展规则以及下文的升级规则,这些规则仅在目标保持不变时指导波次瞄准停滞的命题:回到原有目标的步骤除了审计规则仍然要求的对返回目标的验证查询外,不编写其他查询(一轮审计波次,然后得出结论)。 除了回到已经证明的目标之外,不要因为目标难就换成更弱的:朝着未达成的目标取得的进展,会由证明编写步骤按原样呈现。 你没有采纳为目标的更强或更进一步的结果,作为普通的PROVED/OPEN行保留,属于证明的“Other routes”部分。 (iv) 回到原有目标。要回到更早证明的目标(提升后的命题没有进展),在本轮的块中将其重新陈述为“PROVED: [GOAL] …”行,以“entry N”或“#N”的形式引用其更早的条目,放在块中任何其他[GOAL]行之后,这样它就是最新的(行按文件顺序编号),并在其下方重新陈述其认证作为[AUDIT]行,每个都像以前一样指明其验证查询的定位符,并以相同的形式引用新行的编号(数一下:如果DIR/ledger.md的最后一个条目是23,重新陈述的目标是你块中的第二行,那么它就是条目25)——当重新陈述的目标行引用了更早的条目时,一行就足够了,否则需要两行,来自不同的查询;然后根据结论规则得出结论。 如果没有声明被解决、提出、变更或撤回,文件就留空。 编写下一轮的查询——或者得出结论。当且仅当手头的材料完全确立了目标时,编写DIR/round{r}_DONE.md,包含一行指明材料在哪里确立了它,并且不编写查询(如果你在本步骤提升了目标,就为它编写一波查询——永远不要在提升的同一步骤编写DIR/round{r}_DONE.md)。 否则,编写1到{CAP}个查询文件DIR/round{r}_q1.md、DIR/round{r}_q2.md……(连续编号),瞄准你选择的目标。 当[GOAL]行处于OPEN状态时,并行查询成本低且独立,因此优先使用大部分预算;让它们成为针对目标的真正不同的尝试,而不是同一个尝试的不同表述。 一旦掌握了[GOAL]命题的完整书面证明(或证伪),波次就会缩小:编写审计规则要求的验证查询,加上最多2个其他查询,瞄准最终证明文档需要的内容(推论的完整撰写、仅被引用的引理的证明、独立的第二个证明)。 相反,如果你在本步骤提升了目标(第2项),波次不会缩小:已证明链的验证查询仍然会发出——当它们的认证在后续轮次返回时,将它们记录为[AUDIT]行,指明它们的定位符,并通过编号引用它们所认证的目标的PROVED条目,即使目标已经提升——而波次的其余部分,直到上限,都为新的OPEN [GOAL]行编写。 当本简报带有下文的升级规则时,波次的该部分遵循升级规则,提升后的命题作为尚未掌握证明的[GOAL]命题:首先回到摘要,为提升后的命题添加“The chain and the missing statement”部分(摘要规则(iii);如果还没有任何内容将其简化,那么提升后的命题本身就是缺失命题,其OPEN [GOAL]行作为其台账条目),然后根据升级规则编写波次的该部分。 每个查询都必须是自包含的:推理引擎只看到该查询文件,然后是完整的问题陈述——没有摘要,没有台账,没有其他结果,没有其他轮次——因此,查询所基于的任何先前结果或部分论证都要内联包含(用shell从答案文件中拼接长段落,而不是重新输入)。 不要将问题陈述本身复制到任何查询中。靶向规则(每轮都适用)。在你编写的查询中,至少一半(向上取整)必须是尝试本次运行自身标记的开放问题:结果文件中命名的开放问题、台账中的OPEN声明、摘要中的待解决缺口。 通过将查询的第一行恰好设为“kind: attempt”来标记此类查询,并在其中指明它尝试解决的具体开放问题。 尝试查询旨在解决其问题——证明它、证伪它,或将其简化为严格更简单的问题——而不是调查它、重新推导其周围的已知内容,或润色文档。 关于某个问题“已确立:开放”的判定(或目标超出当前技术水平)不是最终的,绝不能作为已确定的内容被后续轮次继承:重新打开它,并直接用尝试查询瞄准它。审计规则(每轮都适用)。每当手头的结果文件给出了[GOAL]命题的完整书面证明(或证伪)——或者你在本步骤或更早提升后离开的目标的完整书面证明(不是你提升到的目标的证伪:见第2项(iii))——且已经认证的验证查询少于两个时,本轮查询中至少要有与缺失数量相同(两个或一个)的独立验证查询,来验证该书面证明链——如果有多个结果文件各自给出完整证明,选择最完整的一个,将两个验证查询都针对同一个链。 每个验证查询都完整包含整个论证——用shell从答案文件组装查询文件(cat、sed;如果是部分文件,根据上文文件列表中给出的例外情况),不要重新输入或转述——并要求逐步检查每个推理,最后明确判定该链是否证明了完全如陈述的命题;它们算作尝试查询(第一行“kind: attempt”,指明它们审计的[GOAL]条目); 两次认证就满足了gate要求——只有当第三次检查的内容是两次都没有覆盖的,才添加第三次。 当此类认证返回肯定结果时,将其记录为PROVED [AUDIT]行,指明其定位符,并通过编号引用它所认证的[GOAL]条目(即使目标已经提升,也是该目标的已解决行);当台账随后满足条件时(见上文),得出结论。{ESC_WAVE}检索规则。运行摘要是一种压缩,可能会遗漏或颠倒结果的实际内容。每当你依赖或反驳先前的结果时——在摘要重写、台账行、目标选择,或得出结论的决定中——首先读取该结果的答案文件,根据其实际内容工作,而不是根据摘要的转述。最后,重写DIR/notes.md,并用150字以内回复:是否得出结论,编写了多少个查询文件,其中多少个是尝试查询,以及用一句话说明目标。 如果你在本轮替换、提升或回到了某个目标(第2项),再加一句话(不计入150字),以“Goal change:”开头——说明是三种中的哪一种,之前的目标是什么,现在的目标是什么(各用一个短语),以及如果有已证明的结果,给出其台账条目编号和目前已通过多少次验证查询认证;对于提升,还要用完整路径命名包含该结果完整证明的答案文件(格式:“Goal change: raised — entry N, proved in DIR/roundK_qJ.answer.md (certified by M verify queries so far), is …; the goal is now …”)。
Step: proof draft. Files: the problem is DIR/problem.md; your running notes are DIR/notes.md; your running summary of everything the attempt established is DIR/summary.md; the claims ledger is DIR/ledger.md; the final round's results are the newest DIR/round{R}_q*.answer.md files marked answered and not DEGENERATE in DIR/index.md; every earlier round's result files and DIR/extra_q*.answer.md are there to consult by name (a DIR/…_q{k}.partial.md file, where the index marks a query partial, is the unfinished and unverified notes of an engine that was cut off: leads only, nothing in it is established; and the "=== END OF ANSWER … ===" line that closes each finished file is bookkeeping, not mathematics). Read the problem, notes, summary, ledger and the final round's results first.You are directing a structured multi-round attempt at a hard mathematics problem. The rounds have concluded. Your job now: write DIR/proof.md containing the strongest route to the goal — the most complete argument the attempt found — with its full argument spelled out,{PARTIALS} plus a short note on every other route worth recording, and an honest statement of anything that remains a gap — a clearly-marked gap is worth more than a papered-over one. If the newest [GOAL] line is not PROVED — or is PROVED but not certified by two [AUDIT] lines and its written proof does not survive your own check — and the ledger holds, in force, a PROVED [GOAL] line for a different claim (a goal that was reached and then raised; if several, the most recent), then that proved goal is proof.md's main claim. State it as the document's theorem and write its complete argument out in full from the result files the ledger names for it (where the file the ledger names is a .partial.md file, take the text from the verify query files that carried it and whose answers certified it); it is not one of the lesser results. The raised goal comes after it, as a statement that was attempted, with whatever was established toward it, and the Status section says which is which. Use python3 whenever a concrete computation would confirm or kill a step: check a candidate identity on examples, verify a constant, test a claimed counterexample numerically. Checking beats believing. If one or a few targeted deep-reasoning queries would settle a load-bearing point, you may write them as the next unused DIR/extra_q{k}.md files (at most 3 in this step; none once DIR/extra_q10.md exists), each self-contained — the engine sees only that file followed by the problem statement, so include inline whatever it builds on and do not copy the problem into it — and say in your reply that you did; they will be answered and you will be invoked once more. Write DIR/proof.md in this step regardless. Rewrite DIR/notes.md. Reply in under 150 words.
步骤:证明起草。 文件:问题在DIR/problem.md中;你的运行笔记在DIR/notes.md中;你对本次尝试确立的所有内容的运行摘要在DIR/summary.md中;声明台账在DIR/ledger.md中;最后一轮的结果是最新的DIR/round{R}_q*.answer.md文件,在DIR/index.md中标记为已回答且非DEGENERATE;每一轮更早的结果文件和DIR/extra_q*.answer.md都可以按名称查阅(DIR/…_q{k}.partial.md文件,即索引中标记为partial的查询,是被切断的引擎的未完成且未经验证的笔记:仅作为线索,其中没有任何内容是已确立的;每个完成文件结尾的“=== END OF ANSWER … ===”行是记账内容,不是数学内容)。 首先读取问题、笔记、摘要、台账和最后一轮的结果。你正在指导一个结构化的多轮尝试,以解决一道高难度数学问题。轮次已经结束。 你现在的工作:编写DIR/proof.md,包含通往目标的最强路径——本次尝试找到的最完整的论证——完整阐述其论证,{PARTIALS} 加上对每条值得记录的其他路径的简短说明,以及对任何仍然存在的缺口的诚实陈述——标记清晰的缺口比掩盖的缺口更有价值。 如果最新的[GOAL]行不是PROVED——或者是PROVED但没有经过两个[AUDIT]行的认证,且其书面证明没有通过你自己的检查——并且台账中有一条有效的、针对不同命题的PROVED [GOAL]行(一个已经达成然后被提升的目标;如果有多个,取最新的),那么该已证明的目标是proof.md的主要主张。 将其陈述为文档的定理,并从台账为其命名的结果文件中完整写出其论证(如果台账命名的文件是.partial.md,则从携带它且其答案认证了它的验证查询文件中提取文本);它不是次要结果之一。 提升后的目标放在它之后,作为已尝试的命题,附上朝着它取得的任何进展,Status部分说明哪个是哪个。 每当具体计算可以确认或否定一个步骤时,使用python3:在例子上检查候选恒等式,验证常数,数值测试声称的反例。检查胜过相信。 如果一个或几个有针对性的深度推理查询可以解决一个关键点,你可以将它们编写为下一个未使用的DIR/extra_q{k}.md文件(本步骤最多3个;一旦DIR/extra_q10.md存在就不能再写),每个都是自包含的——引擎只看到该文件,然后是问题陈述,因此内联包含它所基于的任何内容,不要将问题复制到其中——并在你的回复中说明你这样做了;它们会得到回答,然后你会被再次调用。 无论如何,在本步骤中编写DIR/proof.md。 重写DIR/notes.md。 用150字以内回复。
Step: {S}. Files: the problem is DIR/problem.md; your running notes are DIR/notes.md; the current draft is DIR/proof.md; the result files are DIR/round_q.answer.md (every round's results) and DIR/extra_q*.answer.md, listed with their status in DIR/index.md (a query whose status there is "partial" has instead a DIR/…_q{k}.partial.md, the unfinished and unverified notes of an engine that was cut off: leads, not results; and the "=== END OF ANSWER … ===" line that closes each finished file is bookkeeping, not mathematics); the claims ledger is DIR/ledger.md and the running summary DIR/summary.md. Read the problem, your notes and the draft first; consult any result file by name when you need it.You are running a structured parallel attempt at a hard mathematics problem and you are between waves. Your job this step: make proof.md strictly better. Re-derive the weakest steps, hunt for errors as a hostile referee would, and use python3 to check every concrete computational claim you rely on. If one targeted deep-reasoning query would settle a load-bearing gap, you may write it as the next unused DIR/extra_q{k}.md (at most 3 in this step; none once DIR/extra_q10.md exists), self-contained — the engine sees only that file followed by the problem statement, so include inline whatever it builds on and do not copy the problem into it — and say in your reply that you did. Then rewrite DIR/proof.md in full, first saving the incoming draft as DIR/judge/{S}_previous_proof.md. Be honest about what remains a gap — a clearly-marked gap is worth more than a papered-over one. Rewrite DIR/notes.md. Reply in under 150 words.
步骤:{S}。 文件:问题在DIR/problem.md中;你的运行笔记在DIR/notes.md中;当前草稿在DIR/proof.md中;结果文件是DIR/round_q.answer.md(每一轮的结果)和DIR/extra_q*.answer.md,在DIR/index.md中列出了它们的状态(索引中状态为“partial”的查询对应DIR/…_q{k}.partial.md,是被切断的引擎的未完成且未经验证的笔记:是线索,不是结果;每个完成文件结尾的“=== END OF ANSWER … ===”行是记账内容,不是数学内容);声明台账在DIR/ledger.md中,运行摘要在DIR/summary.md中。 首先读取问题、你的笔记和草稿;需要时按名称查阅任何结果文件。你正在运行一个结构化的并行尝试,以解决一道高难度数学问题,你处于两个波次之间。 你本步骤的工作:让proof.md变得严格更好。重新推导最薄弱的步骤,像敌对的审稿人一样寻找错误,并使用python3检查你依赖的每个具体计算主张。 如果一个有针对性的深度推理查询可以解决一个关键缺口,你可以将它编写为下一个未使用的DIR/extra_q{k}.md(本步骤最多3个;一旦DIR/extra_q10.md存在就不能再写),自包含——引擎只看到该文件,然后是问题陈述,因此内联包含它所基于的任何内容,不要将问题复制到其中——并在你的回复中说明你这样做了。 然后完整重写DIR/proof.md,首先将传入的草稿保存为DIR/judge/{S}_previous_proof.md。 对仍然存在的缺口要诚实——标记清晰的缺口比掩盖的缺口更有价值。 重写DIR/notes.md。 用150字以内回复。
Step: select routes for the commit wave. Files: the problem is DIR/problem.md; your running notes are DIR/notes.md; the draft proof is DIR/proof.md; the final round's results (and any earlier result file you need), per DIR/index.md (a query marked "partial" there has only unverified notes in a DIR/…_q{k}.partial.md, from an engine cut off part-way); the claims ledger DIR/ledger.md.You are running a structured parallel attempt at a hard mathematics problem; you have a draft proof document and the full results of the pursuit. Your job is the commit step of the protocol: any result with a concrete route (a named lemma chain, a specific construction) toward the goal gets a commit query at the full thinking budget: "Route: [the route]. Write the full rigorous proof." Plus one verify query that checks the draft proof's argument step by step. (If a goal was proved and a later, raised goal was not, the draft's main claim is the proved goal; concrete routes toward the raised goal may still be committed.) Select at most {MAX_COMMIT} routes worth committing (fewer is fine — only routes with something concrete). For each, write the query as DIR/r3_q1.md, DIR/r3_q2.md, …, with the route's actual content included (not a reference to it — the engine sees nothing but the query file followed by the problem statement). Do NOT copy the problem statement into any query. Also write exactly one DIR/r3_verify.md containing the complete current draft proof (copied in full from DIR/proof.md with the shell — cat —, not retyped) and asking for a step-by-step check: for every inequality, interchange, cited result and "it follows that", does it actually follow as written; list every error or gap in order of severity and say explicitly whether the main claim is proved. Use python3 if a quick computation would settle which routes are real. Rewrite DIR/notes.md. Reply in under 100 words with the list of files written.
步骤:为提交波次选择路线。 文件:问题在DIR/problem.md中;你的运行笔记在DIR/notes.md中;证明草稿在DIR/proof.md中;最后一轮的结果(以及你需要的任何更早的结果文件),见DIR/index.md(标记为“partial”的查询在DIR/…_q{k}.partial.md中只有未经验证的笔记,来自中途被切断的引擎);声明台账在DIR/ledger.md中。你正在运行一个结构化的并行尝试,以解决一道高难度数学问题;你有一份证明草稿文档和完整的研究结果。 你的工作是协议的提交步骤:任何有具体路线(命名的引理链、具体的构造)通往目标的结果,都会获得一个全思考预算的提交查询:“Route: [路线]。写出完整的严格证明。” 加上一个验证查询,逐步检查草稿证明的论证。 (如果一个目标已被证明,而后来的提升目标未被证明,则草稿的主要主张是已证明的目标;通往提升目标的具体路线仍然可以提交。) 选择最多{MAX_COMMIT}条值得提交的路线(更少也可以——只有有具体内容的路线才选)。 对于每条路线,将查询编写为DIR/r3_q1.md、DIR/r3_q2.md……,包含路线的实际内容(不是引用它——引擎除了查询文件和问题陈述之外什么都看不到)。 不要将问题陈述复制到任何查询中。 还要编写恰好一个DIR/r3_verify.md,包含完整的当前草稿证明(用shell从DIR/proof.md完整复制——cat——不要重新输入),并要求逐步检查:对于每个不等式、变换、引用结果和“由此可得”,它是否确实如所写的那样成立;按严重程度顺序列出每个错误或缺口,并明确说明主要主张是否得到证明。 如果快速计算可以确定哪些路线是真实的,使用python3。 重写DIR/notes.md。 用100字以内回复,列出编写的文件。
Step: finalize. Files: the problem is DIR/problem.md; your running notes are DIR/notes.md; the draft proof that went into the commit wave is DIR/proof.md; the commit-wave results are DIR/r3_q*.answer.md and the verify query's report is DIR/r3_verify.answer.md (DIR/index.md says which exist; if none exist, finalize from the draft; a query the index marks "partial" has instead a DIR/r3_q{k}.partial.md or DIR/r3_verify.partial.md, the unfinished notes of an engine that was cut off — unverified, so a proof in one is a lead to check, not a result, and the gaps a cut-off verify report lists are still worth checking, though the absence of its final verdict tells you nothing either way; the "=== END OF ANSWER … ===" line closing each finished file is bookkeeping); the claims ledger is DIR/ledger.md. Read all of these.You are running a structured parallel attempt at a hard mathematics problem. The commit wave has returned. Your job is the final step of the protocol: assemble the final proof.md from the best commit result (or from the draft if no commit query produced better). Iterate: if the verify query found gaps, repair what is repairable from the material you have; use python3 to check every concrete computational claim you rely on. Be honest in the final document about anything that remains a gap — a clearly-marked gap is worth more than a papered-over one. The final document must state the problem's answer and give the complete argument, then a short section "Status" saying plainly whether the main claim is fully proved and listing anything that remains a gap, and a short section "Other routes" on anything else worth recording{PARTIALS_FIN}. If the newest [GOAL] line is not PROVED — or is PROVED but not certified by two [AUDIT] lines and its written proof does not survive the verify report and your repairs — and the ledger holds, in force, a PROVED [GOAL] line for a different claim (the goal was raised after being reached; if several, the most recent), then the main claim is that proved goal, stated and proved as the document's theorem, not presented as a lesser result. The raised goal is reported after it as attempted, not as a gap in the main claim, and the Status section says plainly which claim is the main claim and that the raised goal was not reached. proof.md is read on its own by a referee who cannot open any other file in this directory: never cite run files (r_q, extra_q*, *.answer.md, the verify report, notes, scripts) in it; write every relied-on argument out in full in proof.md, rewriting it from the worker files if needed. Save the incoming draft as DIR/judge/finalize_previous_proof.md first, then write the final DIR/proof.md. Rewrite DIR/notes.md. Reply in under 200 words: first a line beginning exactly "MAIN CLAIM: PROVED" or "MAIN CLAIM: NOT PROVED" (your Status section's verdict on proof.md's main claim as defined above; PROVED here means the document's main result — a proof, or a disproof, of that claim — is complete), then on the same line a dash and that main claim in one clause, then that Status paragraph.
步骤:最终定稿。 文件:问题在DIR/problem.md中;你的运行笔记在DIR/notes.md中;进入提交波次的证明草稿在DIR/proof.md中;提交波次的结果是DIR/r3_q*.answer.md,验证查询的报告是DIR/r3_verify.answer.md(DIR/index.md说明哪些存在;如果都不存在,从草稿定稿;索引中标记为“partial”的查询对应DIR/r3_q{k}.partial.md或DIR/r3_verify.partial.md,是被切断的引擎的未完成笔记——未经验证,因此其中的证明是需要检查的线索,不是结果;被切断的验证报告列出的缺口仍然值得检查,尽管没有最终判定说明不了什么;每个完成文件结尾的“=== END OF ANSWER … ===”行是记账内容);声明台账在DIR/ledger.md中。 读取所有这些内容。你正在运行一个结构化的并行尝试,以解决一道高难度数学问题。提交波次已经返回。 你的工作是协议的最后一步:从最好的提交结果(或者如果没有提交查询产生更好的结果,就从草稿)组装最终的proof.md。 迭代进行:如果验证查询发现了缺口,用你手头的材料修复可修复的部分;使用python3检查你依赖的每个具体计算主张。 在最终文档中对任何仍然存在的缺口要诚实——标记清晰的缺口比掩盖的缺口更有价值。 最终文档必须陈述问题的答案,给出完整的论证,然后是一个简短的“Status”部分,清晰说明主要主张是否得到充分证明,并列出任何仍然存在的缺口,以及一个简短的“Other routes”部分,介绍其他值得记录的内容{PARTIALS_FIN}。 如果最新的[GOAL]行不是PROVED——或者是PROVED但没有经过两个[AUDIT]行的认证,且其书面证明没有通过验证报告和你的修复——并且台账中有一条有效的、针对不同命题的PROVED [GOAL]行(目标在达成后被提升;如果有多个,取最新的),那么主要主张是该已证明的目标,作为文档的定理陈述和证明,而不是作为次要结果呈现。 提升后的目标在它之后报告为已尝试,不是主要主张的缺口,Status部分清晰说明哪个主张是主要主张,以及提升后的目标未达成。 proof.md由审稿人独立阅读,他们无法打开本目录中的任何其他文件:永远不要在其中引用运行文件(r_q, extra_q*, *.answer.md, 验证报告, notes, scripts);将每个依赖的论证完整写在proof.md中,必要时从工作节点文件重写。 首先将传入的草稿保存为DIR/judge/finalize_previous_proof.md,然后编写最终的DIR/proof.md。 重写DIR/notes.md。 用200字以内回复:首先一行恰好以“MAIN CLAIM: PROVED”或“MAIN CLAIM: NOT PROVED”开头(你的Status部分对proof.md主要主张的判定,如上定义;这里的PROVED指文档的主要结果——该主张的证明或证伪——是完整的),然后在同一行用破折号连接,用一个从句说明主要主张,然后是Status段落。