fix(library/data/category): minor problem that was being masked by bug #182, fixes #183

This commit is contained in:
Leonardo de Moura 2014-09-11 16:58:32 -07:00
parent 7f1977694f
commit c8e20ff3c0

View file

@ -43,7 +43,7 @@ namespace category
theorem id_left : Π {A B : ob} {f : mor A B}, id ∘ f = f :=
rec (λ mor comp id assoc idr idl, idl) Cat
theorem id_compose : (ID A) ∘ id = id :=
theorem id_compose {A : ob} : (ID A) ∘ id = id :=
id_left
theorem left_id_unique (i : mor A A) (H : Π{B} {f : mor B A}, i ∘ f = f) : i = id :=