Theorems · Theorem · general algebraic systems
Finsupp.sum_option_index
∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} [inst : AddZeroClass M] [inst_1 : AddCommMonoid N] (f : Option α →₀ M)
(b : Option α → M → N),
(∀ (o : Option α), b o 0 = 0) →
(∀ (o : Option α) (m₁ m₂ : M), b o (m₁ + m₂) = b o m₁ + b o m₂) →
f.sum b = b none (f none) + f.some.sum fun a => b (some a)- Defined in
- Mathlib.Data.Finsupp.Option
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 73 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- AddZeroClassAddCommMonoid
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites20
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- DFunLike.coestatement and proof · cited by 62,936
- AddCommMonoidstatement and proof · cited by 12,281
- Finsuppstatement and proof · cited by 5,255
- add_zeroproof · cited by 2,707
- zero_addproof · cited by 2,366
- AddZeroClassstatement and proof · cited by 1,237
- Finsupp.sumstatement and proof · cited by 481
- Finsupp.single_eq_sameproof · cited by 171
- Finsupp.sum_single_indexproof · cited by 130
- Finsupp.mem_support_iffproof · cited by 89
- Finsupp.single_eq_of_neproof · cited by 61
- add_add_add_commproof · cited by 56
Cited by1
Results whose statement or proof uses this declaration.
- Finsupp.sum_option_index_smulproof · cited by 1