summaryrefslogtreecommitdiff
path: root/backends/lean/Base/Arith
diff options
context:
space:
mode:
authorSon Ho2024-03-08 08:50:50 +0100
committerSon Ho2024-03-08 08:50:50 +0100
commit46b126f4e0e86f14475bc310e150948434726dc7 (patch)
tree47f1ee50bfbb29c9c1d74c492f2c817f2709d2e0 /backends/lean/Base/Arith
parentf74647773d7dd21580fd938dd9b4e300719b0234 (diff)
Update the handling of notations like #u32 or #isize
Diffstat (limited to '')
-rw-r--r--backends/lean/Base/Arith/Scalar.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/lean/Base/Arith/Scalar.lean b/backends/lean/Base/Arith/Scalar.lean
index 43fd2766..9441be86 100644
--- a/backends/lean/Base/Arith/Scalar.lean
+++ b/backends/lean/Base/Arith/Scalar.lean
@@ -74,7 +74,7 @@ example : U32.ofInt 1 ≤ U32.max := by
scalar_tac
example (x : Int) (h0 : 0 ≤ x) (h1 : x ≤ U32.max) :
- U32.ofInt x (by constructor <;> scalar_tac) ≤ U32.max := by
+ U32.ofIntCore x (by constructor <;> scalar_tac) ≤ U32.max := by
scalar_tac
-- Not equal