Theorems · Definition · field theory
Polynomial.update
{R : Type u} → [inst : Semiring R] → Polynomial R → ℕ → R → Polynomial RReplace the coefficient of a p : R[X] at a given degree n : ℕ
by a given value a : R. If a = 0, this is equal to p.erase n
If p.natDegree < n and a ≠ 0, this increases the degree to n.
- Defined in
- Mathlib.Algebra.Polynomial.Basic
- Cited by
- 10 results in Mathlib
- Foundations
- Depth 64 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- Semiring
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites4
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Semiringstatement and proof · cited by 13,802
- Polynomialstatement and proof · cited by 5,681
- Polynomial.toFinsuppproof · cited by 64
- AddMonoidAlgebra.updateproof · cited by 2
Cited by10
Results whose statement or proof uses this declaration.
- Polynomial.coeff_update_applystatement · cited by 4
- Polynomial.support_updatestatement · cited by 2
- Polynomial.update_zero_eq_erasestatement · cited by 1
- Polynomial.coeff_updatestatement · cited by 1
- Polynomial.coeff_update_nestatement · cited by 0
- Polynomial.coeff_update_samestatement · cited by 0
- Polynomial.update_eq_add_sub_coeffstatement · cited by 0
- Polynomial.degree_update_lestatement and proof · cited by 0
- Polynomial.support_update_ne_zerostatement · cited by 0
- Polynomial.support_update_zerostatement · cited by 0