summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSon Ho2024-04-12 08:39:24 +0200
committerSon Ho2024-04-12 08:39:24 +0200
commit16c23a20072d574ec812b6059978e3a78776c1ca (patch)
treea3d4c36d87c86132c80553d97ed0d19306285a49
parentba7462d7da5185456298f240f2e6f6dac240cc7e (diff)
Fix a proof
-rw-r--r--backends/lean/Base/Primitives/Scalar.lean1
1 files changed, 0 insertions, 1 deletions
diff --git a/backends/lean/Base/Primitives/Scalar.lean b/backends/lean/Base/Primitives/Scalar.lean
index d1f7bee7..8de2b3f2 100644
--- a/backends/lean/Base/Primitives/Scalar.lean
+++ b/backends/lean/Base/Primitives/Scalar.lean
@@ -993,7 +993,6 @@ theorem core.num.checked_mul_spec {ty} {x y : Scalar ty} :
simp only [checked_mul, Option.ofResult]
have : Int.mul ↑x ↑y = ↑x * ↑y := by simp -- TODO: why do we need this??
cases heq: x * y <;> simp_all <;> simp only [HMul.hMul, Scalar.mul, Mul.mul] at heq
- <;> simp [add_neg_eq] at heq
<;> simp_all
theorem Scalar.div_equiv {ty} {x y : Scalar ty} :