Interactions between ∑, ∏ and (Add)Con #
theorem Con.multiset_prod {ι : Type u_1} {M : Type u_2} [CommMonoid M] (c : Con M) {s : Multiset ι} {f g : ι → M} (h : ∀ x ∈ s, c (f x) (g x)) :
c (Multiset.map f s).prod (Multiset.map g s).prod
Multiplicative congruence relations preserve product indexed by a multiset.
theorem AddCon.multiset_sum {ι : Type u_1} {M : Type u_2} [AddCommMonoid M] (c : AddCon M) {s : Multiset ι} {f g : ι → M} (h : ∀ x ∈ s, c (f x) (g x)) :
c (Multiset.map f s).sum (Multiset.map g s).sum
Additive congruence relations preserve sum indexed by a multiset.
@[simp]
theorem Con.coe_multisetProd {ι : Type u_1} {M : Type u_2} [CommMonoid M] (c : Con M) (s : Multiset ι) (f : ι → M) :
@[simp]
theorem AddCon.coe_multisetSum {ι : Type u_1} {M : Type u_2} [AddCommMonoid M] (c : AddCon M) (s : Multiset ι) (f : ι → M) :
theorem Con.finsetProd {ι : Type u_1} {M : Type u_2} [CommMonoid M] (c : Con M) (s : Finset ι) {f g : ι → M} (h : ∀ i ∈ s, c (f i) (g i)) :
Multiplicative congruence relations preserve finite product.
theorem AddCon.finsetSum {ι : Type u_1} {M : Type u_2} [AddCommMonoid M] (c : AddCon M) (s : Finset ι) {f g : ι → M} (h : ∀ i ∈ s, c (f i) (g i)) :
Additive congruence relations preserve finite sum.
@[simp]
theorem Con.coe_finsetProd {ι : Type u_1} {M : Type u_2} [CommMonoid M] (c : Con M) (s : Finset ι) (f : ι → M) :
@[simp]
theorem AddCon.coe_finsetSum {ι : Type u_1} {M : Type u_2} [AddCommMonoid M] (c : AddCon M) (s : Finset ι) (f : ι → M) :
theorem Con.dfinsuppProd {ι : Type u_1} {β : ι → Type u_2} {M : Type u_3} [DecidableEq ι] [CommMonoid M] [(i : ι) → Zero (β i)] [(i : ι) → (y : β i) → Decidable (y ≠ 0)] (c : Con M) (h h' : (i : ι) → β i → M) {f g : Π₀ (i : ι), β i} (hf : ∀ (i : ι), c (h i 0) 1) (hf' : ∀ (i : ι), c (h' i 0) 1) (H : ∀ (i : ι), c (h i (f i)) (h' i (g i))) :
theorem AddCon.dfinsuppSum {ι : Type u_1} {β : ι → Type u_2} {M : Type u_3} [DecidableEq ι] [AddCommMonoid M] [(i : ι) → Zero (β i)] [(i : ι) → (y : β i) → Decidable (y ≠ 0)] (c : AddCon M) (h h' : (i : ι) → β i → M) {f g : Π₀ (i : ι), β i} (hf : ∀ (i : ι), c (h i 0) 0) (hf' : ∀ (i : ι), c (h' i 0) 0) (H : ∀ (i : ι), c (h i (f i)) (h' i (g i))) :
@[simp]
theorem Con.coe_dfinsuppProd {ι : Type u_1} {β : ι → Type u_2} {M : Type u_3} [DecidableEq ι] [CommMonoid M] [(i : ι) → Zero (β i)] [(i : ι) → (y : β i) → Decidable (y ≠ 0)] (c : Con M) (h : (i : ι) → β i → M) (f : Π₀ (i : ι), β i) :
@[simp]
theorem AddCon.coe_dfinsuppSum {ι : Type u_1} {β : ι → Type u_2} {M : Type u_3} [DecidableEq ι] [AddCommMonoid M] [(i : ι) → Zero (β i)] [(i : ι) → (y : β i) → Decidable (y ≠ 0)] (c : AddCon M) (h : (i : ι) → β i → M) (f : Π₀ (i : ι), β i) :
theorem AddCon.dfinsuppSumAddHom {ι : Type u_1} {β : ι → Type u_2} {M : Type u_3} [DecidableEq ι] [AddCommMonoid M] [(i : ι) → AddCommMonoid (β i)] (c : AddCon M) (h h' : (i : ι) → β i →+ M) {f g : Π₀ (i : ι), β i} (H : ∀ (i : ι), c ((h i) (f i)) ((h' i) (g i))) :
c ((DFinsupp.sumAddHom h) f) ((DFinsupp.sumAddHom h') g)
@[simp]
theorem AddCon.coe_dfinsuppSumAddHom {ι : Type u_1} {β : ι → Type u_2} {M : Type u_3} [DecidableEq ι] [AddCommMonoid M] [(i : ι) → AddCommMonoid (β i)] (c : AddCon M) (h : (i : ι) → β i →+ M) (f : Π₀ (i : ι), β i) :