The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Adjoin.PowerBasis
11 declarations. Mathlib docs · Source
def Algebra.adjoin.powerBasisAux E0 #
{K : Type u_1} →
{S : Type u_2} →
[inst : Field K] →
[inst_1 : CommRing S] →
[inst_2 : Algebra K S] → {x : S} → IsIntegral K x → Module.Basis (Fin (minpoly K x).natDegree) K ↥K[x]
The elements 1, x, ..., x ^ (d - 1) for a basis for the K-module K[x],
where d is the degree of the minimal polynomial of x.
def Algebra.adjoin.powerBasis E1 #
{K : Type u_1} →
{S : Type u_2} →
[inst : Field K] → [inst_1 : CommRing S] → [inst_2 : Algebra K S] → {x : S} → IsIntegral K x → PowerBasis K ↥K[x]
The power basis 1, x, ..., x ^ (d - 1) for K[x],
where d is the degree of the minimal polynomial of x. See Algebra.adjoin.powerBasis' for
a version over a more general base ring.
theorem Algebra.adjoin.powerBasis_dim E0 #
∀ {K : Type u_1} {S : Type u_2} [inst : Field K] [inst_1 : CommRing S] [inst_2 : Algebra K S] {x : S}
(hx : IsIntegral K x), (Algebra.adjoin.powerBasis hx).dim = (minpoly K x).natDegree
theorem Algebra.adjoin.powerBasis_gen E0 #
∀ {K : Type u_1} {S : Type u_2} [inst : Field K] [inst_1 : CommRing S] [inst_2 : Algebra K S] {x : S}
(hx : IsIntegral K x), (Algebra.adjoin.powerBasis hx).gen = ⟨x, ⋯⟩
def PowerBasis.ofAdjoinEqTop E1 #
{K : Type u_1} →
{S : Type u_2} →
[inst : Field K] →
[inst_1 : CommRing S] → [inst_2 : Algebra K S] → {x : S} → IsIntegral K x → K[x] = ⊤ → PowerBasis K S
If x generates S over K and is integral over K, then it defines a power basis.
See PowerBasis.ofAdjoinEqTop' for a version over a more general base ring.
theorem PowerBasis.ofAdjoinEqTop_gen E0 #
∀ {K : Type u_1} {S : Type u_2} [inst : Field K] [inst_1 : CommRing S] [inst_2 : Algebra K S] {x : S}
(hx : IsIntegral K x) (hx' : K[x] = ⊤), (PowerBasis.ofAdjoinEqTop hx hx').gen = x
theorem PowerBasis.ofAdjoinEqTop_dim E0 #
∀ {K : Type u_1} {S : Type u_2} [inst : Field K] [inst_1 : CommRing S] [inst_2 : Algebra K S] {x : S}
(hx : IsIntegral K x) (hx' : K[x] = ⊤), (PowerBasis.ofAdjoinEqTop hx hx').dim = (minpoly K x).natDegree
theorem PowerBasis.repr_gen_pow_isIntegral E1 #
∀ {S : Type u_2} [inst : CommRing S] {R : Type u_3} [inst_1 : CommRing R] [inst_2 : Algebra R S] {A : Type u_4}
[inst_3 : CommRing A] [inst_4 : Algebra R A] [inst_5 : Algebra S A] [IsScalarTower R S A] {B : PowerBasis S A},
IsIntegral R B.gen →
minpoly S B.gen = Polynomial.map (algebraMap R S) (minpoly R B.gen) →
∀ (n : ℕ) (i : Fin B.dim), IsIntegral R ((B.basis.repr (B.gen ^ n)) i)
If B : PowerBasis S A is such that IsIntegral R B.gen, then
IsIntegral R (B.basis.repr (B.gen ^ n) i) for all i if
minpoly S B.gen = (minpoly R B.gen).map (algebraMap R S). This is the case if R is a GCD domain
and S is its fraction ring.
theorem PowerBasis.repr_mul_isIntegral E1 #
∀ {S : Type u_2} [inst : CommRing S] {R : Type u_3} [inst_1 : CommRing R] [inst_2 : Algebra R S] {A : Type u_4}
[inst_3 : CommRing A] [inst_4 : Algebra R A] [inst_5 : Algebra S A] [IsScalarTower R S A] {B : PowerBasis S A},
IsIntegral R B.gen →
∀ {x y : A},
(∀ (i : Fin B.dim), IsIntegral R ((B.basis.repr x) i)) →
(∀ (i : Fin B.dim), IsIntegral R ((B.basis.repr y) i)) →
minpoly S B.gen = Polynomial.map (algebraMap R S) (minpoly R B.gen) →
∀ (i : Fin B.dim), IsIntegral R ((B.basis.repr (x * y)) i)
Let B : PowerBasis S A be such that IsIntegral R B.gen, and let x y : A be elements with
integral coordinates in the base B.basis. Then IsIntegral R ((B.basis.repr (x * y) i) for all
i if minpoly S B.gen = (minpoly R B.gen).map (algebraMap R S). This is the case if R is a GCD
domain and S is its fraction ring.
theorem PowerBasis.repr_pow_isIntegral E1 #
∀ {S : Type u_2} [inst : CommRing S] {R : Type u_3} [inst_1 : CommRing R] [inst_2 : Algebra R S] {A : Type u_4}
[inst_3 : CommRing A] [inst_4 : Algebra R A] [inst_5 : Algebra S A] [IsScalarTower R S A] {B : PowerBasis S A},
IsIntegral R B.gen →
∀ {x : A},
(∀ (i : Fin B.dim), IsIntegral R ((B.basis.repr x) i)) →
minpoly S B.gen = Polynomial.map (algebraMap R S) (minpoly R B.gen) →
∀ (n : ℕ) (i : Fin B.dim), IsIntegral R ((B.basis.repr (x ^ n)) i)
Let B : PowerBasis S A be such that IsIntegral R B.gen, and let x : A be an element
with integral coordinates in the base B.basis. Then IsIntegral R ((B.basis.repr (x ^ n) i) for
all i and all n if minpoly S B.gen = (minpoly R B.gen).map (algebraMap R S). This is the case
if R is a GCD domain and S is its fraction ring.
theorem PowerBasis.toMatrix_isIntegral E1 #
∀ {K : Type u_1} {S : Type u_2} [inst : Field K] [inst_1 : CommRing S] [inst_2 : Algebra K S] {R : Type u_3}
[inst_3 : CommRing R] [inst_4 : Algebra R S] [inst_5 : Algebra R K] [IsScalarTower R K S] {B B' : PowerBasis K S}
{P : Polynomial R},
(Polynomial.aeval B.gen) P = B'.gen →
IsIntegral R B.gen →
minpoly K B.gen = Polynomial.map (algebraMap R K) (minpoly R B.gen) →
∀ (i : Fin B.dim) (j : Fin B'.dim), IsIntegral R (B.basis.toMatrix (⇑B'.basis) i j)
Let B B' : PowerBasis K S be such that IsIntegral R B.gen, and let P : R[X] be such that
aeval B.gen P = B'.gen. Then IsIntegral R (B.basis.to_matrix B'.basis i j) for all i and j
if minpoly K B.gen = (minpoly R B.gen).map (algebraMap R L). This is the case
if R is a GCD domain and K is its fraction ring.