Skip to content
Mathematical Physics · Groups & Representations

Representation Theory & D(G)

Symbolically compute finite group algebras ℂ[G], character tables, Clebsch–Gordan multiplicities, symmetry groups acting on operators, Kitaev Quantum Doubles D(G), ribbon operators, and Ribbon(G) boundary algebras in Weyl.

Finite-group representation theory and Kitaev's Quantum Double D(G)D(G) form the algebraic backbone of non-abelian topological order and discrete gauge theories. Weyl treats finite groups, irreducible representations, centralizers, and Ribbon(G) algebras as first-class symbolic objects in weyl-topo, weyl-rep and weyl-types—computing character tables, fusion rules, projectors, and gapped-boundary classifications over exact cyclotomic fields Q(ζn)\mathbb{Q}(\zeta_n) without ever materializing exponentially large dense matrices.

Finite Group Algebras, Characters, and Clebsch–Gordan Decomposition ​

For any finite group GG, the group algebra C[G]\mathbb{C}[G] is the ∣G∣|G|-dimensional Hilbert space with orthonormal basis {∣g⟩:g∈G}\{|g\rangle : g \in G\}, equipped with left and right regular representations:

L+g∣h⟩=∣gh⟩,L−g∣h⟩=∣hg−1⟩,Th∣g⟩=δg,h∣g⟩.L_+^g |h\rangle = |g h\rangle, \qquad L_-^g |h\rangle = |h g^{-1}\rangle, \qquad T^h |g\rangle = \delta_{g,h}|g\rangle.

By the Artin–Wedderburn theorem, C[G]≅⨁π∈Irrep(G)End(Vπ)\mathbb{C}[G] \cong \bigoplus_{\pi \in \mathrm{Irrep}(G)} \mathrm{End}(V_\pi), so ∑πdπ2=∣G∣\sum_{\pi} d_\pi^2 = |G| where dπ=dim⁡Vπd_\pi = \dim V_\pi. Each irreducible representation π\pi is uniquely determined up to isomorphism by its character χπ(g)=Tr⁡Vπ(π(g))\chi_\pi(g) = \operatorname{Tr}_{V_\pi}(\pi(g)), which is constant on conjugacy classes [g]={hgh−1:h∈G}[g] = \{h g h^{-1} : h \in G\} and satisfies Schur orthogonality:

1∣G∣∑g∈Gχπ(g)∗χσ(g)=δπ,σ,Nπστ=1∣G∣∑g∈Gχπ(g)χσ(g)χτ(g)∗.\frac{1}{|G|} \sum_{g \in G} \chi_\pi(g)^* \chi_\sigma(g) = \delta_{\pi,\sigma}, \qquad N_{\pi\sigma}^\tau = \frac{1}{|G|} \sum_{g \in G} \chi_\pi(g)\chi_\sigma(g)\chi_\tau(g)^*.

Here Nπστ∈Z≥0N_{\pi\sigma}^\tau \in \mathbb{Z}_{\ge 0} are the Clebsch–Gordan (fusion) multiplicities in Vπ⊗Vσ≅⨁τNπστVτV_\pi \otimes V_\sigma \cong \bigoplus_\tau N_{\pi\sigma}^\tau V_\tau.

For the smallest non-abelian group S3=⟨r,s∣r3=s2=1, srs=r−1⟩S_3 = \langle r, s \mid r^3 = s^2 = 1,\, srs = r^{-1}\rangle, the exact character table over Q\mathbb{Q} is:

Irrep π\pidπd_\pi[e][e] (size 1)[r]={r,r2}[r] = \{r, r^2\} (size 2)[s]={s,sr,sr2}[s] = \{s, sr, sr^2\} (size 3)
1\mathbf{1} (trivial)11111111
1−\mathbf{1}_- (sign)111111−1-1
2\mathbf{2} (standard)2222−1-100

For the dihedral group D4D_4 (∣D4∣=8|D_4| = 8), weyl-topo similarly derives its 5 conjugacy classes, four 1D irreps (1,1a,1b,1ab\mathbf{1}, \mathbf{1}_a, \mathbf{1}_b, \mathbf{1}_{ab}), and one 2D irrep 2\mathbf{2} satisfying 12+12+12+12+22=81^2 + 1^2 + 1^2 + 1^2 + 2^2 = 8, and builds explicit irrep matrices by Dixon's method (MatrixIrrep). Fusion multiplicities NπστN_{\pi\sigma}^\tau come from the characters; explicit Clebsch–Gordan tensors are not computed.

Kitaev's Quantum Double D(G)D(G) and Centralizers in weyl-topo ​

The elementary anyon excitations (dyons) of Kitaev's Quantum Double D(G)D(G) are labeled by pairs a=([g],π)a = ([g], \pi), where [g][g] is a conjugacy class of GG (magnetic flux) and π∈Irrep(ZG(g))\pi \in \mathrm{Irrep}(Z_G(g)) is an irreducible representation of the centralizer ZG(g)={h∈G:hg=gh}Z_G(g) = \{h \in G : hg = gh\} (electric charge). From the group multiplication table alone, weyl-topo computes the full modular tensor category (MTC) data over Q(ζexp⁡(G))\mathbb{Q}(\zeta_{\exp(G)}): each dyon carries quantum dimension d([g],π)=∣[g]∣⋅dim⁡(π)d_{([g],\pi)} = |[g]| \cdot \dim(\pi) (obeying ∑ada2=∣G∣2\sum_a d_a^2 = |G|^2), topological spin (TT-matrix diagonal) θ([g],π)=χπ(g)/dim⁡(π)\theta_{([g],\pi)} = \chi_\pi(g) / \dim(\pi), and modular SS-matrix entries

S([g],π),([h],σ)=1∣G∣∑g′∈[g],h′∈[h]g′h′=h′g′χπ ⁣(kg′−1h′kg′)∗χσ ⁣(kh′−1g′kh′)∗,S_{([g],\pi),([h],\sigma)} = \frac{1}{|G|} \sum_{\substack{g' \in [g],\, h' \in [h] \\ g' h' = h' g'}} \chi_\pi\!\left(k_{g'}^{-1} h' k_{g'}\right)^* \chi_\sigma\!\left(k_{h'}^{-1} g' k_{h'}\right)^*,

where kg′gkg′−1=g′k_{g'} g k_{g'}^{-1} = g' maps representatives back to the canonical centralizer.

For D(S3)D(S_3) (∣S3∣2=36|S_3|^2 = 36), weyl-topo enumerates all 8 anyons across the three centralizers ZS3(e)=S3Z_{S_3}(e) = S_3, ZS3(r)=Z3Z_{S_3}(r) = \mathbb{Z}_3, and ZS3(s)=Z2Z_{S_3}(s) = \mathbb{Z}_2 (ω=e2πi/3\omega = e^{2\pi i/3}):

LabelConjugacy Class [g][g]Centralizer ZG(g)Z_G(g)Irrep π\piQuantum Dim dad_aSpin θa\theta_a
AA (vac){e}\{e\}S3S_31\mathbf{1}11+1+1
BB{e}\{e\}S3S_31−\mathbf{1}_-11+1+1
CC{e}\{e\}S3S_32\mathbf{2}22+1+1
DD{s,sr,sr2}\{s, sr, sr^2\}Z2\mathbb{Z}_2++33+1+1
EE{s,sr,sr2}\{s, sr, sr^2\}Z2\mathbb{Z}_2−-33−1-1
FF{r,r2}\{r, r^2\}Z3\mathbb{Z}_31122+1+1
GG{r,r2}\{r, r^2\}Z3\mathbb{Z}_3ω\omega22ω\omega
HH{r,r2}\{r, r^2\}Z3\mathbb{Z}_3ω2\omega^222ω2\omega^2

Notice ∑ada2=12+12+22+32+32+22+22+22=36=∣S3∣2\sum_a d_a^2 = 1^2 + 1^2 + 2^2 + 3^2 + 3^2 + 2^2 + 2^2 + 2^2 = 36 = |S_3|^2. For D(D4)D(D_4), the 5 centralizers yield 22 simple anyons with total quantum dimension D=∣D4∣=8\mathcal{D} = |D_4| = 8.

Vertex/Plaquette Projectors and Ribbon Operators ​

On an oriented lattice Λ\Lambda with C[G]\mathbb{C}[G] on each edge, the bulk Hamiltonian is built from commuting vertex and plaquette projectors Av=1∣G∣∑g∈GAvgA_v = \frac{1}{|G|}\sum_{g\in G} A_v^g and BpB_p. Excitations are created and transported along a ribbon ρ\rho (an alternating sequence of direct and dual triangles) by ribbon operators Fρh,gF_\rho^{h,g}, which satisfy the D(G)D(G) Hopf-algebra multiplication and comultiplication laws:

Fρh1,g1Fρh2,g2=δg1,g2 Fρh1h2,g1,Fρ1ρ2h,g=∑k∈GFρ1h,k Fρ2k−1hk, k−1g.F_\rho^{h_1, g_1} F_\rho^{h_2, g_2} = \delta_{g_1, g_2}\, F_\rho^{h_1 h_2, g_1}, \qquad F_{\rho_1 \rho_2}^{h, g} = \sum_{k \in G} F_{\rho_1}^{h, k} \, F_{\rho_2}^{k^{-1} h k,\, k^{-1} g}.

A gapped boundary ∂Λ\partial\Lambda classified by a subgroup K≤GK \le G (and 2-cocycle μ∈H2(K,U(1))\mu \in H^2(K, U(1))) replaces the boundary terms with AvKA_v^K and TlKT_l^K. In .weyl, the entire group-generic model is written cleanly without matrix indices:

weyl
model  quantum double D(G) with a gapped boundary of type K

given  G : finite group
given  K : subgroup of G
given  Λ : oriented square lattice on a half-plane,   ∂Λ : boundary of Λ at y = 0
given  |g⟩ : basis of ℂ[G] on edges(Λ)                 for g ∈ G

define L₊^g ≔ Σ_{h ∈ G} |g h⟩⟨h|
define L₋^g ≔ Σ_{h ∈ G} |h g⁻¹⟩⟨h|
define T^h  ≔ |h⟩⟨h|

define A_v^g ≔ ∏_{l out of v} L₊^g_l · ∏_{l into v} L₋^g_l
define A_v   ≔ 1/|G| Σ_{g ∈ G} A_v^g
define B_p   ≔ projector onto holonomy(∂p) = 1

define A_v^K ≔ 1/|K| Σ_{k ∈ K} A_v^k                   for v ∈ vertices(∂Λ)
define T_l^K ≔ Σ_{k ∈ K} T^k_l                         for l ∈ edges(∂Λ)

define H ≔ − Σ_{v ∉ ∂Λ} A_v − Σ_p B_p − Σ_{v ∈ ∂Λ} A_v^K − Σ_{l ∈ ∂Λ} T_l^K

claim  A_v^g : unitary,  and  g ↦ A_v^g : representation of G
claim  A_v, B_p, A_v^K, T_l^K : projector
claim  all terms of H commute

given  𝒞 : topological order D(G)
claim  ∂Λ condenses 𝒜(K) : Lagrangian algebra of 𝒞
claim  dim ground space on a cylinder with boundaries K, K′ = Σ_a n_a(K) n_a(K′)

check  all claims for G = S₃, K ∈ subgroups(S₃)
check  all claims for G = D₄, K ∈ subgroups(D₄)

theorem for all G, K :  [A_v^K, T_l^K] = 0
        falsify on G ∈ {ℤ₂, S₃, D₄, Q₈}

Finite Checks (check) vs. Universal Theorems (theorem) ​

A check directive evaluates exact operator algebra on Qudit<G> for concrete finite instances (S3S_3, D4D_4) and verifies the cylinder ground-state degeneracy GSD(K,K′)=∑ana(K)na(K′)\mathrm{GSD}(K, K') = \sum_a n_a(K) n_a(K') against the Lagrangian algebra multiplicities na(K)n_a(K) computed by weyl-topo. By contrast, theorem targets universally quantified statements (for all G : finite group): it first runs fast finite-group falsification (falsify on ...) to reject broken conjectures immediately, then translates the typed HIR to Lean 4 via weyl-lean for machine-checked proof search.

Solving Ribbon(G) Boundary Algebras (solve) ​

To discover all consistent gapped boundaries from first principles, Weyl's Phase 2 solve engine solves polynomial consistency equations over the cyclotomic field Q(ζn)\mathbb{Q}(\zeta_n):

weyl
model  boundaries of the quantum double D(G) from the consistency conditions

given  G : finite group
given  a : unknown coefficients of Ribbon(G)

solve for a such that  a a = a,  a Ω = Ω,  S[a] = a,  T[a] = a   modulo G   for G ∈ {ℤ₂, S₃}

theorem ssb_boundary:
  for all G : finite group,  H : subgroup of G
  define A ≔ 1/|H| Σ_{h₁, h₂ ∈ H} F[h₁, h₂]
  define Ω ≔ 1/|G| Σ_{h ∈ G} F[1, h]
  claim  A A = A
  claim  A Ω = Ω
  claim  S[A] = A   and   T[A] = A
  prove automatically within 2 h
  falsify on G ∈ {S₃, D₄, Q₈, A₄}

The solver pipeline in weyl-num (crates/weyl-num/src/solve/) proceeds through four stages, all implemented in Rust. First, linear elimination resolves aΩ=Ωa\Omega = \Omega, S[a]=aS[a] = a, and T[a]=aT[a] = a over Q(ζn)\mathbb{Q}(\zeta_n), shrinking the ∣G∣2|G|^2 unknowns down to S,TS,T-orbit coordinates. Next, the modular Gröbner engine (modular.rs) computes the reduced monic Gröbner basis via Buchberger over Fp\mathbb{F}_p for each prime p≡1(modn)p \equiv 1 \pmod n under all φ(n)\varphi(n) embeddings ζn↦ω\zeta_n \mapsto \omega; a prime is kept only if every embedding produces the same leading monomials, after which coefficients are interpolated to the power basis 1,ζ,…,ζφ(n)−11, \zeta, \dots, \zeta^{\varphi(n)-1} by Vandermonde inversion, combined across primes by CRT, and lifted to rationals (a single embedding is never lifted on its own).

Exact verification then accepts a lift only after one more prime leaves it unchanged and, in Q(ζn)\mathbb{Q}(\zeta_n), every generator reduces to zero modulo the candidate and every S-polynomial of the candidate reduces to zero. With the leading monomials matching the modular images, Arnold's criterion (J. Symbolic Comput. 35, 2003) certifies equality of the ideals without computing the reverse inclusion separately; if no candidate passes, the solver falls back to exact Buchberger over Q(ζn)\mathbb{Q}(\zeta_n), and the run reports which route produced each basis.

Finally, decompose.rs and factor.rs split the variety into irreducible components until every piece is proved prime. Splitting draws on factorizations over Q(ζn)\mathbb{Q}(\zeta_n)—Zassenhaus over Q\mathbb{Q}, Trager's norm for the cyclotomic extension, and Kronecker substitution for several variables—applied to a factoring basis element, the minimal polynomial of a separating linear form in dimension zero, or the characteristic polynomial of a linear form over the free unknowns in positive dimension. Primality is certified in one of four ways: the quotient is a field K[t]/(m)K[t]/(m) with mm irreducible; the piece is the graph of a polynomial map (in which case it comes with its parametrization); the quotient is free of rank DD over its free unknowns and one rational fibre is a single reduced closed point of degree DD; or the characteristic polynomial is irreducible. The cover is then checked exactly: every equation reduces to zero on every piece, and the input together with one Rabinowitsch-style equation per piece generates the unit ideal, ensuring no solution lies outside the pieces.

text
$ weylc run family.weyl        # solve for a such that  T[a] = a   modulo G   for G = ℤ₂
solve for a on G = ℤ₂: 4 unknowns, 3 after linear elimination
  0 solution(s) in 0 orbit(s) modulo G; 1 further irreducible component(s) are not points over Q(ζ); the decomposition is complete and verified
    component (orbit 0): irreducible family of dimension 3, degree 1; polynomial parametrization by 3 parameter(s); mapped to itself by 2 acting elements, each fixing it point by point
warning[W0376]: on ℤ₂ the solutions of `solve for a` include a continuous family of dimension 3

Each component reports its dimension, its degree, and either its points, its minimal polynomial (conjugate points outside Q(ζn)\mathbb{Q}(\zeta_n)), its parametrization, or the number of sheets over its free unknowns. Under modulo K the components are sorted into orbits, with the stabilizer of each and whether the stabilizer fixes it point by point.

Limits of solve

A piece is called irreducible only with a certificate. If none is reached — the quotient is not free in any of the coordinate systems tried (mixed dimension or embedded components with no factoring basis element), or a factorization exceeds its size limit (Kronecker images above degree 2048, more than 16 univariate factors) — the piece is listed as not proved irreducible with the reason, and the result says so. The descriptor of a positive-dimensional family is a Gröbner basis plus sheets; rational parametrizations are produced only for graphs of polynomial maps. If the Gröbner basis of the whole system exceeds its limit, the solver falls back to solutions supported on few unknowns and marks the result as an incomplete search.

Orbit Partitioning under modulo G

Weyl never pre-restricts variables to the invariant subspace VGV^G. In D(S3)D(S_3), the three conjugate Z2\mathbb{Z}_2 subgroups {1,s}\{1, s\}, {1,sr}\{1, sr\}, {1,sr2}\{1, sr^2\} form a single length-3 orbit: none of the three individual solutions is GG-invariant, and their average fails a2=aa^2 = a. solve computes the full algebraic variety first and partitions orbits under GG afterward.

bash
$ weylc theorem          # prints the built-in theorems as Weyl source
theorem modular_relations:
  for all G : finite group
  claim  for all g, h ∈ G:  S[S[S[S[F[g, h]]]]] = F[g, h]
  claim  for all g, h ∈ G with g h = h g:  S[T[S[T[S[T[F[g, h]]]]]]] = S[S[F[g, h]]]
  prove automatically within 10 min
  falsify on G ∈ {Z₂, S₃, D₄, Q₈}
…

ssb_boundary and twisted_boundary (every abelian subgroup HH and every 2-cocycle μ\mu on it) are proved by Lean's kernel for all finite groups; modular_relations_everywhere and boundary_is_the_vacuum are deliberate false statements that stage 1 refutes.

Symmetry Actions and Representation Types ​

An operator's type is its representation content under the declared symmetry group. For that the group has to act on something, so a symmetry is declared together with the images of the modes under each generator:

weyl
given  Λ : open chain of 2 sites
given  c↑, c↓ : fermion on vertices(Λ)
given  U : energy
given  t : small parameter
given  𝒢 : symmetry generated by P, S
       with P : (c↑_i, c↓_i) ↦ (c↑_{3−i}, c↓_{3−i}),
            S : (c↑_i, c↓_i) ↦ (c↓_i, − c↑_i)

define H ≔ U Σ_i c↑†_i c↑_i c↓†_i c↓_i − t Σ_i (c↑†_i c↑_{i+1} + c↓†_i c↓_{i+1} + h.c.)
claim  H : invariant under 𝒢
expand H_eff ≔ SW of H around H₀ to O(t⁵)

Each generator maps a tuple of modes at site i to a tuple of linear combinations at an affine site (3−i, i+1, …); antiunitary before the mapping makes a generator antilinear. weyl-rep checks that every image preserves the anticommutation relations, closes the generators into a finite group (at most 512 elements; here Z2×Z4\mathbb{Z}_2 \times \mathbb{Z}_4 of order 8, with S2S^2 the fermion parity) and computes its character table.

Invariance is decided exactly. claim H : invariant under 𝒢 applies every generator to HH on the finite cluster and compares normal forms. When the check fails, the error names the generator, the breaking part and the irreps it transforms in. Adding a Zeeman term h∑i(ni↑−ni↓)h \sum_i (n_{i\uparrow} - n_{i\downarrow}) gives:

text
error[E0520]: the operator is not invariant under `𝒢` (the part multiplying h): `S` moves it
   |
19 | claim  H : invariant under 𝒢
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ symmetry-breaking part: c↑†_1 c↑_1 − c↓†_1 c↓_1 + c↑†_2 c↑_2 − c↓†_2 c↓_2
   = help: the breaking part transforms as … in χ(P)=1, χ(S)=-1; only the trivial component can appear

Effective Hamiltonians are written in the invariant basis. After a Schrieffer–Wolff expansion, weylc Reynolds-projects the operators that occur onto the trivial isotypic component, builds a basis of invariant operators over Q(i)\mathbb{Q}(i), and reports HeffH_{\text{eff}} order by order as reduced coefficients. A result outside the invariant subspace is a kernel error, not a warning:

text
$ weylc run examples/hubbard_dimer_sw.weyl
  reduced by 𝒢 (order 8), 7 invariant operators:
  expanded on orbit representatives of 𝒢 (largest operator stored: 8 terms)
    O4 = c↑†_1 c↓†_1 c↑_1 c↓_1 + c↑†_2 c↓†_2 c↑_2 c↓_2
    O5 = c↑†_1 c↓†_1 c↑_2 c↓_2 + c↑†_2 c↓†_2 c↑_1 c↓_1
    O6 = c↑†_1 c↓†_2 c↑_1 c↓_2 + c↓†_1 c↑†_2 c↓_1 c↑_2
    O7 = c↑†_1 c↓†_2 c↓_1 c↑_2 + c↓†_1 c↑†_2 c↑_1 c↓_2
    …
  t² · [−2 O4 − 2 O5 + 2 O6 − 2 O7]
  t⁴ · [8 O4 + 8 O5 − 8 O6 + 8 O7]
verdict [oracle.sw_spectrum]: Pass

The t2t^2 row is the superexchange J=4t2/UJ = 4t^2/U; the t4t^4 row is −4-4 times it.

Selection rules use the same ring operations. For point groups a RepTy is a multiplicity vector over the irreps; ⟨f∣O∣i⟩\langle f | O | i \rangle vanishes when ρf∗⊗ρO⊗ρi\rho_f^* \otimes \rho_O \otimes \rho_i has no trivial component:

⟨π1∣Oπ2∣π3⟩≠0  ⟹  1⊂π1∗⊗π2⊗π3.\langle \pi_1 | \mathcal{O}_{\pi_2} | \pi_3 \rangle \neq 0 \implies \mathbf{1} \subset \pi_1^* \otimes \pi_2 \otimes \pi_3.

Current scope

Group actions are supported on finite fermion clusters (the Schrieffer–Wolff pipeline). Before expanding, Weyl computes the character of the group on the ground space P0P_0 of H0H_0, which bounds the number of couplings: dim⁡EndG(P0)=∣G∣−1∑g∣χ(g)∣2\dim \mathrm{End}_G(P_0) = |G|^{-1}\sum_g |\chi(g)|^2. SU(2) is declared as given 𝒮 : spin rotations of (c↑, c↓) and refines this count by spin multiplet. The spectrum oracle compares Tr g (S⃗2)mHk\mathrm{Tr}\, g\,(\vec S^2)^m H^k with the same trace of HeffH_{\text{eff}}, so levels in the wrong irrep or multiplet are rejected. When the group acts by signed permutations of modes, the Schrieffer–Wolff recursion stores only orbit representatives (seeds) and expands them only when the result is checked; at order 8 on a 4-site Hubbard ring (|G| = 32) this is about 10× faster than the full expansion. A perturbation need not be invariant: if H0H_0 is and each VjV_j transforms by a one-dimensional representation χj\chi_j (a staggered potential is odd under the site swap), the order ∏jVjej\prod_j V_j^{e_j} transforms by ∏jχjej\prod_j \chi_j^{e_j}, the seeds carry that grading, and terms of the wrong character are never formed. On P0P_0 the operators of character ψ\psi number ∣G∣−1∑gψ(g)∗∣χ(g)∣2|G|^{-1}\sum_g \psi(g)^* |\chi(g)|^2. When that is zero, every order of character ψ\psi vanishes there; examples/staggered_dimer_sw.weyl reports this selection rule and checks it.

Point-Group Irreps of Brillouin-Zone Functions ​

For crystallographic point groups the same machinery is available from source. A point group is represented by signed-permutation integer matrices (the subgroups of m3ˉmm\bar{3}m; hexagonal and trigonal groups are not covered), its character table is computed by the Burnside–Dixon method, and Mulliken labels are derived from the characters. A claim of the form

weyl
define J(k) ≔ 2 t_J (cos(k_x a) − cos(k_y a))
claim  J : B₁g of 4/mmm
claim  J(k) = 0  on  k_x = ± k_y

is decided by projecting the function onto every irrep with the character table; the functions that can be classified are sums and products of cos⁡(n⋅ka)\cos(\mathbf{n}\cdot\mathbf{k}a) and sin⁡(n⋅ka)\sin(\mathbf{n}\cdot\mathbf{k}a) with real coefficients. Writing A₁g instead reports E0520 with the computed irrep, and replacing the body by sin(k_x a) sin(k_y a) makes the function B₂g, with nodes on the axes instead of the diagonals.

Near a time-reversal-invariant momentum the relevant group is the little group GkG_{\mathbf{k}}. claim J : B₁g at M of 4/mmm computes GMG_M, names it in a standard setting, expands J(k0+q)J(\mathbf{k}_0 + \mathbf{q}) and classifies it under GkG_{\mathbf{k}}. At X=(12,0,0)X = (\tfrac12, 0, 0) the little group is mmmmmm and JJ is Ag; writing B₁g at X reports `J near X` transforms as Ag of mmm.

Lagrangian Algebras and Cylinder GSD in weyl-topo ​

For D(S3)D(S_3), weyl-topo enumerates all four Lagrangian algebras A(K)=⨁ana(K) a\mathcal{A}(K) = \bigoplus_a n_a(K)\, a corresponding to the four conjugacy classes of subgroups K≤S3K \le S_3, verifying ∑ana(K) da=∣S3∣=6\sum_a n_a(K)\, d_a = |S_3| = 6 and modular invariance Sn=nS \mathbf{n} = \mathbf{n}, Tn=nT \mathbf{n} = \mathbf{n}:

Subgroup K≤S3K \le S_3Lagrangian Algebra A(K)\mathcal{A}(K)Total Dim ∑nada\sum n_a d_aSelf-Cylinder GSD(K,K)=∑na2\mathrm{GSD}(K, K) = \sum n_a^2
{e}\{e\} (trivial)A⊕B⊕2CA \oplus B \oplus 2C1+1+2(2)=61 + 1 + 2(2) = 612+12+22=61^2 + 1^2 + 2^2 = 6
Z2={e,s}\mathbb{Z}_2 = \{e, s\}A⊕C⊕DA \oplus C \oplus D1+2+3=61 + 2 + 3 = 612+12+12=31^2 + 1^2 + 1^2 = 3
Z3={e,r,r2}\mathbb{Z}_3 = \{e, r, r^2\}A⊕B⊕2FA \oplus B \oplus 2F1+1+2(2)=61 + 1 + 2(2) = 612+12+22=61^2 + 1^2 + 2^2 = 6
S3S_3 (full group)A⊕F⊕DA \oplus F \oplus D1+2+3=61 + 2 + 3 = 612+12+12=31^2 + 1^2 + 1^2 = 3

Inside weyl-topo, these checks are backed by exact algebraic structures over cyclotomic integers:

rust
pub struct QuantumDouble {
    pub group: FinGroup,
    pub n: u32,                       // values live in Q(ζ_n), n = exp(G)
    pub classes: Vec<Vec<u32>>,
    pub centralizers: Vec<Centralizer>,
    pub anyons: Vec<DoubleAnyon>,     // [C, R]: class, centralizer irrep, |C| · dim R
    pub s: Vec<Vec<Cyclotomic>>,
    pub t: Vec<Cyclotomic>,
    // …
}

impl QuantumDouble {
    pub fn lagrangian_algebras(&self) -> Result<Vec<LagrangianAlgebra>, String>;
    pub fn cylinder_degeneracy(&self, k: &[u32], k_prime: &[u32]) -> u64;
}

Because weyl-topo computes s and t directly from group characters and centralizers, every claim ∂Λ condenses 𝒜(K) and braiding consistency check is resolved at compile time with Exact provenance.

Weyl v0.1 · MIT License