chore: add simp theorem heq_eq_eq
This commit is contained in:
parent
b134b9a3a4
commit
8131aa5a64
1 changed files with 2 additions and 0 deletions
|
|
@ -148,3 +148,5 @@ theorem dite_congr {s : Decidable b} [Decidable c]
|
|||
|
||||
@[simp] theorem Nat.beq_to_eq (a b : Nat) : ((a == b) = true) = (a = b) := by simp [BEq.beq]
|
||||
@[simp] theorem Nat.not_beq_to_not_eq (a b : Nat) : ((!(a == b)) = true) = ¬(a = b) := by simp [BEq.beq]
|
||||
|
||||
@[simp] theorem heq_eq_eq {α : Sort u} (a b : α) : HEq a b = (a = b) := propext <| Iff.intro eq_of_heq heq_of_eq
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue