The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.WittVector.MulCoeff

23 declarations. Mathlib docs · Source

theorem WittVector.polyOfInterest.congr_simp E1 #

∀ (p p_1 : ℕ) (e_p : p = p_1) [hp : Fact (Nat.Prime p)] (n n_1 : ℕ),
  n = n_1 → WittVector.polyOfInterest p n = WittVector.polyOfInterest p_1 n_1

theorem WittVector.wittPolyProdRemainder.congr_simp E1 #

∀ (p p_1 : ℕ) (e_p : p = p_1) [hp : Fact (Nat.Prime p)] (n n_1 : ℕ),
  n = n_1 → WittVector.wittPolyProdRemainder p n = WittVector.wittPolyProdRemainder p_1 n_1

def WittVector.wittPolyProd E1 #

ℕ → ℕ → MvPolynomial (Fin 2 × ℕ) ℤ
(∑ i ∈ range n, (y.coeff i)^(p^(n-i)) * p^i.val) *
(∑ i ∈ range n, (y.coeff i)^(p^(n-i)) * p^i.val)

theorem WittVector.wittPolyProd_vars E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ), (WittVector.wittPolyProd p n).vars ⊆ Finset.univ ×ˢ Finset.range (n + 1)

def WittVector.wittPolyProdRemainder E1 #

(p : ℕ) → [hp : Fact (Nat.Prime p)] → ℕ → MvPolynomial (Fin 2 × ℕ) ℤ

The "remainder term" of WittVector.wittPolyProd. See mul_polyOfInterest_aux2.

theorem WittVector.wittPolyProdRemainder_vars E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ), (WittVector.wittPolyProdRemainder p n).vars ⊆ Finset.univ ×ˢ Finset.range n

def WittVector.remainder E1 #

ℕ → ℕ → MvPolynomial (Fin 2 × ℕ) ℤ

remainder p n represents the remainder term from mul_polyOfInterest_aux3. wittPolyProd p (n+1) will have variables up to n+1, but remainder will only have variables up to n.

theorem WittVector.remainder_vars E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ), (WittVector.remainder p n).vars ⊆ Finset.univ ×ˢ Finset.range (n + 1)

def WittVector.polyOfInterest E1 #

(p : ℕ) → [hp : Fact (Nat.Prime p)] → ℕ → MvPolynomial (Fin 2 × ℕ) ℤ

This is the polynomial whose degree we want to get a handle on.

theorem WittVector.mul_polyOfInterest_aux1 E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ),
  ∑ i ∈ Finset.range (n + 1), ↑p ^ i * WittVector.wittMul p i ^ p ^ (n - i) = WittVector.wittPolyProd p n

theorem WittVector.mul_polyOfInterest_aux2 E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ),
  ↑p ^ n * WittVector.wittMul p n + WittVector.wittPolyProdRemainder p n = WittVector.wittPolyProd p n

theorem WittVector.mul_polyOfInterest_aux3 E1 #

∀ (p n : ℕ),
  WittVector.wittPolyProd p (n + 1) =
    -(↑p ^ (n + 1) * MvPolynomial.X (0, n + 1)) * (↑p ^ (n + 1) * MvPolynomial.X (1, n + 1)) +
          ↑p ^ (n + 1) * MvPolynomial.X (0, n + 1) * (MvPolynomial.rename (Prod.mk 1)) (wittPolynomial p ℤ (n + 1)) +
        ↑p ^ (n + 1) * MvPolynomial.X (1, n + 1) * (MvPolynomial.rename (Prod.mk 0)) (wittPolynomial p ℤ (n + 1)) +
      WittVector.remainder p n

theorem WittVector.mul_polyOfInterest_aux4 E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ),
  ↑p ^ (n + 1) * WittVector.wittMul p (n + 1) =
    -(↑p ^ (n + 1) * MvPolynomial.X (0, n + 1)) * (↑p ^ (n + 1) * MvPolynomial.X (1, n + 1)) +
          ↑p ^ (n + 1) * MvPolynomial.X (0, n + 1) * (MvPolynomial.rename (Prod.mk 1)) (wittPolynomial p ℤ (n + 1)) +
        ↑p ^ (n + 1) * MvPolynomial.X (1, n + 1) * (MvPolynomial.rename (Prod.mk 0)) (wittPolynomial p ℤ (n + 1)) +
      (WittVector.remainder p n - WittVector.wittPolyProdRemainder p (n + 1))

theorem WittVector.mul_polyOfInterest_aux5 E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ),
  ↑p ^ (n + 1) * WittVector.polyOfInterest p n = WittVector.remainder p n - WittVector.wittPolyProdRemainder p (n + 1)

theorem WittVector.mul_polyOfInterest_vars E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ),
  (↑p ^ (n + 1) * WittVector.polyOfInterest p n).vars ⊆ Finset.univ ×ˢ Finset.range (n + 1)

theorem WittVector.polyOfInterest_vars_eq E0 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ),
  (WittVector.polyOfInterest p n).vars =
    (↑p ^ (n + 1) *
        (WittVector.wittMul p (n + 1) + ↑p ^ (n + 1) * MvPolynomial.X (0, n + 1) * MvPolynomial.X (1, n + 1) -
            MvPolynomial.X (0, n + 1) * (MvPolynomial.rename (Prod.mk 1)) (wittPolynomial p ℤ (n + 1)) -
          MvPolynomial.X (1, n + 1) * (MvPolynomial.rename (Prod.mk 0)) (wittPolynomial p ℤ (n + 1)))).vars

theorem WittVector.polyOfInterest_vars E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ), (WittVector.polyOfInterest p n).vars ⊆ Finset.univ ×ˢ Finset.range (n + 1)

theorem WittVector.peval_polyOfInterest E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] {k : Type u_1} [inst : CommRing k] (n : ℕ) (x y : WittVector p k),
  WittVector.peval (WittVector.polyOfInterest p n) ![fun i ↦ x.coeff i, fun i ↦ y.coeff i] =
    (x * y).coeff (n + 1) + ↑p ^ (n + 1) * x.coeff (n + 1) * y.coeff (n + 1) -
        y.coeff (n + 1) * ∑ i ∈ Finset.range (n + 1 + 1), ↑p ^ i * x.coeff i ^ p ^ (n + 1 - i) -
      x.coeff (n + 1) * ∑ i ∈ Finset.range (n + 1 + 1), ↑p ^ i * y.coeff i ^ p ^ (n + 1 - i)

theorem WittVector.peval_polyOfInterest' E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] {k : Type u_1} [inst : CommRing k] [CharP k p] (n : ℕ) (x y : WittVector p k),
  WittVector.peval (WittVector.polyOfInterest p n) ![fun i ↦ x.coeff i, fun i ↦ y.coeff i] =
    (x * y).coeff (n + 1) - y.coeff (n + 1) * x.coeff 0 ^ p ^ (n + 1) - x.coeff (n + 1) * y.coeff 0 ^ p ^ (n + 1)

The characteristic p version of peval_polyOfInterest

theorem WittVector.nth_mul_coeff' E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (k : Type u_1) [inst : CommRing k] [CharP k p] (n : ℕ),
  ∃ f,
    ∀ (x y : WittVector p k),
      f (WittVector.truncateFun (n + 1) x) (WittVector.truncateFun (n + 1) y) =
        (x * y).coeff (n + 1) - y.coeff (n + 1) * x.coeff 0 ^ p ^ (n + 1) - x.coeff (n + 1) * y.coeff 0 ^ p ^ (n + 1)

theorem WittVector.nth_mul_coeff E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (k : Type u_1) [inst : CommRing k] [CharP k p] (n : ℕ),
  ∃ f,
    ∀ (x y : WittVector p k),
      (x * y).coeff (n + 1) =
        x.coeff (n + 1) * y.coeff 0 ^ p ^ (n + 1) + y.coeff (n + 1) * x.coeff 0 ^ p ^ (n + 1) +
          f (WittVector.truncateFun (n + 1) x) (WittVector.truncateFun (n + 1) y)

def WittVector.nthRemainder E1 #

(p : ℕ) →
  [hp : Fact (Nat.Prime p)] →
    {k : Type u_1} → [inst : CommRing k] → [CharP k p] → (n : ℕ) → (Fin (n + 1) → k) → (Fin (n + 1) → k) → k

Produces the "remainder function" of the n+1st coefficient, which does not depend on the n+1st coefficients of the inputs.

theorem WittVector.nthRemainder_spec E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] {k : Type u_1} [inst : CommRing k] [inst_1 : CharP k p] (n : ℕ)
  (x y : WittVector p k),
  (x * y).coeff (n + 1) =
    x.coeff (n + 1) * y.coeff 0 ^ p ^ (n + 1) + y.coeff (n + 1) * x.coeff 0 ^ p ^ (n + 1) +
      WittVector.nthRemainder p n (WittVector.truncateFun (n + 1) x) (WittVector.truncateFun (n + 1) y)