feat: missing instance
This commit is contained in:
parent
a9c06230b2
commit
2df230e7a8
1 changed files with 3 additions and 0 deletions
|
|
@ -64,6 +64,9 @@ instance coeSortTrans {α : Sort u} {β : Sort v} {δ : Sort w} (a : α) [CoeT
|
|||
instance boolToProp : Coe Bool Prop :=
|
||||
{ coe := fun b => b = true }
|
||||
|
||||
instance coeDecidableEq (x : Bool) : Decidable (coe x) :=
|
||||
inferInstanceAs (Decidable (x = true))
|
||||
|
||||
instance decPropToBool (p : Prop) [Decidable p] : CoeDep Prop p Bool :=
|
||||
{ coe := decide p }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue