@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,163 @@
|
|
|
1
|
+
# Math Paper Reading - AI4Math Skill Package
|
|
2
|
+
|
|
3
|
+
The English version of the README is placed below the Chinese version.
|
|
4
|
+
|
|
5
|
+
该技能包提供了一套高度专业、环环相扣的系统提示词(Skills),用于构建面向数学论文精读、结构提取、证明依赖分析和文献管理的 AI4Math 助理。
|
|
6
|
+
|
|
7
|
+
本系统采用了**数据驱动架构(Data-Driven Architecture)**。其核心逻辑是先通过结构提取将论文转化为 Ground Truth JSON 文件,随后所有深度阅读、图谱渲染、文献检索等操作均严格基于该结构化数据执行,从而杜绝大模型的逻辑幻觉。
|
|
8
|
+
|
|
9
|
+
## 🏗️ 系统架构与工作流
|
|
10
|
+
|
|
11
|
+
系统由主控路由中枢统一调度,采用“路由先行,技能按需加载”的模式:
|
|
12
|
+
|
|
13
|
+
1. **路由解析 (Routing):** 用户的任何指令都会首先触发 `agent_router.md`。它作为大脑解析意图,并决定加载哪个具体的技能说明书。
|
|
14
|
+
2. **结构提取 (Extraction):** 若为新论文,路由会首先调用 `skill_base.md` 生成逻辑骨架 JSON。
|
|
15
|
+
3. **专业处理 (Execution):** 路由根据后续需求,依次加载对应的图计算、深读或检索模块,确保各步骤严谨衔接。
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🧩 核心模块解析
|
|
20
|
+
|
|
21
|
+
### 1. 主控路由中枢 (`agent_router.md`)
|
|
22
|
+
|
|
23
|
+
* **角色**:首席科研助理与中枢神经。
|
|
24
|
+
* **功能**:这是交互的**唯一入口**。它负责意图识别,并按需读取本地 `skill_*.md` 文件。通过这种方式,它能精确控制上下文,防止一次性加载过多信息导致混乱。
|
|
25
|
+
|
|
26
|
+
### 2. 结构提取模块 (`skill_base.md`)
|
|
27
|
+
|
|
28
|
+
* **角色**:基础数据架构师。
|
|
29
|
+
* **功能**:解析论文原文,将定义、引理、定理及证明依赖提取为 `<slug>_structure.json`。
|
|
30
|
+
* **硬约束**:强制 LaTeX 符号规范,定理陈述必须 100% 逐字引用。
|
|
31
|
+
|
|
32
|
+
### 3. 图计算引擎 (`skill_pathway_proof.md`)
|
|
33
|
+
|
|
34
|
+
* **角色**:逻辑拓扑专家。
|
|
35
|
+
* **功能**:纯粹基于 JSON 数据进行拓扑计算。它会调用 Python 脚本统计入度/出度,确保证明路径的严谨性。
|
|
36
|
+
* **产出**:渲染 Mermaid.js 依赖图,自动合成“目标导向(Top-down)”阅读路径。
|
|
37
|
+
|
|
38
|
+
### 4. 深度阅读助手 (`skill_paper_deep_read.md`)
|
|
39
|
+
|
|
40
|
+
* **角色**:数学研究员与导师。
|
|
41
|
+
* **功能**:提供从速览 (L1) 到深度推导 (L3) 的多层级解读。在 L3 阶段,它会识别原文的逻辑跳跃并进行填补,提取隐性断言 (Claim)。
|
|
42
|
+
|
|
43
|
+
### 5. 文献管理助手 (`skill_reference_manager.md`)
|
|
44
|
+
|
|
45
|
+
* **角色**:知识库管家。
|
|
46
|
+
* **功能**:管理 `local_reference_db.json` 本地数据库。它将论文元数据、核心结论及您的个人感悟持久化存储,支持语义检索与冷落提醒。
|
|
47
|
+
|
|
48
|
+
### 6. 文献检索助手 (`skill_literature_search.md`)
|
|
49
|
+
|
|
50
|
+
* **角色**:高级情报专家。
|
|
51
|
+
* **功能**:将数学概念转化为精准的数据库检索式。它能基于论文的外部依赖自动生成“向后追溯”的滚雪球检索策略。
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 🚀 核心特性
|
|
56
|
+
|
|
57
|
+
* **事实与解释分离**:所有定理先展示 JSON 中的逐字原文,再提供通俗化解释,确保准确性。
|
|
58
|
+
* **标准化 URI**:使用 `paper:arxiv:ID#Thm-N` 格式为所有逻辑实体编号,实现跨文档的精准引用。
|
|
59
|
+
* **代码驱动验证**:涉及复杂合并或统计任务时,Agent 优先编写运行 Python 脚本而非口头估算。
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## 💻 使用指南
|
|
64
|
+
|
|
65
|
+
要使用此套件,请务必在每次开启新会话时,**首先让 AI 助手加载并遵守路由中枢的指令**:
|
|
66
|
+
|
|
67
|
+
1. **环境准备**:将 `agent_router.md` 和所有 5 个 `skill_*.md` 文件放入您的工作目录。
|
|
68
|
+
2. **初始化路由(关键第一步)**:启动会话后,**优先发送以下指令**,确立 Agent 的工作模式:
|
|
69
|
+
> *"请读取本地的 `agent_router.md` 文件,明确你作为首席数学科研 AI 助理的身份,并严格遵守其中的 Master Router SOP 作为本次会话的核心调度指令。准备好后请回复我。"*
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
3. **下达科研任务**:路由机制激活后,您无需再指定具体的 skill 文件,直接用自然语言描述科研需求,Claude 会自动按需加载模块,例如:
|
|
73
|
+
* **结构化与归档**:“帮我处理这篇新论文,提取结构并存入我的文献笔记。”(**路由**将自动依次调用 `skill_base` 和 `skill_reference_manager`)
|
|
74
|
+
* **逻辑拆解**:“这篇论文的引理 3.1 是如何推导出来的?请画出它的依赖子图。”(**路由**将自动调度 `skill_paper_deep_read` 和 `skill_pathway_proof`)
|
|
75
|
+
* **溯源检索**:“追溯这篇论文证明中依赖的所有外部定理。”(**路由**将分析 JSON 并激活 `skill_literature_search` 生成检索式)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## 📝 输出确认
|
|
82
|
+
|
|
83
|
+
每次执行完毕后,Agent 会确认相关成果(JSON、Markdown 报告、依赖图文件或数据库更新)已成功保存,并在完成当前环节后清理上下文,准备执行下一个任务。
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
# Math Paper Reading - AI4Math Skill Package
|
|
87
|
+
|
|
88
|
+
This package provides a specialized, interlocking set of AI4Math skill instructions for structured mathematical paper reading, theorem dependency extraction, proof-path analysis, and reference management.
|
|
89
|
+
|
|
90
|
+
The system adopts a **Data-Driven Architecture**. Its core logic first converts a paper into a Ground Truth JSON file through structure extraction. All subsequent operations — deep reading, graph rendering, literature retrieval, etc. — are executed strictly based on this structured data, thereby eliminating the logical hallucinations of large models.
|
|
91
|
+
|
|
92
|
+
## 🏗️ System Architecture and Workflow
|
|
93
|
+
|
|
94
|
+
The system is centrally orchestrated by a master routing hub, following a "route first, skills loaded on demand" pattern:
|
|
95
|
+
|
|
96
|
+
1. **Routing:** Any user command first triggers `agent_router.md`. Acting as the brain, it parses intent and decides which specific skill instruction file to load.
|
|
97
|
+
2. **Extraction:** If it is a new paper, the router first invokes `skill_base.md` to generate a logical skeleton JSON.
|
|
98
|
+
3. **Execution:** Based on subsequent needs, the router loads the corresponding graph computation, deep reading, or retrieval modules in order, ensuring that every step is rigorously connected.
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## 🧩 Core Module Breakdown
|
|
103
|
+
|
|
104
|
+
### 1. Master Router Hub (`agent_router.md`)
|
|
105
|
+
|
|
106
|
+
* **Role:** Chief research assistant and central nervous system.
|
|
107
|
+
* **Function:** This is the **single entry point** for interaction. It is responsible for intent recognition and reads local `skill_*.md` files on demand. In this way, it precisely controls context and prevents confusion caused by loading too much information at once.
|
|
108
|
+
|
|
109
|
+
### 2. Structure Extraction Module (`skill_base.md`)
|
|
110
|
+
|
|
111
|
+
* **Role:** Foundational data architect.
|
|
112
|
+
* **Function:** Parses the original paper text and extracts definitions, lemmas, theorems, and proof dependencies into a `<slug>_structure.json`.
|
|
113
|
+
* **Hard Constraint:** Enforces standard LaTeX notation, and theorem statements must be quoted verbatim with 100% fidelity.
|
|
114
|
+
|
|
115
|
+
### 3. Graph Computation Engine (`skill_pathway_proof.md`)
|
|
116
|
+
|
|
117
|
+
* **Role:** Logical topology expert.
|
|
118
|
+
* **Function:** Performs topological computations purely based on JSON data. It invokes Python scripts to calculate in-degree/out-degree, ensuring the rigor of proof paths.
|
|
119
|
+
* **Output:** Renders Mermaid.js dependency graphs and automatically synthesizes "goal-oriented (top-down)" reading pathways.
|
|
120
|
+
|
|
121
|
+
### 4. Deep Reading Assistant (`skill_paper_deep_read.md`)
|
|
122
|
+
|
|
123
|
+
* **Role:** Mathematics researcher and mentor.
|
|
124
|
+
* **Function:** Provides multi-level interpretation ranging from a quick overview (L1) to deep derivation (L3). At the L3 stage, it identifies logical gaps in the original text, fills them in, and extracts implicit assertions (Claims).
|
|
125
|
+
|
|
126
|
+
### 5. Reference Manager (`skill_reference_manager.md`)
|
|
127
|
+
|
|
128
|
+
* **Role:** Knowledge base steward.
|
|
129
|
+
* **Function:** Manages the `local_reference_db.json` local database. It persistently stores paper metadata, core conclusions, and your personal insights, supporting semantic search and "cooling off" reminders.
|
|
130
|
+
|
|
131
|
+
### 6. Literature Search Assistant (`skill_literature_search.md`)
|
|
132
|
+
|
|
133
|
+
* **Role:** Senior intelligence specialist.
|
|
134
|
+
* **Function:** Translates mathematical concepts into precise database search queries. It can automatically generate a "backward snowballing" retrieval strategy based on a paper's external dependencies.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 🚀 Core Features
|
|
139
|
+
|
|
140
|
+
* **Separation of fact and interpretation:** Every theorem first presents the verbatim original text from the JSON, followed by a plain-language explanation, ensuring accuracy.
|
|
141
|
+
* **Standardized URI:** Uses the `paper:arxiv:ID#Thm-N` format to number all logical entities, enabling precise cross-document referencing.
|
|
142
|
+
* **Code-driven verification:** When handling complex merging or statistical tasks, the Agent prioritizes writing and running Python scripts over verbal estimates.
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## 💻 Usage Guide
|
|
147
|
+
|
|
148
|
+
To use this suite with an AI coding agent, start every new session by **loading and following the routing hub instructions**:
|
|
149
|
+
|
|
150
|
+
1. **Environment setup:** Place `agent_router.md` and all 5 `skill_*.md` files in your working directory.
|
|
151
|
+
2. **Initialize the router (critical first step):** After launching the session, **immediately send the following command** to establish the Agent's working mode:
|
|
152
|
+
> *"Please read the local `agent_router.md` file, clarify your role as the chief mathematical research AI assistant, and strictly adhere to the Master Router SOP as the core scheduling directive for this session. Reply when ready."*
|
|
153
|
+
|
|
154
|
+
3. **Issue research tasks:** Once the routing mechanism is active, you no longer need to specify a particular skill file. Simply describe your research needs in natural language, and the agent will load the required modules on demand. For example:
|
|
155
|
+
* **Structuring and archiving:** “Help me process this new paper, extract its structure, and save it in my literature notes.” (**Router** will automatically invoke `skill_base` and `skill_reference_manager` in sequence)
|
|
156
|
+
* **Logical deconstruction:** “How was Lemma 3.1 in this paper derived? Please draw its dependency subgraph.” (**Router** will automatically orchestrate `skill_paper_deep_read` and `skill_pathway_proof`)
|
|
157
|
+
* **Backward tracing:** “Trace all external theorems that the proof of this paper depends on.” (**Router** will analyze the JSON and activate `skill_literature_search` to generate search queries)
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## 📝 Output Confirmation
|
|
162
|
+
|
|
163
|
+
After each execution, the Agent will confirm that the relevant outputs (JSON, Markdown reports, dependency graph files, or database updates) have been successfully saved. It will then clear the context after completing the current step, ready to proceed with the next task.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: math-paper-reading
|
|
3
|
+
description: Route mathematical paper-reading tasks through structured extraction, dependency analysis, deep reading, literature search, and reference management modules. Trigger when the user uploads or pastes a math paper (PDF/Markdown/text/arXiv link) and asks to 梳理章节结构、提取定理/引理/定义、分析证明依赖、深读论文、生成阅读笔记 or manage a local paper reference database. Use the verymath_paper_validate tool to check <slug>_structure.json artifacts after extraction.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Math Paper Reading
|
|
7
|
+
|
|
8
|
+
Use this skill when a coding agent needs to read, structure, explain, trace, or
|
|
9
|
+
manage mathematical papers with a data-driven workflow.
|
|
10
|
+
|
|
11
|
+
## DSH Integration Notes
|
|
12
|
+
|
|
13
|
+
- This skill is provided by the `@louisultra/dsh-verymath` plugin; all module
|
|
14
|
+
files live next to this SKILL.md and resolve relative to this directory.
|
|
15
|
+
- After generating a `<slug>_structure.json` artifact (skill_base module), call
|
|
16
|
+
the `verymath_paper_validate` tool when available to verify required
|
|
17
|
+
metadata, entity kinds, and dependency-label integrity before handing the
|
|
18
|
+
artifact to downstream modules or the user.
|
|
19
|
+
- Validation is advisory: when the tool is unavailable, follow the schema in
|
|
20
|
+
`skill_base.md` and keep the artifact in the session workspace.
|
|
21
|
+
- Full-text acquisition can reuse the `literature_fulltext` tool from the
|
|
22
|
+
`@eduwork/dsh-literature` plugin when it is installed; otherwise download
|
|
23
|
+
sources directly to the workspace.
|
|
24
|
+
- Write all generated artifacts (Markdown reports, JSON structures) into the
|
|
25
|
+
current session workspace so the user can continue working with them.
|
|
26
|
+
|
|
27
|
+
## Entry Point
|
|
28
|
+
|
|
29
|
+
Start with `agent_router.md`. It is the master router and decides which
|
|
30
|
+
package-local module to load:
|
|
31
|
+
|
|
32
|
+
- `skill_base.md`: extract definitions, lemmas, theorems, proofs, and
|
|
33
|
+
dependency structure into JSON.
|
|
34
|
+
- `skill_pathway_proof.md`: compute dependency paths and render proof graphs.
|
|
35
|
+
- `skill_paper_deep_read.md`: provide layered paper reading and gap filling.
|
|
36
|
+
- `skill_reference_manager.md`: maintain the local paper reference database.
|
|
37
|
+
- `skill_literature_search.md`: generate targeted literature-search strategies.
|
|
38
|
+
|
|
39
|
+
## Operating Rules
|
|
40
|
+
|
|
41
|
+
- Keep fact extraction separate from interpretation.
|
|
42
|
+
- Prefer structured JSON evidence before graph, reading, or reference updates.
|
|
43
|
+
- Use package-local examples only as examples; do not treat them as user data.
|
|
44
|
+
- For complex dependency or merge tasks, write and run scripts instead of
|
|
45
|
+
estimating manually.
|
|
46
|
+
|
|
47
|
+
Prefer the router and package-local module files over this thin compatibility
|
|
48
|
+
entrypoint when executing a concrete workflow.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# 数学科研全能 Agent — 主控路由中枢 (Master Router)
|
|
2
|
+
|
|
3
|
+
你是用户的首席数学科研 AI 助理。你的工作目录下有 5 个专业的“技能说明书(Skill Files)”。
|
|
4
|
+
当用户提出请求时,你必须按以下标准作业程序(SOP)进行路由选择和执行。
|
|
5
|
+
|
|
6
|
+
## 🛠️ 技能字典 (Skill Directory)
|
|
7
|
+
|
|
8
|
+
1. **结构提取与 JSON 化** (`skill_base.md`)
|
|
9
|
+
- **触发场景**:用户提供了一篇全新的论文(纯文本/PDF),要求“提取结构”、“生成 JSON”、“梳理大纲”。
|
|
10
|
+
- **核心产出**:`<slug>_structure.json`。这是所有其他技能的**前置依赖**。
|
|
11
|
+
|
|
12
|
+
2. **逻辑拓扑与图谱渲染** (`skill_pathway_proof.md`)
|
|
13
|
+
- **触发场景**:用户要求“画依赖图”、“梳理引理关系”、“生成 Mermaid 图”。
|
|
14
|
+
- **前提条件**:必须已有对应的 JSON 文件。
|
|
15
|
+
|
|
16
|
+
3. **深度解读与逻辑填补** (`skill_paper_deep_read.md`)
|
|
17
|
+
- **触发场景**:用户要求“帮我读这篇论文”、“填补 Theorem X 的推导细节”、“做 L2/L3 级别的分析”、“评估这篇论文”。
|
|
18
|
+
- **前提条件**:优先依赖 JSON 文件。
|
|
19
|
+
|
|
20
|
+
4. **文献检索与追溯** (`skill_literature_search.md`)
|
|
21
|
+
- **触发场景**:用户要求“找相关文献”、“追溯这个引理的来源”、“找类似方向的顶刊”。
|
|
22
|
+
|
|
23
|
+
5. **文献库管理与笔记** (`skill_reference_manager.md`)
|
|
24
|
+
- **触发场景**:用户要求“把这篇论文存入数据库”、“做个笔记卡片”、“记录到 local_reference_db.json”。
|
|
25
|
+
|
|
26
|
+
## ⚙️ 强制执行协议 (Routing Protocol)
|
|
27
|
+
|
|
28
|
+
当收到用户请求时,**严格按以下步骤操作**:
|
|
29
|
+
|
|
30
|
+
1. **意图解析**:分析用户的需求属于上述哪个(或哪几个)触发场景。
|
|
31
|
+
2. **按需读取**:使用文件读取工具,**仅读取被触发的 `skill_*.md` 文件**。绝对禁止一次性读取所有 skill 文件!
|
|
32
|
+
3. **顺序执行**:如果用户的请求涉及多个步骤(如:“帮我把这篇新论文做个依赖图并存入数据库”),你必须:
|
|
33
|
+
- 先读取 `skill_base.md` 并执行,生成 JSON。
|
|
34
|
+
- 再读取 `skill_pathway_proof.md` 执行,生成图谱。
|
|
35
|
+
- 最后读取 `skill_reference_manager.md` 执行,写入数据库。
|
|
36
|
+
4. **清理上下文**:每个 Skill 执行完毕后,放下该 Skill 的特定约束,只带着生成的结果进入下一个环节。
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Proof Pattern Taxonomy
|
|
2
|
+
|
|
3
|
+
First-pass `proof_pattern` types for paper-to-skill extraction.
|
|
4
|
+
|
|
5
|
+
## descent_lemma_auto_derivation
|
|
6
|
+
|
|
7
|
+
Trigger cues: L-smoothness, smoothness upper bound, gradient descent, one-step descent, step size condition.
|
|
8
|
+
|
|
9
|
+
Inputs: objective, iteration rule, smoothness assumption, step size.
|
|
10
|
+
|
|
11
|
+
Outputs: one-step descent inequality, descent condition, proof skeleton.
|
|
12
|
+
|
|
13
|
+
Core steps: apply smoothness inequality; substitute update rule; simplify inner products; collect norm terms; derive step-size restriction.
|
|
14
|
+
|
|
15
|
+
Risks: nonsmooth terms, stochastic gradients, missing bounded-below condition, invalid step-size range.
|
|
16
|
+
|
|
17
|
+
## inequality_relaxation
|
|
18
|
+
|
|
19
|
+
Trigger cues: Young's inequality, Cauchy-Schwarz, Holder, AM-GM, Jensen, triangle inequality, epsilon split.
|
|
20
|
+
|
|
21
|
+
Inputs: cross term or hard-to-bound expression, target norm structure, tunable constants.
|
|
22
|
+
|
|
23
|
+
Outputs: relaxed upper bound, separated terms, parameter constraints.
|
|
24
|
+
|
|
25
|
+
Core steps: identify troublesome product; choose inequality; introduce balancing parameter; align terms with Lyapunov or descent expression.
|
|
26
|
+
|
|
27
|
+
Risks: constants may be too loose; missing integrability or norm assumptions.
|
|
28
|
+
|
|
29
|
+
## telescoping_convergence_bound
|
|
30
|
+
|
|
31
|
+
Trigger cues: summing over k, telescoping, global convergence, O(1/T), cumulative decrease, bounded below.
|
|
32
|
+
|
|
33
|
+
Inputs: one-step inequality, lower bound, iteration horizon.
|
|
34
|
+
|
|
35
|
+
Outputs: averaged bound, convergence rate, residual estimate.
|
|
36
|
+
|
|
37
|
+
Core steps: sum the one-step inequality; cancel adjacent terms; use boundedness; divide by horizon; extract minimum or average residual.
|
|
38
|
+
|
|
39
|
+
Risks: nonmonotone potentials, missing lower bound, incorrect residual averaging.
|
|
40
|
+
|
|
41
|
+
## error_decomposition_skeleton
|
|
42
|
+
|
|
43
|
+
Trigger cues: decompose the error, approximation error, estimation error, discretization error, consistency plus stability.
|
|
44
|
+
|
|
45
|
+
Inputs: total error target, intermediate reference object, norms.
|
|
46
|
+
|
|
47
|
+
Outputs: decomposed error terms and proof obligations.
|
|
48
|
+
|
|
49
|
+
Core steps: add and subtract reference quantities; apply triangle inequality; bound each component by a specialized argument.
|
|
50
|
+
|
|
51
|
+
Risks: wrong norm compatibility; hidden regularity assumptions.
|
|
52
|
+
|
|
53
|
+
## lyapunov_potential_construction
|
|
54
|
+
|
|
55
|
+
Trigger cues: Lyapunov function, potential, energy estimate, supermartingale, decrease condition.
|
|
56
|
+
|
|
57
|
+
Inputs: state variables, residuals, candidate weights, update relation.
|
|
58
|
+
|
|
59
|
+
Outputs: potential function, one-step decrease inequality, stability or convergence proof skeleton.
|
|
60
|
+
|
|
61
|
+
Core steps: choose terms to track; weight them to cancel cross terms; prove descent; sum over iterations.
|
|
62
|
+
|
|
63
|
+
Risks: weights may require unknown constants; potential may not be nonnegative.
|
|
64
|
+
|
|
65
|
+
## concentration_bound_selection
|
|
66
|
+
|
|
67
|
+
Trigger cues: Hoeffding, Bernstein, sub-Gaussian, sub-exponential, martingale, union bound, high probability.
|
|
68
|
+
|
|
69
|
+
Inputs: random variables, dependence structure, tail assumptions, index class size.
|
|
70
|
+
|
|
71
|
+
Outputs: high-probability deviation bound and parameter choice.
|
|
72
|
+
|
|
73
|
+
Core steps: identify tail regime; choose inequality; set confidence parameter; union bound if needed.
|
|
74
|
+
|
|
75
|
+
Risks: dependence assumptions, variance proxy mismatch, infinite classes.
|
|
76
|
+
|
|
77
|
+
## uniform_convergence_bound
|
|
78
|
+
|
|
79
|
+
Trigger cues: covering number, Rademacher complexity, VC dimension, uniform law, generalization bound.
|
|
80
|
+
|
|
81
|
+
Inputs: function class, sample size, loss bound, complexity measure.
|
|
82
|
+
|
|
83
|
+
Outputs: uniform deviation or generalization bound.
|
|
84
|
+
|
|
85
|
+
Core steps: symmetrize; bound complexity; apply concentration; solve for sample rate.
|
|
86
|
+
|
|
87
|
+
Risks: measurability, unbounded losses, invalid complexity bound.
|
|
88
|
+
|
|
89
|
+
## cea_galerkin_orthogonality
|
|
90
|
+
|
|
91
|
+
Trigger cues: Cea lemma, Galerkin orthogonality, coercivity, continuity, finite element error.
|
|
92
|
+
|
|
93
|
+
Inputs: variational problem, discrete space, bilinear form, exact and discrete solutions.
|
|
94
|
+
|
|
95
|
+
Outputs: quasi-best approximation error bound.
|
|
96
|
+
|
|
97
|
+
Core steps: prove Galerkin orthogonality; use coercivity; apply continuity; minimize over discrete space.
|
|
98
|
+
|
|
99
|
+
Risks: noncoercive forms, inconsistent discretization, wrong norm.
|
|
100
|
+
|
|
101
|
+
## aubin_nitsche_duality
|
|
102
|
+
|
|
103
|
+
Trigger cues: Aubin-Nitsche, dual problem, L2 error, elliptic regularity.
|
|
104
|
+
|
|
105
|
+
Inputs: energy norm estimate, dual problem, regularity estimate.
|
|
106
|
+
|
|
107
|
+
Outputs: improved lower-norm error bound.
|
|
108
|
+
|
|
109
|
+
Core steps: define dual solution for error; use Galerkin orthogonality; apply approximation estimate; combine with energy bound.
|
|
110
|
+
|
|
111
|
+
Risks: missing dual regularity, nonsymmetric operators, boundary regularity.
|
|
112
|
+
|
|
113
|
+
## lax_milgram_wellposedness
|
|
114
|
+
|
|
115
|
+
Trigger cues: Lax-Milgram, coercive bilinear form, bounded linear functional, weak solution.
|
|
116
|
+
|
|
117
|
+
Inputs: Hilbert space, bilinear form, linear functional.
|
|
118
|
+
|
|
119
|
+
Outputs: existence, uniqueness, stability estimate.
|
|
120
|
+
|
|
121
|
+
Core steps: verify boundedness; verify coercivity; verify linear functional continuity; invoke Lax-Milgram.
|
|
122
|
+
|
|
123
|
+
Risks: wrong function space, coercivity only on a subspace, missing boundary conditions.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Quality Rubric
|
|
2
|
+
|
|
3
|
+
Score each dimension from 1 to 5.
|
|
4
|
+
|
|
5
|
+
## Dimensions
|
|
6
|
+
|
|
7
|
+
- `reusability`: Can this method be reused in other papers or problems?
|
|
8
|
+
- `clarity`: Are inputs, outputs, assumptions, and steps clear?
|
|
9
|
+
- `generality`: Is the method detached from paper-specific notation and claims?
|
|
10
|
+
- `verifiability`: Can a reviewer or test case check whether the skill worked?
|
|
11
|
+
- `agent_callability`: Can an agent decide when to call it from trigger cues?
|
|
12
|
+
- `mathematical_risk`: How likely is misuse due to missing assumptions? 1 is low risk, 5 is high risk.
|
|
13
|
+
|
|
14
|
+
## Total Score
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
total_score =
|
|
18
|
+
0.25 * reusability
|
|
19
|
+
+ 0.20 * clarity
|
|
20
|
+
+ 0.20 * generality
|
|
21
|
+
+ 0.15 * verifiability
|
|
22
|
+
+ 0.15 * agent_callability
|
|
23
|
+
- 0.05 * mathematical_risk
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Round to two decimals.
|
|
27
|
+
|
|
28
|
+
## Status
|
|
29
|
+
|
|
30
|
+
```text
|
|
31
|
+
total_score >= 4.0 accepted_candidate
|
|
32
|
+
3.0 <= total_score < 4.0 needs_review
|
|
33
|
+
total_score < 3.0 rejected
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Use `needs_review` instead of `accepted_candidate` when the score is high but assumptions are ambiguous or the mathematical risk is 4 or 5.
|