Source theorem

From MechMath/MechMath-agent-team · View interactive version

Source theorem is an AI agent skill from the GitHub repository MechMath/MechMath-agent-team. Use when a proof branch invokes a named theorem, folklore result, classification, major estimate, or theorem-shaped inequality that may carry the proof.

How to use this skill

Skill file

Source Theorem Audit And Literature Tracing

Use this skill before a branch relies on a theorem-like premise that is not

already proved as a dependency. The purpose is premise selection discipline:

trace the literature, recover the exact statement, check that it is independent

of the target, and route missing parts as proof obligations.

Audit Boundary

Searcher performs the provenance side of this skill and stops there:

what the result is, whose it is, where it came from, and whether it roughly

fits. Searcher is a divergent role and must not gatekeep.

Correctness auditing belongs elsewhere and Searcher never stands in for it:

| Question | Owner |

|----------|-------|

| Is this statement true / correctly specialized? Do its preconditions hold? Is it independent of the target? | fresh Verifier — its auto-FAIL #10 is the source-theorem trust audit (ADR 0019) |

| Is the named theorem admissible for this proof step? | gate.py proof-attempt --status (invariant 10) |

| Is the proof using it valid? | fresh Verifier (invariants 3, 12) |

| What does an ambiguous cited symbol / named family actually mean? | Auditor (definition/notation reading only — feeds the Verifier) |

Consequences: a complete specialized statement is desirable but optional —

record what you have, mark what is uncertain, and route the rest as a proof

obligation instead of dropping the candidate. Do not discard a plausible source

because you could not finish auditing it yourself.

Who Uses It

when the Orchestrator assigns a theorem obligation.

circular, or under-audited source theorem.

Entry Triggers

folklore result, classification theorem, comparison theorem, major estimate,

rigidity result, or theorem-shaped inequality as a load-bearing step.

definition, or precondition package.

stronger than the target, or missing checked hypotheses.

exact form used by the proof.

When in doubt, use this skill. It is cheaper to audit a theorem package before

generation than to discover after verification that the proof was carried by a

vague or circular theorem invocation.

Workflow

  1. Start with literature tracing using

reference-literature-tracing.md. Search in

layers instead of treating source lookup as one web call:

  1. Build or update paper cards for retained papers when a reference directory is

assigned:

  1. Build a source theorem package using

reference-source-theorem-package.md.

  1. If the result is a theorem package rather than one atomic implication, split

it into component bridge obligations before classification. Common

components include:

Each component needs a source, local lemma, dependency, or open status.

  1. Run the equivalence smoke tests in that reference. Pay special attention to

algebraic reformulation, specialization, limiting, dualizing, optimizing, or

renaming transformations that turn the theorem into the current target.

  1. Classify the theorem package:

bridge, and independence check are recorded.

derivation route is recorded.

proof must be supplied inside the current DAG.

strictness, equality-case, normalization, endpoint, or final-wording bridge

still needs its own proof obligation.

final bridge.

theorem statement.

contradiction, or counterexample has been written for fresh verification.

  1. Record the package where the proof route can restart from it: routes/,

research notes, decomposition, lemma statement, generator status.md, or the

review packet.

  1. If the package is not usable, do not cite the theorem as proof support.

Route the next action to the smallest owner named by the classification.

Use Searcher for missing theorem statements or precondition

packages, Auditor for terminology or convention blockers,

Sketcher for dependency/DAG changes, Generator for local derivations, and

Regulator when the owner is mixed or unclear. Treat the missing source as

restart state, not as a terminal result.

Recovery Discipline

missing result is really needed for the current route and is not a disguised

added hypothesis.

statement recovery from local precondition checking.

proofs, relevant memory.md source findings or failed paths, extracted

references, and KB-Manager summary. Use a deep KB-Manager read only when the

summary shows a relevant concept.

with local derivation or alternate-route planning. Do not terminate merely

because a tool could not run.

plausible paper's references before declaring the source unavailable.

| Branch | Route type | Needed theorem package | Local obligations | Risk | Next owner |

|--------|------------|------------------------|-------------------|------|------------|

| A | theorem application | <label or NONE> | <preconditions/bridge> | low/medium/high | Searcher/Generator/Sketcher/Human |

| B | direct construction or reduction | <label or NONE> | <construction/cases> | low/medium/high | Explorer/Generator/Sketcher/Human |

| C | definition or convention audit | <label or NONE> | <accepted reading> | low/medium/high | Auditor/KB-Manager/Human |

Choose the lowest-risk branch whose obligations have named owners. If the

branch requires a new lemma, dependency edge, or final bridge, return to

Sketcher and then run fresh plan verification. If the route choice itself is

unclear, ask Regulator to classify the blocker before retrying.

Hard Stops

transformation is not an external premise; prove it, source it independently,

or resketch around it.

mathematical source.

unless the stronger theorem has its own independent source or derivation.

direction, or normalization step inside the phrase that a theorem applies.

Make it an explicit bridge obligation or local lemma.

original object, or representative to whole family is a theorem-bridge

obligation unless it is already proved in the accepted context.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.