open sigma constant hom.{l₁ l₂} {A : Type.{l₁}} {B : Type.{l₂}} (a : A) (b : B) : Type.{max l₁ l₂} attribute [reducible] definition arrow_ob (A B : Type) : Type := Σ (a : A) (b : B), hom a b definition src1 {A B : Type} (x : arrow_ob A B) : A := match x with (sigma.mk a (sigma.mk b h)) := a end definition src2 {A B : Type} : arrow_ob A B → A | src2 (sigma.mk a (sigma.mk b c)) := a definition src3 {A B : Type} (x : arrow_ob A B) : A := match x with (sigma.mk a (sigma.mk b c)) := a end example (A B : Type) (x : arrow_ob A B) : src1 x = src2 x := rfl example (A B : Type) (x : arrow_ob A B) : src1 x = src3 x := rfl example (A B : Type) (x : arrow_ob A B) : src2 x = src3 x := rfl