The constructor End.of and the algebraic structure of End X #
Mathlib describes the monoid, additive group and module structures on CategoryTheory.End X
through the projection End.asHom. This file records the same compatibilities for the
constructor End.of : (X ⟶ X) → End X: it sends 𝟙 X to 1, a composite f ≫ g to the product
End.of g * End.of f, and sums, differences, negatives, zero and scalar multiples to the
corresponding operations in End X. As simp lemmas they push End.of inside expressions built
from morphisms X ⟶ X, so that algebra maps out of End X can then be applied termwise. We also
compute the structure map of an R-linear category, (algebraMap R (End X) r).asHom = r • 𝟙 X.
The native precomposition action of (End X)ᵐᵒᵖ on X ⟶ Y respects the ground
scalar tower.
When a scalar multiple r • 𝟙 of the identity is invertible, its inverse commutes with every
morphism (CategoryTheory.Linear.comp_inv_smul_id), and an R-linear functor keeps it
invertible (CategoryTheory.Functor.isIso_smul_id_obj). For r a natural number or an integer
these apply in every preadditive category, through Mathlib's ℕ- and ℤ-linear structures.
An additive linear functor induces an algebra homomorphism on endomorphisms,
Functor.mapEndAlgHom, which is injective when the functor is faithful and bijective
when the functor is bijective on the object's endomorphisms.
End.of sends the identity to 1.
End.of sends a composite to the product in the opposite order, since multiplication in
End X agrees with function composition.
End.of sends the zero morphism to 0.
End.of is additive.
End.of commutes with negation.
End.of commutes with subtraction.
The structure map R → End X of an R-linear category sends r to r • 𝟙 X.
The native precomposition action on morphisms respects ground-semiring scalars.
The inverse of multiplication by a scalar r commutes with every morphism.
If multiplication by a scalar r is invertible on X, then it is invertible on the image of
X under any R-linear functor.
An additive linear functor induces an algebra homomorphism on endomorphisms.
Instances For
The induced algebra homomorphism acts by the functor on underlying endomorphisms.
A faithful additive linear functor embeds each endomorphism algebra.
An additive linear functor bijective on an object's endomorphisms induces a bijective algebra homomorphism on its endomorphism algebra.