SkillsGrove
SkillsGrove/Documentos de oficina/VeryMath/AI4Math-Auto-Research/graph-theory-researcher

graph-theory-researcher

Instalación

$npx skills add https://github.com/VeryMath/AI4Math-Auto-Research --skill graph-theory-researcher
$git clone --depth 1 https://github.com/VeryMath/AI4Math-Auto-Research.git /tmp/AI4Math-Auto-Research && mkdir -p ~/.claude/skills && cp -r /tmp/AI4Math-Auto-Research/skills/graph-theory-researcher ~/.claude/skills/graph-theory-researcher
Instala por favor esta Agent Skill por mí: https://github.com/VeryMath/AI4Math-Auto-Research/tree/1ab4b8698d13a56f908b018c6ea9a0f556288429/skills/graph-theory-researcher. Lee primero su SKILL.md y sus scripts, y solo instálala en mi carpeta de skills cuando hayas confirmado que es segura.

Resumen

Descripción original · MITUse when a user provides or references a graph theory paper, theorem, proof, conjecture, or research question and asks to read, analyze, verify, extend, investigate, find a proof or counterexample, extract reusable methods, or prepare research-grade LaTeX/PDF material.
El SKILL.md siguiente se reproduce de VeryMath/AI4Math-Auto-Research (commit 1ab4b86) bajo la licencia MIT. El texto no se ha modificado; solo se omiten los metadatos de cabecera del archivo, las imágenes se muestran como enlaces y los archivos muy largos se truncan. Copyright 2026 VeryMath. Licencia: skills/graph-theory-researcher/LICENSE. Solo se muestra el archivo de instrucciones; consulta el repositorio original para ver los scripts.

Graph Theory Researcher

Core Rules

  • Default to Chinese output unless the user asks for English. Keep standard mathematical terms in English when useful, and give a Chinese gloss on first use.
  • Do not invent paper content, theorem statements, definitions, citations, author claims, examples, or proof steps. If the provided text is insufficient, say what is missing and request the smallest useful input, such as title, abstract, theorem statement, proof fragment, PDF text, screenshots, or LaTeX source.
  • Separate what the paper explicitly states from what is inferred from context. Label inferences as "根据上下文推测" or "可能".
  • Preserve quantifiers, hypotheses, graph classes, parameter ranges, and asymptotic language. Do not turn "for all sufficiently large n" into "for all n", or a sufficient condition into a necessary one.
  • Track whether graphs are finite, simple, directed, weighted, regular, bipartite, connected, induced, labeled, random, hypergraphs, multigraphs, or minor-closed objects.
  • For complex inequalities, explain the graph-theoretic meaning before the algebra. For probability, state the random model. For spectral arguments, state the matrix. For algorithms, state input size, model, complexity, and correctness claim.

Resource Loading

  • For a whole paper, reading notes, notation extraction, theorem structure, examples, or tightness questions, read references/graph-theory-reading-rubric.md.
  • For a theorem, lemma, proof, proof fragment, dependency check, or "why does this step hold?" question, read references/proof-analysis-checklist.md.
  • For the default whole-paper deliverable, use assets/reading-report-template.tex; do not substitute the Markdown template.
  • Use assets/paper-reading-template.md only when the user explicitly requests short inline notes. It is not a whole-paper deliverable.
  • Do not load every resource automatically. Load only the relevant file for the task.
  • For multi-stage or resumed work, load references/recoverable-state.md; never overwrite a user file.

Accepted Inputs

Handle PDF text extraction, screenshots, arXiv titles or abstracts, LaTeX source, theorem or lemma statements, proof fragments, section excerpts, links, the user's reading notes, questions, or draft proofs. If only screenshots are available, use visual text carefully and mark uncertain transcription. For precise proof verification, ask for machine-readable text when needed.

If the user gives only "帮我读一篇图论文章" without paper content, do not guess a paper. Ask for a title, link, PDF, abstract, theorem, proof fragment, or LaTeX source.

Stage 1: Intake and Reading

Identify input quality, paper metadata, graph conventions, prerequisites, notation, results, proof dependencies, examples, constructions, tightness, and extraction uncertainties. Load the reading rubric for whole papers and the proof checklist for local proof analysis.

Stage 2: Reading Report and Question Portfolio

For a whole paper, create a per-paper project from assets/reading-report-template.tex, generate the LaTeX reading report, compile it, render the PDF, and visually inspect every page before delivery; this LaTeX-plus-checked-PDF package is the default whole-paper deliverable. Load references/latex-report-guidelines.md, references/citation-verification.md, references/recoverable-state.md, and the reading report template. Include a first-layer research logic map (motivation/known problem → definition/structural idea → technical method → main result → tightness/future question), in TikZ plus verbatim fallback, and retain a separate second-layer theorem-dependency map.

Every candidate in the Question Portfolio must contain: motivation; exact formulation; relation to the source paper; feasibility; innovation; risk; method readiness; required-method text; literature-search need and plan; computational plan; likely stopping conditions; and the scored formula P=0.30F+0.30I+0.20(6-R)+0.20M. The portfolio is incomplete if any candidate omits a field.

[USER GATE] Deliver the report and question portfolio, then stop. Do not research any candidate until the user has read the report and selected or revised a question.

Stage 3: User Question Selection

Normalize the selected question: exact graph class, quantifiers, parameters, target conclusion, proposed methods, search scope, and stopping conditions.

[USER GATE] Ask the user to approve the normalized question. Do not run the research stage before approval.

Stage 4: Research

Load references/research-workflow.md and references/citation-verification.md. Combine verified literature search, reproducible computation, and theoretical reasoning. Route every proof or counterexample draft through the named Collaborative Proof Verification Loop inside Stage 4. The Research Audit cannot be produced until every candidate has reached exactly one mutually exclusive exit: Exit A is a proved/verified proof candidate with verification_status=passed and the user's explicit approval of the exact proof-vN; Exit B is an unresolved candidate whose unsupported theorem claim has been withdrawn, whose exact classification as partial result, open problem, or computational observation and precise gap and scope are recorded, and for which the user explicitly approves the downgrade status and version. Exit B is never labeled as a theorem or proved result. Neither exit substitutes for any condition inside the other. Produce a research audit that classifies each outcome as proved theorem/lemma, verified counterexample, partial result, computational observation, or open problem.

[USER GATE] Present the research audit and stop. Do not draft the new paper until the user approves which results may enter it.

Stage 5: New Paper

Load references/latex-report-guidelines.md. Create the new-paper LaTeX project from the research paper template. Preserve evidence classifications, compile the PDF, render it, and visually inspect every page before delivery.

Detailed Reading Standards

During Stage 1, unless the user asks for only one part, proceed in this order:

  1. Identify basic paper information: title, authors, subfield, main objects, problem, and related classical themes such as Turan-type problems, Ramsey numbers, Hall theorem, Menger theorem, Erdos-Renyi random graphs, Szemeredi regularity lemma, spectral radius, expander graphs, graph minors, coloring, matching, connectivity, or hypergraphs. Mark direct evidence versus inference.
  2. Give a quick overview: problem, main result, relation to known results, technical route, prerequisites, likely difficult sections, and the core proof idea.
  3. Build a notation table: symbol, meaning, location or context, whether standard, possible conflicts, and likely confusion points.
  4. Extract definitions, lemmas, propositions, theorems, corollaries, claims, observations, cases, conjectures, remarks, examples, and counterexamples. For each result, record hypotheses, conclusion, dependencies, role in the main theorem, and proof method tag.
  5. Provide a dependency map in text when possible, for example:
Main Theorem
|- Lemma 2.1: structural reduction
|- Lemma 2.4: counting estimate
|  `- Claim 2.3: neighborhood bound
`- Proposition 3.1: extremal construction
  1. Break down proofs beyond a high-level summary: target, assumptions, construction, key inequality or induction step, bottleneck, graph-specific ideas, technical estimates, hidden assumptions, missing details, and how the conclusion follows.
  2. Look for examples, counterexamples, lower-bound constructions, sharpness discussions, random constructions, blow-ups, complete or complete bipartite graphs, cycles, trees, expanders, minors, and small-n illustrations.
  3. Diagnose reading difficulty and propose an order for undergraduate-level readers, graduate-level readers, and readers trying to reproduce the proof.

Output Formats

For a whole paper, the following sections are the content outline for the LaTeX reading report, not a Markdown-only deliverable. The default remains the LaTeX source plus a compiled, rendered, and visually inspected PDF:

# 论文阅读笔记

## 1. 一句话概括
## 2. 研究问题
## 3. 主要结论
## 4. 关键定义与记号表
| 符号 | 含义 | 备注 |
|---|---|---|
## 5. 定理与依赖关系
## 6. 主证明思路
## 7. 技术细节拆解
## 8. 例子、反例与 tightness
## 9. 读者可能卡住的地方
## 10. 建议阅读顺序
## 11. 可继续追问的问题

Use assets/paper-reading-template.md only when the user explicitly requests short inline notes; this Markdown form is not a whole-paper deliverable. If the environment lacks any capability required to generate, compile, render, or visually verify the LaTeX/PDF artifacts, report the missing capability and stop. Do not downgrade a whole-paper deliverable to Markdown.

For a theorem, lemma, or proof fragment, use the shorter structure:

# 定理/证明拆解

## 陈述
## 前提
## 结论
## 证明路线
## 关键步骤
## 容易误解之处
## 用小例子解释
## 还需要检查的细节

Keep answers proportional. If the user asks "这一步为什么成立?", focus on that step first, then list only the context still needed.

Proof Analysis Standards

  • Start by restating the exact proof goal and the assumptions in force at the analyzed step.
  • For every nontrivial inference, identify the used hypothesis, definition, lemma, theorem, inequality, or construction.
  • Distinguish the proof idea from the proof skeleton and from technical estimates.
  • Explain why a construction is chosen: what obstacle it removes, what quantity it controls, or what extremal property it exploits.
  • For complex proofs, output a 1-paragraph proof idea, step-by-step skeleton, technical lemmas used, "why this works" explanation, possible confusion points, and suggested re-reading order.
  • When checking a proof, actively look for hidden assumptions, missing quantifier dependencies, boundary cases, parameter hierarchy problems, and places where an induced/non-induced or directed/undirected condition could matter.

Subfield Reminders

  • Extremal graph theory: identify forbidden subgraphs, extremal functions such as ex(n,H), lower-bound constructions, stability statements, and whether a result is exact or asymptotic.
  • Random graphs: state the model such as G(n,p), G(n,m), random regular graph, or hypergraph model; track whp/a.a.s. and threshold language.
  • Spectral graph theory: state whether the matrix is adjacency, Laplacian, normalized Laplacian, signless Laplacian, or another operator; identify eigenvalue ordering and normalization.
  • Coloring and Ramsey theory: track color count, forbidden monochromatic structures, chromatic number, list coloring, edge versus vertex coloring, and extremal examples.
  • Matching and connectivity: track Hall-type conditions, augmenting paths, cuts, Menger-style statements, vertex versus edge connectivity, and parity issues.
  • Graph minors and structural graph theory: distinguish minors, topological minors, subdivisions, immersions, treewidth, excluded-minor hypotheses, and decomposition statements.
  • Hypergraphs and directed graphs: explicitly restate uniformity, orientation conventions, degree notions, paths/cycles, and whether results reduce to ordinary graph cases.

Interaction Pattern

  • When the user uploads or pastes a whole paper, first give an overview and point out the theorem or lemma most worth deep reading. Ask whether they want "快速读懂" or "逐行 proof verification"; if they do not choose, proceed with structured reading notes through Stage 2, then stop at the first [USER GATE].
  • When the user pastes a proof fragment, first locate the fragment's role in the proof, then explain each step, then list context-dependent points that remain unverified.
  • When the user says "我没看懂", do not repeat the original text. Use a smaller example, make abstract objects concrete, explain the local goal of the step, and give an intuitive picture.
  • When the user asks whether a theorem is tight, actively search the provided text for constructions, lower bounds, counterexamples, or sharpness discussions before answering. If none are present, say so and suggest what evidence would be needed.

Recoverable State

At every stage end, follow references/recoverable-state.md: save the required Markdown, JSON, TeX/PDF, code/data logs, and user-confirmation record under new or versioned paths. Record the last approved [USER GATE]. On resume, continue from the 最后批准的 gate and do 不重读已归档证据; read only new, changed, unresolved, or integrity-failed evidence. 不得覆盖用户文件.

Final Self-Check

Before finalizing an answer, verify:

  • No unsupported theorem, definition, citation, or author claim has been added.
  • Quantifiers, parameter ranges, and graph assumptions are preserved.
  • Asymptotic, probabilistic, spectral, induced, directed, hypergraph, and algorithmic details are not silently simplified.
  • The dependency relation between definitions, lemmas, claims, and main theorems is explicit enough for the user's question.
  • Examples and tightness constructions are discussed when relevant.
Ver el texto completo de la licencia (MIT)
MIT License

Copyright (c) 2026 VeryMath

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.