Documentation

Formalizations.FieldTheory.Finite.OddPowerVandermonde

Four finite-field facts: Fermat series, residue classes, monomial isolation, odd powers #

Auxiliary facts over ZMod p, p prime.

Main results #

The Fermat series #

theorem ConjeturaC.fermat_series {p : ℕ} [hp : Fact (Nat.Prime p)] (k : ℤ) :
↑k ^ (p - 1) = if ↑p ∣ k then 0 else 1

Residue classes in [−m, m] #

def ConjeturaC.Xc (m n : ℕ) (c : ℤ) :

X_c = {x ∈ [-m, m] : x ≡ c [ZMOD n]}.

Equations
Instances For
    theorem ConjeturaC.crt_Xc {p : ℕ} [hp : Fact (Nat.Prime p)] (n m : ℕ) (hn : 1 ≤ n) (hcop : p.Coprime n) (hm : 2 * m + 1 = p * n) (c : ℤ) (hc : ¬↑n ∣ c) :
    (Xc m n c).card = p ∧ 0 ∉ Xc m n c ∧ Set.InjOn (fun (x : ℤ) => ↑x) ↑(Xc m n c) ∧ ∀ (r : ZMod p), ∃ x ∈ Xc m n c, ↑x = r

    Isolating a monomial #

    theorem ConjeturaC.isolate_monomial_fin {K : Type u_1} [Field K] {n : ℕ} (v : Fin n → K) (hv : Function.Injective v) (j : Fin n) :
    ∃ (μ : Fin n → K), ∀ (i : Fin n), ∑ k : Fin n, μ k * v k ^ ↑i = if i = j then 1 else 0

    Vandermonde core: n distinct points of a field, weights isolating the monomial X^j.

    theorem ConjeturaC.isolate_monomial {p : ℕ} [hp : Fact (Nat.Prime p)] (S : Finset (ZMod p)) (hS : S.card = p) (j : ℕ) (hj : j < p) :
    ∃ (lam : ZMod p → ZMod p), ∀ i < p, ∑ x ∈ S, lam x * x ^ i = if i = j then 1 else 0

    Isolating a monomial, as used: S ⊆ ZMod p with p points (i.e. the reductions of X_c).

    Odd powers #

    def ConjeturaC.oddCharMat (p : ℕ) :
    Matrix (Fin ((p - 1) / 2)) (Fin ((p - 1) / 2)) (ZMod p)

    Rows l = a+1 ∈ {1..(p-1)/2}, columns e = 2b+1 ∈ {1,3,..,p-2}, entry l^e.

    Equations
    Instances For