Skip to content

Commit

Permalink
feat: port/CategoryTheory.StructuredArrow (#2486)
Browse files Browse the repository at this point in the history
Co-authored-by: adamtopaz <github@adamtopaz.com>
  • Loading branch information
mattrobball and adamtopaz committed Mar 2, 2023
1 parent 3ea0b02 commit 064dbd9
Show file tree
Hide file tree
Showing 3 changed files with 631 additions and 0 deletions.
1 change: 1 addition & 0 deletions Mathlib.lean
Expand Up @@ -310,6 +310,7 @@ import Mathlib.CategoryTheory.Products.Bifunctor
import Mathlib.CategoryTheory.Quotient
import Mathlib.CategoryTheory.Sigma.Basic
import Mathlib.CategoryTheory.Skeletal
import Mathlib.CategoryTheory.StructuredArrow
import Mathlib.CategoryTheory.Sums.Associator
import Mathlib.CategoryTheory.Sums.Basic
import Mathlib.CategoryTheory.Thin
Expand Down
3 changes: 3 additions & 0 deletions Mathlib/CategoryTheory/DiscreteCategory.lean
Expand Up @@ -105,6 +105,9 @@ instance [Subsingleton α] : Subsingleton (Discrete α) :=
ext
apply Subsingleton.elim⟩

instance (X Y : Discrete α) : Subsingleton (X ⟶ Y) :=
show Subsingleton (ULift (PLift _)) from inferInstance

/-
Porting note: It seems that `aesop` currently has no way to add lemmas locally.
Expand Down

0 comments on commit 064dbd9

Please sign in to comment.