Section disc_mor_setoid.
Variable a b : U.
Definition Equal_Discr_mor (f g : Discr_mor a b) := True.
Canonical Structure Discr_mor_setoid := Build_Setoid Equal_Discr_mor_equiv.
End disc_mor_setoid.
Definition Comp_Discr_mor (a b c : U) (f : Discr_mor a b) :=
match f in (Discr_mor d d0) return (Discr_mor d0 c -> Discr_mor d c) with
| Build_Discr_mor x =>
fun g : Discr_mor x c =>
match g in (Discr_mor d d0) return (Discr_mor d d0) with
| Build_Discr_mor x => Build_Discr_mor x
end
end.
Definition Comp_Discr := Build_Comp Comp_Discr_congl Comp_Discr_congr.
Definition Id_Discr (a : U) := Build_Discr_mor a.

Lemma Idr_Discr : Idr_law Comp_Discr Id_Discr.