diff options
author | Son HO | 2024-03-08 12:09:09 +0100 |
---|---|---|
committer | GitHub | 2024-03-08 12:09:09 +0100 |
commit | b604bb9935007a1f0e9c7f556f8196f0e14c85ce (patch) | |
tree | 700439fbe96ea5980216e06b388e863ed8ac314b /backends/lean/Base/Arith | |
parent | 305f916c602457b0a1fa8ce5569c6c0bf26d6f8e (diff) | |
parent | a7452421be018e5d75065e2038f2f50042a80f3c (diff) |
Merge pull request #82 from AeneasVerif/son/switch
Improve tuple projections and matches over integers in Lean
Diffstat (limited to 'backends/lean/Base/Arith')
-rw-r--r-- | backends/lean/Base/Arith/Scalar.lean | 2 |
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 |