技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
evomath-tao【数据与研究】Use this skill whenever the user submits a non-trivial mathematical claim that needs a rigorous proof or audit. Trigger on IMO/Putnam/USAMO/Olympiad-style problems, ML/AI theoretical statements, research conjectures, suspected-false claims, multi-step proofs the user already failed on, proof drafts with possible hidden assumptions, or any request con…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
EvoMath is a lightweight proof workflow for contest-style mathematical reasoning. Its job is to produce a rigorous proof, a verified counterexample, a useful partial result, or a clear handoff. Keep the process small; do not run a heavy audit pipeline by default.
This skill operationalizes the way Terence Tao approaches research mathematics:
Every phase below is a concrete operationalization of one or more of these principles.
final-status: ... line..md file passes its validator.If filesystem access is available, create a Markdown workspace with (script paths are relative to this skill's directory):
python scripts/evomath_workspace.py init --dir .evomath/current
If filesystem access is not available, keep the same Markdown sections inline in the conversation. In that case run the validators by mentally checking the same required fields the script checks — the discipline is the same.
Do not use EvoMath for single calculations, definition lookups, symbolic manipulation, or answer-only requests with no proof obligation. Give the direct answer instead. No TodoWrite list is needed for a Fast Exit.
If the statement has a blocking ambiguity that changes truth value, ask one specific clarification question before solving.
For any problem that passes the Fast Exit Gate, follow this protocol.
Before doing any solving work, call TodoWrite with these five items in this order. Each item names its primary reference file:
references/intake-checklist.md for type
classification, ambiguity handling, goal types.references/angles-by-type.md for technique ideas
if you are out of angles for this problem type.references/output-formats.md if you need formatting
conventions or LaTeX templates.references/grading-taxonomy.md for issue classes and
severity rules. Read references/phase-4-audit.md only if the user requests
strict multi-reviewer audit.references/claim-memory.md only when deep reflection is
triggered (see "Deep Reflection Triggers" below).For each step in order:
Mark the todo in_progress before reading the reference or writing output.
Read the referenced file(s) if and only if you need them for this step.
Produce the corresponding .md output (plan.md, candidates.md, audit.md,
final.md sections, etc.).
Run the validator before marking the todo completed:
python scripts/evomath_workspace.py validate-phase <N> --dir .evomath/current
If validation FAILS, the todo stays in_progress. Revise the .md file
based on the printed failure messages and re-run the validator. Do not mark
completed until the validator exits 0.
If your final-status is PROVED, you MUST additionally run:
python scripts/evomath_workspace.py validate-proved --dir .evomath/current
This verifies that the 10-item PROVED Self-Check Checklist (see
references/output-formats.md) is present in final.md with all boxes ticked.
If this fails, downgrade final-status to CONJECTURED or HANDED_OFF and revise
the answer.
Step 5 (Reflect) has two modes:
Light reflection (default): three lines — successful pattern, failed pattern to avoid, whether memory was written.
Deep reflection (triggered when any of the following hold):
In deep reflection mode, run the full ESE/IVE protocols described in
references/claim-memory.md and update L2/L3 memory in
.evomath/session-memory.md.
If you cannot run scripts, keep the same TodoWrite discipline:
.md sections inline in the conversation.Write a short Markdown plan:
For "determine all" problems, include both:
For a simple problem, one root subgoal is enough.
Mode dispatch (decide before generating):
goal = find-numeric-answer (AIME-style: answer is a single
number, no proof required) → AIME mode: generate 5–7 short candidate
answers using varied approaches (small-case enumeration, modular invariants,
algebraic manipulation, generating functions, brute-force code). Take
majority vote across candidates. Verify the top two by substitution into the
original problem. Skip the rest of the proof workflow; output the numeric
answer with final-status: PROVED only when both top candidates agree AND
substitution checks pass.Proof mode — per-candidate 5-round internal loop:
For each active subgoal, try up to four genuinely different candidate routes. Each candidate is itself the product of a 5-round internal mini-process — not a one-shot generation:
is_sound.Each candidate's internal-rounds count is recorded so Phase 4 can see how much self-revision was needed. A candidate that needs 5 rounds is more likely to be borderline than one that's sound in 1.
Record candidates in this Markdown table:
| Candidate | Idea | Internal rounds | Verdict | Issue or reason |
|---|---|---|---|---|
| C1 | 1–5 | sound / repair / fail |
Judging a candidate:
sound: enough to use as a verified claim.repair: promising but missing a local step; revise at most twice outside
the 5-round internal loop (so total max revisions = 5 internal + 2 external).fail: wrong, circular, too weak, or repeats a known dead end.Computation discipline (math-olympiad VERBATIM rule): during the Solve round, no tool calls. Computation is allowed in Phase 1 (Empirical) and in Phase 5 Deep Mode, NEVER during Phase 2 Solve. This protects against ritualized "I called sympy so it must be right" reasoning.
When a candidate is sound, add it to Proof Artifact / Verified Claims with a one-paragraph proof summary. When a route fails, add one line to Negative Attempts so it is not repeated.
Use references/angles-by-type.md only when you are out of ideas for a problem
type. Do not load it by default.
Turn the accepted claims into a clean proof or refutation.
Rules:
Audit only the clean proof, not the exploration notes.
Check:
Audit follows math-olympiad's 3-safeguard pattern (see references/phase-4-audit.md):
Apply the named-pattern screen (P4 / P5 / P6 / P18 / P40 / P41 in grading-taxonomy.md) plus the counterexample-first rule before any PROVED award.
For ordinary use, one careful local audit is enough. Use the heavier
references/phase-4-audit.md protocol only when the user asks for strict
multi-reviewer audit or when the result is high-risk.
After the final answer, add a short reflection note. It should be compact:
Per-problem memory resets at the next problem. Cross-problem memory is optional:
write only compact strategy/failure summaries to .evomath/session-memory.json
when file access is available. If not written, say memory-persisted: false.
Use exactly one:
| Status | Meaning |
|---|---|
PROVED | Complete proof of the original statement passed Safeguards 1–3 audit. The strongest label EvoMath awards. |
REFUTED | Exact counterexample or contradiction proof found |
VERIFIED_NUMERICALLY | Finite exact checks only; no general proof. Numerical evidence is NOT a proof — this label exists to record empirical support honestly. |
CONJECTURED | Strong partial evidence or partial proof, but incomplete |
HANDED_OFF | Stopped with a precise remaining gap or user question |
Exactly one of these five labels must appear in every final answer. See references/confidence-rules.md for award conditions and promotion rules.
Use Markdown, not a rigid schema:
final-status: PROVED
## Result
<answer>
## Proof / Report
<clean proof, refutation, audit report, partial result, or handoff>
## Audit
- audits-run:
- critical-issues:
- remaining-gaps:
## Proof Artifact
- verified claims:
- negative attempts:
## Reflection
- memory-persisted:
- storage-location:
- proposed-memory-updates:
For proof-audit requests, lead with findings ordered by severity, then give the verdict and suggested repair.
scripts/evomath_workspace.py:
init creates the five Markdown state files.check verifies final.md has a valid final-status: line.validate-phase N validates the .md output for step N (1..5). Use this
before marking the corresponding todo completed. Add --strict to also
re-validate all prior steps.validate-proved when final-status is PROVED, verifies the 10-item
Self-Check Checklist is fully ticked.references/angles-by-type.md: technique ideas by problem type.references/grading-taxonomy.md: detailed flaw taxonomy for audits.references/phase-4-audit.md: heavier independent-review protocol.references/output-formats.md: optional Markdown/LaTeX formatting details +
the PROVED Self-Check Checklist template.references/claim-memory.md: three-layer memory architecture and ESE/IVE
reflection protocols. Read only in deep-reflection mode.references/model-tier.md: per-tier parameter table (Haiku / Sonnet /
Opus). Read once at the start of Phase 0 to set K, internal-rounds, audit
passes, and abstain thresholds for the active model.