Structured proof · Unit 141
lemma IsSplitLevel.detCharAt_inclGL
What it saysFor a field E with a CM type and Weil data, a finite index type n, a finite set P of places, a character a of U(1)(\mathbb{A}) whose base change a(x/\overline{x}) is unramified at every w \in P (c), i, k \in \mathbb{N} and g \in \mathrm{GL}_n(O):
detCharAt(a.spaceChar (i), k)(inclGL g) = 1, where a.spaceChar (i) is the Hecke character x \mapsto a(x/\overline{x})\cdot\upsilon(x)^{-i}.The argument in brief\det g is a unit at each w \in P, where the character is unramified and |\det g|_{w} = 1.
For g \in \mathrm{GL}_n(O), \det g is an integral unit of \prod_{w\in P} E_w, so it has valuation 1 at every w.
At each w \in P, \chi_w(\det g) = 1 because a(x/\overline{x}) is unramified at w (c) and \upsilon is unramified there (
charUnramifiedAt_upsilon), and |\det g|_{w} = 1; so the product is 1.