math-skill 1.0.0 → 2.1.0

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.
Files changed (87) hide show
  1. package/README.en-US.md +313 -0
  2. package/README.md +313 -278
  3. package/agents/math-critic.en.md +235 -0
  4. package/agents/math-critic.md +237 -203
  5. package/commands/abstraction.md +11 -34
  6. package/commands/algorithmic-thinking.md +11 -34
  7. package/commands/ask.md +18 -21
  8. package/commands/axiomatization.md +11 -34
  9. package/commands/causal-inference.md +11 -34
  10. package/commands/discrete-combinatorial.md +11 -34
  11. package/commands/game-theory.md +11 -34
  12. package/commands/induction-analogy.md +11 -34
  13. package/commands/information-theory.md +11 -34
  14. package/commands/logic-deduction.md +11 -34
  15. package/commands/modeling.md +11 -37
  16. package/commands/optimization.md +11 -33
  17. package/commands/probability-statistics.md +11 -36
  18. package/commands/symmetry-invariance.md +11 -34
  19. package/commands/topological-thinking.md +11 -33
  20. package/commands/transformation.md +11 -33
  21. package/knowledge-base/overview.en.md +228 -0
  22. package/knowledge-base/overview.md +230 -230
  23. package/package.json +73 -59
  24. package/references/agentic-workflow.en.md +53 -0
  25. package/references/agentic-workflow.md +55 -0
  26. package/references/books/abstract-algebra.md +124 -0
  27. package/references/books/algebraic-geometry-rising-sea.md +171 -0
  28. package/references/books/differential-geometry.md +140 -0
  29. package/references/books/matrix-analysis.md +146 -0
  30. package/references/books/micro-lie-theory.md +116 -0
  31. package/references/books/optimization-ml.md +164 -0
  32. package/references/books/smooth-manifolds.md +105 -0
  33. package/references/gpu-friendly-math.en.md +65 -0
  34. package/references/gpu-friendly-math.md +67 -0
  35. package/references/inspiration.en.md +113 -0
  36. package/{docs → references}/inspiration.md +2 -0
  37. package/skills/abstraction/SKILL.en.md +117 -0
  38. package/skills/abstraction/SKILL.md +121 -264
  39. package/skills/abstraction/original-texts.en.md +163 -0
  40. package/skills/algorithmic-thinking/SKILL.en.md +132 -0
  41. package/skills/algorithmic-thinking/SKILL.md +138 -371
  42. package/skills/algorithmic-thinking/original-texts.en.md +253 -0
  43. package/skills/axiomatization/SKILL.en.md +144 -0
  44. package/skills/axiomatization/SKILL.md +151 -213
  45. package/skills/axiomatization/original-texts.en.md +154 -0
  46. package/skills/causal-inference/SKILL.en.md +147 -0
  47. package/skills/causal-inference/SKILL.md +151 -374
  48. package/skills/causal-inference/original-texts.en.md +136 -0
  49. package/skills/discrete-combinatorial/SKILL.en.md +124 -0
  50. package/skills/discrete-combinatorial/SKILL.md +131 -286
  51. package/skills/discrete-combinatorial/original-texts.en.md +184 -0
  52. package/skills/game-theory/SKILL.en.md +117 -0
  53. package/skills/game-theory/SKILL.md +123 -318
  54. package/skills/game-theory/original-texts.en.md +131 -0
  55. package/skills/induction-analogy/SKILL.en.md +145 -0
  56. package/skills/induction-analogy/SKILL.md +152 -310
  57. package/skills/induction-analogy/original-texts.en.md +140 -0
  58. package/skills/information-theory/SKILL.en.md +134 -0
  59. package/skills/information-theory/SKILL.md +140 -242
  60. package/skills/information-theory/original-texts.en.md +127 -0
  61. package/skills/logic-deduction/SKILL.en.md +130 -0
  62. package/skills/logic-deduction/SKILL.md +135 -280
  63. package/skills/logic-deduction/original-texts.en.md +160 -0
  64. package/skills/math-research-activator/SKILL.en.md +132 -0
  65. package/skills/math-research-activator/SKILL.md +136 -0
  66. package/skills/math-research-activator/original-texts.en.md +105 -0
  67. package/skills/{meta-selector → math-research-activator}/original-texts.md +104 -104
  68. package/skills/modeling/SKILL.en.md +135 -0
  69. package/skills/modeling/SKILL.md +139 -318
  70. package/skills/modeling/original-texts.en.md +162 -0
  71. package/skills/optimization/SKILL.en.md +129 -0
  72. package/skills/optimization/SKILL.md +135 -292
  73. package/skills/optimization/original-texts.en.md +167 -0
  74. package/skills/probability-statistics/SKILL.en.md +146 -0
  75. package/skills/probability-statistics/SKILL.md +151 -312
  76. package/skills/probability-statistics/original-texts.en.md +191 -0
  77. package/skills/symmetry-invariance/SKILL.en.md +135 -0
  78. package/skills/symmetry-invariance/SKILL.md +139 -358
  79. package/skills/symmetry-invariance/original-texts.en.md +206 -0
  80. package/skills/topological-thinking/SKILL.en.md +124 -0
  81. package/skills/topological-thinking/SKILL.md +128 -273
  82. package/skills/topological-thinking/original-texts.en.md +134 -0
  83. package/skills/transformation/SKILL.en.md +120 -0
  84. package/skills/transformation/SKILL.md +124 -264
  85. package/skills/transformation/original-texts.en.md +204 -0
  86. package/docs/CLAUDE.md +0 -187
  87. package/skills/meta-selector/SKILL.md +0 -188
@@ -0,0 +1,228 @@
1
+ # Mathematical Knowledge System Overview
2
+
3
+ ## Overview
4
+
5
+ The mathematical knowledge system is the structured framework of the discipline of mathematics, spanning from foundational concepts to cutting-edge subfields. It describes not only the hierarchical relationships among sub-disciplines, but also how mathematical methods complement and synergize across different problem domains.
6
+
7
+ This overview is designed to help you:
8
+
9
+ - Quickly locate the discipline and method area to which a mathematical problem belongs;
10
+ - Understand the correspondence between the 16 thinking weapons in this project (15 weapons + math-research-activator) and mathematical sub-disciplines;
11
+ - Build a holistic understanding from problem to tool, from concept to application.
12
+
13
+ The development of mathematics has been jointly driven by logical reasoning, scientific needs, and cross-disciplinary applications.
14
+
15
+ ## 1. The Three Foundational Pillars of Mathematics
16
+
17
+ The edifice of modern mathematics is built on **set theory** and **mathematical logic**. The three foundational disciplines are:
18
+
19
+ ### Algebra
20
+
21
+ The study of numbers, structures, relationships, and symbolic operations.
22
+
23
+ | Level | Content | Core Concepts |
24
+ |-------|---------|--------------|
25
+ | Elementary Algebra | Equations, inequalities, polynomial operations | Variables, identities, operation laws |
26
+ | Advanced Algebra (Linear Algebra) | Vector spaces, linear transformations, matrices | Linear spaces, bases, dimension, eigenvalues |
27
+ | Abstract Algebra | Groups, rings, fields | Algebraic structures, homomorphisms, isomorphisms |
28
+ | Category Theory | Abstract theory of objects and morphisms | Functors, natural transformations, universal properties |
29
+
30
+ ### Geometry
31
+
32
+ The study of space, shape, structure, and their relationships.
33
+
34
+ | Level | Content | Core Concepts |
35
+ |-------|---------|--------------|
36
+ | Euclidean Geometry | Plane and solid geometry | Points, lines, planes, angles, distances |
37
+ | Analytic Geometry | Studying geometry via algebraic methods | Coordinate systems, equations, curves |
38
+ | Non-Euclidean Geometry | Geometries with modified parallel postulates | Hyperbolic geometry, elliptic geometry |
39
+ | Differential Geometry | Studying geometry via calculus | Curvature, geodesics, manifolds |
40
+ | Fractal Geometry | Self-similar geometric structures | Fractal dimension, iterated function systems |
41
+
42
+ ### Analysis
43
+
44
+ The study of functions, limits, continuity, differentiation, and integration.
45
+
46
+ | Level | Content | Core Concepts |
47
+ |-------|---------|--------------|
48
+ | Calculus | Limits, derivatives, integrals | Continuity, differentiability, integrability |
49
+ | Mathematical Analysis | Rigorous limit theory | $\varepsilon$-$\delta$ language, uniform convergence |
50
+ | Real Analysis | Measure theory, Lebesgue integration | Measure spaces, $L^p$ spaces |
51
+ | Complex Analysis | Theory of complex functions | Analytic functions, residues, conformal mappings |
52
+ | Functional Analysis | Analysis on infinite-dimensional spaces | Banach spaces, Hilbert spaces, operators |
53
+ | Differential Equations | ODEs and PDEs | Existence, uniqueness, stability, numerical methods |
54
+
55
+ ## 2. Major Branches
56
+
57
+ ### 1. Number Theory
58
+
59
+ The study of integer properties, such as prime distribution, congruences, and Diophantine equations.
60
+
61
+ - **Elementary Number Theory**: Divisibility, congruences, primes
62
+ - **Analytic Number Theory**: Using analytical methods for number-theoretic problems (e.g., the Prime Number Theorem)
63
+ - **Algebraic Number Theory**: Using algebraic methods for number-theoretic problems (e.g., algebraic number fields)
64
+ - **Geometric Number Theory**: Using geometric methods for number-theoretic problems
65
+
66
+ ### 2. Probability & Statistics
67
+
68
+ The study of random phenomena and data analysis, widely applied in finance, biology, and social sciences. Corresponding thinking weapons: **Probability & Statistics**, **Information Theory**, **Causal Inference**.
69
+
70
+ - **Probability Theory**: Random variables, distributions, limit theorems → See **Probability & Statistics** (Kolmogorov axioms)
71
+ - **Mathematical Statistics**: Parameter estimation, hypothesis testing, regression analysis → See **Probability & Statistics** (regression modeling, experimental design)
72
+ - **Stochastic Processes**: Markov chains, Brownian motion, martingale theory
73
+ - **Bayesian Statistics**: Priors, posteriors, MCMC → See **Information Theory** (maximum entropy principle)
74
+
75
+ ### 3. Topology
76
+
77
+ The study of invariant properties of spaces under continuous deformation. Corresponding thinking weapon: **Topological Thinking**.
78
+
79
+ - **Point-Set Topology**: Open sets, closed sets, connectedness, compactness → See **Symmetry & Invariance** (invariant perspective)
80
+ - **Algebraic Topology**: Homotopy, homology, cohomology → See **Topological Thinking** (fundamental group, Betti numbers)
81
+ - **Differential Topology**: Manifolds, tangent spaces, differential forms
82
+
83
+ ### 4. Discrete Mathematics
84
+
85
+ Set theory, graph theory, mathematical logic, etc. — the mathematical foundation of computer science. Corresponding thinking weapons: **Algorithmic & Computational Thinking**, **Discrete & Combinatorial Thinking**.
86
+
87
+ - **Set Theory**: Sets, relations, functions, cardinality, ordinals
88
+ - **Graph Theory**: Graphs, paths, connectivity, coloring, network flows
89
+ - **Mathematical Logic**: Propositional logic, predicate logic, computability → See **Axiomatic Thinking**, **Logical Deduction**
90
+ - **Combinatorics**: Counting, permutations and combinations, generating functions → See **Discrete & Combinatorial Thinking**
91
+ - **Algorithms & Complexity**: Sorting, searching, P/NP, decidability → See **Algorithmic & Computational Thinking**
92
+
93
+ ### 5. Applied Mathematics Branches
94
+
95
+ Applying mathematical methods to real-world problems. Corresponding thinking weapons: **Optimization**, **Information Theory**, **Game Theory**, **Algorithmic & Computational Thinking**, **Causal Inference**.
96
+
97
+ - **Operations Research**: Linear programming, integer programming, dynamic programming, queueing theory → See **Optimization** (LP/IP/DP taxonomy), **Algorithmic & Computational Thinking** (solution algorithms)
98
+ - **Control Theory**: System control, optimal control, robust control → See **Optimization** (optimal control as variational optimization)
99
+ - **Information Theory**: Entropy, channel capacity, data compression, coding theory → See **Information Theory** (Shannon entropy, coding theorems)
100
+ - **Game Theory**: Strategic interaction, equilibrium analysis, mechanism design → See **Game Theory** (Nash equilibrium, minimax)
101
+ - **Causal Inference**: Causal graph models, intervention analysis, counterfactual reasoning → See **Causal Inference** (DAGs, do-calculus)
102
+ - **Financial Mathematics**: Option pricing, risk management, stochastic calculus → See **Modeling** (Black-Scholes), **Probability & Statistics**
103
+ - **Computational Mathematics**: Numerical analysis, finite elements, Monte Carlo methods → See **Algorithmic & Computational Thinking** (numerical algorithms)
104
+ - **Mathematical Foundations of Machine Learning**: Optimization, statistical learning theory, kernel methods → See **Optimization**, **Probability & Statistics**, **Information Theory** (MDL/AIC)
105
+
106
+ ## 3. Hierarchical Structure of the Knowledge System
107
+
108
+ From a learning-path perspective, mathematical knowledge can be organized into levels:
109
+
110
+ ### Foundation Level
111
+
112
+ Number sense, logic and classification, arithmetic, and basic geometry.
113
+
114
+ - Concepts and operations of numbers
115
+ - Basic logical reasoning
116
+ - Arithmetic operations (addition, subtraction, multiplication, division)
117
+ - Basic geometric shapes and properties
118
+
119
+ ### Algebra Level
120
+
121
+ Variables, equations, functions, geometric proofs.
122
+
123
+ - Algebraic expressions and equations
124
+ - Function concepts and basic function families
125
+ - Plane geometry proofs
126
+ - Vectors and coordinates
127
+
128
+ ### Synthesis Level
129
+
130
+ Functions and derivatives, calculus, sequences, solid geometry, advanced probability and statistics.
131
+
132
+ - Limits and continuity
133
+ - Differentiation and integration
134
+ - Sequences and series
135
+ - Solid geometry
136
+ - Probability distributions and statistical inference
137
+
138
+ ### Frontier Level
139
+
140
+ Mathematical analysis, advanced algebra, analytic/differential geometry, number theory, topology, etc.
141
+
142
+ - Rigorous analytical theory ($\varepsilon$-$\delta$)
143
+ - Abstract algebraic structures (groups, rings, fields)
144
+ - Manifolds and differential geometry
145
+ - Algebraic/analytic number theory
146
+ - Point-set/algebraic topology
147
+ - Functional analysis and operator theory
148
+
149
+ ## 4. Levels of Mathematical Thinking Methods
150
+
151
+ | Level | Thinking Method | Description |
152
+ |-------|----------------|-------------|
153
+ | Foundation | Logical deduction, inductive analogy | The basis of all mathematical thinking |
154
+ | Method | Axiomatization, abstraction, modeling | Methods for constructing mathematical theories |
155
+ | Tool | Optimization, transformation, probability & statistics | Tools for solving concrete problems |
156
+ | Extension | Algorithms & computation, information theory, game theory, causal inference | Tools applied to computation, information, interaction, and causation |
157
+ | Philosophy | Symmetry & invariance, topological thinking, discrete & combinatorial thinking | Philosophical perspectives for understanding structure and essence |
158
+
159
+ ## 5. Connections Between Mathematics and Other Disciplines
160
+
161
+ | Discipline | Mathematical Tools Used | Typical Applications |
162
+ |-----------|------------------------|---------------------|
163
+ | Physics | Calculus, linear algebra, group theory | Mechanics, quantum mechanics, relativity |
164
+ | Computer Science | Discrete mathematics, graph theory, probability | Algorithm analysis, cryptography, AI |
165
+ | Economics | Optimization, game theory, differential equations | Market equilibrium, pricing models |
166
+ | Biology | Differential equations, statistics, graph theory | Population dynamics, systems biology |
167
+ | Engineering | Differential equations, Fourier analysis, numerical methods | Control systems, signal processing |
168
+ | Social Sciences | Statistics, game theory, network analysis | Social networks, decision analysis |
169
+
170
+ ## 6. Mapping Thinking Weapons to Mathematical Branches
171
+
172
+ The 16 thinking weapons in this project (15 specialized weapons + 1 math-research-activator auto-trigger entry point) do not exist in isolation; they form a complementary toolkit with mathematical branches. Below is a simplified mapping to help you find suitable mathematical methods directly from problem types. v2 also includes `references/books/*.md` × 7 volumes covering algebraic geometry / differential geometry / Lie theory / abstract algebra / matrix analysis / optimization / manifolds and other modern mathematical structures, activated on demand into algorithm design (see README "Three-Layer Progressive Disclosure").
173
+
174
+ | Thinking Weapon | Corresponding Mathematical Branch | Typical Methods / Concepts |
175
+ |----------------|----------------------------------|---------------------------|
176
+ | 🧭 Math Research Activator | Meta-cognition, problem classification, modern math mapping | Diagnosis → Mapping → Routing → GPU Filtering, dual acceptance gates |
177
+ | 📐 Axiomatic Thinking | Mathematical logic, set theory | Axiomatic systems, formal languages, consistency, independence |
178
+ | 🧩 Abstraction | Algebra, category theory, topology | Abstract structures, isomorphisms, universal properties |
179
+ | 🧠 Logical Deduction | Mathematical logic, proof theory | Propositional logic, predicate logic, inference rules |
180
+ | 🌉 Modeling | Applied mathematics, statistics | Equation-based modeling, dimensional analysis, validation |
181
+ | ⚖️ Optimization | Optimization theory, operations research | Convex optimization, KKT conditions, dynamic programming |
182
+ | 🎲 Probability & Statistics | Probability theory, mathematical statistics | Random variables, hypothesis testing, regression analysis |
183
+ | 🔄 Transformation | Analysis, generating functions | Fourier, Laplace, algebraic transformations |
184
+ | ⚛️ Symmetry & Invariance | Group theory, geometry | Group actions, invariants, quotient spaces |
185
+ | 📈 Induction & Analogy | Elementary mathematics, number theory | Inductive proofs, analogical reasoning, pattern recognition |
186
+ | 🖥️ Algorithmic & Computational Thinking | Computation theory, discrete mathematics | Complexity, computability, algorithm paradigms |
187
+ | 📡 Information Theory | Information theory, statistical learning | Entropy, mutual information, coding limits |
188
+ | 🎯 Game Theory | Mathematical economics, mechanism design | Nash equilibrium, incentive compatibility, optimal strategy |
189
+ | 🔗 Causal Inference | Causal inference, statistics | DAGs, do-calculus, intervention analysis |
190
+ | 🌀 Topological Thinking | Topology, algebraic topology | Homotopy, homology, topological invariants |
191
+ | 🧮 Discrete & Combinatorial Thinking | Combinatorics, graph theory | Pigeonhole principle, generating functions, enumeration |
192
+
193
+ ## 7. How to Choose a Thinking Weapon
194
+
195
+ When facing a problem, the most important first step is not "analyze hard," but "choose the right tool." Here is a selection guide:
196
+
197
+ ### Quick Selection Guide
198
+
199
+ | Core Problem Characteristic | Most Likely Suitable Thinking Weapon |
200
+ |----------------------------|-------------------------------------|
201
+ | Multi-party interaction; my optimum depends on others | 🎯 Game Theory |
202
+ | Uncertainty / randomness | 🎲 Probability & Statistics |
203
+ | Optimal choice under constraints | ⚖️ Optimization |
204
+ | Difficult to handle from current perspective | 🔄 Transformation |
205
+ | Need to extract essential structure | 🧩 Abstraction |
206
+ | Need rigorous reasoning and verification | 🧠 Logical Deduction |
207
+ | Need to discover patterns from experience | 📈 Induction & Analogy |
208
+ | Need to build a predictive model | 🌉 Modeling |
209
+ | Invariance amid change | ⚛️ Symmetry & Invariance |
210
+ | Need executable steps | 🖥️ Algorithmic & Computational Thinking |
211
+ | Counting / structure over finite objects | 🧮 Discrete & Combinatorial Thinking |
212
+
213
+ ### Using the Activator
214
+
215
+ If you are unsure which tool to use, simply invoke the math-research-activator via the `/ask` command. It will diagnose the problem, map to modern mathematical structures, recommend the 1–3 most suitable thinking weapons, and perform GPU feasibility filtering. When algorithm / kernel / model code appears in the workspace, the activator will also intervene automatically.
216
+
217
+ ### Path
218
+
219
+ v2 has removed the "research / life dual-path" and unified into a single research / algorithm path: preserving complete mathematical notation and derivations, and enforcing the GPU 8-dimension gate when used for algorithm / operator design.
220
+
221
+ ## 8. How to Use This Overview
222
+
223
+ - Start from the problem characteristics: determine whether it is "structural," "dynamic," "stochastic," "interactive," or "countable."
224
+ - Consult the Quick Selection Guide or use the `/ask` command to find the closest thinking weapon.
225
+ - Combined with the "Hierarchical Structure of the Knowledge System," judge whether the current problem is better suited to foundational approaches or frontier methods.
226
+ - If the problem spans multiple categories, invoke multiple thinking weapons simultaneously — e.g., "Modeling + Optimization," "Probability + Causation," "Abstraction + Algorithms."
227
+ - For algorithm / operator design problems, let the activator transfer modern mathematical structures (algebraic geometry / Lie theory / topology, etc.) into the design and pass them through the GPU 8-dimension gate.
228
+ - When studying or reading literature, use this overview as an organizing framework to place scattered concepts into a unified knowledge map.