@louisultra/dsh-verymath 0.0.0-stage → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +133 -0
- package/LICENSE +21 -0
- package/NOTICE.md +35 -0
- package/README.md +108 -2
- package/README_EN.md +105 -0
- package/UPSTREAM.json +106 -0
- package/cordis.patch.yml +12 -0
- package/docs/capability-examples.md +581 -0
- package/docs/examples/README.md +32 -0
- package/docs/examples/bad_scan.md +10 -0
- package/docs/examples/broken-proof.lean +9 -0
- package/docs/examples/claims.md +7 -0
- package/docs/examples/knapsack.json +10 -0
- package/docs/examples/matrix.json +1 -0
- package/docs/examples/points.csv +21 -0
- package/docs/examples/qp.json +8 -0
- package/docs/examples/research-ws/project/GOALS.yaml +4 -0
- package/docs/examples/research-ws/workstreams/ws-lsa/report.md +13 -0
- package/docs/examples/research-ws/workstreams/ws-lsa/reviews/r1.json +1 -0
- package/docs/examples/research-ws/workstreams/ws-lsa/status.yaml +1 -0
- package/docs/examples/source.csv +4 -0
- package/lib/core/error.d.ts +20 -0
- package/lib/core/error.js +25 -0
- package/lib/core/gates.d.ts +42 -0
- package/lib/core/gates.js +217 -0
- package/lib/core/glossary.d.ts +101 -0
- package/lib/core/glossary.js +243 -0
- package/lib/core/graph.d.ts +118 -0
- package/lib/core/graph.js +460 -0
- package/lib/core/index.d.ts +120 -0
- package/lib/core/index.js +197 -0
- package/lib/core/paper.d.ts +163 -0
- package/lib/core/paper.js +73 -0
- package/lib/core/paths.d.ts +2 -0
- package/lib/core/paths.js +12 -0
- package/lib/core/sage.d.ts +61 -0
- package/lib/core/sage.js +212 -0
- package/lib/core/skills.d.ts +11 -0
- package/lib/core/skills.js +110 -0
- package/lib/tool/index.d.ts +21 -0
- package/lib/tool/index.js +1144 -0
- package/package.json +92 -4
- package/skills/after-ocr/SKILL.md +123 -0
- package/skills/after-ocr/references/audit-schema.md +94 -0
- package/skills/after-ocr/references/error-taxonomy.md +179 -0
- package/skills/after-ocr/scripts/merge_audit_logs.py +329 -0
- package/skills/after-ocr/scripts/scan_markdown_ocr.py +350 -0
- package/skills/after-ocr/tests/test_scripts.py +84 -0
- package/skills/discover-math-problems/SKILL.md +115 -0
- package/skills/discover-math-problems/references/artifact-contract.md +93 -0
- package/skills/discover-math-problems/references/autonomous-research-protocol.md +86 -0
- package/skills/discover-math-problems/references/conjecture-generation-protocol.md +63 -0
- package/skills/discover-math-problems/references/extremal-graph-variants.md +53 -0
- package/skills/graph-theory-paper-reading/SKILL.md +600 -0
- package/skills/invariant-computation/SKILL.md +169 -0
- package/skills/invariant-computation/examples/invariant_summary.example.json +51 -0
- package/skills/invariant-computation/manifest.yaml +46 -0
- package/skills/invariant-computation/references/INDEX.md +20 -0
- package/skills/invariant-computation/references/failure_modes.md +40 -0
- package/skills/invariant-computation/references/method_route_map.md +177 -0
- package/skills/invariant-computation/references/source_notes.md +19 -0
- package/skills/invariant-computation/references/tool_catalog.md +65 -0
- package/skills/invariant-computation/references/validation_checks.md +52 -0
- package/skills/invariant-computation/schema/invariant_summary.schema.json +260 -0
- package/skills/lean-formalization/SKILL.md +111 -0
- package/skills/lean-formalization/lean-runtime/config/env.example +5 -0
- package/skills/lean-formalization/lean-runtime/config/lean_agent.example.toml +28 -0
- package/skills/lean-formalization/lean-runtime/config/numina_runtime.example.toml +12 -0
- package/skills/lean-formalization/lean-runtime/examples/smoke/LocalLeanSmoke.lean +7 -0
- package/skills/lean-formalization/lean-runtime/prompts/complete_sorries.md +3 -0
- package/skills/lean-formalization/lean-runtime/prompts/formalize_statement.md +3 -0
- package/skills/lean-formalization/lean-runtime/prompts/prove_theorem.md +3 -0
- package/skills/lean-formalization/lean-runtime/prompts/repair_lean_file.md +3 -0
- package/skills/lean-formalization/lean-runtime/references/backend_adapter_checklist.md +36 -0
- package/skills/lean-formalization/lean-runtime/references/direct_lean_workflow.md +48 -0
- package/skills/lean-formalization/lean-runtime/references/failure_taxonomy.md +17 -0
- package/skills/lean-formalization/lean-runtime/references/interactive_orchestration.md +83 -0
- package/skills/lean-formalization/lean-runtime/references/lean_agent_capability_map.md +116 -0
- package/skills/lean-formalization/lean-runtime/references/lean_lsp_mcp_adapter.md +219 -0
- package/skills/lean-formalization/lean-runtime/references/lean_runtime_configuration.md +92 -0
- package/skills/lean-formalization/lean-runtime/references/numina_reverse_analysis.md +80 -0
- package/skills/lean-formalization/lean-runtime/references/numina_runtime.md +41 -0
- package/skills/lean-formalization/lean-runtime/references/numina_subagent_troubleshooting.md +77 -0
- package/skills/lean-formalization/lean-runtime/references/review_checklist.md +10 -0
- package/skills/lean-formalization/lean-runtime/references/specialist_agent_patterns.md +65 -0
- package/skills/lean-formalization/lean-runtime/schemas/config.schema.json +12 -0
- package/skills/lean-formalization/lean-runtime/schemas/result.schema.json +33 -0
- package/skills/lean-formalization/lean-runtime/schemas/task.schema.json +30 -0
- package/skills/lean-formalization/lean-runtime/scripts/ai4m_lean.py +222 -0
- package/skills/lean-formalization/lean-runtime/scripts/check_lean_project.py +134 -0
- package/skills/lean-formalization/lean-runtime/scripts/common.py +296 -0
- package/skills/lean-formalization/lean-runtime/scripts/configure_lean.py +222 -0
- package/skills/lean-formalization/lean-runtime/scripts/detect_sorry.py +49 -0
- package/skills/lean-formalization/lean-runtime/scripts/direct_task.py +100 -0
- package/skills/lean-formalization/lean-runtime/scripts/extract_minimal_failure.py +74 -0
- package/skills/lean-formalization/lean-runtime/scripts/numina_runtime.py +414 -0
- package/skills/lean-formalization/lean-runtime/scripts/smoke_test.py +75 -0
- package/skills/lean-formalization/lean-runtime/scripts/tool_status.py +79 -0
- package/skills/lean-formalization/lean-runtime/scripts/validate_patch.py +81 -0
- package/skills/lean-formalization/lean-runtime/scripts/verify_delivery.py +484 -0
- package/skills/lean-formalization/lean-runtime/tests/fixtures/after_bad.lean +4 -0
- package/skills/lean-formalization/lean-runtime/tests/fixtures/after_statement_changed.lean +4 -0
- package/skills/lean-formalization/lean-runtime/tests/fixtures/before.lean +4 -0
- package/skills/lean-formalization/lean-runtime/tests/fixtures/failure.lean +7 -0
- package/skills/lean-formalization/lean-runtime/tests/test_check_lean_project.py +59 -0
- package/skills/lean-formalization/lean-runtime/tests/test_cli.py +377 -0
- package/skills/lean-formalization/lean-runtime/tests/test_common_config.py +84 -0
- package/skills/lean-formalization/lean-runtime/tests/test_configure_lean.py +138 -0
- package/skills/lean-formalization/lean-runtime/tests/test_detect_sorry.py +24 -0
- package/skills/lean-formalization/lean-runtime/tests/test_direct_task.py +69 -0
- package/skills/lean-formalization/lean-runtime/tests/test_numina_runtime.py +168 -0
- package/skills/lean-formalization/lean-runtime/tests/test_validate_patch.py +29 -0
- package/skills/lean-setup/SKILL.md +99 -0
- package/skills/least-squares/README.md +85 -0
- package/skills/least-squares/SKILL.md +613 -0
- package/skills/least-squares/examples.md +380 -0
- package/skills/math-beamer/SKILL.md +325 -0
- package/skills/math-beamer/references/build-and-layout-audit.md +63 -0
- package/skills/math-beamer/references/math-domain-patterns.md +56 -0
- package/skills/math-beamer/references/template-policy.md +43 -0
- package/skills/math-beamer/references/template-source-index.md +51 -0
- package/skills/math-beamer/templates/catalog.yaml +235 -0
- package/skills/math-beamer/templates/packs/algebra-number-theory-talk/main.tex +45 -0
- package/skills/math-beamer/templates/packs/algebra-number-theory-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/algorithm-talk/main.tex +43 -0
- package/skills/math-beamer/templates/packs/algorithm-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/analysis-core-talk/main.tex +49 -0
- package/skills/math-beamer/templates/packs/analysis-core-talk/template.yaml +19 -0
- package/skills/math-beamer/templates/packs/backup-heavy-talk/main.tex +40 -0
- package/skills/math-beamer/templates/packs/backup-heavy-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/beamerposter-a0/main.tex +45 -0
- package/skills/math-beamer/templates/packs/beamerposter-a0/template.yaml +12 -0
- package/skills/math-beamer/templates/packs/combinatorics-graph-talk/main.tex +53 -0
- package/skills/math-beamer/templates/packs/combinatorics-graph-talk/template.yaml +18 -0
- package/skills/math-beamer/templates/packs/control-systems-talk/main.tex +51 -0
- package/skills/math-beamer/templates/packs/control-systems-talk/template.yaml +18 -0
- package/skills/math-beamer/templates/packs/course-lecture-zh/main.tex +43 -0
- package/skills/math-beamer/templates/packs/course-lecture-zh/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/data-experiment-results/main.tex +45 -0
- package/skills/math-beamer/templates/packs/data-experiment-results/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/dynamical-systems-talk/main.tex +42 -0
- package/skills/math-beamer/templates/packs/dynamical-systems-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/geometry-topology-talk/main.tex +43 -0
- package/skills/math-beamer/templates/packs/geometry-topology-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/information-coding-crypto-talk/main.tex +49 -0
- package/skills/math-beamer/templates/packs/information-coding-crypto-talk/template.yaml +18 -0
- package/skills/math-beamer/templates/packs/logic-foundations-category-talk/main.tex +51 -0
- package/skills/math-beamer/templates/packs/logic-foundations-category-talk/template.yaml +18 -0
- package/skills/math-beamer/templates/packs/numerical-analysis-talk/main.tex +51 -0
- package/skills/math-beamer/templates/packs/numerical-analysis-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/optimization-talk/main.tex +58 -0
- package/skills/math-beamer/templates/packs/optimization-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/pde-analysis-talk/main.tex +49 -0
- package/skills/math-beamer/templates/packs/pde-analysis-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/probability-statistics-talk/main.tex +52 -0
- package/skills/math-beamer/templates/packs/probability-statistics-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/reading-group-paper/main.tex +46 -0
- package/skills/math-beamer/templates/packs/reading-group-paper/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/seminar-minimal-en/main.tex +60 -0
- package/skills/math-beamer/templates/packs/seminar-minimal-en/template.yaml +13 -0
- package/skills/math-beamer/templates/packs/seminar-minimal-zh/main.tex +60 -0
- package/skills/math-beamer/templates/packs/seminar-minimal-zh/template.yaml +13 -0
- package/skills/math-beamer/templates/packs/theorem-proof-talk/main.tex +60 -0
- package/skills/math-beamer/templates/packs/theorem-proof-talk/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/thesis-defense/main.tex +42 -0
- package/skills/math-beamer/templates/packs/thesis-defense/template.yaml +9 -0
- package/skills/math-beamer/templates/packs/workshop-tutorial/main.tex +32 -0
- package/skills/math-beamer/templates/packs/workshop-tutorial/template.yaml +9 -0
- package/skills/math-beamer/templates/preview-gallery.md +32 -0
- package/skills/math-beamer/templates/previews/algebra-number-theory-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/algebra-number-theory-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/algorithm-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/algorithm-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/analysis-core-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/analysis-core-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/backup-heavy-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/backup-heavy-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/beamerposter-a0-content.png +0 -0
- package/skills/math-beamer/templates/previews/beamerposter-a0-cover.png +0 -0
- package/skills/math-beamer/templates/previews/combinatorics-graph-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/combinatorics-graph-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/control-systems-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/control-systems-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/course-lecture-zh-content.png +0 -0
- package/skills/math-beamer/templates/previews/course-lecture-zh-cover.png +0 -0
- package/skills/math-beamer/templates/previews/data-experiment-results-content.png +0 -0
- package/skills/math-beamer/templates/previews/data-experiment-results-cover.png +0 -0
- package/skills/math-beamer/templates/previews/dynamical-systems-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/dynamical-systems-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/geometry-topology-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/geometry-topology-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/information-coding-crypto-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/information-coding-crypto-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/logic-foundations-category-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/logic-foundations-category-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/numerical-analysis-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/numerical-analysis-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/optimization-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/optimization-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/pde-analysis-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/pde-analysis-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/probability-statistics-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/probability-statistics-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/reading-group-paper-content.png +0 -0
- package/skills/math-beamer/templates/previews/reading-group-paper-cover.png +0 -0
- package/skills/math-beamer/templates/previews/seminar-minimal-en-content.png +0 -0
- package/skills/math-beamer/templates/previews/seminar-minimal-en-cover.png +0 -0
- package/skills/math-beamer/templates/previews/seminar-minimal-zh-content.png +0 -0
- package/skills/math-beamer/templates/previews/seminar-minimal-zh-cover.png +0 -0
- package/skills/math-beamer/templates/previews/theorem-proof-talk-content.png +0 -0
- package/skills/math-beamer/templates/previews/theorem-proof-talk-cover.png +0 -0
- package/skills/math-beamer/templates/previews/thesis-defense-content.png +0 -0
- package/skills/math-beamer/templates/previews/thesis-defense-cover.png +0 -0
- package/skills/math-beamer/templates/previews/workshop-tutorial-content.png +0 -0
- package/skills/math-beamer/templates/previews/workshop-tutorial-cover.png +0 -0
- package/skills/math-beamer/templates/review-report.md +54 -0
- package/skills/math-beamer/templates/slide-source-ledger.md +22 -0
- package/skills/math-beamer/templates/source-packet.md +50 -0
- package/skills/math-glossary/SKILL.md +347 -0
- package/skills/math-glossary/references/glossary-schema.md +71 -0
- package/skills/math-glossary/references/glossary-usage-guide.md +176 -0
- package/skills/math-glossary/references/glossary-web-template.md +127 -0
- package/skills/math-glossary/references/glossary.schema.json +76 -0
- package/skills/math-glossary/references/user-manual.md +435 -0
- package/skills/math-glossary/requirements-ai.txt +3 -0
- package/skills/math-glossary/requirements.txt +3 -0
- package/skills/math-glossary/scripts/glossary_backup.py +42 -0
- package/skills/math-glossary/scripts/glossary_build.py +467 -0
- package/skills/math-glossary/scripts/glossary_enrich_examples.py +283 -0
- package/skills/math-glossary/scripts/glossary_export.py +333 -0
- package/skills/math-glossary/scripts/glossary_web.py +1265 -0
- package/skills/math-paper-reading/README.md +163 -0
- package/skills/math-paper-reading/SKILL.md +48 -0
- package/skills/math-paper-reading/agent_router.md +36 -0
- package/skills/math-paper-reading/references/proof_pattern_taxonomy.md +123 -0
- package/skills/math-paper-reading/references/quality_rubric.md +36 -0
- package/skills/math-paper-reading/skill_base.md +627 -0
- package/skills/math-paper-reading/skill_literature_search.md +866 -0
- package/skills/math-paper-reading/skill_paper_deep_read.md +1024 -0
- package/skills/math-paper-reading/skill_pathway_proof.md +718 -0
- package/skills/math-paper-reading/skill_reference_manager.md +746 -0
- package/skills/matlab-runner/SKILL.md +217 -0
- package/skills/matlab-runner/examples/README.md +33 -0
- package/skills/matlab-runner/examples/matrix_report.m +28 -0
- package/skills/matlab-runner/examples/plot_damped_sine.m +64 -0
- package/skills/matlab-runner/examples/test_vector_norm.m +12 -0
- package/skills/matlab-runner/references/client-setup.md +24 -0
- package/skills/matlab-runner/references/file-session-safety.md +86 -0
- package/skills/matlab-runner/references/numerical-safety.md +126 -0
- package/skills/matlab-runner/references/resource-safety.md +125 -0
- package/skills/mixed-integer-programming/SKILL.md +119 -0
- package/skills/mixed-integer-programming/lp-examples.md +251 -0
- package/skills/mixed-integer-programming/mip-examples-verified.md +118 -0
- package/skills/open-problem-research-pipeline/SKILL.md +76 -0
- package/skills/open-problem-research-pipeline/skill_literature_analysis.md +201 -0
- package/skills/open-problem-research-pipeline/skill_literature_proof_framework.md +206 -0
- package/skills/open-problem-research-pipeline/skill_literature_search.md +172 -0
- package/skills/open-problem-research-pipeline/skill_qskill.md +177 -0
- package/skills/osqp-solver/SKILL.md +245 -0
- package/skills/osqp-solver/references/citation.md +25 -0
- package/skills/osqp-solver/references/dual-infeasible-example.json +14 -0
- package/skills/osqp-solver/references/feasible-example.json +21 -0
- package/skills/osqp-solver/references/primal-infeasible-example.json +17 -0
- package/skills/osqp-solver/references/python-api.md +95 -0
- package/skills/osqp-solver/references/verification.md +94 -0
- package/skills/osqp-solver/scripts/check_osqp_environment.py +120 -0
- package/skills/osqp-solver/scripts/solve_qp.py +943 -0
- package/skills/paper-writing/SKILL.md +115 -0
- package/skills/paper-writing/skill_claim_evidence_ledger.md +55 -0
- package/skills/paper-writing/skill_formula_environment_and_readability.md +41 -0
- package/skills/paper-writing/skill_latex_build_and_layout_audit.md +73 -0
- package/skills/paper-writing/skill_notation_and_variable_consistency.md +42 -0
- package/skills/paper-writing/skill_paper_skeleton_and_logical_architecture.md +54 -0
- package/skills/paper-writing/skill_proof_obligation_and_assumption_audit.md +57 -0
- package/skills/paper-writing/templates/claim-evidence-ledger.md +23 -0
- package/skills/paper-writing/templates/proof-obligation-ledger.md +22 -0
- package/skills/paper-writing/templates/rapid-prototype-paper-skeleton.md +46 -0
- package/skills/paper-writing/templates/source-packet.md +37 -0
- package/skills/paper-writing/templates/submission-readiness.md +41 -0
- package/skills/proof-blueprint-review/SKILL.md +129 -0
- package/skills/proof-blueprint-review/references/agent-mediated-proof-protocol.md +57 -0
- package/skills/proof-blueprint-review/references/generation-agent.md +45 -0
- package/skills/proof-blueprint-review/references/proof-acceptance-contract.md +41 -0
- package/skills/proof-blueprint-review/references/verification-agent.md +37 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""after-ocr 辅助脚本的最小回归测试。"""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import importlib.util
|
|
7
|
+
import tempfile
|
|
8
|
+
import unittest
|
|
9
|
+
from pathlib import Path
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def load_module(name: str, path: Path):
|
|
16
|
+
spec = importlib.util.spec_from_file_location(name, path)
|
|
17
|
+
if spec is None or spec.loader is None:
|
|
18
|
+
raise RuntimeError(f"无法加载模块:{path}")
|
|
19
|
+
module = importlib.util.module_from_spec(spec)
|
|
20
|
+
spec.loader.exec_module(module)
|
|
21
|
+
return module
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
scanner = load_module("after_ocr_scanner", ROOT / "scripts" / "scan_markdown_ocr.py")
|
|
25
|
+
merger = load_module("after_ocr_merger", ROOT / "scripts" / "merge_audit_logs.py")
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class ScannerTests(unittest.TestCase):
|
|
29
|
+
def test_detects_core_candidate_rules(self):
|
|
30
|
+
source = """# 示例
|
|
31
|
+
$$ \\sinx + \\operatorname*{m a x} + \\text{sup} p + \\mathbb{D} + \\tilde{7} + K_{80} \\
|
|
32
|
+
\\begin{aligned} a &= b \\end{array}
|
|
33
|
+
called $tangent space$
|
|
34
|
+
"""
|
|
35
|
+
with tempfile.TemporaryDirectory() as directory:
|
|
36
|
+
path = Path(directory) / "sample.md"
|
|
37
|
+
path.write_text(source, encoding="utf-8")
|
|
38
|
+
findings, summary = scanner.scan(path)
|
|
39
|
+
|
|
40
|
+
rules = {item["rule"] for item in findings}
|
|
41
|
+
self.assertIn("operator-glued", rules)
|
|
42
|
+
self.assertIn("spaced-operator", rules)
|
|
43
|
+
self.assertIn("split-support", rules)
|
|
44
|
+
self.assertIn("distribution-space-font", rules)
|
|
45
|
+
self.assertIn("accented-digit", rules)
|
|
46
|
+
self.assertIn("epsilon-index-as-digits", rules)
|
|
47
|
+
self.assertIn("plain-words-in-inline-math", rules)
|
|
48
|
+
self.assertIn("environment-mismatch", rules)
|
|
49
|
+
self.assertIn("unclosed-display-math", rules)
|
|
50
|
+
self.assertEqual(summary["lines"], 4)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class MergerTests(unittest.TestCase):
|
|
54
|
+
def test_preserves_canonical_category_and_merges_same_position(self):
|
|
55
|
+
template = """# 审校日志
|
|
56
|
+
|
|
57
|
+
- Markdown:`/tmp/source.md`
|
|
58
|
+
|
|
59
|
+
### AO-X-{pass_name}-001
|
|
60
|
+
|
|
61
|
+
- 位置:`/tmp/source.md:12`
|
|
62
|
+
- 类别:`MATH_OCR_SYMBOL`
|
|
63
|
+
- 严重度:中
|
|
64
|
+
- 置信度:高
|
|
65
|
+
- 当前内容:`x`
|
|
66
|
+
- 问题:符号错误
|
|
67
|
+
- 建议修复:改为 `y`
|
|
68
|
+
- 证据:上下文一致性
|
|
69
|
+
"""
|
|
70
|
+
with tempfile.TemporaryDirectory() as directory:
|
|
71
|
+
first = Path(directory) / "a.md"
|
|
72
|
+
second = Path(directory) / "b.md"
|
|
73
|
+
first.write_text(template.format(pass_name="A"), encoding="utf-8")
|
|
74
|
+
second.write_text(template.format(pass_name="B"), encoding="utf-8")
|
|
75
|
+
records = merger.parse_log(first) + merger.parse_log(second)
|
|
76
|
+
rendered = merger.render(records, [first, second])
|
|
77
|
+
|
|
78
|
+
self.assertEqual([record["category"] for record in records], ["MATH_OCR_SYMBOL"] * 2)
|
|
79
|
+
self.assertIn("多轮共同命中的位置:1", rendered)
|
|
80
|
+
self.assertIn("`MATH_OCR_SYMBOL`:2", rendered)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
if __name__ == "__main__":
|
|
84
|
+
unittest.main()
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: discover-math-problems
|
|
3
|
+
description: "Use when Codex should turn fuzzy mathematical background, scattered notes, domain intuition, failed proof attempts, immature theorem ideas, or extremal graph questions needing variants into ranked candidate problems, a conjecture lattice, evidence ledger, counterexample pressure, proof obligations, work orders, and a resumable research_state_packet. Use before theorem proving or formal verification when the user does not yet know which mathematical problem should be pursued."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Discover Math Problems
|
|
7
|
+
|
|
8
|
+
## DSH Integration Notes
|
|
9
|
+
|
|
10
|
+
- 本技能由 `@louisultra/dsh-verymath` 插件提供;纯方法论,零外部依赖。
|
|
11
|
+
- 状态纪律("Never call a conjecture a theorem")在 DSH 会话中继续生效;
|
|
12
|
+
研究状态包(research_state_packet)与 work_orders 写入当前会话工作区。
|
|
13
|
+
- 问题发现后需要形式化验证时,路由到 lean-formalization 技能;写成论文时路由到 paper-writing。
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
This file is the shared Skill layer for the mathematical problem discovery and
|
|
17
|
+
conjecture-generation package. Keep platform adapters thin and route durable
|
|
18
|
+
research behavior back here and to the `references/` protocol files.
|
|
19
|
+
|
|
20
|
+
## Core Stance
|
|
21
|
+
|
|
22
|
+
Act as a coding-agent research coordinator, not a passive CLI runner. Read the
|
|
23
|
+
user's mathematical background, inspect any local notes or source artifacts,
|
|
24
|
+
generate candidate research directions, pressure-test them, and write durable
|
|
25
|
+
artifacts that another coding agent can resume.
|
|
26
|
+
|
|
27
|
+
Reply to the user in Simplified Chinese by default. Keep artifact names, JSON
|
|
28
|
+
keys, theorem labels, commands, file paths, and status labels in English.
|
|
29
|
+
|
|
30
|
+
## First Move
|
|
31
|
+
|
|
32
|
+
If the user gives fuzzy background, start immediately by building a minimal
|
|
33
|
+
research state. Ask at most one blocking clarification question; otherwise make
|
|
34
|
+
a bounded autonomous move and report the artifacts created or updated.
|
|
35
|
+
|
|
36
|
+
Use this visible loop:
|
|
37
|
+
|
|
38
|
+
1. Extract background objects, definitions, examples, unknowns, and source leads.
|
|
39
|
+
2. Build or update the evidence ledger.
|
|
40
|
+
3. Produce a ranked `problem_menu`.
|
|
41
|
+
4. Build a `conjecture_lattice` for promising candidates.
|
|
42
|
+
5. Apply toy-model tests, counterexample pressure, novelty collision checks, and
|
|
43
|
+
assumption-boundary checks.
|
|
44
|
+
6. Write explicit `proof_obligations`.
|
|
45
|
+
7. Prepare bounded `work_orders` for follow-up coding-agent passes.
|
|
46
|
+
8. Save a resumable `research_state_packet`.
|
|
47
|
+
|
|
48
|
+
## Status Discipline
|
|
49
|
+
|
|
50
|
+
Use strict status labels:
|
|
51
|
+
|
|
52
|
+
- `background_map`
|
|
53
|
+
- `candidate_problem_menu`
|
|
54
|
+
- `candidate_conjecture`
|
|
55
|
+
- `stress_tested_conjecture`
|
|
56
|
+
- `proof_obligations_ready`
|
|
57
|
+
- `verification_ready`
|
|
58
|
+
|
|
59
|
+
`verification_ready` means ready for verification work, not already verified.
|
|
60
|
+
Never call a conjecture a theorem. Never call a proof sketch verified. Keep
|
|
61
|
+
external proof-tool execution outside this skill's status ladder.
|
|
62
|
+
|
|
63
|
+
This skill does not run verifier agents or external proof tools.
|
|
64
|
+
Do not set up external provers from this discovery workflow.
|
|
65
|
+
|
|
66
|
+
## Artifact Contract
|
|
67
|
+
|
|
68
|
+
Write durable artifacts whenever the task is more than a quick conversation:
|
|
69
|
+
|
|
70
|
+
- `background_map.md` and `background_map.json`
|
|
71
|
+
- `problem_menu.md` and `problem_menu.json`
|
|
72
|
+
- `conjecture_lattice.md` and `conjecture_lattice.json`
|
|
73
|
+
- `evidence_ledger.json`
|
|
74
|
+
- `counterexample_pressure.md`
|
|
75
|
+
- `proof_obligations.md` and `proof_obligations.json`
|
|
76
|
+
- `work_orders.md` and `work_orders.json`
|
|
77
|
+
- `research_state_packet.json`
|
|
78
|
+
- `human_decision_brief.md`
|
|
79
|
+
|
|
80
|
+
For detailed schemas and minimum fields, read
|
|
81
|
+
`references/artifact-contract.md`.
|
|
82
|
+
|
|
83
|
+
## Reference Routing
|
|
84
|
+
|
|
85
|
+
- For Turán-type or extremal graph problem variants, read
|
|
86
|
+
`references/extremal-graph-variants.md` before generating the problem menu.
|
|
87
|
+
Use its variation checklist with this skill's existing literature checks
|
|
88
|
+
and candidate ranking; retain the user's requested scope and output length.
|
|
89
|
+
- For the end-to-end autonomous research loop, read
|
|
90
|
+
`references/autonomous-research-protocol.md`.
|
|
91
|
+
- For conjecture lattice, toy model, novelty scan, and failure budget rules,
|
|
92
|
+
read `references/conjecture-generation-protocol.md`.
|
|
93
|
+
- For artifact names, JSON keys, status transitions, and handoff expectations,
|
|
94
|
+
read `references/artifact-contract.md`.
|
|
95
|
+
|
|
96
|
+
## Human Intervention
|
|
97
|
+
|
|
98
|
+
Continue autonomously unless a choice changes the mathematical intent. Ask the
|
|
99
|
+
user before:
|
|
100
|
+
|
|
101
|
+
- changing the problem domain or central object;
|
|
102
|
+
- accepting a strong external theorem as a black box;
|
|
103
|
+
- discarding the user's preferred direction;
|
|
104
|
+
- spending a long run on source acquisition or computational search;
|
|
105
|
+
- promoting `stress_tested_conjecture` to `verification_ready`.
|
|
106
|
+
|
|
107
|
+
## Failure Modes
|
|
108
|
+
|
|
109
|
+
- If sources are missing, label claims as speculation and create source-search
|
|
110
|
+
work orders.
|
|
111
|
+
- If candidates are too vague, weaken them into toy/base/strong variants.
|
|
112
|
+
- If counterexample pressure is high, do not hide it; record the pressure and
|
|
113
|
+
propose refinements.
|
|
114
|
+
- If no good problem appears, return a `no_result_recovery` section with next
|
|
115
|
+
query ladders and one focused user question.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Artifact Contract
|
|
2
|
+
|
|
3
|
+
Use these names when writing durable outputs. Markdown files are for humans;
|
|
4
|
+
JSON files are for resume and later adapters.
|
|
5
|
+
|
|
6
|
+
## Required Status Labels
|
|
7
|
+
|
|
8
|
+
- `background_map`
|
|
9
|
+
- `candidate_problem_menu`
|
|
10
|
+
- `candidate_conjecture`
|
|
11
|
+
- `stress_tested_conjecture`
|
|
12
|
+
- `proof_obligations_ready`
|
|
13
|
+
- `verification_ready`
|
|
14
|
+
|
|
15
|
+
## `problem_menu.json`
|
|
16
|
+
|
|
17
|
+
Each candidate record should include:
|
|
18
|
+
|
|
19
|
+
- `problem_id`
|
|
20
|
+
- `title`
|
|
21
|
+
- `plain_language_hook`
|
|
22
|
+
- `candidate_statement`
|
|
23
|
+
- `objects`
|
|
24
|
+
- `evidence_refs`
|
|
25
|
+
- `domain_tags`
|
|
26
|
+
- `interest_rationale`
|
|
27
|
+
- `proof_route_guess`
|
|
28
|
+
- `counterexample_risk`
|
|
29
|
+
- `source_needs`
|
|
30
|
+
- `next_action`
|
|
31
|
+
- `status`
|
|
32
|
+
|
|
33
|
+
## `conjecture_lattice.json`
|
|
34
|
+
|
|
35
|
+
Each lattice entry should include:
|
|
36
|
+
|
|
37
|
+
- `candidate_problem_id`
|
|
38
|
+
- `variant_id`
|
|
39
|
+
- `variant_type`
|
|
40
|
+
- `statement`
|
|
41
|
+
- `changed_from_base`
|
|
42
|
+
- `motivation`
|
|
43
|
+
- `toy_model_status`
|
|
44
|
+
- `risk_notes`
|
|
45
|
+
- `next_test`
|
|
46
|
+
|
|
47
|
+
## `proof_obligations.json`
|
|
48
|
+
|
|
49
|
+
Each obligation should include:
|
|
50
|
+
|
|
51
|
+
- `obligation_id`
|
|
52
|
+
- `candidate_problem_id`
|
|
53
|
+
- `claim`
|
|
54
|
+
- `depends_on`
|
|
55
|
+
- `known_support`
|
|
56
|
+
- `missing_argument`
|
|
57
|
+
- `counterexample_pressure`
|
|
58
|
+
- `status`
|
|
59
|
+
- `next_action`
|
|
60
|
+
|
|
61
|
+
## `work_orders.json`
|
|
62
|
+
|
|
63
|
+
Each work order should include:
|
|
64
|
+
|
|
65
|
+
- `work_order_id`
|
|
66
|
+
- `agent_role`
|
|
67
|
+
- `objective`
|
|
68
|
+
- `input_refs`
|
|
69
|
+
- `required_output`
|
|
70
|
+
- `ledger_patch_targets`
|
|
71
|
+
- `acceptance_criteria`
|
|
72
|
+
- `stop_conditions`
|
|
73
|
+
- `forbidden_claims`
|
|
74
|
+
|
|
75
|
+
## `research_state_packet.json`
|
|
76
|
+
|
|
77
|
+
The packet should include:
|
|
78
|
+
|
|
79
|
+
- `status_label`
|
|
80
|
+
- `seed`
|
|
81
|
+
- `background_map_ref`
|
|
82
|
+
- `problem_menu_ref`
|
|
83
|
+
- `conjecture_lattice_ref`
|
|
84
|
+
- `evidence_ledger_ref`
|
|
85
|
+
- `counterexample_pressure_ref`
|
|
86
|
+
- `proof_obligations_ref`
|
|
87
|
+
- `work_orders_ref`
|
|
88
|
+
- `decision_ledger`
|
|
89
|
+
- `blocked_items`
|
|
90
|
+
- `next_recommended_action`
|
|
91
|
+
|
|
92
|
+
Do not set `status_label` to `verification_ready` unless proof obligations are
|
|
93
|
+
explicit and unresolved counterexample pressure has been addressed or recorded.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Autonomous Research Protocol
|
|
2
|
+
|
|
3
|
+
Use this protocol when the user has mathematical taste, a vague background, a
|
|
4
|
+
note bundle, or an immature theorem idea but no precise problem yet.
|
|
5
|
+
|
|
6
|
+
## Phase 1: Background Map
|
|
7
|
+
|
|
8
|
+
Extract:
|
|
9
|
+
|
|
10
|
+
- objects and structures;
|
|
11
|
+
- morphisms, operations, invariants, and constraints;
|
|
12
|
+
- toy examples and boundary cases;
|
|
13
|
+
- unknown definitions or ambiguous terminology;
|
|
14
|
+
- likely source lanes and search pivots;
|
|
15
|
+
- user preferences and forbidden shortcuts.
|
|
16
|
+
|
|
17
|
+
Output `background_map` with a confidence level for each item. Mark unsupported
|
|
18
|
+
items as speculation.
|
|
19
|
+
|
|
20
|
+
## Phase 2: Evidence Ledger
|
|
21
|
+
|
|
22
|
+
Separate:
|
|
23
|
+
|
|
24
|
+
- `source_evidence`: grounded in a cited source or user-provided artifact;
|
|
25
|
+
- `user_intent`: explicitly supplied by the user;
|
|
26
|
+
- `analogy`: plausible transfer from nearby mathematics;
|
|
27
|
+
- `speculation`: useful but ungrounded;
|
|
28
|
+
- `missing_source`: a claim that needs acquisition.
|
|
29
|
+
|
|
30
|
+
Do not let analogy or speculation become a theorem-like claim.
|
|
31
|
+
|
|
32
|
+
## Phase 3: Problem Menu
|
|
33
|
+
|
|
34
|
+
Return a ranked menu, not a single forced direction. Each item needs:
|
|
35
|
+
|
|
36
|
+
- `problem_id`
|
|
37
|
+
- plain-language hook
|
|
38
|
+
- formal candidate statement or question
|
|
39
|
+
- mathematical objects involved
|
|
40
|
+
- evidence anchors
|
|
41
|
+
- why it may be interesting
|
|
42
|
+
- likely proof route
|
|
43
|
+
- counterexample risk
|
|
44
|
+
- source acquisition needs
|
|
45
|
+
- suggested next action
|
|
46
|
+
|
|
47
|
+
Prefer 5 to 9 candidates. If the background is too thin, return fewer candidates
|
|
48
|
+
and a `no_result_recovery` section.
|
|
49
|
+
|
|
50
|
+
## Phase 4: Conjecture Lattice
|
|
51
|
+
|
|
52
|
+
For promising candidates, generate toy, weak, base, strong, and analogous
|
|
53
|
+
variants. Keep variants connected to the user intent and evidence ledger.
|
|
54
|
+
|
|
55
|
+
## Phase 5: Pressure Before Proof
|
|
56
|
+
|
|
57
|
+
Before proof drafting, run:
|
|
58
|
+
|
|
59
|
+
- toy-model checks;
|
|
60
|
+
- boundary case checks;
|
|
61
|
+
- counterexample search prompts;
|
|
62
|
+
- assumption-minimality checks;
|
|
63
|
+
- prior-art collision checks;
|
|
64
|
+
- proof-obligation extraction.
|
|
65
|
+
|
|
66
|
+
## Phase 6: Work Orders
|
|
67
|
+
|
|
68
|
+
Write bounded work orders for later coding-agent passes. Each work order needs:
|
|
69
|
+
|
|
70
|
+
- objective;
|
|
71
|
+
- input refs;
|
|
72
|
+
- expected output;
|
|
73
|
+
- ledger patch targets;
|
|
74
|
+
- acceptance criteria;
|
|
75
|
+
- stop conditions;
|
|
76
|
+
- forbidden claims.
|
|
77
|
+
|
|
78
|
+
Work orders should advance the state through evidence, critique, counterexample,
|
|
79
|
+
proof planning, or verification preparation. They should not mutate the state
|
|
80
|
+
packet directly without review.
|
|
81
|
+
|
|
82
|
+
## Phase 7: State Packet
|
|
83
|
+
|
|
84
|
+
Persist a `research_state_packet` containing current status, candidate problems,
|
|
85
|
+
evidence, conjectures, counterexamples, proof obligations, decisions, blocked
|
|
86
|
+
items, and next work orders.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Conjecture Generation Protocol
|
|
2
|
+
|
|
3
|
+
## Conjecture Lattice
|
|
4
|
+
|
|
5
|
+
For each promising candidate, produce variants:
|
|
6
|
+
|
|
7
|
+
- `toy`: smallest nontrivial case or simplified object.
|
|
8
|
+
- `weak`: relaxed conclusion or stronger assumptions.
|
|
9
|
+
- `base`: best current theorem-shaped candidate.
|
|
10
|
+
- `strong`: sharper conclusion or weaker assumptions.
|
|
11
|
+
- `analogous`: transferred version from a neighboring domain.
|
|
12
|
+
|
|
13
|
+
Every variant must state what changed and why it may help.
|
|
14
|
+
|
|
15
|
+
## Toy Model Ladder
|
|
16
|
+
|
|
17
|
+
Run examples before proof:
|
|
18
|
+
|
|
19
|
+
1. trivial case;
|
|
20
|
+
2. smallest nontrivial case;
|
|
21
|
+
3. generic finite case or computational toy case;
|
|
22
|
+
4. boundary case;
|
|
23
|
+
5. suspected counterexample family.
|
|
24
|
+
|
|
25
|
+
Record whether each toy model supports, refines, or threatens the conjecture.
|
|
26
|
+
|
|
27
|
+
## Novelty Scan
|
|
28
|
+
|
|
29
|
+
Novelty scan is not a proof of novelty. It only checks collision risk.
|
|
30
|
+
|
|
31
|
+
Track:
|
|
32
|
+
|
|
33
|
+
- likely known theorem;
|
|
34
|
+
- possible folklore result;
|
|
35
|
+
- source lane to inspect;
|
|
36
|
+
- exact phrase or query seed;
|
|
37
|
+
- whether the candidate should pause for source acquisition.
|
|
38
|
+
|
|
39
|
+
## Failure Budget
|
|
40
|
+
|
|
41
|
+
Assign a rough failure budget:
|
|
42
|
+
|
|
43
|
+
- `0`: probably false or already contradicted.
|
|
44
|
+
- `1`: vague, source-poor, or mostly motivational.
|
|
45
|
+
- `2`: plausible but needs evidence or sharpening.
|
|
46
|
+
- `3`: stress-testable with clear assumptions.
|
|
47
|
+
- `4`: proof-sketch-ready with explicit obligations.
|
|
48
|
+
- `5`: verification-ready after obligations are resolved.
|
|
49
|
+
|
|
50
|
+
Do not spend long proof effort on budget `0` or `1` unless the task is to
|
|
51
|
+
explain failure.
|
|
52
|
+
|
|
53
|
+
## Refinement Moves
|
|
54
|
+
|
|
55
|
+
When a conjecture is weak or threatened, try:
|
|
56
|
+
|
|
57
|
+
- weaken conclusion;
|
|
58
|
+
- strengthen assumptions;
|
|
59
|
+
- restrict object class;
|
|
60
|
+
- add missing finiteness/regularity/hypothesis;
|
|
61
|
+
- replace equality with inequality, bound, or existence;
|
|
62
|
+
- split into lemma sequence;
|
|
63
|
+
- reframe as obstruction or counterexample question.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# 极值图论问题变体清单
|
|
2
|
+
|
|
3
|
+
当用户围绕“禁用某类子图,最大化某个量”寻找研究问题时,使用这份清单
|
|
4
|
+
补充 `discover-math-problems` 的候选生成步骤。候选排序、文献核对和后续
|
|
5
|
+
研究记录继续遵循 [主流程](../SKILL.md)。
|
|
6
|
+
|
|
7
|
+
## 先明确原问题
|
|
8
|
+
|
|
9
|
+
- 图的范围:简单图或其他模型,有无方向,是否限制为二部图、平面图等。
|
|
10
|
+
- 禁用条件:一个图或图族,禁止普通子图还是诱导子图。
|
|
11
|
+
- 优化对象:边数、固定图的拷贝数、谱半径等;计数时区分带标号与不带标号。
|
|
12
|
+
- 参数与目标:哪些参数固定、哪些增长,要求精确值、渐近界、构造还是稳定性。
|
|
13
|
+
- 用户希望保留的中心对象、已知结果和可使用的方法。
|
|
14
|
+
|
|
15
|
+
## 可尝试的变体
|
|
16
|
+
|
|
17
|
+
这些是候选生成方式,顺序不代表难度或发表机会。
|
|
18
|
+
|
|
19
|
+
| 改动方向 | 示例 | 需要核对 |
|
|
20
|
+
| --- | --- | --- |
|
|
21
|
+
| 改禁用图的参数 | `C_k` 换成 `C_{k+1}`,`K_r` 换成 `K_{r+1}`,`P_k` 换成 `P_{k+1}` | 参数变化是否落入已有定理,奇偶性或其他结构条件是否改变 |
|
|
22
|
+
| 改禁用图或图族 | 比较禁用 `C_4` 与禁用 `K_{2,3}`;单个禁用图换成 `{C_4, C_5}` | 新旧限制的包含关系,新增条件是否冗余 |
|
|
23
|
+
| 改计数对象 | 边数换成三角形、`K_4`、`C_5` 或一般固定图的拷贝数 | 计数约定,目标结构是否已被禁用条件排除 |
|
|
24
|
+
| 改优化量 | 边数换成谱半径,或在给定最小度条件下最大化边数 | 谱矩阵的定义;这是新目标还是新增约束 |
|
|
25
|
+
| 改图类 | 一般图限制为二部图或平面图 | 新图类与目标结构是否相容,已有界或构造能否直接适用 |
|
|
26
|
+
| 增加一个固定条件 | 固定顶点数和边数后最大化某种结构的数量 | 可行图是否存在,目标是否被固定条件完全决定 |
|
|
27
|
+
|
|
28
|
+
先检查候选是否有实际内容。例如,二部图中的三角形数恒为零;若同时固定
|
|
29
|
+
边数并以边数为目标,优化量也已经固定。这类检查应在推荐前完成。
|
|
30
|
+
|
|
31
|
+
## 筛选与说明
|
|
32
|
+
|
|
33
|
+
1. 先保留原问题的主要结构,生成少量可比较的候选;说明每个候选具体改了什么。
|
|
34
|
+
2. 检索当前文献,核对最接近结果的假设、参数范围与结论。引用前核对标题、
|
|
35
|
+
作者、年份和可访问来源,并说明候选与已有结果的具体差别。
|
|
36
|
+
3. 未完成文献核对时,不得声称问题是新的或仍然开放。不能检索的候选标记为
|
|
37
|
+
`unverified`,说明需要补查哪些结果。
|
|
38
|
+
4. 结合已知构造、上界方法和用户的研究条件判断可行性;列出尚未解决的关键
|
|
39
|
+
步骤,以及何种已有结果或反例会使这个候选失去继续研究的价值。
|
|
40
|
+
5. 难度依据当前证据说明,不预设某种改动“容易出成果”,也不一概排除超图、
|
|
41
|
+
flag algebra、正则方法、吸收法或 Ramsey–Turán 问题。若用户偏好小改动,
|
|
42
|
+
将其作为本次筛选偏好。
|
|
43
|
+
|
|
44
|
+
将通过初步筛选的方向放入现有 `problem_menu`。每项给出明确问题、相对原题
|
|
45
|
+
的改动、最接近的已核对结果、方法设想与缺口,以及下一步检查。
|
|
46
|
+
用户只要简短建议时,可给一个主要候选和一个备选;不必另建一套报告格式。
|
|
47
|
+
|
|
48
|
+
## 贡献与许可
|
|
49
|
+
|
|
50
|
+
变体清单源自董淼(Miao Dong)的 2026 年暑期课程贡献
|
|
51
|
+
`extremal-graph-problem-suggester`,按 MIT 许可整理并入本包。
|
|
52
|
+
参见[贡献者记录](https://github.com/VeryMath/AI4Math-Auto-Research/blob/main/CONTRIBUTORS.md)
|
|
53
|
+
和[完整旧包存档](https://github.com/VeryMath/AI4Math-Auto-Research/tree/main/archives)。
|