Skip to content

Commit 8a897a4

Browse files
committed
chore(CategoryTheory/Preadditive/Mat): remove an erw (#38520)
- rewrites `Finset.sum_sigma` via `← Finset.univ_sigma_univ`, so the biproduct proof uses a plain `rw` Extracted from #38415 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
1 parent 85003ec commit 8a897a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Mathlib/CategoryTheory/Preadditive

Mathlib/CategoryTheory/Preadditive/Mat.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ instance hasFiniteBiproducts : HasFiniteBiproducts (Mat_ C) where
195195
simp_rw [dite_comp, comp_dite]
196196
simp only [ite_self, dite_eq_ite, Limits.comp_zero, Limits.zero_comp,
197197
eqToHom_trans]
198-
erw [Finset.sum_sigma]
198+
rw [← Finset.univ_sigma_univ, Finset.sum_sigma]
199199
dsimp +instances
200200
simp only [if_true, Finset.sum_dite_irrel, Finset.mem_univ,
201201
Finset.sum_const_zero, Finset.sum_dite_eq']

0 commit comments

Comments
 (0)