Skip to content

Commit

Permalink
feat(category_theory/nat_iso): dsimp lemma for natural isomorphisms (#…
Browse files Browse the repository at this point in the history
…5973)

a little simp lemma
  • Loading branch information
b-mehta committed Feb 1, 2021
1 parent 8273588 commit 89c7963
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/category_theory/natural_isomorphism.lean
Expand Up @@ -156,6 +156,8 @@ instance is_iso_app_of_is_iso (α : F ⟶ G) [is_iso α] (X) : is_iso (α.app X)
hom_inv_id' := congr_fun (congr_arg nat_trans.app (is_iso.hom_inv_id α)) X,
inv_hom_id' := congr_fun (congr_arg nat_trans.app (is_iso.inv_hom_id α)) X }

@[simp] lemma is_iso_inv_app (α : F ⟶ G) [is_iso α] (X) : (inv α).app X = inv (α.app X) := rfl

/--
Construct a natural isomorphism between functors by giving object level isomorphisms,
and checking naturality only in the forward direction.
Expand Down

0 comments on commit 89c7963

Please sign in to comment.