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:
IsCancelAdd
semirings- just require coefficients are regular
- arbitrary sets of polynomials which are pairwise different degree.
A sequence of polynomials such that the polynomial at index i
has degree i
.
- elems' : ℕ → Polynomial R
The
i
'th element in the sequence. UseS i
instead, defined viaCoeFun
. The
i
'th element in the sequence has degreei
. UseS.degree_eq
instead.
Instances For
Make S i
mean S.elems' i
.
Equations
S i
has strictly monotone degree.
S i
has strictly monotone natural degree.
A polynomial sequence spans R[X]
if all of its elements' leading coefficients are units.
Polynomials in a polynomial sequence are linearly independent.
Every polynomial sequence is a basis of R[X]
.
Instances For
The i
'th basis vector is the i
'th polynomial in the sequence.
Basis elements have strictly monotone degree.
Basis elements have strictly monotone natural degree.