The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra
Mathlib.RingTheory.WittVector.WittPolynomial
21 declarations and 2 deprecated aliases. Mathlib docs · Source
Witt polynomials
To endow WittVector p R with a ring structure,
we need to study the so-called Witt polynomials.
Fix a base value p : ℕ.
The p-adic Witt polynomials are an infinite family of polynomials
indexed by a natural number n, taking values in an arbitrary ring R.
The variables of these polynomials are represented by natural numbers.
The variable set of the nth Witt polynomial contains at most n+1 elements {0, ..., n},
with exactly these variables when R has characteristic 0.
These polynomials are used to define the addition and multiplication operators on the type of Witt vectors. (While this type itself is not complicated, the ring operations are what make it interesting.)
When the base p is invertible in R, the p-adic Witt polynomials
form a basis for MvPolynomial ℕ R, equivalent to the standard basis.
Main declarations
WittPolynomial p R n: then-th Witt polynomial, viewed as polynomial over the ringRxInTermsOfW p R n: ifpis invertible, the polynomialX nis contained in the subalgebra generated by the Witt polynomials.xInTermsOfW p R nis the explicit polynomial, which upon being bound to the Witt polynomials yieldsX n.bind₁_wittPolynomial_xInTermsOfW: the proof of the claim thatbind₁ (xInTermsOfW p R) (W_ R n) = X nbind₁_xInTermsOfW_wittPolynomial: the converse of the above statement
Notation
In this file we use the following notation
pis a natural number, typically assumed to be prime.RandSare commutative ringsW n(andW_ R nwhen the ring needs to be explicit) denotes thenth Witt polynomial
References
-
[Hazewinkel, Witt Vectors][Haze09]
-
[Commelin and Lewis, Formalizing the Ring of Witt Vectors][CL21]
We set up notation locally to this file, to keep statements short and comprehensible.
This allows us to simply write W n or W_ ℤ n.
The first observation is that the Witt polynomial doesn't really depend on the coefficient ring. If we map the coefficients through a ring homomorphism, we obtain the corresponding Witt polynomial over the target ring.
Witt polynomials as a basis of the polynomial algebra
If p is invertible in R, then the Witt polynomials form a basis
of the polynomial algebra MvPolynomial ℕ R.
The polynomials xInTermsOfW give the coordinate transformation in the backwards direction.
def wittPolynomial E1 #
ℕ → (R : Type u_1) → [inst : CommRing R] → ℕ → MvPolynomial ℕ R
wittPolynomial p R n is the n-th Witt polynomial
with respect to a prime p with coefficients in a commutative ring R.
It is defined as:
∑_{i ≤ n} p^i X_i^{p^{n-i}} ∈ R[X_0, X_1, X_2, …].
theorem wittPolynomial_eq_sum_C_mul_X_pow E1 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] (n : ℕ),
wittPolynomial p R n = ∑ i ∈ Finset.range (n + 1), MvPolynomial.C (↑p ^ i) * MvPolynomial.X i ^ p ^ (n - i)
def Witt.termW_ E1 #
Lean.ParserDescr
wittPolynomial p R n is the n-th Witt polynomial
with respect to a prime p with coefficients in a commutative ring R.
It is defined as:
∑_{i ≤ n} p^i X_i^{p^{n-i}} ∈ R[X_0, X_1, X_2, …].
def Witt.termW E1 #
Lean.ParserDescr
wittPolynomial p R n is the n-th Witt polynomial
with respect to a prime p with coefficients in a commutative ring R.
It is defined as:
∑_{i ≤ n} p^i X_i^{p^{n-i}} ∈ R[X_0, X_1, X_2, …].
theorem map_wittPolynomial E0 #
∀ (p : ℕ) {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] (f : R →+* S) (n : ℕ),
(MvPolynomial.map f) (wittPolynomial p R n) = wittPolynomial p S n
theorem constantCoeff_wittPolynomial E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [hp : Fact (Nat.Prime p)] (n : ℕ),
MvPolynomial.constantCoeff (wittPolynomial p R n) = 0
theorem wittPolynomial_zero E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R], wittPolynomial p R 0 = MvPolynomial.X 0
theorem wittPolynomial_one E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R],
wittPolynomial p R 1 = MvPolynomial.C ↑p * MvPolynomial.X 1 + MvPolynomial.X 0 ^ p
theorem aeval_wittPolynomial E1 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] {A : Type u_3} [inst_1 : CommRing A] [inst_2 : Algebra R A] (f : ℕ → A)
(n : ℕ), (MvPolynomial.aeval f) (wittPolynomial p R n) = ∑ i ∈ Finset.range (n + 1), ↑p ^ i * f i ^ p ^ (n - i)
theorem wittPolynomial_zmod_self E0 #
∀ (p n : ℕ),
wittPolynomial p (ZMod (p ^ (n + 1))) (n + 1) = (MvPolynomial.expand p) (wittPolynomial p (ZMod (p ^ (n + 1))) n)
Over the ring ZMod (p^(n+1)), we produce the n+1st Witt polynomial
by expanding the nth Witt polynomial by p.
theorem wittPolynomial_vars E1 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [hp : NeZero p] [CharZero R] (n : ℕ),
(wittPolynomial p R n).vars = Finset.range (n + 1)
theorem wittPolynomial_vars_subset E1 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [hp : NeZero p] (n : ℕ), (wittPolynomial p R n).vars ⊆ Finset.range (n + 1)
def xInTermsOfW E1 #
(p : ℕ) → (R : Type u_1) → [inst : CommRing R] → [Invertible ↑p] → ℕ → MvPolynomial ℕ R
The xInTermsOfW p R n is the polynomial on the basis of Witt polynomials
that corresponds to the ordinary X n.
theorem xInTermsOfW_eq E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [inst_1 : Invertible ↑p] {n : ℕ},
xInTermsOfW p R n =
(MvPolynomial.X n - ∑ i ∈ Finset.range n, MvPolynomial.C (↑p ^ i) * xInTermsOfW p R i ^ p ^ (n - i)) *
MvPolynomial.C (⅟↑p ^ n)
theorem constantCoeff_xInTermsOfW E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [hp : Fact (Nat.Prime p)] [inst_1 : Invertible ↑p] (n : ℕ),
MvPolynomial.constantCoeff (xInTermsOfW p R n) = 0
theorem xInTermsOfW_zero E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [inst_1 : Invertible ↑p], xInTermsOfW p R 0 = MvPolynomial.X 0
theorem xInTermsOfW_vars_aux E0 #
∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ),
n ∈ (xInTermsOfW p ℚ n).vars ∧ (xInTermsOfW p ℚ n).vars ⊆ Finset.range (n + 1)
theorem xInTermsOfW_vars_subset E1 #
∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ), (xInTermsOfW p ℚ n).vars ⊆ Finset.range (n + 1)
theorem xInTermsOfW_aux E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [inst_1 : Invertible ↑p] (n : ℕ),
xInTermsOfW p R n * MvPolynomial.C (↑p ^ n) =
MvPolynomial.X n - ∑ i ∈ Finset.range n, MvPolynomial.C (↑p ^ i) * xInTermsOfW p R i ^ p ^ (n - i)
theorem aeval_xInTermsOfW_wittPolynomial E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [inst_1 : Invertible ↑p] (k : ℕ),
(MvPolynomial.aeval (xInTermsOfW p R)) (wittPolynomial p R k) = MvPolynomial.X k
theorem aeval_wittPolynomial_xInTermsOfW E0 #
∀ (p : ℕ) (R : Type u_1) [inst : CommRing R] [inst_1 : Invertible ↑p] (n : ℕ),
(MvPolynomial.aeval (wittPolynomial p R)) (xInTermsOfW p R n) = MvPolynomial.X n
Deprecated aliases
| Name | New name | Since |
|---|---|---|
bind₁_wittPolynomial_xInTermsOfW | aeval_wittPolynomial_xInTermsOfW | 2026-09-02 |
bind₁_xInTermsOfW_wittPolynomial | aeval_xInTermsOfW_wittPolynomial | 2026-09-02 |