refactor(library/logic/classes/decidable): rename 'decidable_eq_to_decidable' theorem to 'of_decidable_eq'
This commit is contained in:
parent
4088cdc139
commit
5087f03889
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ end decidable
|
|||
inductive decidable_eq [class] (A : Type) : Type :=
|
||||
intro : (Π x y : A, decidable (x = y)) → decidable_eq A
|
||||
|
||||
theorem decidable_eq_to_decidable [instance] {A : Type} (H : decidable_eq A) (x y : A) : decidable (x = y) :=
|
||||
theorem of_decidable_eq [instance] {A : Type} (H : decidable_eq A) (x y : A) : decidable (x = y) :=
|
||||
decidable_eq.rec (λ H, H) H x y
|
||||
|
||||
coercion decidable_eq_to_decidable : decidable_eq
|
||||
coercion of_decidable_eq : decidable_eq
|
||||
|
|
Loading…
Reference in a new issue