Library ConCaT.CATEGORY_THEORY.NT.HomFunctor_NT



Require Export HomFunctor.
Require Export Ntransformation.

Set Implicit Arguments.
Unset Strict Implicit.


Section funset_nt.

Variables (C : Category) (b a : C) (f : a --> b).

Section nth_map_def.

 Variable c : C.

 Definition NtH_arrow (h : b --> c) := f o h.

 Lemma NtH_map_law : Map_law NtH_arrow.
 Proof.
 unfold Map_law, NtH_arrow in |- *; intros.
 apply Comp_l; assumption.
 Qed.

 Definition NtH_map : Map (FunSET b c) (FunSET a c) := NtH_map_law.

End nth_map_def.

Lemma NtH_nt_law : NT_law NtH_map.
Proof.
unfold NT_law in |- *; simpl in |- ×.
unfold Ext in |- *; simpl in |- ×.
unfold Comp_fun in |- *; simpl in |- ×.
unfold NtH_arrow, FunSET_mor1, FunSET_ob in |- ×.
intros; apply Ass.
Qed.

Canonical Structure NtH := Build_NT NtH_nt_law.

End funset_nt.