Theorems · Definition · general algebraic systems
Finsupp.update
{α : Type u_1} → {M : Type u_5} → [inst : Zero M] → (α →₀ M) → α → M → α →₀ MReplace the value of a α →₀ M at a given point a : α by a given value b : M.
If b = 0, this amounts to removing a from the Finsupp.support.
Otherwise, if a was not in the Finsupp.support, it is added to it.
This is the finitely-supported version of Function.update.
- Defined in
- Mathlib.Data.Finsupp.Single
- Cited by
- 52 results in Mathlib
- Foundations
- Depth 62 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- Zero
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites5
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- DFunLike.coeproof · cited by 62,936
- Finsuppstatement and proof · cited by 5,255
- Finsupp.supportproof · cited by 828
- Function.updateproof · cited by 502
- Finset.eraseproof · cited by 455
Cited by57
Results whose statement or proof uses this declaration.
- Polynomial.homogenizeproof · cited by 30
- Finsupp.coe_updatestatement · cited by 19
- SkewMonoidAlgebra.updateproof · cited by 12
- SkewMonoidAlgebra.coeff_updatestatement · cited by 6
- Finsupp.update_selfstatement · cited by 6
- Finsupp.update_eq_erase_add_singlestatement · cited by 4
- Finsupp.update_eq_add_singlestatement · cited by 3
- Finsupp.support_update_zerostatement · cited by 3
- MvPowerSeries.coeff_prodproof · cited by 3
- Finsupp.optionEquivproof · cited by 3
- Polynomial.homogenize_monomialstatement and proof · cited by 3
- Finsupp.multinomial_updatestatement and proof · cited by 2