Library CT.Instance.NaturalTransformation.IdentityNaturalTransformation
The identity natural transforamtion...
Program Definition IdentityNaturalTransformation {A B : Category} (F : Functor A B) :
NaturalTransformation F F :=
{| nt_components := fun _ ⇒ id
|}.
Next Obligation.
Proof.
rewrite id_left.
rewrite id_right.
reflexivity.
Qed.
Next Obligation.
Proof.
symmetry.
apply IdentityNaturalTransformation_obligation_1.
Qed.
NaturalTransformation F F :=
{| nt_components := fun _ ⇒ id
|}.
Next Obligation.
Proof.
rewrite id_left.
rewrite id_right.
reflexivity.
Qed.
Next Obligation.
Proof.
symmetry.
apply IdentityNaturalTransformation_obligation_1.
Qed.