feat: add LawfulBEq Int instance
This commit is contained in:
parent
73076b855c
commit
bb3fc358c9
1 changed files with 4 additions and 0 deletions
|
|
@ -170,4 +170,8 @@ protected def pow (m : Int) : Nat → Int
|
|||
instance : HPow Int Nat Int where
|
||||
hPow := Int.pow
|
||||
|
||||
instance : LawfulBEq Int where
|
||||
eq_of_beq a b h := by simp [BEq.beq] at h; assumption
|
||||
rfl a := by simp [BEq.beq]
|
||||
|
||||
end Int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue