fix: typo in theorem

`()` is `Unit`
This commit is contained in:
Leonardo de Moura 2021-03-03 19:50:11 -08:00
parent 3107473c9f
commit e841f16738

View file

@ -606,8 +606,8 @@ protected theorem PSigma.eta {α : Sort u} {β : α → Sort v} {a₁ a₂ : α}
theorem PUnit.subsingleton (a b : PUnit) : a = b := by
cases a; cases b; exact rfl
@[simp] theorem PUnit.eq_punit (a : PUnit) : a = () :=
PUnit.subsingleton a ()
@[simp] theorem PUnit.eq_punit (a : PUnit) : a = ⟨⟩ :=
PUnit.subsingleton a ⟨⟩
instance : Subsingleton PUnit :=
Subsingleton.intro PUnit.subsingleton