Category-Theory/src/Category/Properties.agda
2024-10-13 19:28:44 -07:00

14 lines
388 B
Agda
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

open import Category.Core
module Category.Properties {ℓ₁ ℓ₂} (𝐂 : Category {ℓ₁} {ℓ₂}) where
open Category 𝐂
unique-identity : {A} (f : Hom A A) ( {B} (g : Hom A B) g f g) f 𝟙
unique-identity f H =
begin
f
≡⟨ sym (identity-ˡ f)
𝟙 f
≡⟨ H 𝟙
𝟙