A non-identity permutation moves some index upward: for any permutation $σ \ne 1$ on $\text{Fin}\,m$, there is some $i$ with $i < σ(i)$. Used to detect off-diagonal terms in the Iwahori-determinant computation. Proof: if $σ(i) \le i$ for all $i$, then strict inequality somewhere combined with $\sum σ(j) = \sum j$ gives a contradiction.
Product strictly less than $1$ when one factor is strictly less than $1$ and others are $\le 1$: pulled out as a separate fact to bound off-diagonal Iwahori products.
Ultrametric strict triangle inequality for a finite sum: in $\mathbb{Q}_p$ (or any ultrametric field), if every term $f(i)$ has norm $< C$, then so does the sum $\sum_i f(i)$. Proof by induction on the finset using $\|x + y\| \le \max(\|x\|, \|y\|)$.
Iwahori determinant has $p$-adic norm $1$: a matrix $g$ over $\mathbb{Q}_p$ that is in Iwahori form (diagonal entries unit norm, above-diagonal $\le 1$, strictly below-diagonal $< 1$) has $\|\det g\| = 1$. The proof expands the determinant as a sum over permutations: the identity contributes a product of unit-norm entries giving norm $1$, while every non-identity permutation forces at least one strictly-below-diagonal factor, making its contribution have norm $< 1$. Ultrametricity then yields $\|\det g\| = 1$.
The $p$-adic DVR context: instantiates the DVRContext framework with $k = \mathbb{Q}_p$,
$\mathfrak{o} = \mathbb{Z}_p$, the natural inclusion as embed, and the uniformizer $p$. The
parameter $n$ records the relevant dimension (e.g. of an Iwahori subgroup of $GL_n$).
Instances For
Membership in the $p$-adic maximal ideal via norm: $x \in p\mathbb{Z}_p$ iff
$\|x\|_p < 1$. Uses PadicInt.norm_lt_one_iff_dvd to translate between divisibility by $p$
and norm being strictly less than $1$.
Iwahori matrices over $\mathbb{Q}_p$ have unit determinant: phrased in the abstract
DVRContext language as a wrapper around iwahori_det_norm_eq_one.
DVRClosure instance for the $p$-adic context: assembles all closure properties of
$\mathbb{Z}_p$ inside $\mathbb{Q}_p$ — closed under $0$, $1$, negation, addition,
multiplication, integer casts, and inverses of units; plus Iwahori-determinant unit.
DVRTopology instance for the $p$-adic context: equips the $p$-adic DVR context with
its norm topology (a NormedField) and the ultrametric inequality, registering the
norm-characterisations of isInO, isInMaxIdeal, and isUnitInO.