The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.Algebra.Polynomial.Sequence
22 declarations. Mathlib docs · Source
Polynomial sequences
We define polynomial sequences – sequences of polynomials a₀, a₁, ... such that the polynomial
aᵢ has degree i.
Main definitions
Polynomial.Sequence R: the type of polynomial sequences with coefficients inR
Main statements
Polynomial.Sequence.basis: a sequence is a basis forR[X]
TODO
Generalize linear independence to:
IsCancelAddsemirings- just require coefficients are regular
- arbitrary sets of polynomials which are pairwise different degree.
def Polynomial.Sequence.ctorIdx E1 #
{R : Type u_1} → {inst : Semiring R} → Polynomial.Sequence R → ℕ
theorem Polynomial.Sequence.mk.injEq E0 #
∀ {R : Type u_1} [inst : Semiring R] (elems' : ℕ → Polynomial R) (degree_eq' : ∀ (i : ℕ), (elems' i).degree = ↑i)
(elems'_1 : ℕ → Polynomial R) (degree_eq'_1 : ∀ (i : ℕ), (elems'_1 i).degree = ↑i),
({ elems' := elems', degree_eq' := degree_eq' } = { elems' := elems'_1, degree_eq' := degree_eq'_1 }) =
(elems' = elems'_1)
theorem Polynomial.Sequence.mk.inj E1 #
∀ {R : Type u_1} {inst : Semiring R} {elems' : ℕ → Polynomial R} {degree_eq' : ∀ (i : ℕ), (elems' i).degree = ↑i}
{elems'_1 : ℕ → Polynomial R} {degree_eq'_1 : ∀ (i : ℕ), (elems'_1 i).degree = ↑i},
{ elems' := elems', degree_eq' := degree_eq' } = { elems' := elems'_1, degree_eq' := degree_eq'_1 } →
elems' = elems'_1
theorem Polynomial.Sequence.basis.congr_simp E1 #
∀ {R : Type u_1} [inst : Ring R] (S S_1 : Polynomial.Sequence R) (e_S : S = S_1) [inst_1 : IsDomain R]
(hCoeff : ∀ (i : ℕ), IsUnit (↑S i).leadingCoeff), S.basis hCoeff = S_1.basis ⋯
structure Polynomial.Sequence E1 #
(R : Type u_1) → [Semiring R] → Type u_1
A sequence of polynomials such that the polynomial at index i has degree i.
ctor Polynomial.Sequence.mk E0 #
{R : Type u_1} →
[inst : Semiring R] → (elems' : ℕ → Polynomial R) → (∀ (i : ℕ), (elems' i).degree = ↑i) → Polynomial.Sequence R
abbrev Polynomial.Sequence.elems' E1 #
{R : Type u_1} → [inst : Semiring R] → Polynomial.Sequence R → ℕ → Polynomial R
The i-th element in the sequence. Use S i instead, defined via CoeFun.
theorem Polynomial.Sequence.degree_eq' E1 #
∀ {R : Type u_1} [inst : Semiring R] (self : Polynomial.Sequence R) (i : ℕ), (↑self i).degree = ↑i
The i-th element in the sequence has degree i. Use S.degree_eq instead.
instance Polynomial.Sequence.coeFun E0 #
{R : Type u_1} → [inst : Semiring R] → CoeFun (Polynomial.Sequence R) fun x ↦ ℕ → Polynomial R
Make S i mean S.elems' i.
theorem Polynomial.Sequence.degree_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] (S : Polynomial.Sequence R) (i : ℕ), (↑S i).degree = ↑i
S i has degree i.
theorem Polynomial.Sequence.natDegree_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] (S : Polynomial.Sequence R) (i : ℕ), (↑S i).natDegree = i
S i has natDegree i.
theorem Polynomial.Sequence.ne_zero E0 #
∀ {R : Type u_1} [inst : Semiring R] (S : Polynomial.Sequence R) (i : ℕ), ↑S i ≠ 0
No polynomial in the sequence is zero.
theorem Polynomial.Sequence.degree_strictMono E1 #
∀ {R : Type u_1} [inst : Semiring R] (S : Polynomial.Sequence R), StrictMono (Polynomial.degree ∘ ↑S)
S i has strictly monotone degree.
theorem Polynomial.Sequence.natDegree_strictMono E1 #
∀ {R : Type u_1} [inst : Semiring R] (S : Polynomial.Sequence R), StrictMono (Polynomial.natDegree ∘ ↑S)
S i has strictly monotone natural degree.
theorem Polynomial.Sequence.span_degreeLT E1 #
∀ {R : Type u_1} [inst : Ring R] (S : Polynomial.Sequence R) {m : ℕ},
(∀ i < m, IsUnit (↑S i).leadingCoeff) → Submodule.span R (↑S '' Set.Iio m) = Polynomial.degreeLT R m
The first m polynomials of a polynomial sequence span all polynomials of degree < m if their
leading coefficients are units.
theorem Polynomial.Sequence.span_degreeLE E1 #
∀ {R : Type u_1} [inst : Ring R] (S : Polynomial.Sequence R) {m : ℕ},
(∀ i ≤ m, IsUnit (↑S i).leadingCoeff) → Submodule.span R (↑S '' Set.Iic m) = Polynomial.degreeLE R ↑m
The first m + 1 polynomials of a polynomial sequence span all polynomials of degree ≤ m if
their leading coefficients are units.
theorem Polynomial.Sequence.span E1 #
∀ {R : Type u_1} [inst : Ring R] (S : Polynomial.Sequence R),
(∀ (i : ℕ), IsUnit (↑S i).leadingCoeff) → Submodule.span R (Set.range ↑S) = ⊤
A polynomial sequence spans R[X] if all of its elements' leading coefficients are units.
theorem Polynomial.Sequence.linearIndependent E1 #
∀ {R : Type u_1} [inst : Ring R] (S : Polynomial.Sequence R) [IsDomain R], LinearIndependent R ↑S
Polynomials in a polynomial sequence are linearly independent.
def Polynomial.Sequence.basis E3 #
{R : Type u_1} →
[inst : Ring R] →
(S : Polynomial.Sequence R) →
[IsDomain R] → (∀ (i : ℕ), IsUnit (↑S i).leadingCoeff) → Module.Basis ℕ R (Polynomial R)
Every polynomial sequence is a basis of R[X].
theorem Polynomial.Sequence.basis_eq_self E0 #
∀ {R : Type u_1} [inst : Ring R] (S : Polynomial.Sequence R) [inst_1 : IsDomain R]
(hCoeff : ∀ (i : ℕ), IsUnit (↑S i).leadingCoeff) (i : ℕ), (S.basis hCoeff) i = ↑S i
The i-th basis vector is the i-th polynomial in the sequence.
theorem Polynomial.Sequence.basis_degree_strictMono E1 #
∀ {R : Type u_1} [inst : Ring R] (S : Polynomial.Sequence R) [inst_1 : IsDomain R]
(hCoeff : ∀ (i : ℕ), IsUnit (↑S i).leadingCoeff), StrictMono (Polynomial.degree ∘ ⇑(S.basis hCoeff))
Basis elements have strictly monotone degree.
theorem Polynomial.Sequence.basis_natDegree_strictMono E1 #
∀ {R : Type u_1} [inst : Ring R] (S : Polynomial.Sequence R) [inst_1 : IsDomain R]
(hCoeff : ∀ (i : ℕ), IsUnit (↑S i).leadingCoeff), StrictMono (Polynomial.natDegree ∘ ⇑(S.basis hCoeff))
Basis elements have strictly monotone natural degree.