math-skill 2.1.0 → 3.0.1

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 (244) hide show
  1. package/README.en-US.md +165 -198
  2. package/README.md +165 -198
  3. package/agents/math-critic.en.md +28 -26
  4. package/agents/math-critic.md +33 -33
  5. package/commands/ask.en.md +10 -0
  6. package/commands/ask.md +3 -10
  7. package/design-patterns/attention/equivariant-attention.en.md +72 -0
  8. package/design-patterns/attention/equivariant-attention.md +72 -0
  9. package/design-patterns/attention/geometry-aware-attention.en.md +73 -0
  10. package/design-patterns/attention/geometry-aware-attention.md +72 -0
  11. package/design-patterns/attention/information-bottleneck-attention.en.md +72 -0
  12. package/design-patterns/attention/information-bottleneck-attention.md +72 -0
  13. package/design-patterns/attention/projection-attention.en.md +68 -0
  14. package/design-patterns/attention/projection-attention.md +68 -0
  15. package/design-patterns/attention/spectral-attention.en.md +71 -0
  16. package/design-patterns/attention/spectral-attention.md +71 -0
  17. package/design-patterns/compression/leverage-score-selection.en.md +71 -0
  18. package/design-patterns/compression/leverage-score-selection.md +71 -0
  19. package/design-patterns/compression/low-rank-kv-cache.en.md +60 -0
  20. package/design-patterns/compression/low-rank-kv-cache.md +60 -0
  21. package/design-patterns/compression/spectral-token-pruning.en.md +61 -0
  22. package/design-patterns/compression/spectral-token-pruning.md +61 -0
  23. package/design-patterns/compression/topology-preserving-compression.en.md +64 -0
  24. package/design-patterns/compression/topology-preserving-compression.md +64 -0
  25. package/design-patterns/loss/constraint-penalty.en.md +67 -0
  26. package/design-patterns/loss/constraint-penalty.md +78 -0
  27. package/design-patterns/loss/contrastive-loss.en.md +59 -0
  28. package/design-patterns/loss/contrastive-loss.md +68 -0
  29. package/design-patterns/loss/information-bottleneck-loss.en.md +69 -0
  30. package/design-patterns/loss/information-bottleneck-loss.md +74 -0
  31. package/design-patterns/loss/orthogonality-loss.en.md +56 -0
  32. package/design-patterns/loss/orthogonality-loss.md +60 -0
  33. package/design-patterns/loss/variational-loss.en.md +61 -0
  34. package/design-patterns/loss/variational-loss.md +71 -0
  35. package/design-patterns/representation/equivariant-split.en.md +87 -0
  36. package/design-patterns/representation/equivariant-split.md +89 -0
  37. package/design-patterns/representation/manifold-representation.en.md +85 -0
  38. package/design-patterns/representation/manifold-representation.md +87 -0
  39. package/design-patterns/representation/shared-private-decomposition.en.md +84 -0
  40. package/design-patterns/representation/shared-private-decomposition.md +86 -0
  41. package/design-patterns/representation/subspace-alignment.en.md +90 -0
  42. package/design-patterns/representation/subspace-alignment.md +92 -0
  43. package/design-patterns/routing/graph-routing.en.md +79 -0
  44. package/design-patterns/routing/graph-routing.md +81 -0
  45. package/design-patterns/routing/moe-routing.en.md +85 -0
  46. package/design-patterns/routing/moe-routing.md +87 -0
  47. package/design-patterns/routing/optimal-transport-routing.en.md +68 -0
  48. package/design-patterns/routing/optimal-transport-routing.md +72 -0
  49. package/design-patterns/routing/spectral-clustering-routing.en.md +88 -0
  50. package/design-patterns/routing/spectral-clustering-routing.md +90 -0
  51. package/knowledge-base/differential-geometry/connection.en.md +51 -0
  52. package/knowledge-base/differential-geometry/connection.md +51 -0
  53. package/knowledge-base/differential-geometry/curvature.en.md +49 -0
  54. package/knowledge-base/differential-geometry/curvature.md +49 -0
  55. package/knowledge-base/differential-geometry/geodesic.en.md +51 -0
  56. package/knowledge-base/differential-geometry/geodesic.md +51 -0
  57. package/knowledge-base/differential-geometry/manifold.en.md +47 -0
  58. package/knowledge-base/differential-geometry/manifold.md +47 -0
  59. package/knowledge-base/differential-geometry/metric-tensor.en.md +50 -0
  60. package/knowledge-base/differential-geometry/metric-tensor.md +50 -0
  61. package/knowledge-base/differential-geometry/tangent-space.en.md +48 -0
  62. package/knowledge-base/differential-geometry/tangent-space.md +48 -0
  63. package/knowledge-base/information-geometry/fisher-metric.en.md +56 -0
  64. package/knowledge-base/information-geometry/fisher-metric.md +56 -0
  65. package/knowledge-base/information-geometry/natural-gradient.en.md +54 -0
  66. package/knowledge-base/information-geometry/natural-gradient.md +54 -0
  67. package/knowledge-base/lie-theory/equivariance.en.md +54 -0
  68. package/knowledge-base/lie-theory/equivariance.md +54 -0
  69. package/knowledge-base/lie-theory/group-action.en.md +51 -0
  70. package/knowledge-base/lie-theory/group-action.md +51 -0
  71. package/knowledge-base/lie-theory/lie-algebra.en.md +51 -0
  72. package/knowledge-base/lie-theory/lie-algebra.md +51 -0
  73. package/knowledge-base/lie-theory/lie-group.en.md +51 -0
  74. package/knowledge-base/lie-theory/lie-group.md +51 -0
  75. package/knowledge-base/lie-theory/representation.en.md +52 -0
  76. package/knowledge-base/lie-theory/representation.md +52 -0
  77. package/knowledge-base/matrix-analysis/low-rank-approximation.en.md +49 -0
  78. package/knowledge-base/matrix-analysis/low-rank-approximation.md +49 -0
  79. package/knowledge-base/matrix-analysis/matrix-perturbation.en.md +49 -0
  80. package/knowledge-base/matrix-analysis/matrix-perturbation.md +49 -0
  81. package/knowledge-base/matrix-analysis/positive-semidefinite.en.md +50 -0
  82. package/knowledge-base/matrix-analysis/positive-semidefinite.md +50 -0
  83. package/knowledge-base/matrix-analysis/projection.en.md +47 -0
  84. package/knowledge-base/matrix-analysis/projection.md +47 -0
  85. package/knowledge-base/matrix-analysis/spectral-decomposition.en.md +48 -0
  86. package/knowledge-base/matrix-analysis/spectral-decomposition.md +48 -0
  87. package/knowledge-base/optimization/constrained-optimization.en.md +53 -0
  88. package/knowledge-base/optimization/constrained-optimization.md +53 -0
  89. package/knowledge-base/optimization/convex-optimization.en.md +50 -0
  90. package/knowledge-base/optimization/convex-optimization.md +50 -0
  91. package/knowledge-base/optimization/lagrangian-duality.en.md +50 -0
  92. package/knowledge-base/optimization/lagrangian-duality.md +50 -0
  93. package/knowledge-base/optimization/proximal-method.en.md +52 -0
  94. package/knowledge-base/optimization/proximal-method.md +52 -0
  95. package/knowledge-base/optimization/riemannian-optimization.en.md +51 -0
  96. package/knowledge-base/optimization/riemannian-optimization.md +51 -0
  97. package/knowledge-base/overview.en.md +29 -218
  98. package/knowledge-base/overview.md +29 -220
  99. package/knowledge-base/probability/concentration-inequality.en.md +45 -0
  100. package/knowledge-base/probability/concentration-inequality.md +45 -0
  101. package/knowledge-base/probability/entropy.en.md +47 -0
  102. package/knowledge-base/probability/entropy.md +47 -0
  103. package/knowledge-base/probability/fisher-information.en.md +48 -0
  104. package/knowledge-base/probability/fisher-information.md +48 -0
  105. package/knowledge-base/probability/information-bottleneck.en.md +49 -0
  106. package/knowledge-base/probability/information-bottleneck.md +49 -0
  107. package/knowledge-base/probability/kl-divergence.en.md +51 -0
  108. package/knowledge-base/probability/kl-divergence.md +51 -0
  109. package/knowledge-base/topology/euler-characteristic.en.md +54 -0
  110. package/knowledge-base/topology/euler-characteristic.md +54 -0
  111. package/knowledge-base/topology/fundamental-group.en.md +52 -0
  112. package/knowledge-base/topology/fundamental-group.md +52 -0
  113. package/knowledge-base/topology/persistent-homology.en.md +54 -0
  114. package/knowledge-base/topology/persistent-homology.md +54 -0
  115. package/lenses/algorithmic.en.md +49 -0
  116. package/lenses/algorithmic.md +49 -0
  117. package/lenses/axiomatization.en.md +48 -0
  118. package/lenses/axiomatization.md +48 -0
  119. package/lenses/categorical.en.md +48 -0
  120. package/lenses/categorical.md +48 -0
  121. package/lenses/causal.en.md +49 -0
  122. package/lenses/causal.md +49 -0
  123. package/lenses/duality.en.md +47 -0
  124. package/lenses/duality.md +47 -0
  125. package/lenses/game.en.md +50 -0
  126. package/lenses/game.md +50 -0
  127. package/lenses/geometric.en.md +53 -0
  128. package/lenses/geometric.md +53 -0
  129. package/lenses/local-to-global.en.md +52 -0
  130. package/lenses/local-to-global.md +52 -0
  131. package/lenses/perturbation.en.md +51 -0
  132. package/lenses/perturbation.md +51 -0
  133. package/lenses/probabilistic.en.md +48 -0
  134. package/lenses/probabilistic.md +48 -0
  135. package/lenses/projection.en.md +50 -0
  136. package/lenses/projection.md +50 -0
  137. package/lenses/spectral.en.md +52 -0
  138. package/lenses/spectral.md +52 -0
  139. package/lenses/symmetry.en.md +49 -0
  140. package/lenses/symmetry.md +49 -0
  141. package/lenses/topological.en.md +48 -0
  142. package/lenses/topological.md +48 -0
  143. package/lenses/variational.en.md +48 -0
  144. package/lenses/variational.md +48 -0
  145. package/package.json +9 -3
  146. package/references/agentic-workflow.en.md +1 -1
  147. package/references/agentic-workflow.md +1 -1
  148. package/references/books/abstract-algebra.en.md +124 -0
  149. package/references/books/abstract-algebra.md +22 -22
  150. package/references/books/algebraic-geometry-rising-sea.en.md +171 -0
  151. package/references/books/algebraic-geometry-rising-sea.md +11 -11
  152. package/references/books/differential-geometry.en.md +140 -0
  153. package/references/books/differential-geometry.md +19 -19
  154. package/references/books/matrix-analysis.en.md +146 -0
  155. package/references/books/matrix-analysis.md +10 -10
  156. package/references/books/micro-lie-theory.en.md +116 -0
  157. package/references/books/micro-lie-theory.md +17 -17
  158. package/references/books/optimization-ml.en.md +163 -0
  159. package/references/books/optimization-ml.md +7 -8
  160. package/references/books/smooth-manifolds.en.md +105 -0
  161. package/references/books/smooth-manifolds.md +14 -14
  162. package/references/gpu-friendly-math.en.md +23 -10
  163. package/references/gpu-friendly-math.md +17 -4
  164. package/references/inspiration.en.md +1 -1
  165. package/references/inspiration.md +2 -2
  166. package/skills/math-research-activator/SKILL.en.md +195 -114
  167. package/skills/math-research-activator/SKILL.md +194 -119
  168. package/skills/math-research-activator/original-texts.en.md +9 -9
  169. package/skills/math-research-activator/original-texts.md +11 -11
  170. package/commands/abstraction.md +0 -11
  171. package/commands/algorithmic-thinking.md +0 -11
  172. package/commands/axiomatization.md +0 -11
  173. package/commands/causal-inference.md +0 -11
  174. package/commands/discrete-combinatorial.md +0 -11
  175. package/commands/game-theory.md +0 -11
  176. package/commands/induction-analogy.md +0 -11
  177. package/commands/information-theory.md +0 -11
  178. package/commands/logic-deduction.md +0 -11
  179. package/commands/modeling.md +0 -11
  180. package/commands/optimization.md +0 -11
  181. package/commands/probability-statistics.md +0 -11
  182. package/commands/symmetry-invariance.md +0 -11
  183. package/commands/topological-thinking.md +0 -11
  184. package/commands/transformation.md +0 -11
  185. package/skills/abstraction/SKILL.en.md +0 -117
  186. package/skills/abstraction/SKILL.md +0 -121
  187. package/skills/abstraction/original-texts.en.md +0 -163
  188. package/skills/abstraction/original-texts.md +0 -175
  189. package/skills/algorithmic-thinking/SKILL.en.md +0 -132
  190. package/skills/algorithmic-thinking/SKILL.md +0 -138
  191. package/skills/algorithmic-thinking/original-texts.en.md +0 -253
  192. package/skills/algorithmic-thinking/original-texts.md +0 -256
  193. package/skills/axiomatization/SKILL.en.md +0 -144
  194. package/skills/axiomatization/SKILL.md +0 -151
  195. package/skills/axiomatization/original-texts.en.md +0 -154
  196. package/skills/axiomatization/original-texts.md +0 -160
  197. package/skills/causal-inference/SKILL.en.md +0 -147
  198. package/skills/causal-inference/SKILL.md +0 -151
  199. package/skills/causal-inference/original-texts.en.md +0 -136
  200. package/skills/causal-inference/original-texts.md +0 -167
  201. package/skills/discrete-combinatorial/SKILL.en.md +0 -124
  202. package/skills/discrete-combinatorial/SKILL.md +0 -131
  203. package/skills/discrete-combinatorial/original-texts.en.md +0 -184
  204. package/skills/discrete-combinatorial/original-texts.md +0 -185
  205. package/skills/game-theory/SKILL.en.md +0 -117
  206. package/skills/game-theory/SKILL.md +0 -123
  207. package/skills/game-theory/original-texts.en.md +0 -131
  208. package/skills/game-theory/original-texts.md +0 -131
  209. package/skills/induction-analogy/SKILL.en.md +0 -145
  210. package/skills/induction-analogy/SKILL.md +0 -152
  211. package/skills/induction-analogy/original-texts.en.md +0 -140
  212. package/skills/induction-analogy/original-texts.md +0 -154
  213. package/skills/information-theory/SKILL.en.md +0 -134
  214. package/skills/information-theory/SKILL.md +0 -140
  215. package/skills/information-theory/original-texts.en.md +0 -127
  216. package/skills/information-theory/original-texts.md +0 -127
  217. package/skills/logic-deduction/SKILL.en.md +0 -130
  218. package/skills/logic-deduction/SKILL.md +0 -135
  219. package/skills/logic-deduction/original-texts.en.md +0 -160
  220. package/skills/logic-deduction/original-texts.md +0 -173
  221. package/skills/modeling/SKILL.en.md +0 -135
  222. package/skills/modeling/SKILL.md +0 -139
  223. package/skills/modeling/original-texts.en.md +0 -162
  224. package/skills/modeling/original-texts.md +0 -165
  225. package/skills/optimization/SKILL.en.md +0 -129
  226. package/skills/optimization/SKILL.md +0 -135
  227. package/skills/optimization/original-texts.en.md +0 -167
  228. package/skills/optimization/original-texts.md +0 -168
  229. package/skills/probability-statistics/SKILL.en.md +0 -146
  230. package/skills/probability-statistics/SKILL.md +0 -151
  231. package/skills/probability-statistics/original-texts.en.md +0 -191
  232. package/skills/probability-statistics/original-texts.md +0 -193
  233. package/skills/symmetry-invariance/SKILL.en.md +0 -135
  234. package/skills/symmetry-invariance/SKILL.md +0 -139
  235. package/skills/symmetry-invariance/original-texts.en.md +0 -206
  236. package/skills/symmetry-invariance/original-texts.md +0 -221
  237. package/skills/topological-thinking/SKILL.en.md +0 -124
  238. package/skills/topological-thinking/SKILL.md +0 -128
  239. package/skills/topological-thinking/original-texts.en.md +0 -134
  240. package/skills/topological-thinking/original-texts.md +0 -164
  241. package/skills/transformation/SKILL.en.md +0 -120
  242. package/skills/transformation/SKILL.md +0 -124
  243. package/skills/transformation/original-texts.en.md +0 -204
  244. package/skills/transformation/original-texts.md +0 -216
@@ -0,0 +1,52 @@
1
+ # Local-to-Global Lens
2
+
3
+ > Patching local properties into global, sheaf cohomology obstructions — can local solutions be seamlessly assembled into a global solution? Where do the obstructions lie?
4
+
5
+ ## What This Perspective Is
6
+
7
+ This is a "patcher's" perspective — starting from local patches that cover a space, asking: "Can properties that hold in each local region be consistently assembled into a globally valid property?" The core conviction: the difficulty of many global problems lies not in local solving but in the compatibility between local solutions. The partition of unity theorem guarantees that smooth functions can always be patched from local to global, but sheaf cohomology precisely characterizes when such patching fails — a nonzero cohomology group signals the existence of a global obstruction.
8
+
9
+ ## Problems It Diagnoses Well
10
+
11
+ - Whether locally defined quantities (gradients, features, representations) can be consistently assembled into a global quantity
12
+ - When analytic continuation is unique and when multivaluedness arises (applicability of the monodromy theorem)
13
+ - Whether local consensus in a distributed system can guarantee global consistency
14
+ - Whether local trivializations of a fiber bundle can be patched into a global trivialization — what is the topological obstruction?
15
+ - Detecting global inconsistencies across overlapping covers via Cech cohomology
16
+
17
+ ## Problems It Doesn't Fit
18
+
19
+ - Problems that are inherently global and indivisible — no natural local cover exists
20
+ - Concerns only single-point properties rather than the local-to-global transition
21
+ - Purely algebraic problems — no concept of spatial covering or patching is involved
22
+
23
+ ## Knowledge Domains It Routes To
24
+
25
+ - **topology/persistent-homology**: Persistent homology — a bridge from local neighborhoods to global topological features
26
+ - **topology/fundamental-group**: Fundamental group as a global invariant of path connectivity, detecting "holes" invisible locally
27
+ - **topology/euler-characteristic**: Euler characteristic — linking local combinatorial information to global topology
28
+ - **differential-geometry/connection**: Connections defining parallel transport — consistency conditions from local tangent spaces to global
29
+ - **differential-geometry/manifold**: Atlases and coordinate transformations — the manifold definition itself is the paradigm of local-to-global
30
+
31
+ ## AI Designs It May Inspire
32
+
33
+ - **Sheaf Consistency Loss**: Penalize incompatibility between representations in adjacent local regions, driving globally consistent representation learning
34
+ - **Local-Global Verifier**: Solve independently on multiple patches, then check global consistency via the Cech condition
35
+ - **Cohomological Obstruction Detector**: Automatically identify which local solution combinations have topological obstructions requiring global correction
36
+ - **Partition-and-Stitch Framework**: Decompose a global problem into a weighted superposition of local subproblems using the partition of unity idea
37
+
38
+ ## Reasoning Protocol
39
+
40
+ 1. **Choose a local cover**: What family of open sets covers the problem space? What are the granularity and overlap of the cover?
41
+ 2. **Solve local problems**: Solve independently on each covering set, recording the form and scope of each solution
42
+ 3. **Check compatibility conditions**: Are the local solutions consistent on overlap regions? Do the transition functions satisfy the cocycle condition?
43
+ 4. **Identify cohomological obstructions**: If compatibility fails, compute the Cech cohomology group — a nonzero group indicates an irremovable global obstruction
44
+ 5. **Decide on a strategy**: Is the obstruction removable (adjust local solutions) or essential (a global method is required, or multivaluedness must be accepted)?
45
+
46
+ ## Acceptance Criteria
47
+
48
+ - The local cover is clearly defined with stated granularity and overlap
49
+ - Each local solution is independently provided with its scope annotated
50
+ - Compatibility conditions on overlap regions have been checked and results recorded
51
+ - If obstructions exist, the cohomology group has been computed or estimated and the obstruction type classified
52
+ - A final strategy is determined — patching succeeded, global correction needed, or obstruction is irremovable
@@ -0,0 +1,52 @@
1
+ # 局部到全局透镜
2
+
3
+ > 局部性质拼接为全局、层上同调障碍——局部解能否无缝组装成全局解?障碍在哪里?
4
+
5
+ ## 它是什么视角
6
+
7
+ 这是一种"拼接者"的视角——从覆盖空间的局部 patches 出发,追问"每个局部区域内成立的性质,能否一致地拼接为全局成立的性质?"核心信念:许多全局问题的难度不在于局部求解,而在于局部解之间的相容性。单位分解定理保证了光滑函数总可局部拼接为全局,但层上同调精确刻画了什么时候这种拼接会失败——上同调群非零 = 全局障碍存在。
8
+
9
+ ## 适合诊断什么问题
10
+
11
+ - 局部定义的量(梯度、特征、表示)能否一致地组装为全局量?
12
+ - 解析延拓何时唯一、何时出现多值性(单值化定理的适用性)
13
+ - 分布式系统中局部共识能否保证全局一致性?
14
+ - 纤维丛的局部平凡化能否拼接为全局平凡化——拓扑障碍是什么?
15
+ - Cech 上同调检测覆盖之间的全局不一致性
16
+
17
+ ## 不适合什么问题
18
+
19
+ - 问题本身就是全局的且不可分解——没有自然的局部覆盖
20
+ - 只关心单点性质而非局部到全局的过渡
21
+ - 纯代数问题——不涉及空间覆盖与拼接的概念
22
+
23
+ ## 会路由到哪些知识域
24
+
25
+ - **topology/persistent-homology**:持续同调——从局部邻域到全局拓扑特征的桥梁
26
+ - **topology/fundamental-group**:基本群作为路径连通性的全局不变量,检测局部无法捕获的"洞"
27
+ - **topology/euler-characteristic**:Euler 示性数——局部组合信息与全局拓扑的关联
28
+ - **differential-geometry/connection**:联络定义平行移动——局部切空间到全局的一致性条件
29
+ - **differential-geometry/manifold**:图册与坐标变换——流形定义本身即局部到全局的范式
30
+
31
+ ## 可能产生哪些 AI 设计
32
+
33
+ - **层一致性损失**:惩罚相邻局部区域表示之间的不相容,驱动全局一致表示学习
34
+ - **局部-全局验证器**:在多 patch 上独立求解后用 Cech 条件检验全局一致性
35
+ - **上同调障碍检测器**:自动识别哪些局部解组合存在拓扑障碍,需要全局修正
36
+ - **分区拼接框架**:用单位分解思想将全局问题分解为加权局部子问题的叠加
37
+
38
+ ## 推理协议
39
+
40
+ 1. **选择局部覆盖**:用什么开集族覆盖问题空间?覆盖的粒度和重叠度如何?
41
+ 2. **求解局部问题**:在每个覆盖集上独立求解,记录解的形式与适用范围
42
+ 3. **检查相容性条件**:在重叠区域,局部解是否一致?转移函数是否满足余环条件?
43
+ 4. **识别上同调障碍**:若相容性失败,计算 Cech 上同调群——非零群 = 不可消除的全局障碍
44
+ 5. **决定策略**:障碍可消除(调整局部解)还是本质性的(需要全局方法或接受多值性)?
45
+
46
+ ## 验收标准
47
+
48
+ - 局部覆盖已明确定义,覆盖粒度与重叠度已说明
49
+ - 每个局部解已独立给出并标注适用范围
50
+ - 重叠区域的相容性条件已检查,结果已记录
51
+ - 若存在障碍,上同调群已计算或估计,障碍类型已分类
52
+ - 最终策略已确定——拼接成功/需要全局修正/障碍不可消除
@@ -0,0 +1,51 @@
1
+ # Perturbation Lens
2
+
3
+ > Propagation of small perturbations, stability, and robustness — a system's sensitivity to tiny changes determines its reliability
4
+
5
+ ## What This Perspective Is
6
+
7
+ This is a "stress-tester's" perspective — for any mathematical object or system design, ask: "If the input, parameters, or structure undergo a small change, how much does the output shift? Is the shift controllable?" The core conviction: a well-posed system's response to perturbation should be bounded and predictable; if a design collapses under infinitesimal perturbation, it is destined to fail in practice. The condition number is the precise measure of perturbation amplification.
8
+
9
+ ## Problems It Diagnoses Well
10
+
11
+ - Robustness analysis of models against input noise or adversarial perturbations
12
+ - Small parameter changes causing solution jumps in optimization — is the problem ill-conditioned?
13
+ - Stability of eigenvalues and eigenvectors under matrix perturbation (Davis-Kahan theorem)
14
+ - Identifying regular vs. singular perturbations in asymptotic expansions
15
+ - Error propagation and condition number analysis in numerical algorithms
16
+
17
+ ## Problems It Doesn't Fit
18
+
19
+ - Problems where the perturbation itself is the object of study (e.g., butterfly effect in chaotic systems is a feature, not a defect)
20
+ - Large-deformation or global structural analysis — perturbation theory only concerns local neighborhoods
21
+ - Discrete combinatorial problems — perturbation theory relies on continuity assumptions
22
+
23
+ ## Knowledge Domains It Routes To
24
+
25
+ - **matrix-analysis/matrix-perturbation**: Weyl's inequality, Davis-Kahan theorem, perturbation bounds for eigenvalues and singular values
26
+ - **optimization/constrained-optimization**: Stability of KKT conditions, sensitivity of optimal solutions to perturbation
27
+ - **probability/concentration-inequality**: Concentration phenomena under random perturbation, sub-Gaussian tail bounds
28
+ - **differential-geometry/curvature**: Curvature as a measure of geodesic deviation — perturbation amplification in geometric terms
29
+
30
+ ## AI Designs It May Inspire
31
+
32
+ - **Perturbation Regularization**: Add input or weight perturbation terms to the loss to train models insensitive to small changes
33
+ - **Condition Number Monitor**: Track the condition number of weight matrices or the Hessian in real time to warn of ill-conditioning
34
+ - **Robustness Verification Layer**: Quantify maximum output shift using epsilon-delta bounds, providing formal robustness guarantees
35
+ - **Adaptive Preconditioning**: Dynamically adjust optimizer step size based on the perturbation amplification factor
36
+
37
+ ## Reasoning Protocol
38
+
39
+ 1. **Identify the perturbation source**: Does the perturbation occur in the input, parameters, or structure? What is its magnitude epsilon?
40
+ 2. **Compute sensitivity**: Derive the Jacobian or condition number — the ratio of output shift Delta to perturbation epsilon
41
+ 3. **Classify the perturbation**: Regular perturbation (expansion converges order by order) vs. singular perturbation (leading-order term changes)
42
+ 4. **Establish perturbation bounds**: Use known theorems (Weyl, Davis-Kahan, Lipschitz constants) to provide rigorous upper bounds
43
+ 5. **Assess robustness**: Is the perturbation amplification within acceptable range? If not, what regularization is needed?
44
+
45
+ ## Acceptance Criteria
46
+
47
+ - The perturbation source and its magnitude epsilon are clearly defined
48
+ - Sensitivity or condition number has been computed or estimated
49
+ - The perturbation type has been classified (regular or singular)
50
+ - The output shift has a quantified upper bound (not merely a heuristic estimate)
51
+ - The robustness conclusion is actionable — pass, fail, or specification of required regularization
@@ -0,0 +1,51 @@
1
+ # 微扰透镜
2
+
3
+ > 小扰动的传播、稳定性、鲁棒性——系统对微小变化的敏感度决定了它的可靠性
4
+
5
+ ## 它是什么视角
6
+
7
+ 这是一种"压力测试者"的视角——对任何数学对象或系统设计,追问"如果输入/参数/结构发生微小变化,输出会偏移多少?偏移是否可控?"核心信念:一个良态系统的输出对扰动的响应应当是有界的、可预测的;如果一个设计在无穷小扰动下就崩溃,那它在现实中注定失败。条件数是扰动放大倍数的精确度量。
8
+
9
+ ## 适合诊断什么问题
10
+
11
+ - 模型对输入噪声/对抗扰动的鲁棒性分析
12
+ - 优化问题中参数微变导致解的跳变——问题是病态的吗?
13
+ - 特征值/特征向量在矩阵微扰下的稳定性(Davis-Kahan 定理)
14
+ - 渐近展开中正则扰动 vs 奇异扰动的识别
15
+ - 数值算法的误差传播与条件数分析
16
+
17
+ ## 不适合什么问题
18
+
19
+ - 扰动本身就是研究对象(如混沌系统中蝴蝶效应是特征而非缺陷)
20
+ - 需要大变形/全局结构分析——微扰只关心局部邻域
21
+ - 离散组合问题——微扰理论依赖连续性假设
22
+
23
+ ## 会路由到哪些知识域
24
+
25
+ - **matrix-analysis/matrix-perturbation**:Weyl 不等式、Davis-Kahan 定理、特征值/奇异值的扰动界
26
+ - **optimization/constrained-optimization**:KKT 条件的稳定性、扰动后最优解的灵敏度
27
+ - **probability/concentration-inequality**:随机扰动下的集中现象、亚高斯尾部界
28
+ - **differential-geometry/curvature**:曲率作为测地线偏离的度量——几何意义上的扰动放大
29
+
30
+ ## 可能产生哪些 AI 设计
31
+
32
+ - **扰动正则化**:在损失中加入输入/权重扰动项,训练对微小变化不敏感的模型
33
+ - **条件数监控器**:实时跟踪权重矩阵/Hessian 的条件数,预警病态
34
+ - **鲁棒性验证层**:用 ε-δ 界量化模型输出的最大偏移,提供形式化鲁棒性保证
35
+ - **自适应预条件**:根据扰动放大因子动态调整优化器步长
36
+
37
+ ## 推理协议
38
+
39
+ 1. **识别扰动源**:扰动发生在输入、参数还是结构上?扰动的量级 ε 是多少?
40
+ 2. **计算灵敏度**:求导/Jacobian/条件数——输出偏移 Δ 与扰动 ε 的比值 Δ/ε
41
+ 3. **判断扰动类型**:正则扰动(展开式逐阶收敛)vs 奇异扰动(主导项阶次改变)
42
+ 4. **给出扰动界**:用已知定理(Weyl、Davis-Kahan、Lipschitz 常数)给出严格上界
43
+ 5. **评估鲁棒性**:扰动放大是否在可接受范围内?若不可接受,如何正则化?
44
+
45
+ ## 验收标准
46
+
47
+ - 扰动源与扰动量级 ε 已明确定义
48
+ - 灵敏度/条件数已计算或估计
49
+ - 扰动类型已判定(正则/奇异)
50
+ - 输出偏移有量化上界(非仅启发式估计)
51
+ - 鲁棒性结论可执行——通过/不通过/需要何种正则化
@@ -0,0 +1,48 @@
1
+ # Probabilistic Lens
2
+
3
+ > Uncertainty is quantifiable — probability is quantified belief, data is quantified evidence
4
+
5
+ ## What Perspective It Offers
6
+
7
+ The probabilistic perspective is a way of "making rational decisions under uncertainty": the world is full of uncertainty, and rational decision-making does not mean pursuing certainty but rather making choices that optimize expected value amid uncertainty. Bayesian updating is the core operation — a prior, upon encountering new data, becomes a posterior; the posterior, upon encountering further data, becomes the new prior. A critical distinction must be maintained: statistical significance is not the same as practical significance (p < 0.05 does not mean a large effect), and correlation is not causation (P(Y|X) is not P(Y|do(X))).
8
+
9
+ ## What Problems It Is Suited to Diagnose
10
+
11
+ - Quantifying uncertainty — probability distributions, confidence intervals, and effect-size estimation
12
+ - Bayesian inference — step-by-step belief updating through the prior–likelihood–posterior cycle
13
+ - Hypothesis testing and experimental design — significance tests, power analysis, and sample-size planning
14
+ - Causal effect estimation — distinguishing statistical association from causal effect
15
+
16
+ ## What Problems It Is Not Suited For
17
+
18
+ - Deterministic problems — the answer is known or can be obtained by deduction; probabilistic tools are unnecessary
19
+ - Extremely small sample sizes (n < 5) with no possibility of increase — report the data itself rather than inferences from it
20
+ - Data that is entirely missing or severely corrupted — no meaningful statistical operation can be performed
21
+
22
+ ## Which Knowledge Domains It Routes To
23
+
24
+ - `probability/entropy`: Kolmogorov axioms, distribution families, and the law of large numbers / CLT — the mathematical foundations of uncertainty
25
+ - `probability/kl-divergence`: MLE, hypothesis testing, Bayesian inference, and regression modeling — extracting patterns from data
26
+ - causal inference (no KB card yet, use critic): DAGs, the back-door criterion, and do-calculus — the reasoning framework from association to causation
27
+
28
+ ## What AI Designs It May Inspire
29
+
30
+ - **Belief-Updating Engine**: Implements an automatic chain of Bayesian prior-to-posterior updates
31
+ - **Experiment Design Advisor**: Automatically computes the minimum sample size based on effect size and statistical power
32
+ - **Causal Identification Module**: Constructs a DAG from variable relationships and identifies back-door paths and adjustment sets
33
+
34
+ ## Reasoning Protocol
35
+
36
+ 1. **Define the Random Phenomenon**: Specify the random variables, sample space, event space, and probability measure
37
+ 2. **Select a Probabilistic Model**: Choose a distribution based on data type, sample size, and the underlying physical mechanism
38
+ 3. **Statistical Inference**: Point estimation / MLE, confidence intervals, hypothesis testing, or Bayesian updating
39
+ 4. **Causal Assessment** (where applicable): Construct a DAG, identify confounders, and apply the back-door criterion
40
+ 5. **Quantify Uncertainty**: Provide confidence or credible intervals, report effect sizes, and distinguish statistical significance from practical significance
41
+
42
+ ## Acceptance Criteria
43
+
44
+ - Random variables and distributions have been explicitly defined
45
+ - The inference method (frequentist or Bayesian) has been selected with stated rationale
46
+ - The meaning of p-values has been correctly understood (not "degree of confidence")
47
+ - Correlation and causation have been distinguished, and confounders have been checked
48
+ - Effect sizes and uncertainty have been reported, not merely point estimates
@@ -0,0 +1,48 @@
1
+ # 概率透镜
2
+
3
+ > 不确定性是可量化的——概率是量化的信念,数据是量化的证据
4
+
5
+ ## 它是什么视角
6
+
7
+ 概率是一种"在不确定性中做理性决策"的眼光:世界充满不确定性,理性决策不是追求确定性,而是在不确定性中做出期望值最优的选择。贝叶斯更新是核心操作——先验遇新数据变成后验,后验遇更新数据又成为新先验。关键区分:统计显著不等于实际显著(p<0.05 不等于效应大),相关不等于因果(P(Y|X) 不等于 P(Y|do(X)))。
8
+
9
+ ## 适合诊断什么问题
10
+
11
+ - 量化不确定性——概率分布、置信区间、效应量评估
12
+ - 贝叶斯推断——先验-似然-后验的逐步信念更新
13
+ - 假设检验与实验设计——显著性检验、功效分析、样本量规划
14
+ - 因果效应估计——区分统计关联与因果效应
15
+
16
+ ## 不适合什么问题
17
+
18
+ - 确定性问题——已知答案或可演绎推理得到,不需要概率工具
19
+ - 样本量极小(n<5)且无法增加——应报告数据本身而非推断
20
+ - 数据完全缺失或严重损坏——无法做有意义的统计操作
21
+
22
+ ## 会路由到哪些知识域
23
+
24
+ - `probability/entropy`:Kolmogorov 公理、分布族、大数定律/CLT——不确定性的数学基础
25
+ - `probability/kl-divergence`:MLE、假设检验、贝叶斯推断、回归建模——从数据中提取规律
26
+ - 因果推断(暂无知识卡,由 critic 审查):DAG、后门准则、do-演算——从关联到因果的推理框架
27
+
28
+ ## 可能产生哪些 AI 设计
29
+
30
+ - **信念更新引擎**:实现贝叶斯先验→后验的自动更新链条
31
+ - **实验设计顾问**:根据效应量与功效自动计算最小样本量
32
+ - **因果识别器**:从变量关系构建 DAG,识别后门路径与调整集
33
+
34
+ ## 推理协议
35
+
36
+ 1. **定义随机现象**:明确随机变量、样本空间、事件域、概率测度
37
+ 2. **选择概率模型**:根据数据类型、样本量、物理机制选择分布
38
+ 3. **统计推断**:点估计/MLE、置信区间、假设检验或贝叶斯更新
39
+ 4. **因果评估**(如适用):构建 DAG,识别混淆变量,应用后门准则
40
+ 5. **量化不确定性**:给出置信/可信区间,报告效应量,区分统计显著与实际显著
41
+
42
+ ## 验收标准
43
+
44
+ - 随机变量与分布已明确定义
45
+ - 推断方法(频率/贝叶斯)已选择并说明理由
46
+ - p-value 的含义已正确理解(非"把握程度")
47
+ - 相关与因果已区分,混淆变量已检查
48
+ - 效应量与不确定性已报告,非仅点估计
@@ -0,0 +1,50 @@
1
+ # Projection & Decomposition Lens
2
+
3
+ > Complex wholes can be orthogonally decomposed into independent components — conflicts are exposed in subspaces, signal and noise are separated under projection.
4
+
5
+ ## What Perspective It Offers
6
+
7
+ This is a "separator's" perspective — projecting mixed wholes onto orthogonal subspaces, splitting shared information from conflicting information, signal from noise, global structure from local detail. The core conviction: any vector can be decomposed into a parallel component plus an orthogonal component, and this decomposition is the first step toward understanding conflicts, eliminating redundancy, and compressing information.
8
+
9
+ ## What Problems It Is Suited to Diagnose
10
+
11
+ - Multiple information sources are mixed; need to separate shared components from specific components (multi-domain learning, multimodal fusion)
12
+ - Representations contain conflicting gradients or contradictory signals (multi-task learning, adversarial training)
13
+ - Need to reduce dimensions or compress while preserving key structure (KV-Cache compression, feature selection)
14
+ - Need to eliminate redundancy or orthogonalize multiple objectives (decorrelation, diversity constraints)
15
+
16
+ ## What Problems It Is Not Suited For
17
+
18
+ - The problem itself is an indecomposable whole (strongly coupled systems, chaotic dynamics)
19
+ - The subspace assumption is too strong — data does not lie on a low-dimensional subspace
20
+ - Scenarios that require retaining all information with zero loss
21
+
22
+ ## Which Knowledge Domains It Routes To
23
+
24
+ - **matrix-analysis/projection**: Orthogonal projection matrices, Courant-Fischer variational characterization
25
+ - **matrix-analysis/spectral-decomposition**: EVD/SVD, principal component analysis
26
+ - **matrix-analysis/low-rank-approximation**: Eckart-Young theorem, truncated SVD
27
+ - **optimization/constrained-optimization**: Orthogonality-constrained optimization, Stiefel manifold
28
+
29
+ ## What AI Designs It May Inspire
30
+
31
+ - **Shared-Private Decomposition**: Project multi-domain representations into a shared subspace plus domain-specific orthogonal complements
32
+ - **Orthogonal Gradient Projection**: In multi-task learning, project new-task gradients onto the orthogonal complement of old-task gradients
33
+ - **Low-Rank KV-Cache Compression**: Project K/V into a low-dimensional subspace, truncating weak components
34
+ - **Head Diversity Constraint**: Force different attention heads to project onto approximately orthogonal subspaces
35
+
36
+ ## Reasoning Protocol
37
+
38
+ 1. **Identify mixed sources**: Which information, gradients, or representations are mixed together? Where do conflicts arise?
39
+ 2. **Define subspaces**: How are the dimensions of the shared space versus the specific space determined? What is the effective rank?
40
+ 3. **Construct projection operators**: $P = AA^H$ (orthonormal basis) or $P = A(A^HA)^{-1}A^H$ (general basis)
41
+ 4. **Perform decomposition**: $x = Px + (I-P)x$; evaluate the contribution of each component separately
42
+ 5. **Verify orthogonality**: Are $P^2 = P$ and $P = P^H$ satisfied? Is the condition number well-controlled?
43
+
44
+ ## Acceptance Criteria
45
+
46
+ - The subspace decomposition is explicitly defined (dimensions, basis vectors, projection matrices)
47
+ - The contributions of both components after projection have been separately quantified
48
+ - Orthogonality conditions have been verified ($P^2 = P$, numerical condition number checked)
49
+ - Compression/discard decisions are supported by quantified information-loss evidence
50
+ - The output includes actionable conclusions, not merely the decomposition process
@@ -0,0 +1,50 @@
1
+ # 投影与分解透镜 / Projection & Decomposition Lens
2
+
3
+ > 复杂整体可以正交分解为独立分量——冲突在子空间中暴露,信号与噪声在投影下分离。
4
+
5
+ ## 它是什么视角
6
+
7
+ 这是一种"分离者"的视角——将混杂的整体投影到正交子空间,把共享信息与冲突信息、信号与噪声、全局结构与局部细节拆分开来。核心信念:任何向量都可以分解为平行分量 + 正交分量,这种分解是理解冲突、消除冗余、压缩信息的第一步。
8
+
9
+ ## 适合诊断什么问题
10
+
11
+ - 多个信息源混杂,需要分离共享成分与特异成分(多域学习、多模态融合)
12
+ - 表示中存在冲突梯度或矛盾信号(多任务学习、对抗训练)
13
+ - 需要降维或压缩但保留关键结构(KV-Cache 压缩、特征选择)
14
+ - 需要消除冗余或正交化多个目标(去相关、diversity 约束)
15
+
16
+ ## 不适合什么问题
17
+
18
+ - 问题本身就是不可分解的整体(强耦合系统、混沌动力学)
19
+ - 子空间假设过强——数据不在低维子空间上
20
+ - 需要保留全部信息不能有任何损失的场景
21
+
22
+ ## 会路由到哪些知识域
23
+
24
+ - **matrix-analysis/projection**:正交投影矩阵、Courant-Fischer 变分刻画
25
+ - **matrix-analysis/spectral-decomposition**:EVD/SVD、主成分分析
26
+ - **matrix-analysis/low-rank-approximation**:Eckart-Young 定理、截断 SVD
27
+ - **optimization/constrained-optimization**:正交约束优化、Stiefel 流形
28
+
29
+ ## 可能产生哪些 AI 设计
30
+
31
+ - **Shared-Private 分解**:将多域表示投影为共享子空间 + 域特异正交补
32
+ - **正交梯度投影**:在多任务学习中,将新任务梯度投影到旧任务梯度的正交补
33
+ - **低秩 KV-Cache 压缩**:将 K/V 投影到低维子空间,截断弱分量
34
+ - **Head diversity 约束**:强制不同 attention head 投影到近似正交的子空间
35
+
36
+ ## 推理协议
37
+
38
+ 1. **识别混杂源**:哪些信息/梯度/表示被混在一起?冲突在哪里发生?
39
+ 2. **定义子空间**:共享空间 vs 特异空间的维度如何确定?有效秩是多少?
40
+ 3. **构造投影算子**:$P = AA^H$(正交基)或 $P = A(A^HA)^{-1}A^H$(一般基)
41
+ 4. **执行分解**:$x = Px + (I-P)x$,分别评估两个分量的贡献
42
+ 5. **验证正交性**:$P^2 = P$、$P = P^H$ 是否满足?条件数是否可控?
43
+
44
+ ## 验收标准
45
+
46
+ - 子空间分解已显式定义(维度、基向量、投影矩阵)
47
+ - 投影后两个分量的贡献已分别量化
48
+ - 正交性条件已验证($P^2 = P$、数值条件数已检查)
49
+ - 压缩/丢弃决策有信息损失量化依据
50
+ - 输出包含可执行结论,不只是分解过程
@@ -0,0 +1,52 @@
1
+ # Spectral Decomposition Lens
2
+
3
+ > Any linear operator can be decomposed into a superposition of eigencomponents — eigenvalues reveal dominant structure, eigenvectors reveal dominant directions.
4
+
5
+ ## What Perspective It Offers
6
+
7
+ This is a "decomposer's" perspective — breaking complex linear operators (matrices, kernel functions, graph Laplacians) into spectra of eigenvalues and singular values, using dominant eigencomponents to capture global behavior and tail eigenvalues to quantify noise and redundancy. The core conviction: the spectrum — the distribution of eigenvalues — determines everything about an operator: its condition number, rank, stability, and convergence rate.
8
+
9
+ ## What Problems It Is Suited to Diagnose
10
+
11
+ - What is the dominant structure of a matrix or operator? What is its effective rank?
12
+ - Optimizer convergence is slow — is the condition number too large? How should a preconditioner be designed?
13
+ - Where are the critical bottlenecks in a graph or network? Is the spectral gap too small?
14
+ - Need to reduce dimensions while preserving maximum variance — are the first k principal components sufficient?
15
+ - How large is the spectral drift after quantization or pruning? Has stability been compromised?
16
+
17
+ ## What Problems It Is Not Suited For
18
+
19
+ - Problems dominated by nonlinear effects — spectral decomposition is a linear tool
20
+ - Operators that are not diagonalizable (non-normal matrices, defective matrices) — Jordan form is required
21
+ - Problems that require preserving global topological structure — spectral methods may destroy topology
22
+
23
+ ## Which Knowledge Domains It Routes To
24
+
25
+ - **matrix-analysis/spectral-decomposition**: EVD, Schur decomposition, normal matrices
26
+ - **matrix-analysis/low-rank-approximation**: Eckart-Young theorem, randomized SVD
27
+ - **matrix-analysis/matrix-perturbation**: Weyl's inequality, Davis-Kahan theorem
28
+ - **matrix-analysis/positive-semidefinite**: Spectral properties of PSD matrices, Cholesky factorization
29
+
30
+ ## What AI Designs It May Inspire
31
+
32
+ - **Spectral Normalization**: Constrain the largest singular value of weight matrices to stabilize training
33
+ - **Low-Rank Adaptation (LoRA)**: Fine-tune in a truncated SVD subspace
34
+ - **Spectral Graph Attention**: Use graph Laplacian eigenvectors for positional encoding
35
+ - **Spectral Clustering Routing**: Use top-k eigenvectors for MoE token assignment
36
+ - **Effective Rank Monitoring**: Track the stable rank of weight matrices to detect overfitting
37
+
38
+ ## Reasoning Protocol
39
+
40
+ 1. **Identify the operator**: Which matrix, kernel, or graph requires spectral analysis? What are its dimensions?
41
+ 2. **Compute or estimate the spectrum**: Full EVD (small matrices) / power iteration for dominant eigenvalues / randomized SVD
42
+ 3. **Analyze the spectral distribution**: Condition number, spectral gap, effective rank, decay rate
43
+ 4. **Identify dominant components**: What proportion of the variance or Frobenius norm is explained by the first k eigenvalues?
44
+ 5. **Assess truncation impact**: Quantify the error introduced by discarding tail eigenvalues (Eckart-Young provides a sharp bound)
45
+
46
+ ## Acceptance Criteria
47
+
48
+ - The target operator is clearly defined
49
+ - The spectrum (or dominant eigenvalues/singular values) has been computed or estimated
50
+ - Spectral distribution metrics are reported (condition number, spectral gap, effective rank)
51
+ - Truncation and approximation decisions are backed by quantitative error bounds (Weyl / Davis-Kahan / Eckart-Young)
52
+ - The output includes actionable conclusions (preconditioner design, dimensionality selection, stability guarantees)
@@ -0,0 +1,52 @@
1
+ # 谱分解透镜 / Spectral Decomposition Lens
2
+
3
+ > 任何线性算子都可以分解为特征分量的叠加——特征值揭示主导结构,特征向量揭示主导方向。
4
+
5
+ ## 它是什么视角
6
+
7
+ 这是一种"分解者"的视角——将复杂线性算子(矩阵、核函数、图 Laplacian)分解为特征值/奇异值的谱,用主导特征分量捕获全局行为,用尾部特征量化噪声与冗余。核心信念:谱(特征值分布)决定了算子的一切——条件数、秩、稳定性、收敛速度。
8
+
9
+ ## 适合诊断什么问题
10
+
11
+ - 矩阵/算子的主导结构是什么?有效秩是多少?
12
+ - 优化器收敛速度慢——条件数是否过大?预条件如何设计?
13
+ - 图/网络的关键瓶颈在哪里?谱隙(spectral gap)是否过小?
14
+ - 需要降维但保留最大方差——前 k 个主成分够不够?
15
+ - 量化/剪枝后的谱漂移有多大?稳定性是否被破坏?
16
+
17
+ ## 不适合什么问题
18
+
19
+ - 非线性效应主导的问题——谱分解是线性工具
20
+ - 算子本身不可对角化(非正规矩阵、亏损矩阵)——需要 Jordan 形式
21
+ - 需要保留全局拓扑结构的问题——谱方法可能破坏拓扑
22
+
23
+ ## 会路由到哪些知识域
24
+
25
+ - **matrix-analysis/spectral-decomposition**:EVD、Schur 分解、正规矩阵
26
+ - **matrix-analysis/low-rank-approximation**:Eckart-Young 定理、随机化 SVD
27
+ - **matrix-analysis/matrix-perturbation**:Weyl 不等式、Davis-Kahan 定理
28
+ - **matrix-analysis/positive-semidefinite**:PSD 矩阵的谱性质、Cholesky
29
+
30
+ ## 可能产生哪些 AI 设计
31
+
32
+ - **谱归一化**:约束权重矩阵的最大奇异值,稳定训练
33
+ - **低秩适配器 (LoRA)**:在截断 SVD 子空间中做微调
34
+ - **谱图注意力**:用图 Laplacian 特征向量做位置编码
35
+ - **谱聚类路由**:用 top-k 特征向量做 MoE token 分配
36
+ - **有效秩监控**:跟踪权重矩阵的稳定秩,检测过拟合
37
+
38
+ ## 推理协议
39
+
40
+ 1. **识别算子**:哪个矩阵/核/图需要谱分析?维度多大?
41
+ 2. **计算或估计谱**:完整 EVD(小矩阵)/ 幂迭代估计主导特征值 / 随机化 SVD
42
+ 3. **分析谱分布**:条件数、谱隙、有效秩、衰减率
43
+ 4. **识别主导分量**:前 k 个特征值解释了多大比例的方差/Frobenius 范数?
44
+ 5. **评估截断影响**:丢弃尾部特征造成的误差(Eckart-Young 给出精确界)
45
+
46
+ ## 验收标准
47
+
48
+ - 目标算子已明确定义
49
+ - 谱(或主导特征值/奇异值)已计算或估计
50
+ - 谱分布指标已给出(条件数、谱隙、有效秩)
51
+ - 截断/近似决策有量化误差界(Weyl/Davis-Kahan/Eckart-Young)
52
+ - 输出包含可执行结论(预条件设计、降维维度选择、稳定性保证)
@@ -0,0 +1,49 @@
1
+ # Symmetry Lens
2
+
3
+ > Seek the invariant amid change — every symmetry corresponds to a conserved quantity, and every invariant is a key to simplifying the problem
4
+
5
+ ## What Perspective It Offers
6
+
7
+ Symmetry is a way of "finding what remains unchanged under transformations": when confronting a complex system, first ask, "Under what transformations do which properties of the system remain invariant?" Invariants are the core tool for simplification — they distinguish only between orbits (equivalence classes), not between elements within the same orbit. A complete set of invariants can embed the entire space into a simpler quotient space, achieving a full classification. Noether's theorem tells us that every continuous symmetry necessarily corresponds to a conservation law.
8
+
9
+ ## What Problems It Is Suited to Diagnose
10
+
11
+ - Facing a complex system and seeking simplification clues — use invariants to reduce dimensionality
12
+ - Needing to classify or identify objects — use orbits (the quotient space X/G)
13
+ - Searching for conserved quantities or invariants — functions that are constant on orbits
14
+ - Determining the solvability of equations (Galois theory) or designing equivariant structures
15
+
16
+ ## What Problems It Is Not Suited For
17
+
18
+ - The system is completely asymmetric with no discernible pattern — no group action is available to exploit
19
+ - Precise numerical solutions are required — symmetry provides structural information, not specific values
20
+ - Symmetry breaking is the central mechanism — one should turn to analyzing the breaking pattern rather than searching for invariants
21
+ - The group structure is too complex — when the quotient space is no simpler than the original space
22
+
23
+ ## Which Knowledge Domains It Routes To
24
+
25
+ - `lie-theory/group-action`: Group actions, the orbit-stabilizer theorem, and Burnside's lemma — the algebraic foundations of symmetry
26
+ - **lie-theory**: Lie groups, Lie algebras, and Noether's theorem — continuous symmetries and conservation laws
27
+ - `lie-theory/lie-group`: Galois groups and solvable groups — algebraic criteria for the solvability of equations
28
+
29
+ ## What AI Designs It May Inspire
30
+
31
+ - **Symmetry Detector**: Identifies candidate transformation groups from a problem description and verifies the group axioms
32
+ - **Invariant Extractor**: Computes invariants using the Reynolds operator or Lie algebra generators
33
+ - **Quotient-Space Classifier**: Works on X/G and uses a complete set of invariants to classify equivalence classes
34
+
35
+ ## Reasoning Protocol
36
+
37
+ 1. **Identify the Transformation Group**: List the candidate transformations of the system, organize them into a candidate group, and verify closure, associativity, identity, and inverses
38
+ 2. **Find Invariants**: For finite groups, use the Reynolds operator; for continuous groups, use Lie algebra generator equations
39
+ 3. **Simplify Using Invariants**: Work on the quotient space X/G, replacing constrained variables with invariants
40
+ 4. **Orbit Classification**: Use the orbit-stabilizer theorem and assess the completeness of the invariant set
41
+ 5. **Check for Symmetry Breaking**: Identify G → H breaking patterns and analyze Goldstone modes
42
+
43
+ ## Acceptance Criteria
44
+
45
+ - The candidate group has been verified through the axioms (not merely assumed to have group structure)
46
+ - Invariants have been explicitly given, distinguishing orbital invariants from global invariants
47
+ - The simplification strategy has stated the degree of dimensionality reduction
48
+ - Symmetry breaking has been checked (presence or absence; spontaneous or explicit)
49
+ - Classification results and the completeness of the invariant set have been assessed
@@ -0,0 +1,49 @@
1
+ # 对称透镜
2
+
3
+ > 在变化中寻找不变——每一个对称性都对应一个守恒量,每一个不变量都是简化问题的钥匙
4
+
5
+ ## 它是什么视角
6
+
7
+ 对称是一种"在变换下寻找不变"的眼光:面对复杂系统时,先问"什么变换下系统的哪些性质不变?"不变量是简化问题的核心工具——它只区分轨道(等价类),不区分同轨道内的元素。完备的不变量集能将整个空间嵌入更简单的商空间,实现完全分类。Noether 定理告诉我们:连续对称必然对应守恒律。
8
+
9
+ ## 适合诊断什么问题
10
+
11
+ - 面对复杂系统想找简化线索——利用不变量降维
12
+ - 需要分类/识别对象——利用轨道(商空间 X/G)
13
+ - 寻找守恒量或不变量——轨道上取常值的函数
14
+ - 判断方程可解性(Galois 理论)或设计等变结构
15
+
16
+ ## 不适合什么问题
17
+
18
+ - 系统完全不对称且无规律——无群作用可利用
19
+ - 需要精确数值解——对称性给结构信息而非具体数值
20
+ - 对称破缺是核心机制——应转向分析破缺模式而非找不变量
21
+ - 群结构过于复杂——商空间不比原空间简单时
22
+
23
+ ## 会路由到哪些知识域
24
+
25
+ - `lie-theory/group-action`:群作用、轨道-稳定子定理、Burnside 引理——对称性的代数基础
26
+ - **lie-theory**:李群/李代数、Noether 定理——连续对称与守恒律
27
+ - `lie-theory/lie-group`:Galois 群、可解群——方程可解性的代数判据
28
+
29
+ ## 可能产生哪些 AI 设计
30
+
31
+ - **对称性探测器**:从问题描述中识别候选变换群,验证群公理
32
+ - **不变量提取器**:利用 Reynolds 算子或 Lie 代数生成元计算不变量
33
+ - **商空间分类器**:在 X/G 上工作,用完备不变量集实现等价类分类
34
+
35
+ ## 推理协议
36
+
37
+ 1. **识别变换群**:列出系统可能的变换,组织为候选群,验证封闭/结合/单位/逆
38
+ 2. **寻找不变量**:有限群用 Reynolds 算子,连续群用 Lie 代数生成元方程
39
+ 3. **利用不变量简化**:在商空间 X/G 上工作,用不变量替代被约束变量
40
+ 4. **轨道分类**:利用轨道-稳定子定理,评估不变量完备性
41
+ 5. **检查对称破缺**:识别 G→H 破缺模式,分析 Goldstone 模数
42
+
43
+ ## 验收标准
44
+
45
+ - 候选群已通过公理验证(不是假设它有群结构)
46
+ - 不变量已显式给出,区分了轨道不变量与全局不变量
47
+ - 简化策略已说明维度缩减程度
48
+ - 对称破缺已检查(存在/破缺、自发/显式)
49
+ - 分类结果与不变量完备性已评估