category_theory.preadditive.eilenberg_moore
⟷
Mathlib.CategoryTheory.Preadditive.EilenbergMoore
The following section lists changes to this file in mathlib3 and mathlib4 that occured after the initial port. Most recent changes are shown first. Hovering over a commit will show all commits associated with the same mathlib3 commit.
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(last sync)
mathlib commit https://github.com/leanprover-community/mathlib/commit/65a1391a0106c9204fe45bc73a039f056558cb83
@@ -59,10 +59,10 @@ instance Monad.algebraPreadditive : Preadditive (Monad.Algebra T)
zero_add := by intros; ext; apply zero_add
add_zero := by intros; ext; apply add_zero
nsmul_zero := by intros; ext; apply zero_smul
- nsmul_succ := by intros; ext; apply succ_nsmul
+ nsmul_succ := by intros; ext; apply succ_nsmul'
sub_eq_add_neg := by intros; ext; apply sub_eq_add_neg
zsmul_zero' := by intros; ext; apply zero_smul
- zsmul_succ' := by intros; ext; dsimp; simp only [coe_nat_zsmul, succ_nsmul]; rfl
+ zsmul_succ' := by intros; ext; dsimp; simp only [natCast_zsmul, succ_nsmul']; rfl
zsmul_neg' := by intros; ext; simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
add_left_neg := by intros; ext; apply add_left_neg
add_comm := by intros; ext; apply add_comm }
@@ -106,10 +106,10 @@ instance Comonad.coalgebraPreadditive : Preadditive (Comonad.Coalgebra U)
zero_add := by intros; ext; apply zero_add
add_zero := by intros; ext; apply add_zero
nsmul_zero := by intros; ext; apply zero_smul
- nsmul_succ := by intros; ext; apply succ_nsmul
+ nsmul_succ := by intros; ext; apply succ_nsmul'
sub_eq_add_neg := by intros; ext; apply sub_eq_add_neg
zsmul_zero' := by intros; ext; apply zero_smul
- zsmul_succ' := by intros; ext; dsimp; simp only [coe_nat_zsmul, succ_nsmul]; rfl
+ zsmul_succ' := by intros; ext; dsimp; simp only [natCast_zsmul, succ_nsmul']; rfl
zsmul_neg' := by intros; ext; simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
add_left_neg := by intros; ext; apply add_left_neg
add_comm := by intros; ext; apply add_comm }
mathlib commit https://github.com/leanprover-community/mathlib/commit/ce64cd319bb6b3e82f31c2d38e79080d377be451
@@ -3,9 +3,9 @@ Copyright (c) 2022 Julian Kuelshammer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Julian Kuelshammer
-/
-import Mathbin.CategoryTheory.Preadditive.Basic
-import Mathbin.CategoryTheory.Monad.Algebra
-import Mathbin.CategoryTheory.Preadditive.AdditiveFunctor
+import CategoryTheory.Preadditive.Basic
+import CategoryTheory.Monad.Algebra
+import CategoryTheory.Preadditive.AdditiveFunctor
#align_import category_theory.preadditive.eilenberg_moore from "leanprover-community/mathlib"@"86d1873c01a723aba6788f0b9051ae3d23b4c1c3"
mathlib commit https://github.com/leanprover-community/mathlib/commit/8ea5598db6caeddde6cb734aa179cc2408dbd345
@@ -2,16 +2,13 @@
Copyright (c) 2022 Julian Kuelshammer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Julian Kuelshammer
-
-! This file was ported from Lean 3 source module category_theory.preadditive.eilenberg_moore
-! leanprover-community/mathlib commit 86d1873c01a723aba6788f0b9051ae3d23b4c1c3
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
-/
import Mathbin.CategoryTheory.Preadditive.Basic
import Mathbin.CategoryTheory.Monad.Algebra
import Mathbin.CategoryTheory.Preadditive.AdditiveFunctor
+#align_import category_theory.preadditive.eilenberg_moore from "leanprover-community/mathlib"@"86d1873c01a723aba6788f0b9051ae3d23b4c1c3"
+
/-!
# Preadditive structure on algebras over a monad
mathlib commit https://github.com/leanprover-community/mathlib/commit/cca40788df1b8755d5baf17ab2f27dacc2e17acb
@@ -58,19 +58,19 @@ instance Monad.algebraPreadditive : Preadditive (Monad.Algebra T)
zsmul := fun r α =>
{ f := r • α.f
h' := by rw [functor.map_zsmul, zsmul_comp, monad.algebra.hom.h, comp_zsmul] }
- add_assoc := by intros ; ext; apply add_assoc
- zero_add := by intros ; ext; apply zero_add
- add_zero := by intros ; ext; apply add_zero
- nsmul_zero := by intros ; ext; apply zero_smul
- nsmul_succ := by intros ; ext; apply succ_nsmul
- sub_eq_add_neg := by intros ; ext; apply sub_eq_add_neg
- zsmul_zero' := by intros ; ext; apply zero_smul
- zsmul_succ' := by intros ; ext; dsimp; simp only [coe_nat_zsmul, succ_nsmul]; rfl
- zsmul_neg' := by intros ; ext; simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
- add_left_neg := by intros ; ext; apply add_left_neg
- add_comm := by intros ; ext; apply add_comm }
- add_comp := by intros ; ext; apply add_comp
- comp_add := by intros ; ext; apply comp_add
+ add_assoc := by intros; ext; apply add_assoc
+ zero_add := by intros; ext; apply zero_add
+ add_zero := by intros; ext; apply add_zero
+ nsmul_zero := by intros; ext; apply zero_smul
+ nsmul_succ := by intros; ext; apply succ_nsmul
+ sub_eq_add_neg := by intros; ext; apply sub_eq_add_neg
+ zsmul_zero' := by intros; ext; apply zero_smul
+ zsmul_succ' := by intros; ext; dsimp; simp only [coe_nat_zsmul, succ_nsmul]; rfl
+ zsmul_neg' := by intros; ext; simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
+ add_left_neg := by intros; ext; apply add_left_neg
+ add_comm := by intros; ext; apply add_comm }
+ add_comp := by intros; ext; apply add_comp
+ comp_add := by intros; ext; apply comp_add
#align category_theory.monad.algebra_preadditive CategoryTheory.Monad.algebraPreadditive
-/
@@ -105,19 +105,19 @@ instance Comonad.coalgebraPreadditive : Preadditive (Comonad.Coalgebra U)
zsmul := fun r α =>
{ f := r • α.f
h' := by rw [functor.map_zsmul, comp_zsmul, comonad.coalgebra.hom.h, zsmul_comp] }
- add_assoc := by intros ; ext; apply add_assoc
- zero_add := by intros ; ext; apply zero_add
- add_zero := by intros ; ext; apply add_zero
- nsmul_zero := by intros ; ext; apply zero_smul
- nsmul_succ := by intros ; ext; apply succ_nsmul
- sub_eq_add_neg := by intros ; ext; apply sub_eq_add_neg
- zsmul_zero' := by intros ; ext; apply zero_smul
- zsmul_succ' := by intros ; ext; dsimp; simp only [coe_nat_zsmul, succ_nsmul]; rfl
- zsmul_neg' := by intros ; ext; simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
- add_left_neg := by intros ; ext; apply add_left_neg
- add_comm := by intros ; ext; apply add_comm }
- add_comp := by intros ; ext; apply add_comp
- comp_add := by intros ; ext; apply comp_add
+ add_assoc := by intros; ext; apply add_assoc
+ zero_add := by intros; ext; apply zero_add
+ add_zero := by intros; ext; apply add_zero
+ nsmul_zero := by intros; ext; apply zero_smul
+ nsmul_succ := by intros; ext; apply succ_nsmul
+ sub_eq_add_neg := by intros; ext; apply sub_eq_add_neg
+ zsmul_zero' := by intros; ext; apply zero_smul
+ zsmul_succ' := by intros; ext; dsimp; simp only [coe_nat_zsmul, succ_nsmul]; rfl
+ zsmul_neg' := by intros; ext; simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
+ add_left_neg := by intros; ext; apply add_left_neg
+ add_comm := by intros; ext; apply add_comm }
+ add_comp := by intros; ext; apply add_comp
+ comp_add := by intros; ext; apply comp_add
#align category_theory.comonad.coalgebra_preadditive CategoryTheory.Comonad.coalgebraPreadditive
-/
mathlib commit https://github.com/leanprover-community/mathlib/commit/917c3c072e487b3cccdbfeff17e75b40e45f66cb
@@ -58,60 +58,19 @@ instance Monad.algebraPreadditive : Preadditive (Monad.Algebra T)
zsmul := fun r α =>
{ f := r • α.f
h' := by rw [functor.map_zsmul, zsmul_comp, monad.algebra.hom.h, comp_zsmul] }
- add_assoc := by
- intros
- ext
- apply add_assoc
- zero_add := by
- intros
- ext
- apply zero_add
- add_zero := by
- intros
- ext
- apply add_zero
- nsmul_zero := by
- intros
- ext
- apply zero_smul
- nsmul_succ := by
- intros
- ext
- apply succ_nsmul
- sub_eq_add_neg := by
- intros
- ext
- apply sub_eq_add_neg
- zsmul_zero' := by
- intros
- ext
- apply zero_smul
- zsmul_succ' := by
- intros
- ext
- dsimp
- simp only [coe_nat_zsmul, succ_nsmul]
- rfl
- zsmul_neg' := by
- intros
- ext
- simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
- add_left_neg := by
- intros
- ext
- apply add_left_neg
- add_comm := by
- intros
- ext
- apply add_comm }
- add_comp := by
- intros
- ext
- apply add_comp
- comp_add := by
- intros
- ext
- apply comp_add
+ add_assoc := by intros ; ext; apply add_assoc
+ zero_add := by intros ; ext; apply zero_add
+ add_zero := by intros ; ext; apply add_zero
+ nsmul_zero := by intros ; ext; apply zero_smul
+ nsmul_succ := by intros ; ext; apply succ_nsmul
+ sub_eq_add_neg := by intros ; ext; apply sub_eq_add_neg
+ zsmul_zero' := by intros ; ext; apply zero_smul
+ zsmul_succ' := by intros ; ext; dsimp; simp only [coe_nat_zsmul, succ_nsmul]; rfl
+ zsmul_neg' := by intros ; ext; simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
+ add_left_neg := by intros ; ext; apply add_left_neg
+ add_comm := by intros ; ext; apply add_comm }
+ add_comp := by intros ; ext; apply add_comp
+ comp_add := by intros ; ext; apply comp_add
#align category_theory.monad.algebra_preadditive CategoryTheory.Monad.algebraPreadditive
-/
@@ -146,60 +105,19 @@ instance Comonad.coalgebraPreadditive : Preadditive (Comonad.Coalgebra U)
zsmul := fun r α =>
{ f := r • α.f
h' := by rw [functor.map_zsmul, comp_zsmul, comonad.coalgebra.hom.h, zsmul_comp] }
- add_assoc := by
- intros
- ext
- apply add_assoc
- zero_add := by
- intros
- ext
- apply zero_add
- add_zero := by
- intros
- ext
- apply add_zero
- nsmul_zero := by
- intros
- ext
- apply zero_smul
- nsmul_succ := by
- intros
- ext
- apply succ_nsmul
- sub_eq_add_neg := by
- intros
- ext
- apply sub_eq_add_neg
- zsmul_zero' := by
- intros
- ext
- apply zero_smul
- zsmul_succ' := by
- intros
- ext
- dsimp
- simp only [coe_nat_zsmul, succ_nsmul]
- rfl
- zsmul_neg' := by
- intros
- ext
- simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
- add_left_neg := by
- intros
- ext
- apply add_left_neg
- add_comm := by
- intros
- ext
- apply add_comm }
- add_comp := by
- intros
- ext
- apply add_comp
- comp_add := by
- intros
- ext
- apply comp_add
+ add_assoc := by intros ; ext; apply add_assoc
+ zero_add := by intros ; ext; apply zero_add
+ add_zero := by intros ; ext; apply add_zero
+ nsmul_zero := by intros ; ext; apply zero_smul
+ nsmul_succ := by intros ; ext; apply succ_nsmul
+ sub_eq_add_neg := by intros ; ext; apply sub_eq_add_neg
+ zsmul_zero' := by intros ; ext; apply zero_smul
+ zsmul_succ' := by intros ; ext; dsimp; simp only [coe_nat_zsmul, succ_nsmul]; rfl
+ zsmul_neg' := by intros ; ext; simp only [negSucc_zsmul, neg_inj, nsmul_eq_smul_cast ℤ]
+ add_left_neg := by intros ; ext; apply add_left_neg
+ add_comm := by intros ; ext; apply add_comm }
+ add_comp := by intros ; ext; apply add_comp
+ comp_add := by intros ; ext; apply comp_add
#align category_theory.comonad.coalgebra_preadditive CategoryTheory.Comonad.coalgebraPreadditive
-/
mathlib commit https://github.com/leanprover-community/mathlib/commit/52932b3a083d4142e78a15dc928084a22fea9ba0
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Julian Kuelshammer
! This file was ported from Lean 3 source module category_theory.preadditive.eilenberg_moore
-! leanprover-community/mathlib commit 829895f162a1f29d0133f4b3538f4cd1fb5bffd3
+! leanprover-community/mathlib commit 86d1873c01a723aba6788f0b9051ae3d23b4c1c3
! Please do not edit these lines, except to modify the commit id
! if you have ported upstream changes.
-/
@@ -15,6 +15,9 @@ import Mathbin.CategoryTheory.Preadditive.AdditiveFunctor
/-!
# Preadditive structure on algebras over a monad
+> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
+> Any changes to this file require a corresponding PR to mathlib4.
+
If `C` is a preadditive categories and `T` is an additive monad on `C` then `algebra T` is also
preadditive. Dually, if `U` is an additive comonad on `C` then `coalgebra U` is preadditive as well.
mathlib commit https://github.com/leanprover-community/mathlib/commit/730c6d4cab72b9d84fcfb9e95e8796e9cd8f40ba
@@ -31,6 +31,7 @@ variable (C : Type u₁) [Category.{v₁} C] [Preadditive C] (T : Monad C)
open CategoryTheory.Limits Preadditive
+#print CategoryTheory.Monad.algebraPreadditive /-
/-- The category of algebras over an additive monad on a preadditive category is preadditive. -/
@[simps]
instance Monad.algebraPreadditive : Preadditive (Monad.Algebra T)
@@ -109,12 +110,16 @@ instance Monad.algebraPreadditive : Preadditive (Monad.Algebra T)
ext
apply comp_add
#align category_theory.monad.algebra_preadditive CategoryTheory.Monad.algebraPreadditive
+-/
+#print CategoryTheory.Monad.forget_additive /-
instance Monad.forget_additive : (Monad.forget T).Additive where
#align category_theory.monad.forget_additive CategoryTheory.Monad.forget_additive
+-/
variable (U : Comonad C) [Functor.Additive (U : C ⥤ C)]
+#print CategoryTheory.Comonad.coalgebraPreadditive /-
/-- The category of coalgebras over an additive comonad on a preadditive category is preadditive. -/
@[simps]
instance Comonad.coalgebraPreadditive : Preadditive (Comonad.Coalgebra U)
@@ -193,9 +198,12 @@ instance Comonad.coalgebraPreadditive : Preadditive (Comonad.Coalgebra U)
ext
apply comp_add
#align category_theory.comonad.coalgebra_preadditive CategoryTheory.Comonad.coalgebraPreadditive
+-/
+#print CategoryTheory.Comonad.forget_additive /-
instance Comonad.forget_additive : (Comonad.forget U).Additive where
#align category_theory.comonad.forget_additive CategoryTheory.Comonad.forget_additive
+-/
end CategoryTheory
mathlib commit https://github.com/leanprover-community/mathlib/commit/21e3562c5e12d846c7def5eff8cdbc520d7d4936
@@ -100,11 +100,11 @@ instance Monad.algebraPreadditive : Preadditive (Monad.Algebra T)
intros
ext
apply add_comm }
- add_comp' := by
+ add_comp := by
intros
ext
apply add_comp
- comp_add' := by
+ comp_add := by
intros
ext
apply comp_add
@@ -184,11 +184,11 @@ instance Comonad.coalgebraPreadditive : Preadditive (Comonad.Coalgebra U)
intros
ext
apply add_comm }
- add_comp' := by
+ add_comp := by
intros
ext
apply add_comp
- comp_add' := by
+ comp_add := by
intros
ext
apply comp_add
mathlib commit https://github.com/leanprover-community/mathlib/commit/bd9851ca476957ea4549eb19b40e7b5ade9428cc
zpow_coe_nat
to zpow_natCast
(#11528)
... and add a deprecated alias for the old name. This is mostly just me discovering the power of F2
@@ -81,7 +81,7 @@ instance Monad.algebraPreadditive : Preadditive (Monad.Algebra T) where
intros
ext
dsimp
- simp only [coe_nat_zsmul, succ_nsmul]
+ simp only [natCast_zsmul, succ_nsmul]
rfl
zsmul_neg' := by
intros
@@ -164,7 +164,7 @@ instance Comonad.coalgebraPreadditive : Preadditive (Comonad.Coalgebra U) where
intros
ext
dsimp
- simp only [coe_nat_zsmul, succ_nsmul]
+ simp only [natCast_zsmul, succ_nsmul]
rfl
zsmul_neg' := by
intros
@@ -2,16 +2,13 @@
Copyright (c) 2022 Julian Kuelshammer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Julian Kuelshammer
-
-! This file was ported from Lean 3 source module category_theory.preadditive.eilenberg_moore
-! leanprover-community/mathlib commit 829895f162a1f29d0133f4b3538f4cd1fb5bffd3
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
-/
import Mathlib.CategoryTheory.Preadditive.Basic
import Mathlib.CategoryTheory.Monad.Algebra
import Mathlib.CategoryTheory.Preadditive.AdditiveFunctor
+#align_import category_theory.preadditive.eilenberg_moore from "leanprover-community/mathlib"@"829895f162a1f29d0133f4b3538f4cd1fb5bffd3"
+
/-!
# Preadditive structure on algebras over a monad
The unported dependencies are