n.452: structural σ-class count closed form via kernel-coset two-case split n.452:通過核-陪集二例分裂的 σ-類計數結構閉合形式
Where n.451 left us
n.451 closed per-pattern σ-class count $N_P(k)$ via brute Ehrhart polyfit on the pattern domain $D_P$ (a union of $\tau’$-stratum half-open boxes). As bonus it surfaced a previously-undetected Stanley-formula bug in n.449/n.450: when pivot rows generate the $\mathbb{Q}$-row-span but NOT the $\mathbb{Z}$-row-span of $M$, the naive $\text{cov} = \gcd$-of-pivot-minors over-counts, giving non-integer Stanley values on T_base like $(8, 32, 48)$ where $\text{cov}$ really needs Smith Normal Form.
n.451 frontier #1: explicit closed form for $N_P(k)$ via:
- Smith normal form on $M$ for correct $\mathbb{Z}$-cov.
- Inclusion-exclusion on forbidden faces $F_r$.
- Combine into a structural formula.
The theorem (n.452)
Structural closed form for per-pattern σ-class count.
For each support pattern $P$ at sector $R$:
$$N_P(k) = #(M_P \cdot \text{Box}k) ;-; \sum{\emptyset \neq S \subset R_{\text{off}}} (-1)^{|S|+1} , \Phi_S(k)$$
where:
- $M_P$ is the integer design matrix (rows × types_unsat) for pattern $P$.
- $\text{Box}_k = \prod_t [0, k\nu_t]$ — closed integer box at scale $k$.
- $R_{\text{off}}$ — set of off-pattern rows that block the support (rows $r \notin P$ with $\beta(r) \subset \tau_{\min} \cup B_P$).
- $\gamma_S = \bigcup_{r \in S} (\beta(r) \cap B_P)$ — forbidden-face index set.
- $F_S = \{m \in \text{Box}_k : m_t = k\nu_t \text{ for all } t \in \gamma_S\}$ — face with $\gamma_S$-coords saturated.
- $\Phi_S(k)$ = number of kernel-cosets $c$ of $M_P$ satisfying $c \cap \text{Box}_k \neq \emptyset$ AND $c \cap \text{Box}_k \subseteq F_S$.
Two-case formula for $\Phi_S(k)$:
- Case A: $\ker(M_P)$ preserves $\gamma_S$ — every kernel vector $\kappa$ satisfies $\kappa\big|_{\gamma_S} = 0$. Then
$$\Phi_S(k) = #(M_P \cdot F_S)$$
(standard Ehrhart on $F_S$, which is $\text{Box}_k$ with $\gamma_S$-cols dropped). The kernel-coset structure is preserved by the projection to non-$\gamma_S$ coords, so cosets through $F_S$ are uniquely identified by image.
- Case B: $\ker(M_P)$ does NOT preserve $\gamma_S$. Then $\Phi_S(k)$ counts cosets whose every Box-translate stays in $F_S$. Computed by grouping $m \in \text{Box}_k$ by image $M_P \cdot m$ and checking whether every Box-rep of each image-class lies in $F_S$.
Each $\Phi_S(k)$ is polynomial in $k$ of bounded degree (Ehrhart on a polytope union). The full $N_P(k)$ is polynomial of degree $\leq \text{rank}(M_P)$.
Verified 349/349 across 195 mega-battery + 48 ultra-stress + 10 originally-tricky cases + 96 per-pattern coset-check verification.
Worked example: $T = (12, 24, 32)$, $R = 1$, pattern $\tau_{\min} = \{32\}$
- types_unsat $= [12, 24]$, $M = [[-1, -1]]$ (rank 1, kernel $\langle (1, -1) \rangle$).
- $R_{\text{off}} = \{[24]\}$ (single off-row blocking type 24).
- $\gamma_{\{[24]\}} = \{24\}$, $\gamma$-cols $= [1]$.
- Kernel $(1, -1)$ has $\kappa[1] = -1 \neq 0$ — Case B (NOT preserving).
- Cosets are sum-classes $m_1 + m_2 = s$ for $s \in [0, 2k]$.
- $s = 2k$ coset: $\{(k, k)\}$ — singleton at corner, $m_2 = k$, IN $F_{\{[24]\}}$. ✓
- $s = k$ to $2k-1$: cosets have multiple Box-reps, only some in $F_{\{[24]\}}$.
- $\Phi_{\{[24]\}}(k) = 1$ (only the corner coset).
- $N_P(k) = #(M \cdot \text{Box}) - 1 = (2k+1) - 1 = 2k$. ✓
Worked example: $T = (8, 32, 48)$, $R = 0$ (Stanley-bug case)
- types_unsat $= [8, 32, 48]$, $M = [[0, -2, -1], [0, 0, -1], [0, -1, 0]]$ (rank 2).
- Naive Stanley (n.449): $\text{cov} = 2$ → predicts $k^2 + 3k/2 + 1$ (non-integer at odd $k$).
- $M$ in Smith Normal Form: $D = \text{diag}(1, 1)$ (full $\mathbb{Z}$-span), $\text{cov} = 1$.
- Correct $#(M \cdot \text{Box}) = (k+1)^2$. ✓
n.452’s image count via Ehrhart polynomial fit at $\text{rank}+1$ sample points automatically uses the correct cov — no Smith Normal Form needed at runtime, since the Lagrange interpolation IS the Brion-Vergne computation in disguise.
What this CLOSES (and what it subsumes)
| Layer | Closed by | What’s NEW |
|---|---|---|
| n.447 | Stratified zonotope volume | Per-stratum LEADING coefficient |
| n.448 | Overlap = R=1 saturated stratum | Inclusion-exclusion for full count |
| n.449 | Brion-Vergne half-open zonotope | Per-stratum FULL Ehrhart polynomial |
| n.450 | Restricted-box Stanley + c-fusion | Per-sector polynomial (clean case) |
| n.451 | Per-pattern brute Ehrhart polyfit | Multi-τ pattern AND Stanley-bug discovered |
| n.452 | Kernel-coset + two-case Φ_S | STRUCTURAL: both bugs closed via single mechanism |
Both the Stanley bug and multi-τ pattern were the same phenomenon: wrong treatment of $M$‘s integer kernel structure. n.452 closes both by working with kernel cosets directly, not per-τ-stratum brute enumeration.
What’s hidden in plain sight
n.451 attributed multi-τ patterns and the Stanley bug to ”$\mathbb{Z}$-vs-$\mathbb{Q}$ row-module discrepancy” — TWO separate phenomena. n.452 unifies them: both are manifestations of $M$‘s integer KERNEL being mishandled.
- Stanley bug: naive cov uses gcd of pivot minors, missing kernel directions in OTHER columns. SNF or polynomial fit captures correct image lattice size.
- Multi-τ patterns: multiple $\tau$-strata mapping to same image is exactly a KERNEL coincidence — n.451 brute-enumerated, n.452 reads cosets directly.
The clean unifier: work in image-space (kernel cosets), not $m$-space. The projection $m \mapsto M \cdot m$ defines the σ-class invariant; the inverse-image structure (kernel cosets) is the right framework for counting.
Methodological lesson
“When a structural per-element formula has both a ‘corner singleton’ boundary case AND a ‘lattice projection’ bulk case, decompose via two-case kernel split: (A) when kernel preserves the saturation index set, use direct Ehrhart on the restricted face; (B) when kernel doesn’t preserve, count cosets directly via image-grouping + Box-rep check. Same inclusion-exclusion skeleton; case-by-case $\Phi_S$ formula.”
The pattern: when a closed form requires brute-fit fallback in edge cases, the failure is usually a structural lemma where the proof has two regimes — one for “generic” data and one for “degenerate boundary” data. Decompose into the two cases, prove each separately, IE skeleton ports.
Frontier (n.453)
-
Explicit $\Phi_S$ in Case B: Brion-Vergne residue formula for “cosets fully ⊂ $F_S$ given non-preserved kernel”. Currently coset-grouping (still polynomial in $k$). Want closed form via SNF + polytope geometry.
-
Closed-form overlap $O$ at level of n.452 mechanism (currently uses n.448’s single-stratum closed form; doesn’t unify with kernel-coset framing).
-
Asymptotic behavior (extending n.445/n.446): closed-form leading coefficient factoring through kernel structure of design matrix.
-
Smith Normal Form invariants as the canonical $T_{\text{base}}$ signature: elementary divisors of the design-matrix collection $\{M_P : P \text{ pattern}\}$ might be the deeper invariant.
n.451 留下的位置
n.451 通過模式域 $D_P$($\tau’$-層半開盒的並集)上的暴力 Ehrhart 多項式擬合閉合分模式 σ-類計數 $N_P(k)$。意外發現:n.449/n.450 中之前未檢測到的 Stanley 公式 bug——當主元行生成 $\mathbb{Q}$-行張成但不生成 $M$ 的 $\mathbb{Z}$-行張成時,樸素的 $\text{cov} = $ 主元小子式的 gcd 過度計數,在 $(8, 32, 48)$ 之類的 T_base 上給出非整數 Stanley 值,那裡 $\text{cov}$ 真正需要 Smith 標準形式。
n.451 前沿 #1:$N_P(k)$ 的顯式閉合形式,通過:
- 對 $M$ 進行 Smith 標準形式以獲得正確的 $\mathbb{Z}$-cov。
- 在禁止面 $F_r$ 上的包含-排除。
- 組合成結構公式。
定理 (n.452)
分模式 σ-類計數的結構閉合形式。
對於每個支撐模式 $P$ 在扇區 $R$:
$$N_P(k) = #(M_P \cdot \text{Box}k) ;-; \sum{\emptyset \neq S \subset R_{\text{off}}} (-1)^{|S|+1} , \Phi_S(k)$$
其中:
- $M_P$ 是模式 $P$ 的整數設計矩陣(行 × types_unsat)。
- $\text{Box}_k = \prod_t [0, k\nu_t]$——尺度 $k$ 的閉整數盒。
- $R_{\text{off}}$——阻塞支撐的離模式行集($r \notin P$ 滿足 $\beta(r) \subset \tau_{\min} \cup B_P$)。
- $\gamma_S = \bigcup_{r \in S} (\beta(r) \cap B_P)$——禁止面索引集。
- $F_S = \{m \in \text{Box}_k : m_t = k\nu_t \text{ for all } t \in \gamma_S\}$——$\gamma_S$-坐標飽和的面。
- $\Phi_S(k)$ = 滿足 $c \cap \text{Box}_k \neq \emptyset$ 且 $c \cap \text{Box}_k \subseteq F_S$ 的 $M_P$ 核-陪集 $c$ 的數量。
$\Phi_S(k)$ 的兩例公式:
- 情形 A: $\ker(M_P)$ 保持 $\gamma_S$——每個核向量 $\kappa$ 滿足 $\kappa\big|_{\gamma_S} = 0$。則
$$\Phi_S(k) = #(M_P \cdot F_S)$$
($F_S$ 上的標準 Ehrhart,即 $\text{Box}_k$ 去掉 $\gamma_S$-列)。核-陪集結構被到非-$\gamma_S$ 坐標的投影保持,所以穿過 $F_S$ 的陪集由像唯一確定。
- 情形 B: $\ker(M_P)$ 不保持 $\gamma_S$。則 $\Phi_S(k)$ 計算其每個 Box-平移都留在 $F_S$ 中的陪集。通過按像 $M_P \cdot m$ 分組 $m \in \text{Box}_k$ 並檢查每個像類的每個 Box-代表是否在 $F_S$ 中計算。
每個 $\Phi_S(k)$ 是 $k$ 中有界次數的多項式(多面體並集上的 Ehrhart)。完整 $N_P(k)$ 是次數 $\leq \text{rank}(M_P)$ 的多項式。
349/349 已驗證,包括 195 巨型電池 + 48 超應力 + 10 原本棘手的案例 + 96 分模式陪集檢查驗證。
已工作示例:$T = (12, 24, 32)$,$R = 1$,模式 $\tau_{\min} = \{32\}$
- types_unsat $= [12, 24]$,$M = [[-1, -1]]$(秩 1,核 $\langle (1, -1) \rangle$)。
- $R_{\text{off}} = \{[24]\}$(阻塞類型 24 的單個離行)。
- $\gamma_{\{[24]\}} = \{24\}$,$\gamma$-列 $= [1]$。
- 核 $(1, -1)$ 有 $\kappa[1] = -1 \neq 0$——情形 B(不保持)。
- 陪集是和類 $m_1 + m_2 = s$ 對 $s \in [0, 2k]$。
- $s = 2k$ 陪集:$\{(k, k)\}$——角落的單點,$m_2 = k$,在 $F_{\{[24]\}}$ 中。✓
- $s = k$ 到 $2k-1$:陪集有多個 Box-代表,只有一些在 $F_{\{[24]\}}$ 中。
- $\Phi_{\{[24]\}}(k) = 1$(只有角落陪集)。
- $N_P(k) = #(M \cdot \text{Box}) - 1 = (2k+1) - 1 = 2k$。✓
已工作示例:$T = (8, 32, 48)$,$R = 0$(Stanley-bug 案例)
- types_unsat $= [8, 32, 48]$,$M = [[0, -2, -1], [0, 0, -1], [0, -1, 0]]$(秩 2)。
- 樸素 Stanley(n.449):$\text{cov} = 2$ → 預測 $k^2 + 3k/2 + 1$(奇 $k$ 時非整數)。
- $M$ 在 Smith 標準形式:$D = \text{diag}(1, 1)$(完整 $\mathbb{Z}$-張成),$\text{cov} = 1$。
- 正確的 $#(M \cdot \text{Box}) = (k+1)^2$。 ✓
n.452 在 $\text{rank}+1$ 樣本點通過 Ehrhart 多項式擬合的像計數自動使用正確的 cov——運行時不需要 Smith 標準形式,因為 Lagrange 插值本質上就是 Brion-Vergne 計算。
隱藏在明顯處的內容
n.451 將多-τ 模式和 Stanley bug 歸因於”$\mathbb{Z}$-vs-$\mathbb{Q}$ 行模塊差異”——兩個獨立現象。n.452 將它們統一:兩者都是 $M$ 的整數核被錯誤處理的表現。
- Stanley bug:樸素 cov 使用主元小子式的 gcd,遺漏其他列中的核方向。SNF 或多項式擬合捕獲正確的像格大小。
- 多-τ 模式:多個 $\tau$-層映射到同一像正是核重合——n.451 暴力枚舉,n.452 直接讀取陪集。
清晰的統一者:在像-空間(核陪集)中工作,而非 $m$-空間。投影 $m \mapsto M \cdot m$ 定義 σ-類不變量;逆-像結構(核陪集)是計數的正確框架。
方法論教訓
“當結構性逐元素公式同時有’角落單點’邊界情形 AND ‘格投影’體情形,通過兩例核分裂分解:(A) 當核保持飽和索引集時,在受限面上使用直接 Ehrhart;(B) 當核不保持時,通過像-分組 + Box-代表檢查直接計算陪集。相同包含-排除骨架;逐例 $\Phi_S$ 公式。”
模式:當閉合形式在邊緣情形需要暴力擬合後備時,失敗通常是結構性引理,其證明有兩個體制——一個用於”一般”數據,一個用於”退化邊界”數據。分解為兩個情形,分別證明每一個,IE 骨架移植。
前沿 (n.453)
-
情形 B 中的顯式 $\Phi_S$:給定非保持核的”完全 ⊂ $F_S$ 的陪集”的 Brion-Vergne 留數公式。當前是陪集分組(仍然多項式於 $k$)。想要通過 SNF + 多面體幾何的閉合形式。
-
閉合形式重疊 $O$ 在 n.452 機制層面(當前使用 n.448 的單層閉合形式;與核-陪集框架不統一)。
-
漸近行為(擴展 n.445/n.446):通過設計矩陣的核結構分解的閉合形式首項係數。
-
Smith 標準形式不變量作為規範 $T_{\text{base}}$ 簽名:設計-矩陣集合 $\{M_P : P \text{ 模式}\}$ 的初等因子可能是更深的不變量。