---
title: Arithmetic Dijkgraaf–Witten Theory
url: https://www.emergentmind.com/topics/arithmetic-dijkgraaf-witten-theory
type: topic
---

# Arithmetic Dijkgraaf–Witten Theory

Arithmetic Dijkgraaf–Witten theory is the arithmetic analogue of finite-group Dijkgraaf–Witten topological quantum field theory, obtained by replacing closed oriented \(3\)-manifolds with arithmetic curves such as \(X=\operatorname{Spec}(\mathcal{O}_F)\) or \(X=\operatorname{Spec}(\mathcal{O}_F)\setminus S\), replacing flat \(G\)-bundles by continuous Galois representations, and replacing evaluation on a fundamental class by étale or Galois cohomological invariant maps such as \(\operatorname{inv}:H^3(X,\mu_n)\simeq \tfrac{1}{n}\mathbb{Z}/\mathbb{Z}\) or \(\operatorname{inv}:H^3(X,\mathbf{G}_m)\simeq \mathbb{Q}/\mathbb{Z}\) [1510.05818]. In the literature this theme appears in several forms: Kim’s arithmetic Chern–Simons functionals on spaces of Galois representations [1510.05818], their boundary and \(p\)-adic refinements [1609.03012], Hirano’s extension to arbitrary number fields via modified étale cohomology [1911.12964], explicit mod \(2\) formulas for real quadratic fields [2308.05467], a pro-\(p\) cobordism-theoretic arithmetic field theory with an arithmetic Dijkgraaf–Witten example [2504.19078], and a duality theory parallel to Naidu’s classification of equivalent topological Dijkgraaf–Witten theories [2508.19214].

## 1. Arithmetic replacement of the finite-group Dijkgraaf–Witten datum

In ordinary \(3\)-dimensional Dijkgraaf–Witten theory one fixes a finite group \(G\) and a \(3\)-cocycle
\[
\omega \in Z^3(G,U(1)) \quad\text{or equivalently } c \in Z^3(G,\mathbb{Q}/\mathbb{Z}),
\]
and for a closed oriented \(3\)-manifold \(M\) a classical gauge field is a flat \(G\)-bundle, equivalently a homomorphism
\[
\rho:\pi_1(M)\to G
\]
up to conjugacy. The partition function is
\[
Z_\omega(M)=\sum_{[\rho:\pi_1(M)\to G]} \frac{1}{|\operatorname{Aut}(\rho)|}\exp(2\pi i\,S_\omega(\rho)),
\]
with \(S_\omega(\rho)\) obtained by pulling back \(\omega\) and evaluating on the fundamental class of \(M\) [1609.03012].

The arithmetic analogue replaces \(M\) by
\[
X=\operatorname{Spec}(\mathcal{O}_F),
\]
where \(F\) is a number field, often totally imaginary in the initial formulations. The étale fundamental group
\[
\pi:=\pi_1(X,b)
\]
plays the role of \(\pi_1(M)\), and the cohomological input is the canonical isomorphism
\[
\operatorname{inv}: H^3(X,\mathbf{G}_m) \;\simeq\; \mathbb{Q}/\mathbb{Z},
\]
together with the finite-coefficient variants
\[
\operatorname{inv}: H^3\bigl(X,\mu_n\bigr) \;\simeq\; \tfrac{1}{n}\mathbb{Z}/\mathbb{Z}
\]
and
\[
\operatorname{inv}: H^3\bigl(X,\mathbb{Z}_p(1)\bigr) \;\simeq\; \mathbb{Z}_p.
\]
These are interpreted as arithmetic analogues of evaluation on the fundamental class of a compact oriented \(3\)-manifold [1609.03012].

For a finite group \(A\), the arithmetic configuration space is the moduli set
\[
M(A):=\operatorname{Hom}_{\mathrm{cont}}(\pi,A)/A,
\]
the set of isomorphism classes of principal \(A\)-bundles in the étale topology. This is the arithmetic counterpart of the groupoid of flat \(A\)-bundles in topological Dijkgraaf–Witten theory [1609.03012].

A decisive extension beyond totally imaginary fields is Hirano’s use of the Artin–Verdier site \(X_{\mathrm{et}}\), the modified étale fundamental group
\[
\pi_1(X):=\pi_1^{\text{Artin–Verdier}}(X),
\]
and modified étale cohomology \(H^i(X,\mathbb{Z}/n\mathbb{Z})\), so that arbitrary number fields, including those with real places, enter the theory through a \(3\)-dimensional duality framework analogous to Poincaré duality [1911.12964].

## 2. Arithmetic Chern–Simons functionals and the boundary formalism

Kim’s foundational construction begins with a finite group \(A\), a class
\[
c\in H^3(A,\mathbb{Z}/n\mathbb{Z}),
\]
a totally imaginary number field \(F\) containing \(\mu_n\), and a trivialization
\[
\zeta : \mathbb{Z}/n\mathbb{Z} \xrightarrow{\sim} \mu_n.
\]
For \([\rho]\in M(A)\), the arithmetic Chern–Simons functional is
\[
\mathrm{CS}_c([\rho]) := \operatorname{inv}\bigl(\rho^{*}c\bigr)\in \tfrac{1}{n}\mathbb{Z}/\mathbb{Z}.
\]
This is the direct arithmetic analogue of the Dijkgraaf–Witten action obtained by pulling back a group \(3\)-cocycle and integrating it against a \(3\)-dimensional fundamental class [1510.05818].

When one removes a finite set of primes \(S\), the open arithmetic curve
\[
X_S:=\operatorname{Spec}(\mathcal{O}_F[1/S])=X\setminus\{P_v:v\in S\}
\]
plays the role of a \(3\)-manifold with boundary. Its arithmetic fundamental group is
\[
\pi_S:=\pi_1(X_S,b),
\]
and for each \(v\in S\) there is a local Galois group
\[
\pi_v:=\operatorname{Gal}(F_v^{\mathrm{sep}}/F_v)
\]
with maps \(i_v:\pi_v\to\pi_S\). The local and global representation groupoids are
\[
Y_S(A):=\operatorname{Hom}_{\mathrm{cont}}(\pi_S,A),\qquad
Y_S^{\mathrm{loc}}(A):=\prod_{v\in S}\operatorname{Hom}_{\mathrm{cont}}(\pi_v,A),
\]
together with the restriction functor
\[
r_S:M_S(A)\to M_S^{\mathrm{loc}}(A).
\]
This is the arithmetic replacement of restricting a flat bundle to boundary components [1609.03012].

The boundary theory is organized by an arithmetic Chern–Simons line. For local boundary data
\[
\rho_S=(\rho_v)_{v\in S}\in Y_S^{\mathrm{loc}}(A),
\]
one defines
\[
C_S:=\prod_{v\in S} C^2(\pi_v,\mathbb{Z}/n\mathbb{Z}),\quad
Z_S:=\prod_{v\in S} Z^2(\pi_v,\mathbb{Z}/n\mathbb{Z}),\quad
B_S:=\prod_{v\in S} B^2(\pi_v,\mathbb{Z}/n\mathbb{Z}),
\]
then
\[
H(\rho_S):=d^{-1}(c\circ \rho_S)/B_S,
\]
a torsor under
\[
H_S:=\prod_{v\in S} H^2(\pi_v,\mathbb{Z}/n\mathbb{Z}) \simeq \prod_{v\in S}\tfrac{1}{n}\mathbb{Z}/\mathbb{Z}.
\]
Pushing out by
\[
\Sigma:\prod_{v\in S}\tfrac{1}{n}\mathbb{Z}/\mathbb{Z}\to \tfrac{1}{n}\mathbb{Z}/\mathbb{Z}
\]
gives the arithmetic Chern–Simons line
\[
L(\rho_S):=\Sigma_*H(\rho_S),
\]
a \(\tfrac{1}{n}\mathbb{Z}/\mathbb{Z}\)-torsor. The global Chern–Simons action with boundary becomes a section
\[
\mathrm{CS}_c \in \Gamma\bigl(M_S(A),L\bigr),
\]
rather than merely a scalar-valued function [1609.03012].

A \(p\)-adic version replaces the finite group \(A\) by a \(p\)-adic Lie group with an open surjection
\[
t:A\to \Gamma:=\mathbb{Z}_p,
\]
takes
\[
c\in H^3\bigl(A,\mathbb{Z}_p[[\Gamma]]\bigr),
\]
and uses a \(\pi_S\)-equivariant isomorphism
\[
\zeta_\rho : \mathbb{Z}_p[[\Gamma]]_\rho \xrightarrow{\sim} \Lambda:=\mathbb{Z}_p[[\Gamma]]\otimes \mathbb{Z}_p(1)
\]
to define a \(p\)-adic Chern–Simons invariant
\[
\mathrm{CS}_c([\rho]) \in L_{\mathrm{glob}([\rho],\mathbb{Z}_p)}.
\]
The subsequent quantization is explicitly deferred; the papers focus on the classical action-functional side [1609.03012].

## 3. General number fields and explicit mod \(2\) arithmetic Dijkgraaf–Witten invariants

For arbitrary number fields \(K\), Hirano defines the arithmetic Chern–Simons functional using modified étale cohomology on the Artin–Verdier site. With
\[
X=\operatorname{Spec}\mathcal{O}_K,\qquad
A\ \text{finite},\qquad
c\in H^3(A,\mathbb{Z}/n\mathbb{Z}),
\]
and
\[
M(X,A):=\operatorname{Hom}_{\mathrm{cont}}(\pi_1(X),A)/A,
\]
the arithmetic Chern–Simons invariant of \(\rho\in M(X,A)\) is the image of \(c\) under
\[
H^3(A,\mathbb{Z}/n\mathbb{Z}) \xrightarrow{\rho^*}
H^3\bigl(\pi_1(X),\mathbb{Z}/n\mathbb{Z}\bigr)
\xrightarrow{j_3}
H^3(X,\mathbb{Z}/n\mathbb{Z})
\cong \mathbb{Z}/n\mathbb{Z},
\]
where \(j_3\) is the edge map of the modified Hochschild–Serre spectral sequence
\[
H^p\big(\pi_1(X), H^q(X,\mathbb{Z}/n\mathbb{Z})\big) \;\Rightarrow\; H^{p+q}(X,\mathbb{Z}/n\mathbb{Z}).
\]
The arithmetic Dijkgraaf–Witten invariant is then
\[
Z_c(X) \;:=\; \sum_{\rho\in M(X,A)} \exp\left(\frac{2\pi i}{n}\,\operatorname{CS}_c(\rho)\right)
\]
[1911.12964].

In the basic case
\[
A=\mathbb{Z}/n\mathbb{Z},\qquad c:=\mathrm{id}\cup\beta(\mathrm{id})\in H^3(A,\mathbb{Z}/n\mathbb{Z}),
\]
with \(\beta\) the Bockstein from
\[
0\to \mathbb{Z}/n\mathbb{Z}\xrightarrow{\times n}\mathbb{Z}/n^2\mathbb{Z}\to \mathbb{Z}/n\mathbb{Z}\to 0,
\]
Hirano proves that for a surjective
\[
\rho:\pi_1(X)\to \mathbb{Z}/n\mathbb{Z},
\]
if
\[
L=K(v^{1/n})
\]
is the corresponding unramified Kummer extension and \(a\in I_K\) satisfies
\[
a^n=(v)^{-1},
\]
then
\[
\operatorname{CS}_c(\rho)=\chi\big((L/K/a)\big),
\]
where \((L/K/a)\) is the Artin symbol and
\[
\chi:\operatorname{Gal}(L/K)\xrightarrow{\sim}\mathbb{Z}/n\mathbb{Z}
\]
is the canonical character [1911.12964].

The mod \(2\) theory for real quadratic fields becomes especially explicit. For
\[
K=\mathbb{Q}(\sqrt{p_1p_2\cdots p_r}),
\qquad p_i\equiv 1 \pmod 4,
\]
let
\[
T^+ := \Bigl\{(x_1,\ldots,x_r)\in (\mathbb{Z}/2\mathbb{Z})^r \ \Bigm|\ \sum_{i=1}^r x_i = 0 \Bigr\},
\]
and let \(e_{ij}^+\in T^+\) be the vector with \(1\)’s in the \(i\)-th and \(j\)-th positions. Then Hirano shows
\[
\operatorname{CS}_c(\rho)
=
\sum_{i<j} \rho(e_{ij}^+)\,\ell_2(p_i,p_j),
\]
where the mod \(2\) linking number is defined by
\[
(-1)^{\ell_2(p_i,p_j)} = \Bigl(\frac{p_i}{p_j}\Bigr),
\]
and consequently
\[
Z_c(X)
=
\sum_{\rho\in\operatorname{Hom}(T^+,\mathbb{Z}/2\mathbb{Z})}
\prod_{\substack{i<j\\\rho(e_{ij}^+)=1}}
\Bigl(\frac{p_i}{p_j}\Bigr).
\]
This identifies the arithmetic Dijkgraaf–Witten invariant with an explicit Legendre-symbol expression [1911.12964].

Deng, Kurimaru, and Matsusaka then simplify Hirano’s formula by introducing the quadratic residue graph \(G(S)\) for
\[
S=\{p_1,\dots,p_r\},
\]
with an edge \(\{p_i,p_j\}\) exactly when
\[
\Bigl(\frac{p_i}{p_j}\Bigr)=-1.
\]
They prove the closed formula
\[
Z_k=
\begin{cases}
2^{r-2} & \text{if every connected component of } G(S) \text{ is a circuit},\\
0 & \text{otherwise},
\end{cases}
\]
for
\[
k=\mathbb{Q}(\sqrt{p_1\cdots p_r}),
\]
thereby answering Ken Ono’s question about whether Hirano’s right-hand side admits a simple expression [2308.05467]. They also prove the density formula
\[
d_r = 2^{-(r-1)}
\]
for the proportion of such real quadratic fields with nonzero mod \(2\) arithmetic Dijkgraaf–Witten invariant [2308.05467].

## 4. Pro-\(p\) arithmetic field theory and an arithmetic Dijkgraaf–Witten TQFT

A different but related development replaces manifolds by pro-\(p\) Poincaré duality groups and pairs, producing a cobordism category suited to arithmetic topology. In this framework a profinite group pair \((G,\mathcal{S})\) is a pro-\(p\) \(\PD^n\) pair if it has type \(pFP_\infty\), cohomological dimension \(n\), and duality
\[
H^k(G,\mathcal{S};\mathbb{Z}_p[[G]]) =
\begin{cases}
0, & k\neq n,\\
\mathbb{Z}_p, & k=n.
\end{cases}
\]
The top cohomology yields an orientation character
\[
\chi : G \longrightarrow \Aut(\mathbb{Z}_p) \cong U(\mathbb{Z}_p),
\]
and an orientability level \(r\) [2504.19078].

In dimension \(2\), Wilkes’ classification of pro-\(p\) \(\PD^2\) pairs gives explicit surface-group-type presentations, allowing the construction of a pro-\(p\) cobordism category
\[
\Cob_p^2.
\]
Its objects are finite collections of pro-\(p\) \(\PD^1\) groups, and up to isomorphism these are finite multisets of \(\mathbb{Z}_p\). Morphisms are equivalence classes of pro-\(p\) \(2\)-cobordisms, assembled from \(\PD^2\) group triples and gluing along boundary subgroups [2504.19078].

The resulting \(1+1\)-dimensional pro-\(p\) TQFTs are classified by \(\mathbb{U}_p\)-extended Frobenius algebras, where
\[
\mathbb{U}_p := \ker(U(\mathbb{Z}_p)\to U(\mathbb{Z}/p\mathbb{Z})).
\]
More precisely,
\[
\TQFT_p^{2}(R)\;\cong\;\Frob_p(R),
\]
an equivalence between the groupoid of pro-\(p\) TQFTs and the groupoid of \(\Aut(\mathbb{Z}_p)\)-extended \(R\)-Frobenius algebras [2504.19078]. This is the arithmetic-topology analogue of the classical relation between \(2\)-dimensional TQFTs and Frobenius algebras.

Within this framework the authors define a \(1+1\)-dimensional pro-\(p\) Dijkgraaf–Witten theory for a finite gauge \(p\)-group \(\Gamma\). For a boundary object
\[
\mathcal{N}=\{N_i\}_{i\in I},
\]
the state space is
\[
Z(\mathcal{N}) := \text{Map}\Big(\coprod_{i\in I}\Hom(N_i,\Gamma)/\sim,\;\mathbb{C}\Big).
\]
For a \(2\)-cobordism \((G,\mathcal{N},\mathcal{U},\phi,\tau)\), the linear map
\[
Z(G):Z(\mathcal{N})\to Z(\mathcal{U})
\]
is defined by summing over conjugacy classes of homomorphisms \(p:G\to\Gamma\) with prescribed boundary restrictions, weighted by automorphism-group factors exactly as in classical finite-group Dijkgraaf–Witten theory [2504.19078].

The arithmetic force of this construction appears when \(G\) is a Demuškin group or a maximal pro-\(p\) Galois group of a local \(p\)-adic field. The theory yields character-sum formulas for \(|\Hom(G,\Gamma)|\), and for a \(p\)-adic field \(K\) of degree \([K:\mathbb{Q}_p]=n\), \(p\neq 2\), with \(\mu_{p^r}\subset K\), \(\mu_{p^{r+1}}\not\subset K\), it gives
\[
|\Hom(G_K,\Gamma)| = \frac{1}{|\Gamma|^n}\sum_{\chi\in\Irr(\Gamma)}\chi(1)^{-n}\sum_{\gamma\in\Gamma}\chi(\gamma^{p^r-1})\chi(\gamma).
\]
Together with Hall’s Möbius inversion formula, this produces explicit counts of Galois extensions \(L/K\) with prescribed finite \(p\)-group Galois group \(\Gamma\) [2504.19078].

## 5. Duality, equivalence, and failure of equivalence

Arithmetic Dijkgraaf–Witten theory also admits a duality problem parallel to Naidu’s classification of equivalent topological Dijkgraaf–Witten theories. Eichler formulates the arithmetic theory for
\[
X=\operatorname{Spec}\mathcal{O}_F\setminus S
\]
over a totally imaginary number field \(F\) containing \(\mu_n\), with \(n\) invertible on \(X\), and boundary
\[
Y=\coprod_{v\in S}\operatorname{Spec}F_v.
\]
The groupoid of fields is
\[
\mathcal{F}_X^G := \mathrm{Hom}(\pi_1(X),G)\sslash G,
\]
and the arithmetic partition function is a state sum over \([\tau]\in \mathcal{F}_X^G\) weighted by
\[
\mathcal{S}_X(\tau)=\mathrm{tr}_X(\tau^*\omega)
\]
for
\[
\omega\in Z^3(G,\mathbb{Z}/n).
\]
In exact form,
\[
\mathcal{Z}_X(\omega) := \sum_{[\tau]} \exp(\pi i \mathcal{S}_X(\tau))\,\frac{1}{\#\mathrm{aut}(\tau)},
\]
equivalently
\[
\mathcal{Z}_X(\omega)=\frac{1}{\#G}\sum_{\tau\in\mathrm{Hom}(\pi_1(X),G)} \exp_X(\tau^*\omega)
\]
[2508.19214].

The duality data consist of a finite group \(K\), finite \(n\)-torsion \(K\)-modules \(A\) and \(A^\vee=\mathrm{Hom}(A,\mathbb{Z}/n)\), cocycles
\[
\gamma\in Z^2(K,A),\qquad \gamma^\vee\in Z^2(K,A^\vee),
\]
and
\[
e\in C^3(K,\mathbb{Z}/n)
\]
with
\[
de=\gamma\cup\gamma^\vee.
\]
One forms
\[
G=A\rtimes_\gamma K,\qquad G^\vee=A^\vee\rtimes_{\gamma^\vee}K,
\]
and the \(3\)-cocycles
\[
\omega = k^*e + a\smile k^*\gamma^\vee,\qquad
\omega^\vee = k^{\vee*}e + k^{\vee*}\gamma\smile a^\vee.
\]
For local fields and for \(X=\operatorname{Spec}\mathcal{O}_F\setminus S\), Eichler proves an arithmetic analogue of Naidu’s equivalence:
\[
\Theta:\mathcal{Z}_Y^\omega \xrightarrow{\sim} \mathcal{Z}_Y^{\omega^\vee},
\qquad
\Theta\big(\mathcal{Z}_X^\omega\big)=\mathcal{Z}_X^{\omega^\vee}.
\]
The proof rests on local Tate duality and Artin–Verdier duality, which furnish the perfect pairings needed by the abstract duality theorem [2508.19214].

The full ring-of-integers case
\[
X=\operatorname{Spec}\mathcal{O}_F
\]
is subtler. Here \(n\) is not invertible on \(X\), and the cup-product pairing is no longer perfect. Eichler introduces the orthogonal complement
\[
H^1(X,\mathcal{A}^\vee)^\perp \subset H^1(X,\mathcal{A}),
\]
and proves sufficient conditions under which arithmetic Dijkgraaf–Witten invariants still coincide:
\[
\mathcal{Z}_X(\omega)=\mathcal{Z}_X(\omega^\vee).
\]
The paper simultaneously gives examples where the equivalence fails. For duality data involving the quaternion group \(Q_8\), the topological Dijkgraaf–Witten theories remain equivalent for closed oriented \(3\)-manifolds, but arithmetic invariants over certain quadratic imaginary fields do not. One explicit example is
\[
F=\mathbb{Q}(\sqrt{-11\cdot 59\cdot 107}),
\]
for which
\[
\mathcal{Z}_X(0)=0.5,\qquad \mathcal{Z}_X(\omega^\vee)=3.5.
\]
Thus arithmetic Dijkgraaf–Witten duality is not a formal copy of the topological theory; it depends essentially on arithmetic duality, linking forms, and the invertibility of \(n\) on \(X\) [2508.19214].

## 6. Related templates and extensions

The arithmetic literature repeatedly treats standard Dijkgraaf–Witten constructions as templates rather than as completed arithmetic theories. Kim’s first paper explicitly states that it does not yet construct a full TQFT; it develops the classical Chern–Simons functionals and sketches the possibility of defining quantum partition functions or even relating them to \(L\)-functions [1510.05818]. This restriction is substantive rather than rhetorical: arithmetic Dijkgraaf–Witten theory is, in several sources, a programmatic extension of arithmetic Chern–Simons theory rather than a single universally fixed formalism.

Two broader topological frameworks function as prototypes. First, Monnier’s higher abelian Dijkgraaf–Witten theory replaces degree-\(1\) gauge fields by \(p\)-form gauge fields classified by
\[
H^p(M;T),
\]
with action determined by
\[
c\in H^d(K(T,p);U(1)),
\]
and measure
\[
\mu_M = \prod_{i=0}^{p-1} |H^i(M,\partial M;T)|^{(-1)^{p-i}}.
\]
This suggests arithmetic analogues in which singular cohomology is replaced by étale or Galois cohomology and the finite field-space sum is replaced by a sum over arithmetic cocycles [1502.04706].

Second, Kim’s spectrum-based generalization of Dijkgraaf–Witten theory replaces ordinary cohomology by a pairing
\[
\mu:E\wedge F\to G,
\]
a class
\[
\alpha\in F^n(B\Gamma),
\]
and an invariant
\[
Z_{\varphi,\alpha}(X^n)
=
\sum_{[f:X^n\to B\Gamma]}
\frac{\varphi(S_\alpha(X^n,f))}{\sharp\mathrm{Aut}(f^\ast E\Gamma)}.
\]
The paper treats this as a template for an “arithmetic Dijkgraaf–Witten theory” in generalized cohomology or KK-theory, where arithmetic content would enter through the choice of spectra and coefficient systems [1810.03117].

A plausible implication is that “Arithmetic Dijkgraaf–Witten theory” now names a family of mathematically distinct but structurally allied constructions. One branch centers on arithmetic Chern–Simons actions and Artin–Verdier duality for arithmetic curves [1510.05818, 1609.03012, 1911.12964]; another studies explicit mod \(2\) partition functions through Legendre symbols and quadratic residue graphs [2308.05467]; another builds a \(1+1\)-dimensional arithmetic field theory on pro-\(p\) duality groups and derives counting formulas for local Galois extensions [2504.19078]; and a further branch analyzes equivalence and failure of equivalence for arithmetic Dijkgraaf–Witten theories attached to different pairs \((G,\omega)\) [2508.19214]. What unifies them is the Dijkgraaf–Witten pattern itself: finite or profinite gauge data, group or étale cohomology in degree \(3\) or its analogues, and state-sum or path-integral expressions whose arithmetic meaning is extracted from Galois representations, duality, and class field theory.

Source: https://www.emergentmind.com/topics/arithmetic-dijkgraaf-witten-theory