An absolute value on a field $k$ is an AbsoluteValue with codomain $\mathbb{R}$.
Instances For
The value $v(x)$ of an absolute value is always non-negative: $0 \le v(x)$.
Non-degeneracy of an absolute value: $v(x) = 0 \iff x = 0$.
Theorem 5.3(c), forward direction: if $v$ is nonarchimedean then $v(n) \le 1$ for every $n \in \mathbb{N}$.
Binomial-type bound: assuming $v(n) \le 1$ for every $n$, one has $v(x+y)^n \le (n+1) \max(v(x), v(y))^n$ for all $n$.
Theorem 5.3(c), backward direction: if $v(n) \le 1$ for every $n \in \mathbb{N}$, then $v$ is nonarchimedean.
Theorem 5.3(c): an absolute value $v$ is nonarchimedean iff $v(n) \le 1$ for all natural numbers $n$.
Corollary 5.4: any absolute value on a field of prime characteristic is nonarchimedean.
Definition 5.5: two absolute values $v_1, v_2$ on $k$ are equivalent if there exists $\alpha > 0$ such that $v_2(x) = v_1(x)^\alpha$ for every $x \in k$.
Instances For
The custom AreEquivalent relation coincides with the Mathlib AbsoluteValue.IsEquiv
relation.
Theorem 5.6 (Ostrowski's theorem for $\mathbb{Q}$): every nontrivial absolute value on $\mathbb{Q}$ is equivalent either to the real absolute value $|\cdot|_\infty$ or to a $p$-adic absolute value $|\cdot|_p$ for some prime $p$.