Skip to content

Commit

Permalink
feat(category_theory/opposites): iso.op (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwbarton authored and mergify[bot] committed May 14, 2019
1 parent 6dc0682 commit cefb9d4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/category_theory/opposites.lean
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,21 @@ rfl
end
end nat_trans

namespace iso

variables {X Y : C}

protected definition op (α : X ≅ Y) : op Y ≅ op X :=
{ hom := α.hom.op,
inv := α.inv.op,
hom_inv_id' := has_hom.hom.unop_inj α.inv_hom_id,
inv_hom_id' := has_hom.hom.unop_inj α.hom_inv_id }

@[simp] lemma op_hom {α : X ≅ Y} : α.op.hom = α.hom.op := rfl
@[simp] lemma op_inv {α : X ≅ Y} : α.op.inv = α.inv.op := rfl

end iso

namespace nat_iso

variables {D : Sort u₂} [𝒟 : category.{v₂} D]
Expand Down

0 comments on commit cefb9d4

Please sign in to comment.