cahlen commited on
Commit
f64bf31
·
verified ·
1 Parent(s): 65d7ab0

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +68 -25
README.md CHANGED
@@ -6,7 +6,7 @@ tags:
6
  - symmetric-groups
7
  - representation-theory
8
  - gpu-computation
9
- pretty_name: Kronecker Coefficients (S_20 and S_30)
10
  size_categories:
11
  - 1B<n<10B
12
  ---
@@ -14,7 +14,7 @@ size_categories:
14
  # Kronecker Coefficients
15
 
16
  Complete Kronecker coefficient tables g(lambda, mu, nu) for S_20 and S_30.
17
- Computed on NVIDIA B200 GPU. **Largest ever published.**
18
 
19
  | n | Partitions | Nonzero triples | Max g | GPU time |
20
  |---|-----------|----------------|-------|----------|
@@ -23,37 +23,80 @@ Computed on NVIDIA B200 GPU. **Largest ever published.**
23
 
24
  ## Files
25
 
26
- ### S_20 (complete)
27
- - `s20/kronecker_n20_full_tensor.npz` Full 627x627x627 tensor (462 MB, numpy compressed)
28
- - `s20/kronecker_n20_nonzero.csv` — All nonzero g(i,j,k) as CSV (503 MB)
29
- - `s20/char_table_n20.bin` Character table (int64, row-major, 627x627)
30
- - `s20/z_inv_n20.bin` Inverse centralizer orders (float64, 627 entries)
31
- - `s20/partitions_n20.txt` Partition index mapping
32
-
33
- ### S_30 (character tables recompute triples in 7 min on B200)
34
- - `s30/char_table_n30.bin` — Character table (int64, row-major, 5604x5604, 240 MB)
35
- - `s30/z_inv_n30.bin` — Inverse centralizer orders (float64, 5604 entries)
36
- - `s30/partitions_n30.txt` Partition index mapping
37
-
38
- The full S_30 nonzero data (26.4B entries) is ~370 GB and not uploaded directly.
39
- With the character table and z_inv, anyone can recompute all Kronecker triples:
40
-
41
-
42
-
43
- Or use our CUDA kernel for GPU acceleration (7.4 min on B200).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  ## Method
46
  1. Character table via Murnaghan-Nakayama rule (rim-path method, CPU)
47
  2. Kronecker triple-sum via pure CUDA kernel (GPU, atomic reduction)
48
 
49
- Validated: row/column orthogonality for S_5 through S_12. dim sum = n!.
50
-
51
- ## Quick Start
52
-
53
-
54
 
55
  ## Source
56
  - Code: [github.com/cahlen/idontknow](https://github.com/cahlen/idontknow)
57
  - Finding: [bigcompute.science/findings/kronecker-s30-largest-computation](https://bigcompute.science/findings/kronecker-s30-largest-computation/)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  Human-AI collaborative work (Cahlen Humphreys + Claude). Not peer-reviewed. CC BY 4.0.
 
6
  - symmetric-groups
7
  - representation-theory
8
  - gpu-computation
9
+ pretty_name: "Kronecker Coefficients (S_20 and S_30)"
10
  size_categories:
11
  - 1B<n<10B
12
  ---
 
14
  # Kronecker Coefficients
15
 
16
  Complete Kronecker coefficient tables g(lambda, mu, nu) for S_20 and S_30.
17
+ Computed on NVIDIA B200 GPU. To our knowledge, the largest such computation published.
18
 
19
  | n | Partitions | Nonzero triples | Max g | GPU time |
20
  |---|-----------|----------------|-------|----------|
 
23
 
24
  ## Files
25
 
26
+ ### S_5
27
+ - `s5/partitions_n5.txt` -- Partition index mapping
28
+
29
+ ### S_20 (complete -- full tensor + nonzero list)
30
+ - `s20/kronecker_n20_full_tensor.npz` -- Full 627x627x627 tensor (462 MB, numpy compressed)
31
+ - `s20/kronecker_n20_nonzero.csv` -- All nonzero g(i,j,k) as CSV (503 MB)
32
+ - `s20/char_table_n20.bin` -- Character table (int64, row-major, 627x627)
33
+ - `s20/z_inv_n20.bin` -- Inverse centralizer orders (float64, 627 entries)
34
+ - `s20/partitions_n20.txt` -- Partition index mapping
35
+
36
+ ### S_30 (complete -- 370 GB of nonzero triples + character tables)
37
+ - `s30/nonzero/part_00000.bin` through `part_00011.bin` -- All 26.4B nonzero (i,j,k,g) tuples (370 GB total)
38
+ - Format: repeating (uint16 i, uint16 j, uint16 k, int64 g) = 14 bytes per record
39
+ - i <= j <= k (upper triangle only)
40
+ - `s30/char_table_n30.bin` -- Character table (int64, row-major, 5604x5604, 240 MB)
41
+ - `s30/z_inv_n30.bin` -- Inverse centralizer orders (float64, 5604 entries)
42
+ - `s30/partitions_n30.txt` -- Partition index mapping
43
+
44
+ ## Reading the Binary Data
45
+
46
+ ```python
47
+ import struct
48
+ import numpy as np
49
+
50
+ # Read S_30 nonzero triples from a binary part
51
+ with open("part_00000.bin", "rb") as f:
52
+ while True:
53
+ buf = f.read(14)
54
+ if len(buf) < 14:
55
+ break
56
+ i, j, k = struct.unpack("HHH", buf[:6])
57
+ g = struct.unpack("q", buf[6:14])[0]
58
+ # i, j, k are partition indices (see partitions_n30.txt)
59
+ # g = Kronecker coefficient g(lambda_i, lambda_j, lambda_k)
60
+ ```
61
+
62
+ ## Recompute from Character Tables
63
+
64
+ Anyone can recompute all Kronecker triples from the character tables:
65
+
66
+ ```python
67
+ import numpy as np
68
+ n = 20
69
+ ct = np.fromfile("s20/char_table_n20.bin", dtype=np.int64).reshape(627, 627)
70
+ zi = np.fromfile("s20/z_inv_n20.bin", dtype=np.float64)
71
+ g = np.einsum("ic,jc,kc,c->ijk", ct.astype(float), ct.astype(float), ct.astype(float), zi)
72
+ g = np.round(g).astype(np.int64)
73
+ print(f"g((20),(20),(20)) = {g[0,0,0]}") # 1
74
+ ```
75
+
76
+ For S_30, the full tensor doesn't fit in RAM (1.4 TB). Use the CUDA kernel for slab-by-slab computation (7.4 min on B200).
77
 
78
  ## Method
79
  1. Character table via Murnaghan-Nakayama rule (rim-path method, CPU)
80
  2. Kronecker triple-sum via pure CUDA kernel (GPU, atomic reduction)
81
 
82
+ Validated: row/column orthogonality for S_5 through S_12. Dimension sum = n!.
 
 
 
 
83
 
84
  ## Source
85
  - Code: [github.com/cahlen/idontknow](https://github.com/cahlen/idontknow)
86
  - Finding: [bigcompute.science/findings/kronecker-s30-largest-computation](https://bigcompute.science/findings/kronecker-s30-largest-computation/)
87
+ - Website: [bigcompute.science](https://bigcompute.science)
88
+
89
+ ## Citation
90
+
91
+ ```bibtex
92
+ @dataset{humphreys2026kronecker,
93
+ title = {Kronecker Coefficients for S_20 and S_30},
94
+ author = {Humphreys, Cahlen},
95
+ year = {2026},
96
+ publisher = {Hugging Face},
97
+ url = {https://huggingface.co/datasets/cahlen/kronecker-coefficients},
98
+ note = {26.4 billion nonzero triples for S_30, NVIDIA B200}
99
+ }
100
+ ```
101
 
102
  Human-AI collaborative work (Cahlen Humphreys + Claude). Not peer-reviewed. CC BY 4.0.