math-skill 1.0.0 → 2.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.
- package/README.en-US.md +280 -0
- package/README.md +280 -278
- package/agents/math-critic.md +235 -203
- package/commands/abstraction.md +13 -34
- package/commands/algorithmic-thinking.md +13 -34
- package/commands/ask.md +20 -21
- package/commands/axiomatization.md +13 -34
- package/commands/causal-inference.md +13 -34
- package/commands/discrete-combinatorial.md +13 -34
- package/commands/game-theory.md +13 -34
- package/commands/induction-analogy.md +13 -34
- package/commands/information-theory.md +13 -34
- package/commands/logic-deduction.md +13 -34
- package/commands/modeling.md +13 -37
- package/commands/optimization.md +13 -33
- package/commands/probability-statistics.md +13 -36
- package/commands/symmetry-invariance.md +13 -34
- package/commands/topological-thinking.md +13 -33
- package/commands/transformation.md +13 -33
- package/knowledge-base/overview.md +228 -230
- package/package.json +71 -59
- package/references/agentic-workflow.md +53 -0
- package/references/books/abstract-algebra.md +120 -0
- package/references/books/algebraic-geometry-rising-sea.md +167 -0
- package/references/books/differential-geometry.md +136 -0
- package/references/books/matrix-analysis.md +142 -0
- package/references/books/micro-lie-theory.md +112 -0
- package/references/books/optimization-ml.md +160 -0
- package/references/books/smooth-manifolds.md +101 -0
- package/references/gpu-friendly-math.md +65 -0
- package/skills/abstraction/SKILL.md +119 -264
- package/skills/algorithmic-thinking/SKILL.md +136 -371
- package/skills/axiomatization/SKILL.md +149 -213
- package/skills/causal-inference/SKILL.md +149 -374
- package/skills/discrete-combinatorial/SKILL.md +129 -286
- package/skills/game-theory/SKILL.md +121 -318
- package/skills/induction-analogy/SKILL.md +150 -310
- package/skills/information-theory/SKILL.md +138 -242
- package/skills/logic-deduction/SKILL.md +133 -280
- package/skills/math-research-activator/SKILL.md +134 -0
- package/skills/{meta-selector → math-research-activator}/original-texts.md +104 -104
- package/skills/modeling/SKILL.md +137 -318
- package/skills/optimization/SKILL.md +133 -292
- package/skills/probability-statistics/SKILL.md +149 -312
- package/skills/symmetry-invariance/SKILL.md +137 -358
- package/skills/topological-thinking/SKILL.md +126 -273
- package/skills/transformation/SKILL.md +122 -264
- package/docs/CLAUDE.md +0 -187
- package/skills/meta-selector/SKILL.md +0 -188
- /package/{docs → references}/inspiration.md +0 -0
|
@@ -1,358 +1,137 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: symmetry-invariance
|
|
3
|
-
description: |
|
|
4
|
-
|
|
5
|
-
English
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
>
|
|
15
|
-
>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
>
|
|
29
|
-
>
|
|
30
|
-
>
|
|
31
|
-
>
|
|
32
|
-
>
|
|
33
|
-
>
|
|
34
|
-
>
|
|
35
|
-
>
|
|
36
|
-
>
|
|
37
|
-
>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
> -
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
###
|
|
90
|
-
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
**连续群(Lie 群)的方法**:
|
|
139
|
-
- 用 Lie 代数的生成元 T_a 作用:T_a·f=0(f 在 T_a 方向上不变)是微分方程,解之即得不变量。每个生成元给出一个线性约束 T_a·f=0,|dim G| 个约束 → f 的自由度减少。
|
|
140
|
-
- Killing 向量场方法:找出保持度量不变的向量场,积分即得不变坐标。例:SO(3) 作用于 R³,Killing 向量场对应旋转,积分得 r=√(x²+y²+z²) 为 SO(3)-不变量。
|
|
141
|
-
|
|
142
|
-
**不动点分析**:寻找 X 中满足 g·x=x 的点,稳定子 Stab(x)={g∈G : g·x=x} 揭示 x 的局部对称程度。
|
|
143
|
-
|
|
144
|
-
Common invariants by domain:
|
|
145
|
-
- 几何:长度(等距变换下)、角度(共形变换下)、欧拉示性数(拓扑变换下)
|
|
146
|
-
- 物理:能量(时间平移对称)、动量(空间平移对称)、角动量(旋转对称)
|
|
147
|
-
- 代数:多项式判别式、矩阵的行列式和迹、特征多项式的系数
|
|
148
|
-
- 组合:轨道数(Burnside 引理)、等价类大小(轨道-稳定子定理)
|
|
149
|
-
|
|
150
|
-
#### 生活模式 / Life Mode
|
|
151
|
-
|
|
152
|
-
**不管怎么变,什么是不变的?——找到不变的东西就是找到问题的核心。比如:人际关系变了但信任模式不变;市场波动但供需规律不变。**
|
|
153
|
-
|
|
154
|
-
No matter how things change, what stays the same? Finding the invariant is finding the core of the problem. For example: relationships change but trust patterns stay; markets fluctuate but supply-demand laws persist.
|
|
155
|
-
|
|
156
|
-
#### 共通要点 / Shared Essentials
|
|
157
|
-
|
|
158
|
-
不变量的本质是"在所有变化中保持不变的性质"——无论是否用数学语言描述,这个核心思想不变。
|
|
159
|
-
|
|
160
|
-
For G acting on X, find f with f(g·x)=f(x). Finite groups: Reynolds operator R(f)=1/|G| Σ f(g·x) (projection onto invariants, R²=R); Burnside's lemma |X/G|=1/|G| Σ |Fix(g)| for orbit counting; elementary symmetric polynomials e_k form a complete invariant set for S_n on R^n (fundamental theorem of symmetric polynomials). Continuous groups: solve T_a·f=0 via Lie algebra generators (each generator reduces one degree of freedom); Killing vector fields yield invariant coordinates (e.g., r=√(x²+y²+z²) for SO(3) on R³). Fixed-point analysis: Stab(x)={g∈G : g·x=x} reveals local symmetry degree.
|
|
161
|
-
|
|
162
|
-
### 第三步:利用不变量简化问题 / Use Invariants to Simplify
|
|
163
|
-
|
|
164
|
-
#### 科研模式 / Research Mode
|
|
165
|
-
|
|
166
|
-
不变量是简化问题的利器,三种主要策略:
|
|
167
|
-
|
|
168
|
-
- **商空间推理**:在 X/G 上工作而非 X。原来需要处理 |X| 个对象,现在只需处理 |X/G| 个轨道。问题维度大幅降低。例如:S_n 作用于 R^n,商空间由初等对称多项式参数化,n 个变量减为 n 个不变量(但独立约束减少)。又如:晶体学中,所有 230 种空间群对应 230 种不同的 X/G 结构。
|
|
169
|
-
- **基本域**:找到 X 的子集 D 使得每条轨道恰与 D 交于一点。只需分析 D,结果自动推广到全 X。例如:O(2) 作用于平面,基本域是半平面;SO(3) 作用于球面,基本域是球面三角形;SL(2,Z) 作用于上半平面,基本域由 |z|≥1, |Re(z)|≤1/2 定义。
|
|
170
|
-
- **变量缩减**:若 f 不变,用它替代被约束的变量。例如:能量守恒 → 减少一个动力学变量(从 n+1 个变量到 n 个变量 + 1 个常数约束);角动量守恒 → 在角空间中只关心径向运动;中心力场中 L²=常数 → 约化为一维径向方程。
|
|
171
|
-
|
|
172
|
-
#### 生活模式 / Life Mode
|
|
173
|
-
|
|
174
|
-
**抓住不变量就能简化问题——不再被表面变化迷惑,关注真正重要的核心。从'关注每个细节'升级为'关注核心模式'。**
|
|
175
|
-
|
|
176
|
-
Grasping invariants simplifies problems—no longer distracted by surface changes, focusing on the truly essential core. Upgrade from "tracking every detail" to "tracking core patterns."
|
|
177
|
-
|
|
178
|
-
#### 共通要点 / Shared Essentials
|
|
179
|
-
|
|
180
|
-
不变量简化问题的本质是:识别出哪些信息是冗余的(被变化所掩盖),哪些信息是关键的(变化中保持不变),然后只关注关键信息。
|
|
181
|
-
|
|
182
|
-
Invariant-driven simplification: (1) work on quotient X/G instead of X—|X/G| orbits vs |X| elements; 230 space groups give 230 different X/G structures in crystallography. (2) fundamental domain D where each orbit meets D exactly once—O(2) on plane: half-plane; SO(3) on sphere: spherical triangle; SL(2,Z) on upper half-plane: |z|≥1, |Re(z)|≤1/2. (3) replace constrained variables by invariants: energy conservation reduces n+1 variables to n+constant; angular momentum L²=constant reduces central force problem to 1D radial equation.
|
|
183
|
-
|
|
184
|
-
### 第四步:利用对称性分类 / Use Symmetry for Classification
|
|
185
|
-
|
|
186
|
-
#### 科研模式 / Research Mode
|
|
187
|
-
|
|
188
|
-
**轨道-稳定子定理**:|O(x)|=|G|/|Stab(x)|。轨道大小揭示对象的对称程度——稳定子越大,对象越"对称",轨道越小。完全对称的对象(Stab(x)=G)的轨道是单点 {x}。
|
|
189
|
-
|
|
190
|
-
根据对称群的不同,对象分为不同的等价类(轨道)。同一轨道中的对象共享所有 G-不变量的值。分类的关键问题:不变量是否完备?即:f(x)=f(y) 能否推出 x 与 y 在同一轨道上?若能,则不变量集实现了完全分类。
|
|
191
|
-
|
|
192
|
-
**不完备不变量的后果**:若不变量集不完备,则存在"不同轨道上的对象具有相同不变量值"的情况——仅凭不变量无法区分它们。此时需引入更多不变量或使用更精细的群。
|
|
193
|
-
|
|
194
|
-
**完备不变量的经典例子**:
|
|
195
|
-
- S_n 作用于 R^n:初等对称多项式 e₁,…,e_n 构成完备不变量集
|
|
196
|
-
- O(n) 作用于 R^n:距离函数 r²=Σ x_i² 是完备不变量(对 n=1)
|
|
197
|
-
- SL(2,C) 作用于二次型:判别式 Δ=b²-4ac 是完备不变量
|
|
198
|
-
|
|
199
|
-
#### 生活模式 / Life Mode
|
|
200
|
-
|
|
201
|
-
**表面不同的东西本质上是否同类?——如果它们在所有关键不变量上相同,那就是同一类问题,可以用同一套方法解决。**
|
|
202
|
-
|
|
203
|
-
Are superficially different things fundamentally the same category? If they match on all key invariants, they belong to the same class and can be solved with the same approach.
|
|
204
|
-
|
|
205
|
-
#### 共通要点 / Shared Essentials
|
|
206
|
-
|
|
207
|
-
分类的本质是:用不变量代替表象,将看似不同的对象归入本质相同的类别。
|
|
208
|
-
|
|
209
|
-
Orbit-stabilizer theorem: |O(x)|=|G|/|Stab(x)|. Larger stabilizer = more symmetric object = smaller orbit. Fully symmetric objects (Stab(x)=G) have singleton orbits {x}. Classification via orbits: objects in the same orbit share all G-invariant values. Key question: is the invariant set complete? i.e., does f(x)=f(y) imply x and y are in the same orbit? If yes, invariants achieve full classification. Consequence of incomplete invariants: different orbits may have the same invariant values—more invariants or finer groups needed. Classical complete invariant examples: S_n on R^n → elementary symmetric polynomials e₁,…,e_n; O(n) on R^n → r²=Σ x_i² (for n=1); SL(2,C) on quadratic forms → discriminant Δ=b²-4ac.
|
|
210
|
-
|
|
211
|
-
### 第五步:检查对称性破缺 / Check for Symmetry Breaking
|
|
212
|
-
|
|
213
|
-
#### 科研模式 / Research Mode
|
|
214
|
-
|
|
215
|
-
理解系统的关键有时不在对称性本身,而在对称性何时、以何种方式被打破:
|
|
216
|
-
|
|
217
|
-
- **自发对称破缺**:方程有对称性 G,但解只满足 G 的子群 H⊂G。真空(基态)选择了特定方向,打破 G→H。
|
|
218
|
-
- **Goldstone 定理**:连续对称 G→H 破缺产生 dim(G/H) 个无质量 Goldstone 模。这些模对应被破缺方向上的"软"涨落。
|
|
219
|
-
- 例:铁磁体——SO(3)→SO(2),破缺产生 2 个 Goldstone 模(自旋波)
|
|
220
|
-
- 例:超流体——U(1)→{e},破缺产生 1 个 Goldstone 模(声子)
|
|
221
|
-
- **显式对称破缺**:方程本身不满足 G,对称性被外部力破坏。微扰项破坏对称性。
|
|
222
|
-
- 例:外磁场下的铁磁体——SO(2) 对称被进一步破坏
|
|
223
|
-
- 例:质量项破坏手征对称——夸克质量使 SU(2)_L×SU(2)_R → SU(2)_V
|
|
224
|
-
- **分析要点**:识别破缺模式 G→H,确定 H 的结构,计算 Goldstone 模数 dim(G/H),评估破缺是否改变物理可观测量的定性行为。特别注意:破缺后的有效理论仍需在 H 下不变。
|
|
225
|
-
|
|
226
|
-
#### 生活模式 / Life Mode
|
|
227
|
-
|
|
228
|
-
**有时候规律被打破才是关键——不是所有事情都遵循不变量。关注什么时候、以什么方式规律被打破,这可能比规律本身更重要。**
|
|
229
|
-
|
|
230
|
-
Sometimes the breaking of a pattern is the key—not everything follows invariants. Pay attention to when and how patterns break; this may matter more than the patterns themselves.
|
|
231
|
-
|
|
232
|
-
#### 共通要点 / Shared Essentials
|
|
233
|
-
|
|
234
|
-
对称性破缺提醒我们:不变量不是万能的——系统可能在某些条件下打破规律,而打破本身携带着比规律更重要的信息。
|
|
235
|
-
|
|
236
|
-
Spontaneous breaking: equations have symmetry G, solutions only H⊂G. Vacuum selects a direction, breaking G→H. Goldstone theorem: continuous G→H breaking yields dim(G/H) massless Goldstone modes (soft fluctuations along broken directions). Examples: ferromagnet—SO(3)→SO(2) yields 2 Goldstone modes (spin waves); superfluid—U(1)→{e} yields 1 Goldstone mode (phonon). Explicit breaking: equations lack symmetry G due to external perturbation. Examples: ferromagnet in external field—SO(2) further broken; quark masses break chiral symmetry SU(2)_L×SU(2)_R → SU(2)_V. Key analysis: identify breaking pattern G→H, compute dim(G/H), assess qualitative impact. Note: the effective theory after breaking must still be H-invariant.
|
|
237
|
-
|
|
238
|
-
### 第六步:代数对称分析 / Algebraic Symmetry Analysis
|
|
239
|
-
|
|
240
|
-
#### 科研模式 / Research Mode
|
|
241
|
-
|
|
242
|
-
**Galois 理论**:多项式方程 f(x)=0 的根集上,Gal(f) 是根的置换群(保持所有代数关系不变的置换构成)。
|
|
243
|
-
|
|
244
|
-
核心判断:**方程可用根式求解 ⇔ Gal(f) 是可解群**(存在子群链 G=G₀⊃G₁⊃…⊃G_k={e},每步 G_i/G_{i+1} 为循环群)。
|
|
245
|
-
|
|
246
|
-
可解群的直觉:每一步商群 G_i/G_{i+1} 对应一次"简单的"根式提取(开方),整个链对应逐步求解的过程。不可解群意味着存在"不可绕过的复杂性"。
|
|
247
|
-
|
|
248
|
-
- 5 次及以上一般方程:Gal(f)=S_5,S_5 不可解(A_5 是最小非可解单群)→ 不可用根式求解
|
|
249
|
-
- 4 次方程:Gal(f)⊂S_4,S_4 可解(链 S₄⊃A₄⊃V₄⊃Z₂⊃{e})→ 可用根式求解
|
|
250
|
-
- 圆可分多项式:Gal(f)⊂(Z/pZ)× 为循环群 → 可用根式求解
|
|
251
|
-
- x⁵+x+1=0:Gal(f)=S_5 → 不可用根式求解(具体反例)
|
|
252
|
-
|
|
253
|
-
Galois 理论展示了代数对称分析的范式:**问题结构 → 置换群 → 群的可解性 → 问题的可解性**。群论从"对称性描述工具"升级为"可解性判断标准"。
|
|
254
|
-
|
|
255
|
-
#### 生活模式 / Life Mode
|
|
256
|
-
|
|
257
|
-
**这个问题的内部结构是否决定了它能否被简单解决?——有些问题注定复杂,不是因为方法不够好,而是问题本身的结构不允许简单解法。**
|
|
258
|
-
|
|
259
|
-
Does the internal structure of this problem determine whether it can be simply solved? Some problems are inherently complex—not because methods are inadequate, but because the problem's own structure forbids simple solutions.
|
|
260
|
-
|
|
261
|
-
#### 共通要点 / Shared Essentials
|
|
262
|
-
|
|
263
|
-
问题的可解性取决于问题的内部对称结构——这是一条深刻的元认知原则:认清问题本质比寻找更好方法更重要。
|
|
264
|
-
|
|
265
|
-
Galois theory: Gal(f) permutes roots preserving algebraic relations. Solvability by radicals ⇔ Gal(f) is solvable (subnormal chain with cyclic quotients). Intuition: each quotient G_i/G_{i+1} corresponds to one "simple" radical extraction. Unsolvable groups mean "unavoidable complexity." Degree ≥5 general: Gal(f)=S_5, unsolvable (A_5 is smallest non-solvable simple group). Degree 4: S_4 solvable (chain S₄⊃A₄⊃V₄⊃Z₂⊃{e}). Cyclotomic: cyclic group, solvable. x⁵+x+1=0: Gal(f)=S_5, concrete unsolvable example. Paradigm: problem structure → permutation group → solvability of group → solvability of problem. Group theory upgrades from "symmetry description tool" to "solvability criterion."
|
|
266
|
-
|
|
267
|
-
### 第七步:物理对称分析 / Physical Symmetry Analysis
|
|
268
|
-
|
|
269
|
-
#### 科研模式 / Research Mode
|
|
270
|
-
|
|
271
|
-
**Noether 定理**:连续对称性 → 守恒律。具体地,若作用量 S=∫L dt 在变换 g∈G 下不变,则存在守恒流 Jμ 满足 ∂_μ Jμ=0。这是物理学最深刻的定理之一——它建立了对称性与守恒律的精确对应。
|
|
272
|
-
|
|
273
|
-
经典对应:
|
|
274
|
-
- 时间平移(R 作用)→ 能量守恒:H=常数
|
|
275
|
-
- 空间平移(R³ 作用)→ 动量守恒:p=常数向量
|
|
276
|
-
- 旋转(SO(3) 作用)→ 角动量守恒:L=常数向量
|
|
277
|
-
- 规范变换(U(1) 作用)→ 电荷守恒:Q=常数
|
|
278
|
-
|
|
279
|
-
量子对应:对称群 G → Hilbert 空间上的酉表示 → 不可约表示分类能级 → Wigner-Eckart 定理简化矩阵元计算。对称性决定了选择规则:哪些跃迁被禁止(矩阵元为零),哪些被允许。
|
|
280
|
-
|
|
281
|
-
物理对称分析的层次:
|
|
282
|
-
- **经典力学**:Lagrangian/Hamiltonian 的对称 → Noether 守恒律 → 简化运动方程
|
|
283
|
-
- **量子力学**:对称 → 选择规则 → 能级简并 → Wigner-Eckart
|
|
284
|
-
- **场论**:规范对称 → 粒子分类 → 相互作用结构 → 标准模型 SU(3)×SU(2)×U(1)
|
|
285
|
-
|
|
286
|
-
#### 生活模式 / Life Mode
|
|
287
|
-
|
|
288
|
-
**生活中的守恒律——时间对称→珍惜当下的持续性;空间对称→公平原则;能量守恒→投入产出平衡。**
|
|
289
|
-
|
|
290
|
-
Conservation laws in life: time symmetry → cherish the continuity of the present; space symmetry → fairness principle; energy conservation → input-output balance.
|
|
291
|
-
|
|
292
|
-
#### 共通要点 / Shared Essentials
|
|
293
|
-
|
|
294
|
-
对称性与守恒律的对应是普适的:无论系统是物理系统还是社会系统,对称性都意味着某种"守恒"——某种量在变化中保持不变。
|
|
295
|
-
|
|
296
|
-
Noether's theorem: continuous symmetry of action S=∫L dt ⇒ conserved current Jμ with ∂_μ Jμ=0—the most profound theorem in physics, establishing the exact correspondence between symmetry and conservation. Time translation → energy H; space translation → momentum p; rotation → angular momentum L; gauge U(1) → charge Q. Quantum extension: symmetry G → unitary representation on Hilbert space → irreducible representations classify energy levels → Wigner-Eckart theorem → selection rules (which transitions are forbidden, which are allowed). Physical hierarchy: classical mechanics (Lagrangian symmetry → Noether → simplify equations), quantum mechanics (symmetry → selection rules → level degeneracy → Wigner-Eckart), field theory (gauge symmetry → particle classification → interaction structure → Standard Model SU(3)×SU(2)×U(1)).
|
|
297
|
-
|
|
298
|
-
## 常见错误 / Common Errors
|
|
299
|
-
|
|
300
|
-
| 错误 / Error | 数学批评 / Mathematical Critique | 正确做法 / Correct Approach | 标签 / Tag |
|
|
301
|
-
|-------------|-------------------------------|---------------------------|-----------|
|
|
302
|
-
| 忽视隐藏对称性 | 表面不对称,但深层结构有对称性,遗漏可导致不必要的复杂化 | 尝试不同表示(坐标变换、基底变换),寻找深层对称 | [科研] |
|
|
303
|
-
| 混淆近似对称与精确对称 | 近似对称下的"守恒"只是近似成立,误差随时间积累 | 区分精确不变量和近似不变量,标注近似程度 | [科研] |
|
|
304
|
-
| 对称性论证过度 | 不是所有问题都有对称性,强行引入对称性会得出错误结论 | 确认对称性确实存在再使用,验证群公理 | [科研] |
|
|
305
|
-
| 忽视对称性破缺 | 对称破缺可能才是关键机制,遗漏破缺则误解系统行为 | 同时关注对称性和对称破缺,分析 G→H 模式 | [科研/生活] |
|
|
306
|
-
| 把对称性当原因 | 对称性是描述性的约束,不一定是因果机制 | 区分描述("系统满足对称 G")和解释("因为…所以满足 G") | [科研/通用] |
|
|
307
|
-
| 未验证群性质 | 候选变换集未必满足封闭性或逆元,不验证则后续推理全部建立在错误基础上 | 逐一验证四条群公理后再使用,不满足时识别实际结构 | [科研] |
|
|
308
|
-
| 混淆轨道不变量与一般不变量 | f 在 O(x) 上取常值 ≠ f 在 X 上取常值;全局常值函数平凡且无信息 | 明确不变量是 G-不变的(在每条轨道上取常值),而非全局常值 | [科研] |
|
|
309
|
-
| 忽视稳定子子群 | Stab(x) 含丰富信息,忽视则丢失局部对称和精细分类 | 用轨道-稳定子定理分析局部对称,不同稳定子 → 不同轨道类型 | [科研] |
|
|
310
|
-
| 混淆离散与连续对称 | 离散群无 Reynolds 平均(|G| 可能无穷);连续群需 Lie 代数而非逐元分析 | 离散群用 Burnside 引理计数;连续群用 Lie 代数生成元与 Noether 定理 | [科研] |
|
|
311
|
-
| 强行寻找不存在的不变规律 | 并非所有变化都有规律,强行套用"不变量"会扭曲对系统的理解 | 承认随机性和混沌的存在,只在有证据支持时寻找不变量 | [生活] |
|
|
312
|
-
| 忽视规律被打破的情况 | 过于信赖找到的规律,不关注例外和反例,导致对系统的理解片面 | 对每个不变量检查是否有反例,分析反例的原因和意义 | [生活] |
|
|
313
|
-
| 把表面相似当作本质相同 | 不同轨道上的对象可能有相似的表面特征,但本质不同 | 用关键不变量区分本质是否相同,不依赖表面印象 | [生活] |
|
|
314
|
-
|
|
315
|
-
## 操作规程 / Operating Procedure
|
|
316
|
-
|
|
317
|
-
当本 skill 被触发时,首先确定模式:
|
|
318
|
-
|
|
319
|
-
**模式选择器 / Mode Selector**:
|
|
320
|
-
- **科研模式**:问题涉及群论、不变量计算、Galois 理论、Noether 定理、轨道分类、商空间推理、对称性破缺分析等正式数学结构
|
|
321
|
-
- **生活模式**:问题涉及寻找变化中的规律、简化复杂局面、判断本质分类、发现规律破缺等日常认知场景
|
|
322
|
-
|
|
323
|
-
---
|
|
324
|
-
|
|
325
|
-
### 科研模式输出格式 / Research Mode Output Format
|
|
326
|
-
|
|
327
|
-
1. **变换清单**:列出所有可识别的变换 `[变换N]: [描述] [类型: 空间/时间/代数/逻辑/规范]`,组织为候选群,标注验证了哪些群公理(封闭性✓/✗, 结合律✓/✗, 单位元✓/✗, 逆元✓/✗)
|
|
328
|
-
2. **不变量发现**:对每种群作用,标注 `[在群G下]: [不变量Y] 保持不变`;若为有限群,写出 Reynolds 算子形式 R(f)=1/|G| Σ f(g·x);用 Burnside 引理计数轨道 |X/G|=1/|G| Σ |Fix(g)|
|
|
329
|
-
3. **简化策略**:说明如何利用不变量简化问题 `[利用不变量Y]: [如何简化]`;标注是否在商空间 X/G 或基本域 D 上工作,估计维度缩减量
|
|
330
|
-
4. **对称分类**:给出轨道-稳定子分析 `[对象x]: |O(x)|=[值], |Stab(x)|=[值]`,基于轨道的分类结果,评估不变量是否完备
|
|
331
|
-
5. **对称破缺检查**:`[对称性Z]: [存在/破缺],破缺方式: [自发/显式]`;若为连续破缺 G→H,标注 Goldstone 模数 dim(G/H);标注破缺后的有效对称群 H
|
|
332
|
-
6. **代数/物理对称**:若涉及方程求解,标注 Galois 群 Gal(f) 及其可解性(可解/不可解)和求解链结构;若涉及物理系统,标注 Noether 对应:`[对称群G]: [守恒律]`
|
|
333
|
-
7. **结论**:明确写出利用对称性/不变性得出的结论,包括:发现了哪些不变量,实现了多少维度缩减,分类结果是什么
|
|
334
|
-
|
|
335
|
-
**科研模式输出必须包含以上 7 项,不得只输出分析性文字而不给出结论。**
|
|
336
|
-
|
|
337
|
-
---
|
|
338
|
-
|
|
339
|
-
### 生活模式输出格式 / Life Mode Output Format
|
|
340
|
-
|
|
341
|
-
1. **[变化模式]:[描述]** — 什么在变化,变化的规律是什么(循环往复?线性推进?随机波动?)
|
|
342
|
-
2. **[不变量]:[发现]** — 不管怎么变,什么始终不变(找到变化中恒定的核心)
|
|
343
|
-
3. **[简化策略]:[方法]** — 如何利用不变量简化问题(从关注细节升级为关注核心模式)
|
|
344
|
-
4. **[本质分类]:[判断]** — 表面不同的东西本质是否同类(关键不变量是否相同?)
|
|
345
|
-
5. **[规律破缺]:[检查]** — 规律是否被打破?打破的方式是什么(打破可能比规律本身更重要)
|
|
346
|
-
6. **[行动建议]:[步骤]** — 基于不变量和规律破缺的结论,明确下一步行动
|
|
347
|
-
|
|
348
|
-
**生活模式输出必须包含以上 6 项,不得只输出分析性文字而不给出行动建议。**
|
|
349
|
-
|
|
350
|
-
## 与其他 skill 的关系 / Relations to Other Skills
|
|
351
|
-
|
|
352
|
-
- **变换思想**:对称性就是变换下的不变性——两个思想是一体两面
|
|
353
|
-
- **抽象化思想**:不变量是最高层次的抽象——它独立于具体的表示
|
|
354
|
-
- **建模思想**:物理模型的构建常常以对称性原理为指导
|
|
355
|
-
- **公理化思想**:群论的公理体系是对称性的数学基础
|
|
356
|
-
- **拓扑思想**:拓扑不变量(欧拉示性数、同伦群)是连续变换下的不变量
|
|
357
|
-
- **算法思想**:群算法利用对称性加速计算(如 FFT 利用循环群结构)
|
|
358
|
-
- **离散/组合思想**:Pólya 计数定理是 Burnside 引理的加权推广,用于枚举对称构型
|
|
1
|
+
---
|
|
2
|
+
name: symmetry-invariance
|
|
3
|
+
description: |
|
|
4
|
+
触发:群论分析、不变量计算、Galois 理论、Noether 定理、轨道分类、商空间推理、对称性破缺分析;或为算法设计等变性/守恒量/不变结构(如 SO(3)/SE(3) 等变网络、热带半环)时调用。
|
|
5
|
+
English: Trigger for group theory analysis, invariant computation, Galois theory, Noether's theorem, orbit classification, quotient space reasoning, symmetry breaking; or designing equivariance/conservation/invariant structures (e.g. SO(3)/SE(3) equivariant nets, tropical semiring) for algorithms.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# ⚛️ 对称与不变性 / Symmetry & Invariance
|
|
9
|
+
|
|
10
|
+
> "寻找事物在变换下保持不变的性质,揭示其内在规律。"
|
|
11
|
+
> "Finding the properties that remain unchanged under transformations, revealing their underlying laws."
|
|
12
|
+
>
|
|
13
|
+
> —— 群论、不变量理论、Noether 定理 / Group Theory, Invariant Theory, Noether's Theorem
|
|
14
|
+
>
|
|
15
|
+
> Sophus Lie 想打造一把屠龙刀——解通微分方程。虽未屠尽所有的龙,但这把刀的锻造工艺(李群-李代数对应)流传了下来,后来用于线性化非线性问题、描述物理对称性、机器人状态估计。数学最迷人的地方:为特定问题发明的工具,在完全不同领域展现出远超初衷的价值。这正是「跨领域激活」的原型。
|
|
16
|
+
|
|
17
|
+
## 核心原则 / Core Principle
|
|
18
|
+
|
|
19
|
+
**在变化中寻找不变——这是理解复杂系统的捷径。对称性不是'好看',而是系统深层结构的体现。每一个对称性都对应一个守恒量(Noether 定理),每一个不变量都是简化问题的钥匙。**
|
|
20
|
+
|
|
21
|
+
> **数学形式化 / Mathematical Formalization**
|
|
22
|
+
>
|
|
23
|
+
> 群 **G** 作用在集合 **X** 上:φ: G×X→X(φ(e,x)=x, φ(g,φ(h,x))=φ(gh,x))。
|
|
24
|
+
>
|
|
25
|
+
> **不变量** f: X→Y 使 f(g·x)=f(x) ∀g∈G。形式化:f 是 G-不变量 ⇔ f: X/G → Y 为商空间上的函数。不变量只区分轨道,不区分同轨道内元素。
|
|
26
|
+
>
|
|
27
|
+
> **轨道** O(x)={g·x : g∈G},等价关系 x~y ⇔ ∃g∈G, y=g·x,X/~ = X/G。**商空间** X/G 由所有轨道构成。分类的本质是在 X/G 上工作;找不变量即找在每条轨道取常值的函数。
|
|
28
|
+
>
|
|
29
|
+
> **稳定子** Stab(x)={g∈G : g·x=x},|O(x)|=|G|/|Stab(x)|——轨道越大对称越少。
|
|
30
|
+
>
|
|
31
|
+
> 核心直觉:**不变量 = 轨道上的常值函数 = 商空间 X/G 上的函数**。完备不变量集将 X/G 嵌入更简单空间,实现完全分类。
|
|
32
|
+
>
|
|
33
|
+
> 对称层次:几何对称(O(n)/E(n),不变量距离面积);代数对称(Galois 理论,判别式);物理对称(Lie 群,能量/动量/角动量);结构不变(同构/同伦等价)。
|
|
34
|
+
>
|
|
35
|
+
> **Reynolds 算子**:有限群 G,R(f)=1/|G| Σ f(g·x),R²=R,像正是所有不变量。**Burnside 引理**:|X/G|=1/|G| Σ |Fix(g)|。**Lie 代数生成元**:T_a·f=0 为微分方程,解之得不变量。**Noether 定理**:连续对称 → 守恒流 Jμ, ∂_μ Jμ=0。**Galois 理论**:方程可用根式求解 ⇔ Gal(f) 可解群。
|
|
36
|
+
>
|
|
37
|
+
> 详细见 `original-texts.md`。
|
|
38
|
+
|
|
39
|
+
## GPU 友好性 / GPU-Friendliness(横切检查)
|
|
40
|
+
|
|
41
|
+
对称/不变结构能否上 GPU,取决于群操作的「张量化」程度——过 `../../references/gpu-friendly-math.md` 八维:
|
|
42
|
+
|
|
43
|
+
- **群作用可张量化 → 友好**:若群作用是线性(矩阵乘),则等变层 = GEMM(如 SO(3) 等变用球谐/表示矩阵的批量 GEMM)。
|
|
44
|
+
- **Reynolds 平均**:有限群平均 = 对 |G| 个变换结果求和,可批量并行(友好);但 |G| 极大时不友好→用 Lie 代数连续近似。
|
|
45
|
+
- **不变量作正则/约束**:作损失项时局部、廉价(友好);作精确符号计算时不友好。
|
|
46
|
+
- **热带半环**:min/+ 代数上的"对称"可落 GEMM-like 结构(友好,见 `../../references/gpu-friendly-math.md` 范例)。
|
|
47
|
+
- **反模式**:把需要逐轨道符号判定的精确分类硬塞进训练——不可算。
|
|
48
|
+
|
|
49
|
+
八维最低判定(正式术语):**张量化**看群作用是否可批量作用于特征;**GEMM 可映射**看表示矩阵/球谐/投影是否落矩阵乘;**复杂度**看群阶、轨道数、积分/求积规模;**显存与 KV-Cache**看多副本/多轨道特征是否爆炸;**低精度稳定**看等变误差、规范选择、归一化是否稳健;**并行与通信**看群元素/空间点能否并行;**稀疏结构**看等变连接是否块结构化;**算子融合**看 group action、聚合、投影能否融合。
|
|
50
|
+
|
|
51
|
+
> 配合 `../../references/books/micro-lie-theory.md`(SO(3)/SE(3) 等变)、`abstract-algebra.md`(群/半环)、`differential-geometry.md`(规范对称)。
|
|
52
|
+
|
|
53
|
+
## 不适用场景 / When NOT to Use
|
|
54
|
+
|
|
55
|
+
- **系统完全不对称且无规律**——无群作用可利用。
|
|
56
|
+
- **需要精确数值解**——对称性给结构信息而非具体数值(告诉你"什么相等"不告诉你"等于多少")。
|
|
57
|
+
- **对称破缺是核心机制**(相变、自发破缺)——应转向分析破缺模式 G→H 而非找不变量。
|
|
58
|
+
- **问题规模极小**——对称分析开销可能超过直接求解。
|
|
59
|
+
- **群结构过于复杂**——|G| 极大时 X/G 不比 X 简单,不变量本身可能更复杂。
|
|
60
|
+
|
|
61
|
+
## 何时使用 / When to Use
|
|
62
|
+
|
|
63
|
+
- 面对复杂系统想找简化线索;需要分类/识别对象(利用轨道 X/G)。
|
|
64
|
+
- 寻找回滚量或不变量(轨道上常值的函数);减少变量/降维(商空间、基本域)。
|
|
65
|
+
- 判断方程可解性(Galois);计数对称构型(Burnside/Pólya)。
|
|
66
|
+
- 从守恒律反推对称性(逆 Noether)。
|
|
67
|
+
- **设计等变/不变网络或算子**(SO(3)/SE(3) 等变、热带半环路由、守恒正则)。
|
|
68
|
+
|
|
69
|
+
## 方法流程 / Method
|
|
70
|
+
|
|
71
|
+
### 第一步:识别可能的变换 / Identify Transformations
|
|
72
|
+
列出系统可能经历的所有变换,组织为候选对称群,验证四条公理(封闭/结合/单位/逆)。空间变换→E(n)/O(n)/相似群;时间→R 或 Z₂;代数→S_n/GL(n)/SL(n);逻辑→Z₂/Aut;规范→U(1)/SU(2)/SU(3)(Lie 群,配 Lie 代数)。不满足公理则识别实际结构(半群?广群?),不可盲目当群。陷阱:投影不可逆不是群;反射复合为旋转(封闭成立)。
|
|
73
|
+
|
|
74
|
+
### 第二步:寻找不变量 / Find Invariants
|
|
75
|
+
对 G 作用于 X,找 f(g·x)=f(x)。
|
|
76
|
+
- **有限群**:Reynolds 算子 R(f)=1/|G| Σ f(g·x)(投影到不变量,R²=R);Burnside 引理 |X/G|=1/|G| Σ |Fix(g)| 计轨道数;初等对称多项式 e_k 是 S_n 作用于 R^n 的完备不变量集。
|
|
77
|
+
- **连续群(Lie 群)**:用 Lie 代数生成元 T_a·f=0 解不变量(每个生成元减一自由度);Killing 向量场积分得不变坐标(如 SO(3)→r=√(x²+y²+z²))。
|
|
78
|
+
- **不动点分析**:Stab(x) 揭示局部对称程度。
|
|
79
|
+
- 常见不变量:几何(长度/角度/欧拉示性数)、物理(能量/动量/角动量)、代数(判别式/迹/行列式/特征多项式系数)、组合(轨道数/等价类大小)。
|
|
80
|
+
|
|
81
|
+
### 第三步:利用不变量简化 / Use Invariants to Simplify
|
|
82
|
+
- **商空间推理**:在 X/G 上工作而非 X,|X| 对象→|X/G| 轨道(如 230 空间群→230 种 X/G)。
|
|
83
|
+
- **基本域** D:每条轨道恰与 D 交于一点,只分析 D(O(2)→半平面;SO(3)→球面三角;SL(2,Z)→|z|≥1, |Re(z)|≤1/2)。
|
|
84
|
+
- **变量缩减**:用不变量替代被约束变量(能量守恒减一动力学变量;角动量守恒→只关心径向;中心力场 L²=常数→一维径向方程)。
|
|
85
|
+
|
|
86
|
+
### 第四步:利用对称性分类 / Classify via Symmetry
|
|
87
|
+
**轨道-稳定子** |O(x)|=|G|/|Stab(x)|:稳定子越大对象越对称、轨道越小。同轨道对象共享所有 G-不变量值。关键问题:不变量是否完备?即 f(x)=f(y) ⇒ x,y 同轨道?不完备→不同轨道可有相同不变量值,需更多不变量或更精细群。完备例子:S_n→e₁..e_n;O(n)→r²=Σx_i²;SL(2,C)→判别式 Δ=b²-4ac。
|
|
88
|
+
|
|
89
|
+
### 第五步:检查对称性破缺 / Check Symmetry Breaking
|
|
90
|
+
- **自发破缺**:方程有对称 G,解只满足 H⊂G(真空选方向,G→H)。Goldstone 定理:连续 G→H 破缺产生 dim(G/H) 个无质量 Goldstone 模(铁磁 SO(3)→SO(2) 得 2 模;超流 U(1)→{e} 得 1 模)。
|
|
91
|
+
- **显式破缺**:方程本身不满足 G(外力/质量项,如夸克质量破手征对称 SU(2)_L×SU(2)_R→SU(2)_V)。
|
|
92
|
+
- **分析要点**:识别 G→H,算 Goldstone 模数 dim(G/H),破缺后有效理论仍需 H-不变。
|
|
93
|
+
|
|
94
|
+
### 第六步:代数对称分析 / Algebraic Symmetry (Galois)
|
|
95
|
+
Gal(f) 为根的置换群。**方程可用根式求解 ⇔ Gal(f) 可解群**(子群链 G=G₀⊃...⊃G_k={e},每步为循环商群)。可解直觉:每步商群对应一次根式提取;不可解群意味"不可绕过的复杂性"。≥5 次一般方程 Gal(f)=S_5 不可解(A_5 最小非可解单群);4 次 S_4 可解;圆可分→循环群可解。范式:**问题结构→置换群→群可解性→问题可解性**。
|
|
96
|
+
|
|
97
|
+
### 第七步:物理对称分析 / Physical Symmetry (Noether)
|
|
98
|
+
**Noether 定理**:作用量 S=∫L dt 在 G 下不变 ⇒ 守恒流 Jμ, ∂_μ Jμ=0。对应:时间平移→能量;空间平移→动量;旋转→角动量;规范 U(1)→电荷。量子:对称 G→Hilbert 空间酉表示→不可约表示分类能级→Wigner-Eckat→选择规则。层次:经典(Lagrangian 对称→Noether→简化方程)→量子(选择规则/简并/Wigner-Eckart)→场论(规范对称→粒子分类→标准模型 SU(3)×SU(2)×U(1))。
|
|
99
|
+
|
|
100
|
+
## 常见错误 / Common Errors
|
|
101
|
+
|
|
102
|
+
| 错误 / Error | 数学批评 / Critique | 正确做法 / Correct Approach |
|
|
103
|
+
|-------------|-------------------|---------------------------|
|
|
104
|
+
| 忽视隐藏对称性 | 表面不对称但深层有对称,遗漏致不必要复杂化 | 尝试不同表示(坐标/基底变换)找深层对称 |
|
|
105
|
+
| 混淆近似与精确对称 | 近似对称"守恒"仅近似,误差随时间积累 | 区分精确/近似不变量,标注近似程度 |
|
|
106
|
+
| 对称性论证过度 | 不是所有问题都有对称,强行引入得错误结论 | 确认对称确实存在再使用,验证群公理 |
|
|
107
|
+
| 忽视对称破缺 | 破缺可能才是关键机制 | 同时关注对称与破缺,分析 G→H |
|
|
108
|
+
| 未验证群性质 | 候选变换集未必满足封闭/逆 | 逐一验证四公理,不满足则识别实际结构 |
|
|
109
|
+
| 混淆轨道不变量与一般不变量 | f 在 O(x) 常值 ≠ f 在 X 常值(后者平凡无信息) | 明确是 G-不变(每轨道常值) |
|
|
110
|
+
| 混淆离散与连续对称 | 离散群无 Reynolds 平均(|G| 或无穷);连续群需 Lie 代数 | 离散用 Burnside 计数;连续用 Lie 代数+Noether |
|
|
111
|
+
| 等变结构不可算 | 把需逐轨道符号判定的精确分类塞进 GPU 训练 | 群作用张量化、用线性表示落 GEMM,过八维门 |
|
|
112
|
+
|
|
113
|
+
## 操作规程 / Operating Procedure
|
|
114
|
+
|
|
115
|
+
当本 skill 被触发时,输出必须包含:
|
|
116
|
+
|
|
117
|
+
1. **变换清单**:`[变换N]: [描述] [类型]`,组织为候选群,标注验证了哪些公理(封闭✓/✗…)
|
|
118
|
+
2. **不变量发现**:`[在群G下]: [不变量Y] 保持不变`;有限群写 Reynolds 形式;用 Burnside 计轨道数
|
|
119
|
+
3. **简化策略**:`[利用不变量Y]: [如何简化]`;标注是否在 X/G 或基本域 D 上工作,估计维度缩减
|
|
120
|
+
4. **对称分类**:`[对象x]: |O(x)|=, |Stab(x)|=`,轨道分类结果,评估不变量完备性
|
|
121
|
+
5. **对称破缺检查**:`[对称性Z]: [存在/破缺],方式[自发/显式]`;连续破缺标注 Goldstone 模数 dim(G/H) 与有效群 H
|
|
122
|
+
6. **代数/物理对称**:方程求解标 Gal(f) 及可解性;物理系统标 Noether 对应 `[对称群G]: [守恒律]`
|
|
123
|
+
7. **结论**:发现哪些不变量、实现多少维度缩减、分类结果
|
|
124
|
+
8. **[GPU 可行性]**(若用于算法/等变设计)— 群作用能否张量化落 GEMM,过八维门,标注友好/可改造/不友好
|
|
125
|
+
|
|
126
|
+
**输出不得只给分析而无结论。**
|
|
127
|
+
|
|
128
|
+
## 与其他 skill 的关系 / Relations to Other Skills
|
|
129
|
+
|
|
130
|
+
- **变换思想**:对称性就是变换下的不变性——一体两面。
|
|
131
|
+
- **抽象化思想**:不变量是最高层次的抽象——独立于具体表示。
|
|
132
|
+
- **建模思想**:物理模型常以对称性原理为指导。
|
|
133
|
+
- **公理化思想**:群论公理是对称性的数学基础。
|
|
134
|
+
- **拓扑思想**:拓扑不变量(欧拉示性数、同伦群)是连续变换下的不变量。
|
|
135
|
+
- **算法思想**:群算法利用对称加速(如 FFT 利用循环群结构)。
|
|
136
|
+
- **离散/组合思想**:Pólya 计数是 Burnside 引理的加权推广。
|
|
137
|
+
- **现代数学激活**:`../../references/books/micro-lie-theory.md`(SO(3)/SE(3) 等变、李群优化)、`abstract-algebra.md`(群/半环)、`differential-geometry.md`(规范对称/纤维丛)。
|