category_theory.linear.functor_categoryMathlib.CategoryTheory.Linear.FunctorCategory

This file has been ported!

Changes since the initial port

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.

Changes in mathlib3

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(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)

Changes in mathlib3port

mathlib3
mathlib3port
Diff
@@ -3,8 +3,8 @@ Copyright (c) 2022 Scott Morrison. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Scott Morrison
 -/
-import Mathbin.CategoryTheory.Preadditive.FunctorCategory
-import Mathbin.CategoryTheory.Linear.Basic
+import CategoryTheory.Preadditive.FunctorCategory
+import CategoryTheory.Linear.Basic
 
 #align_import category_theory.linear.functor_category from "leanprover-community/mathlib"@"69c6a5a12d8a2b159f20933e60115a4f2de62b58"
 
Diff
@@ -42,7 +42,7 @@ instance functorCategoryLinear : Linear R (C ⥤ D)
       smul_zero := by intros; ext; apply smul_zero
       add_smul := by intros; ext; apply add_smul
       smul_add := by intros; ext; apply smul_add
-      mul_smul := by intros; ext; apply mul_smul }
+      hMul_smul := by intros; ext; apply mul_smul }
   smul_comp' := by intros; ext; apply smul_comp
   comp_smul' := by intros; ext; apply comp_smul
 #align category_theory.functor_category_linear CategoryTheory.functorCategoryLinear
Diff
@@ -2,15 +2,12 @@
 Copyright (c) 2022 Scott Morrison. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Scott Morrison
-
-! This file was ported from Lean 3 source module category_theory.linear.functor_category
-! leanprover-community/mathlib commit 69c6a5a12d8a2b159f20933e60115a4f2de62b58
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
 -/
 import Mathbin.CategoryTheory.Preadditive.FunctorCategory
 import Mathbin.CategoryTheory.Linear.Basic
 
+#align_import category_theory.linear.functor_category from "leanprover-community/mathlib"@"69c6a5a12d8a2b159f20933e60115a4f2de62b58"
+
 /-!
 # Linear structure on functor categories
 
Diff
@@ -55,6 +55,7 @@ namespace NatTrans
 
 variable {F G : C ⥤ D}
 
+#print CategoryTheory.NatTrans.appLinearMap /-
 /-- Application of a natural transformation at a fixed object,
 as group homomorphism -/
 @[simps]
@@ -64,11 +65,14 @@ def appLinearMap (X : C) : (F ⟶ G) →ₗ[R] F.obj X ⟶ G.obj X
   map_add' _ _ := rfl
   map_smul' _ _ := rfl
 #align category_theory.nat_trans.app_linear_map CategoryTheory.NatTrans.appLinearMap
+-/
 
+#print CategoryTheory.NatTrans.app_smul /-
 @[simp]
 theorem app_smul (X : C) (r : R) (α : F ⟶ G) : (r • α).app X = r • α.app X :=
   rfl
 #align category_theory.nat_trans.app_smul CategoryTheory.NatTrans.app_smul
+-/
 
 end NatTrans
 
Diff
@@ -39,15 +39,15 @@ instance functorCategoryLinear : Linear R (C ⥤ D)
   homModule F G :=
     { smul := fun r α =>
         { app := fun X => r • α.app X
-          naturality' := by intros ; rw [comp_smul, smul_comp, α.naturality] }
-      one_smul := by intros ; ext; apply one_smul
-      zero_smul := by intros ; ext; apply zero_smul
-      smul_zero := by intros ; ext; apply smul_zero
-      add_smul := by intros ; ext; apply add_smul
-      smul_add := by intros ; ext; apply smul_add
-      mul_smul := by intros ; ext; apply mul_smul }
-  smul_comp' := by intros ; ext; apply smul_comp
-  comp_smul' := by intros ; ext; apply comp_smul
+          naturality' := by intros; rw [comp_smul, smul_comp, α.naturality] }
+      one_smul := by intros; ext; apply one_smul
+      zero_smul := by intros; ext; apply zero_smul
+      smul_zero := by intros; ext; apply smul_zero
+      add_smul := by intros; ext; apply add_smul
+      smul_add := by intros; ext; apply smul_add
+      mul_smul := by intros; ext; apply mul_smul }
+  smul_comp' := by intros; ext; apply smul_comp
+  comp_smul' := by intros; ext; apply comp_smul
 #align category_theory.functor_category_linear CategoryTheory.functorCategoryLinear
 -/
 
Diff
@@ -23,7 +23,7 @@ then `C ⥤ D` is also `R`-linear.
 -/
 
 
-open BigOperators
+open scoped BigOperators
 
 namespace CategoryTheory
 
Diff
@@ -55,12 +55,6 @@ namespace NatTrans
 
 variable {F G : C ⥤ D}
 
-/- warning: category_theory.nat_trans.app_linear_map -> CategoryTheory.NatTrans.appLinearMap is a dubious translation:
-lean 3 declaration is
-  forall {R : Type.{u1}} [_inst_1 : Semiring.{u1} R] {C : Type.{u2}} {D : Type.{u3}} [_inst_2 : CategoryTheory.Category.{u4, u2} C] [_inst_3 : CategoryTheory.Category.{u5, u3} D] [_inst_4 : CategoryTheory.Preadditive.{u5, u3} D _inst_3] [_inst_5 : CategoryTheory.Linear.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4] {F : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} {G : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} (X : C), LinearMap.{u1, u1, max u2 u5, u5} R R _inst_1 _inst_1 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R _inst_1)) (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X))) (CategoryTheory.Linear.homModule.{u1, max u2 u5, max u4 u5 u2 u3} R _inst_1 (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) (CategoryTheory.functorCategoryLinear.{u1, u2, u3, u4, u5} R _inst_1 C D _inst_2 _inst_3 _inst_4 _inst_5) F G) (CategoryTheory.Linear.homModule.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4 _inst_5 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X))
-but is expected to have type
-  forall {R : Type.{u1}} [_inst_1 : Semiring.{u1} R] {C : Type.{u2}} {D : Type.{u3}} [_inst_2 : CategoryTheory.Category.{u4, u2} C] [_inst_3 : CategoryTheory.Category.{u5, u3} D] [_inst_4 : CategoryTheory.Preadditive.{u5, u3} D _inst_3] [_inst_5 : CategoryTheory.Linear.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4] {F : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} {G : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} (X : C), LinearMap.{u1, u1, max u2 u5, u5} R R _inst_1 _inst_1 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R _inst_1)) (Quiver.Hom.{succ (max u2 u5), max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 G) X)) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 G) X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 G) X))) (CategoryTheory.Linear.homModule.{u1, max u2 u5, max (max (max u2 u3) u4) u5} R _inst_1 (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) (CategoryTheory.functorCategoryLinear.{u1, u2, u3, u4, u5} R _inst_1 C D _inst_2 _inst_3 _inst_4 _inst_5) F G) (CategoryTheory.Linear.homModule.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4 _inst_5 (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 G) X))
-Case conversion may be inaccurate. Consider using '#align category_theory.nat_trans.app_linear_map CategoryTheory.NatTrans.appLinearMapₓ'. -/
 /-- Application of a natural transformation at a fixed object,
 as group homomorphism -/
 @[simps]
@@ -71,9 +65,6 @@ def appLinearMap (X : C) : (F ⟶ G) →ₗ[R] F.obj X ⟶ G.obj X
   map_smul' _ _ := rfl
 #align category_theory.nat_trans.app_linear_map CategoryTheory.NatTrans.appLinearMap
 
-/- warning: category_theory.nat_trans.app_smul -> CategoryTheory.NatTrans.app_smul is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align category_theory.nat_trans.app_smul CategoryTheory.NatTrans.app_smulₓ'. -/
 @[simp]
 theorem app_smul (X : C) (r : R) (α : F ⟶ G) : (r • α).app X = r • α.app X :=
   rfl
Diff
@@ -39,41 +39,15 @@ instance functorCategoryLinear : Linear R (C ⥤ D)
   homModule F G :=
     { smul := fun r α =>
         { app := fun X => r • α.app X
-          naturality' := by
-            intros
-            rw [comp_smul, smul_comp, α.naturality] }
-      one_smul := by
-        intros
-        ext
-        apply one_smul
-      zero_smul := by
-        intros
-        ext
-        apply zero_smul
-      smul_zero := by
-        intros
-        ext
-        apply smul_zero
-      add_smul := by
-        intros
-        ext
-        apply add_smul
-      smul_add := by
-        intros
-        ext
-        apply smul_add
-      mul_smul := by
-        intros
-        ext
-        apply mul_smul }
-  smul_comp' := by
-    intros
-    ext
-    apply smul_comp
-  comp_smul' := by
-    intros
-    ext
-    apply comp_smul
+          naturality' := by intros ; rw [comp_smul, smul_comp, α.naturality] }
+      one_smul := by intros ; ext; apply one_smul
+      zero_smul := by intros ; ext; apply zero_smul
+      smul_zero := by intros ; ext; apply smul_zero
+      add_smul := by intros ; ext; apply add_smul
+      smul_add := by intros ; ext; apply smul_add
+      mul_smul := by intros ; ext; apply mul_smul }
+  smul_comp' := by intros ; ext; apply smul_comp
+  comp_smul' := by intros ; ext; apply comp_smul
 #align category_theory.functor_category_linear CategoryTheory.functorCategoryLinear
 -/
 
Diff
@@ -98,10 +98,7 @@ def appLinearMap (X : C) : (F ⟶ G) →ₗ[R] F.obj X ⟶ G.obj X
 #align category_theory.nat_trans.app_linear_map CategoryTheory.NatTrans.appLinearMap
 
 /- warning: category_theory.nat_trans.app_smul -> CategoryTheory.NatTrans.app_smul is a dubious translation:
-lean 3 declaration is
-  forall {R : Type.{u1}} [_inst_1 : Semiring.{u1} R] {C : Type.{u2}} {D : Type.{u3}} [_inst_2 : CategoryTheory.Category.{u4, u2} C] [_inst_3 : CategoryTheory.Category.{u5, u3} D] [_inst_4 : CategoryTheory.Preadditive.{u5, u3} D _inst_3] [_inst_5 : CategoryTheory.Linear.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4] {F : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} {G : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} (X : C) (r : R) (α : Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G), Eq.{succ u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.NatTrans.app.{u4, u5, u2, u3} C _inst_2 D _inst_3 F G (SMul.smul.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (SMulZeroClass.toHasSmul.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddZeroClass.toHasZero.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddMonoid.toAddZeroClass.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommMonoid.toAddMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G))))) (SMulWithZero.toSmulZeroClass.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (MulZeroClass.toHasZero.{u1} R (MulZeroOneClass.toMulZeroClass.{u1} R (MonoidWithZero.toMulZeroOneClass.{u1} R (Semiring.toMonoidWithZero.{u1} R _inst_1)))) (AddZeroClass.toHasZero.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddMonoid.toAddZeroClass.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommMonoid.toAddMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G))))) (MulActionWithZero.toSMulWithZero.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (Semiring.toMonoidWithZero.{u1} R _inst_1) (AddZeroClass.toHasZero.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddMonoid.toAddZeroClass.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommMonoid.toAddMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G))))) (Module.toMulActionWithZero.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) _inst_1 (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G)) (CategoryTheory.Linear.homModule.{u1, max u2 u5, max u4 u5 u2 u3} R _inst_1 (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) (CategoryTheory.functorCategoryLinear.{u1, u2, u3, u4, u5} R _inst_1 C D _inst_2 _inst_3 _inst_4 _inst_5) F G))))) r α) X) (SMul.smul.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (SMulZeroClass.toHasSmul.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddZeroClass.toHasZero.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddMonoid.toAddZeroClass.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommMonoid.toAddMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)))))) (SMulWithZero.toSmulZeroClass.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (MulZeroClass.toHasZero.{u1} R (MulZeroOneClass.toMulZeroClass.{u1} R (MonoidWithZero.toMulZeroOneClass.{u1} R (Semiring.toMonoidWithZero.{u1} R _inst_1)))) (AddZeroClass.toHasZero.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddMonoid.toAddZeroClass.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommMonoid.toAddMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)))))) (MulActionWithZero.toSMulWithZero.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (Semiring.toMonoidWithZero.{u1} R _inst_1) (AddZeroClass.toHasZero.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddMonoid.toAddZeroClass.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommMonoid.toAddMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)))))) (Module.toMulActionWithZero.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) _inst_1 (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X))) (CategoryTheory.Linear.homModule.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4 _inst_5 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)))))) r (CategoryTheory.NatTrans.app.{u4, u5, u2, u3} C _inst_2 D _inst_3 F G α X))
-but is expected to have type
-  forall {R : Type.{u1}} [_inst_1 : Semiring.{u1} R] {C : Type.{u5}} {D : Type.{u3}} [_inst_2 : CategoryTheory.Category.{u2, u5} C] [_inst_3 : CategoryTheory.Category.{u4, u3} D] [_inst_4 : CategoryTheory.Preadditive.{u4, u3} D _inst_3] [_inst_5 : CategoryTheory.Linear.{u1, u4, u3} R _inst_1 D _inst_3 _inst_4] {F : CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3} {G : CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3} (X : C) (r : R) (α : Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G), Eq.{succ u4} (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (CategoryTheory.NatTrans.app.{u2, u4, u5, u3} C _inst_2 D _inst_3 F G (HSMul.hSMul.{u1, max u5 u4, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (instHSMul.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (SMulZeroClass.toSMul.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Limits.instHasZeroMorphismsFunctorCategory.{u2, u5, u4, u3} C _inst_2 D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4)) F G) (SMulWithZero.toSMulZeroClass.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (MonoidWithZero.toZero.{u1} R (Semiring.toMonoidWithZero.{u1} R _inst_1)) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Limits.instHasZeroMorphismsFunctorCategory.{u2, u5, u4, u3} C _inst_2 D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4)) F G) (MulActionWithZero.toSMulWithZero.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (Semiring.toMonoidWithZero.{u1} R _inst_1) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Limits.instHasZeroMorphismsFunctorCategory.{u2, u5, u4, u3} C _inst_2 D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4)) F G) (Module.toMulActionWithZero.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) _inst_1 (AddCommGroup.toAddCommMonoid.{max u5 u4} (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u5, u3, u2, u4} C D _inst_2 _inst_3 _inst_4) F G)) (CategoryTheory.Linear.homModule.{u1, max u5 u4, max (max (max u5 u3) u2) u4} R _inst_1 (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u5, u3, u2, u4} C D _inst_2 _inst_3 _inst_4) (CategoryTheory.functorCategoryLinear.{u1, u5, u3, u2, u4} R _inst_1 C D _inst_2 _inst_3 _inst_4 _inst_5) F G)))))) r α) X) (HSMul.hSMul.{u1, u4, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (instHSMul.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (SMulZeroClass.toSMul.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{u4, u3} D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (SMulWithZero.toSMulZeroClass.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (MonoidWithZero.toZero.{u1} R (Semiring.toMonoidWithZero.{u1} R _inst_1)) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{u4, u3} D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (MulActionWithZero.toSMulWithZero.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (Semiring.toMonoidWithZero.{u1} R _inst_1) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{u4, u3} D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (Module.toMulActionWithZero.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) _inst_1 (AddCommGroup.toAddCommMonoid.{u4} (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (CategoryTheory.Preadditive.homGroup.{u4, u3} D _inst_3 _inst_4 (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X))) (CategoryTheory.Linear.homModule.{u1, u4, u3} R _inst_1 D _inst_3 _inst_4 _inst_5 (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X))))))) r (CategoryTheory.NatTrans.app.{u2, u4, u5, u3} C _inst_2 D _inst_3 F G α X))
+<too large>
 Case conversion may be inaccurate. Consider using '#align category_theory.nat_trans.app_smul CategoryTheory.NatTrans.app_smulₓ'. -/
 @[simp]
 theorem app_smul (X : C) (r : R) (α : F ⟶ G) : (r • α).app X = r • α.app X :=
Diff
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Scott Morrison
 
 ! This file was ported from Lean 3 source module category_theory.linear.functor_category
-! leanprover-community/mathlib commit 829895f162a1f29d0133f4b3538f4cd1fb5bffd3
+! leanprover-community/mathlib commit 69c6a5a12d8a2b159f20933e60115a4f2de62b58
 ! Please do not edit these lines, except to modify the commit id
 ! if you have ported upstream changes.
 -/
@@ -14,6 +14,9 @@ import Mathbin.CategoryTheory.Linear.Basic
 /-!
 # Linear structure on functor categories
 
+> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
+> Any changes to this file require a corresponding PR to mathlib4.
+
 If `C` and `D` are categories and `D` is `R`-linear,
 then `C ⥤ D` is also `R`-linear.
 
Diff
@@ -30,6 +30,7 @@ variable {R : Type _} [Semiring R]
 
 variable {C D : Type _} [Category C] [Category D] [Preadditive D] [Linear R D]
 
+#print CategoryTheory.functorCategoryLinear /-
 instance functorCategoryLinear : Linear R (C ⥤ D)
     where
   homModule F G :=
@@ -71,11 +72,18 @@ instance functorCategoryLinear : Linear R (C ⥤ D)
     ext
     apply comp_smul
 #align category_theory.functor_category_linear CategoryTheory.functorCategoryLinear
+-/
 
 namespace NatTrans
 
 variable {F G : C ⥤ D}
 
+/- warning: category_theory.nat_trans.app_linear_map -> CategoryTheory.NatTrans.appLinearMap is a dubious translation:
+lean 3 declaration is
+  forall {R : Type.{u1}} [_inst_1 : Semiring.{u1} R] {C : Type.{u2}} {D : Type.{u3}} [_inst_2 : CategoryTheory.Category.{u4, u2} C] [_inst_3 : CategoryTheory.Category.{u5, u3} D] [_inst_4 : CategoryTheory.Preadditive.{u5, u3} D _inst_3] [_inst_5 : CategoryTheory.Linear.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4] {F : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} {G : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} (X : C), LinearMap.{u1, u1, max u2 u5, u5} R R _inst_1 _inst_1 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R _inst_1)) (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X))) (CategoryTheory.Linear.homModule.{u1, max u2 u5, max u4 u5 u2 u3} R _inst_1 (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) (CategoryTheory.functorCategoryLinear.{u1, u2, u3, u4, u5} R _inst_1 C D _inst_2 _inst_3 _inst_4 _inst_5) F G) (CategoryTheory.Linear.homModule.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4 _inst_5 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X))
+but is expected to have type
+  forall {R : Type.{u1}} [_inst_1 : Semiring.{u1} R] {C : Type.{u2}} {D : Type.{u3}} [_inst_2 : CategoryTheory.Category.{u4, u2} C] [_inst_3 : CategoryTheory.Category.{u5, u3} D] [_inst_4 : CategoryTheory.Preadditive.{u5, u3} D _inst_3] [_inst_5 : CategoryTheory.Linear.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4] {F : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} {G : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} (X : C), LinearMap.{u1, u1, max u2 u5, u5} R R _inst_1 _inst_1 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R _inst_1)) (Quiver.Hom.{succ (max u2 u5), max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 G) X)) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max (max (max u2 u3) u4) u5} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 G) X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 G) X))) (CategoryTheory.Linear.homModule.{u1, max u2 u5, max (max (max u2 u3) u4) u5} R _inst_1 (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) (CategoryTheory.functorCategoryLinear.{u1, u2, u3, u4, u5} R _inst_1 C D _inst_2 _inst_3 _inst_4 _inst_5) F G) (CategoryTheory.Linear.homModule.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4 _inst_5 (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u4, succ u5, u2, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u4, u2} C (CategoryTheory.Category.toCategoryStruct.{u4, u2} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u4, u5, u2, u3} C _inst_2 D _inst_3 G) X))
+Case conversion may be inaccurate. Consider using '#align category_theory.nat_trans.app_linear_map CategoryTheory.NatTrans.appLinearMapₓ'. -/
 /-- Application of a natural transformation at a fixed object,
 as group homomorphism -/
 @[simps]
@@ -86,6 +94,12 @@ def appLinearMap (X : C) : (F ⟶ G) →ₗ[R] F.obj X ⟶ G.obj X
   map_smul' _ _ := rfl
 #align category_theory.nat_trans.app_linear_map CategoryTheory.NatTrans.appLinearMap
 
+/- warning: category_theory.nat_trans.app_smul -> CategoryTheory.NatTrans.app_smul is a dubious translation:
+lean 3 declaration is
+  forall {R : Type.{u1}} [_inst_1 : Semiring.{u1} R] {C : Type.{u2}} {D : Type.{u3}} [_inst_2 : CategoryTheory.Category.{u4, u2} C] [_inst_3 : CategoryTheory.Category.{u5, u3} D] [_inst_4 : CategoryTheory.Preadditive.{u5, u3} D _inst_3] [_inst_5 : CategoryTheory.Linear.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4] {F : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} {G : CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3} (X : C) (r : R) (α : Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G), Eq.{succ u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.NatTrans.app.{u4, u5, u2, u3} C _inst_2 D _inst_3 F G (SMul.smul.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (SMulZeroClass.toHasSmul.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddZeroClass.toHasZero.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddMonoid.toAddZeroClass.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommMonoid.toAddMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G))))) (SMulWithZero.toSmulZeroClass.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (MulZeroClass.toHasZero.{u1} R (MulZeroOneClass.toMulZeroClass.{u1} R (MonoidWithZero.toMulZeroOneClass.{u1} R (Semiring.toMonoidWithZero.{u1} R _inst_1)))) (AddZeroClass.toHasZero.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddMonoid.toAddZeroClass.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommMonoid.toAddMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G))))) (MulActionWithZero.toSMulWithZero.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (Semiring.toMonoidWithZero.{u1} R _inst_1) (AddZeroClass.toHasZero.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddMonoid.toAddZeroClass.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommMonoid.toAddMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G))))) (Module.toMulActionWithZero.{u1, max u2 u5} R (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) _inst_1 (AddCommGroup.toAddCommMonoid.{max u2 u5} (Quiver.Hom.{succ (max u2 u5), max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u2 u5, max u4 u5 u2 u3} (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) F G)) (CategoryTheory.Linear.homModule.{u1, max u2 u5, max u4 u5 u2 u3} R _inst_1 (CategoryTheory.Functor.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u4, u5, u2, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u2, u3, u4, u5} C D _inst_2 _inst_3 _inst_4) (CategoryTheory.functorCategoryLinear.{u1, u2, u3, u4, u5} R _inst_1 C D _inst_2 _inst_3 _inst_4 _inst_5) F G))))) r α) X) (SMul.smul.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (SMulZeroClass.toHasSmul.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddZeroClass.toHasZero.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddMonoid.toAddZeroClass.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommMonoid.toAddMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)))))) (SMulWithZero.toSmulZeroClass.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (MulZeroClass.toHasZero.{u1} R (MulZeroOneClass.toMulZeroClass.{u1} R (MonoidWithZero.toMulZeroOneClass.{u1} R (Semiring.toMonoidWithZero.{u1} R _inst_1)))) (AddZeroClass.toHasZero.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddMonoid.toAddZeroClass.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommMonoid.toAddMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)))))) (MulActionWithZero.toSMulWithZero.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (Semiring.toMonoidWithZero.{u1} R _inst_1) (AddZeroClass.toHasZero.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddMonoid.toAddZeroClass.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommMonoid.toAddMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)))))) (Module.toMulActionWithZero.{u1, u5} R (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) _inst_1 (AddCommGroup.toAddCommMonoid.{u5} (Quiver.Hom.{succ u5, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u5, u3} D (CategoryTheory.Category.toCategoryStruct.{u5, u3} D _inst_3)) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)) (CategoryTheory.Preadditive.homGroup.{u5, u3} D _inst_3 _inst_4 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X))) (CategoryTheory.Linear.homModule.{u1, u5, u3} R _inst_1 D _inst_3 _inst_4 _inst_5 (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 F X) (CategoryTheory.Functor.obj.{u4, u5, u2, u3} C _inst_2 D _inst_3 G X)))))) r (CategoryTheory.NatTrans.app.{u4, u5, u2, u3} C _inst_2 D _inst_3 F G α X))
+but is expected to have type
+  forall {R : Type.{u1}} [_inst_1 : Semiring.{u1} R] {C : Type.{u5}} {D : Type.{u3}} [_inst_2 : CategoryTheory.Category.{u2, u5} C] [_inst_3 : CategoryTheory.Category.{u4, u3} D] [_inst_4 : CategoryTheory.Preadditive.{u4, u3} D _inst_3] [_inst_5 : CategoryTheory.Linear.{u1, u4, u3} R _inst_1 D _inst_3 _inst_4] {F : CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3} {G : CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3} (X : C) (r : R) (α : Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G), Eq.{succ u4} (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (CategoryTheory.NatTrans.app.{u2, u4, u5, u3} C _inst_2 D _inst_3 F G (HSMul.hSMul.{u1, max u5 u4, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (instHSMul.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (SMulZeroClass.toSMul.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Limits.instHasZeroMorphismsFunctorCategory.{u2, u5, u4, u3} C _inst_2 D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4)) F G) (SMulWithZero.toSMulZeroClass.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (MonoidWithZero.toZero.{u1} R (Semiring.toMonoidWithZero.{u1} R _inst_1)) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Limits.instHasZeroMorphismsFunctorCategory.{u2, u5, u4, u3} C _inst_2 D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4)) F G) (MulActionWithZero.toSMulWithZero.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (Semiring.toMonoidWithZero.{u1} R _inst_1) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Limits.instHasZeroMorphismsFunctorCategory.{u2, u5, u4, u3} C _inst_2 D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4)) F G) (Module.toMulActionWithZero.{u1, max u5 u4} R (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) _inst_1 (AddCommGroup.toAddCommMonoid.{max u5 u4} (Quiver.Hom.{max (succ u5) (succ u4), max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.CategoryStruct.toQuiver.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Category.toCategoryStruct.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3))) F G) (CategoryTheory.Preadditive.homGroup.{max u5 u4, max (max (max u5 u3) u2) u4} (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u5, u3, u2, u4} C D _inst_2 _inst_3 _inst_4) F G)) (CategoryTheory.Linear.homModule.{u1, max u5 u4, max (max (max u5 u3) u2) u4} R _inst_1 (CategoryTheory.Functor.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.Functor.category.{u2, u4, u5, u3} C _inst_2 D _inst_3) (CategoryTheory.functorCategoryPreadditive.{u5, u3, u2, u4} C D _inst_2 _inst_3 _inst_4) (CategoryTheory.functorCategoryLinear.{u1, u5, u3, u2, u4} R _inst_1 C D _inst_2 _inst_3 _inst_4 _inst_5) F G)))))) r α) X) (HSMul.hSMul.{u1, u4, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (instHSMul.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (SMulZeroClass.toSMul.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{u4, u3} D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (SMulWithZero.toSMulZeroClass.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (MonoidWithZero.toZero.{u1} R (Semiring.toMonoidWithZero.{u1} R _inst_1)) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{u4, u3} D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (MulActionWithZero.toSMulWithZero.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (Semiring.toMonoidWithZero.{u1} R _inst_1) (CategoryTheory.Limits.HasZeroMorphisms.Zero.{u4, u3} D _inst_3 (CategoryTheory.Preadditive.preadditiveHasZeroMorphisms.{u4, u3} D _inst_3 _inst_4) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (Module.toMulActionWithZero.{u1, u4} R (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) _inst_1 (AddCommGroup.toAddCommMonoid.{u4} (Quiver.Hom.{succ u4, u3} D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X)) (CategoryTheory.Preadditive.homGroup.{u4, u3} D _inst_3 _inst_4 (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X))) (CategoryTheory.Linear.homModule.{u1, u4, u3} R _inst_1 D _inst_3 _inst_4 _inst_5 (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 F) X) (Prefunctor.obj.{succ u2, succ u4, u5, u3} C (CategoryTheory.CategoryStruct.toQuiver.{u2, u5} C (CategoryTheory.Category.toCategoryStruct.{u2, u5} C _inst_2)) D (CategoryTheory.CategoryStruct.toQuiver.{u4, u3} D (CategoryTheory.Category.toCategoryStruct.{u4, u3} D _inst_3)) (CategoryTheory.Functor.toPrefunctor.{u2, u4, u5, u3} C _inst_2 D _inst_3 G) X))))))) r (CategoryTheory.NatTrans.app.{u2, u4, u5, u3} C _inst_2 D _inst_3 F G α X))
+Case conversion may be inaccurate. Consider using '#align category_theory.nat_trans.app_smul CategoryTheory.NatTrans.app_smulₓ'. -/
 @[simp]
 theorem app_smul (X : C) (r : R) (α : F ⟶ G) : (r • α).app X = r • α.app X :=
   rfl

Changes in mathlib4

mathlib3
mathlib4
chore: remove some unnecessary 'open BigOperators' (#11880)

Could we have an open linter, that checked for unused opened namespaces?

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -16,9 +16,6 @@ then `C ⥤ D` is also `R`-linear.
 
 -/
 
-
-open BigOperators
-
 namespace CategoryTheory
 
 open CategoryTheory.Limits Linear
chore(*): remove empty lines between variable statements (#11418)

Empty lines were removed by executing the following Python script twice

import os
import re


# Loop through each file in the repository
for dir_path, dirs, files in os.walk('.'):
  for filename in files:
    if filename.endswith('.lean'):
      file_path = os.path.join(dir_path, filename)

      # Open the file and read its contents
      with open(file_path, 'r') as file:
        content = file.read()

      # Use a regular expression to replace sequences of "variable" lines separated by empty lines
      # with sequences without empty lines
      modified_content = re.sub(r'(variable.*\n)\n(variable(?! .* in))', r'\1\2', content)

      # Write the modified content back to the file
      with open(file_path, 'w') as file:
        file.write(modified_content)
Diff
@@ -24,7 +24,6 @@ namespace CategoryTheory
 open CategoryTheory.Limits Linear
 
 variable {R : Type*} [Semiring R]
-
 variable {C D : Type*} [Category C] [Category D] [Preadditive D] [Linear R D]
 
 instance functorCategoryLinear : Linear R (C ⥤ D)
chore: banish Type _ and Sort _ (#6499)

We remove all possible occurences of Type _ and Sort _ in favor of Type* and Sort*.

This has nice performance benefits.

Diff
@@ -23,9 +23,9 @@ namespace CategoryTheory
 
 open CategoryTheory.Limits Linear
 
-variable {R : Type _} [Semiring R]
+variable {R : Type*} [Semiring R]
 
-variable {C D : Type _} [Category C] [Category D] [Preadditive D] [Linear R D]
+variable {C D : Type*} [Category C] [Category D] [Preadditive D] [Linear R D]
 
 instance functorCategoryLinear : Linear R (C ⥤ D)
     where
chore: script to replace headers with #align_import statements (#5979)

Open in Gitpod

Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -2,15 +2,12 @@
 Copyright (c) 2022 Scott Morrison. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Scott Morrison
-
-! This file was ported from Lean 3 source module category_theory.linear.functor_category
-! 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.FunctorCategory
 import Mathlib.CategoryTheory.Linear.Basic
 
+#align_import category_theory.linear.functor_category from "leanprover-community/mathlib"@"829895f162a1f29d0133f4b3538f4cd1fb5bffd3"
+
 /-!
 # Linear structure on functor categories
 
feat: port CategoryTheory.Linear.FunctorCategory (#2793)

Dependencies 8 + 422

423 files ported (98.1%)
170542 lines ported (98.2%)
Show graph

The unported dependencies are