check-referenced-state…
Validate externally referenced theorems by querying arXiv theorem search first and Codex's…
Screen a decomposition plan by first trying to prove all of its subgoals directly, then identifying the key stuck points if the plan does not fully go through. Use when a decomposition plan is created.
$ npx -y skills add frenzymath/Danus --skill direct-proving --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/direct-provingContext preview
The summary Claude sees to decide when to auto-load this skill.
Screen a decomposition plan by first trying to prove all of its subgoals directly, then identifying the key stuck points if the plan does not fully go through. Use when a decomposition plan is created.
name: direct-proving description: Screen a decomposition plan by first trying to prove all of its subgoals directly, then identifying the key stuck points if the plan does not fully go through. Use when a decomposition plan is created.
Use this skill to screen decomposition plans by first trying to carry the whole plan through, and if it does not fully go through, then identify the key stuck points.
Read:
1. Take one decomposition plan at a time. 2. For each subgoal, actively use the searched results, toy examples, and counterexamples that are most relevant to that subgoal. 3. When a similar theorem has been found, try to adapt its proof idea, construction, or reduction to the current subgoal instead of treating it as a black-box citation. 4. If the adapted theorem is only a partial result with extra hypotheses, first analyze why its method needs those hypotheses and where it fails for the current subgoal — do not skip this by merely trying to show the current object satisfies the extra hypotheses and applying the partial result directly. 5. First attempt to prove all subgoals in that plan directly. 6. Try to carry the whole plan through before switching into failure diagnosis mode. 7. For each subgoal, record whether it is:
8. If a subgoal is blocked or you get stuck on it, FIRST invoke `$construct-counterexamples` for that subgoal — test whether it is false, too strong, or missing hypotheses (not merely hard). If no counterexample emerges and the subgoal still resists after at least two genuine direct attempts, do not grind indefinitely: record the stuck point as an `obstacle`/`dead_end` finding (`gm_add`) so siblings skip it and the next round's `master_guidance` can bring fresh direction. 9. If a proof adaptation attempt fails, identify why the migration fails. Be concrete: for example, note which hypothesis is missing, which construction does not transfer, which step breaks, which counterexample blocks the migration, or which part of the searched proof depends on structure absent in the current setting. 10. If a subgoal is solved with a self-contained partial result that the rest of the plan will USE downstream, partial-verify that result with `$verify-proof` in partial-candidate mode before treating it as established. Adopting unverified partial results as building blocks is the single biggest correctness risk; the verifier is the sole authority on whether the partial result really holds. 11. If all subgoals are solved directly AND the partial results that compose into a full proof have each been partial-verified as needed, mark the plan as solved and assemble the proof draft. 12. When a direction remains viable and supports sustained progress, work on it deeply for 1–2 hours and try to establish one mathematically deep result that resolves a genuine obstacle or materially advances the main problem. Do not turn each routine calculation into its own fact, and do not bundle shallow observations merely to imitate depth; use supporting steps to prove the one substantive conclusion. 13. If the plan does not fully go through, then identify the key stuck points as concretely as possible. 14. Focus on locating the decisive failure modes of the plan after this first full attempt, not on polishing a full proof.
Publish one record per attempted subgoal to global memory with `gm_add` (kind `proof_attempt`): `claim` = the subgoal + its status, `evidence` = the attempt / the partial proof if solved, plus these fields:
{
"plan_id": "...",
"attempt_type": "direct",
"subgoal": "...",
"attempt_summary": "...",
"status": "solved|partial|stuck",
"used_examples": ["..."],
"used_counterexamples": ["..."],
"counterexample_search_for_stuck_subgoal": {
"performed": true,
"summary": "...",
"result": "refuted|not_refuted|inconclusive|not_needed"
},
"key_stuck_points": ["..."],
"used_results": ["..."],
"adapted_from": ["relevant statements or proofs whose ideas were migrated"],
"migration_failures": ["why a proof adaptation or migration failed"],
"branch_id": "optional"
}Record the plan's updated status (`screening` / `screened` / `solved`) in your local memory or as a follow-up `plan` finding.
If a decomposition plan does not solve the problem directly after attempting all of its subgoals, publish a `dead_end` finding (`gm_add`) that summarizes the plan-local stuck points and any important proof-migration failures, so siblings skip them.
🚀✨ News: This branch is the version that solved YTD. 🎉 Danus orchestrates mathematical reasoning agents with fact-graph memory.
Validate externally referenced theorems by querying arXiv theorem search first and Codex's…
Aggregate all detected errors and gaps into the final verification report, apply strict…
Verify a markdown proof in the order it is written. Use when the task is to check local…
Construct candidate counterexamples to test a proposed conjecture, lemma, or intermediate…
Generate and analyze simpler examples that satisfy both the assumptions and the conclusion of…
Synthesize the common stuck points across failed decomposition plans. Use when the current…