summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Bauereiss2019-06-06 16:27:06 +0100
committerThomas Bauereiss2019-06-06 17:57:25 +0100
commit110bef3571a77fd8f1059827ea0bb29935ed785d (patch)
tree0d59934c55e8ecfefe11dc644f62554f75749e81 /lib
parent1ad5bb9ea7b4462c0ec07b0f6021f6f228834eb5 (diff)
Fix tdiv_int and tmod_int bindings for Lem
Also rename them for uniformity with other backends.
Diffstat (limited to 'lib')
-rw-r--r--lib/arith.sail4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arith.sail b/lib/arith.sail
index d04c7988..63c3168c 100644
--- a/lib/arith.sail
+++ b/lib/arith.sail
@@ -82,7 +82,7 @@ overload shr_int = {_shr32, _shr_int}
val tdiv_int = {
ocaml: "tdiv_int",
interpreter: "tdiv_int",
- lem: "integerDiv_t",
+ lem: "tdiv_int",
c: "tdiv_int",
coq: "Z.quot"
} : (int, int) -> int
@@ -91,7 +91,7 @@ val tdiv_int = {
val tmod_int = {
ocaml: "tmod_int",
interpreter: "tmod_int",
- lem: "integerMod_t",
+ lem: "tmod_int",
c: "tmod_int",
coq: "Z.rem"
} : (int, int) -> nat