fix tests
diff --git a/tests/bench/liasolver.lean b/tests/bench/liasolver.lean
index adcfab6..00edf8e 100644
--- a/tests/bench/liasolver.lean
+++ b/tests/bench/liasolver.lean
@@ -170,7 +170,7 @@
     let (i, c) := e.coeffs.getAny?.get!
     return { e with
       coeffs := e.coeffs.insert i 1
-      const := Int.div e.const c }
+      const := Int.ediv e.const c }
 
   def invert (e : Equation) : Equation :=
     { e with
diff --git a/tests/lean/307.lean b/tests/lean/307.lean
index 3971625..40433a3 100644
--- a/tests/lean/307.lean
+++ b/tests/lean/307.lean
@@ -7,46 +7,37 @@
 #reduce INT32_MIN % -1
 #eval INT32_MIN % -1
 
-#reduce (Int.mod (-2 : Int) 0)
-#eval (Int.mod (-2 : Int) 0)
+#reduce (Int.emod (-2 : Int) 0)
+#eval (Int.emod (-2 : Int) 0)
 
-#reduce -(Int.mod (-2 : Int) 0)
-#eval -(Int.mod (-2 : Int) 0)
+#reduce -(Int.emod (-2 : Int) 0)
+#eval -(Int.emod (-2 : Int) 0)
 
 @[noinline] def oneU8 : UInt8 := 1
 
 #reduce (UInt8.mod oneU8 0).val.val
 #eval (UInt8.mod oneU8 0)
 
-#reduce (UInt8.modn oneU8 0).val.val
-#eval (UInt8.modn oneU8 0)
+#reduce (UInt8.mod oneU8 0).val.val
+#eval (UInt8.mod oneU8 0)
 
-@[noinline] def int_div x y := Int.div x y
-@[noinline] def int_mod x y := Int.mod x y
+@[noinline] def int_div x y := Int.ediv x y
+@[noinline] def int_mod x y := Int.emod x y
 @[noinline] def uint8_mod x y := UInt8.mod x y
-@[noinline] def uint8_modn x y := UInt8.modn x y
 
 @[noinline] def oneU16 : UInt16 := 1
 
 #reduce (UInt16.mod oneU16 0).val.val
 #eval (UInt16.mod oneU16 0)
 
-#reduce (UInt16.modn oneU16 0).val.val
-#eval (UInt16.modn oneU16 0)
-
 @[noinline] def uint16_mod x y := UInt16.mod x y
-@[noinline] def uint16_modn x y := UInt16.modn x y
 
 @[noinline] def oneU32 : UInt32 := 1
 
 #reduce (UInt32.mod oneU32 0).val.val
 #eval (UInt32.mod oneU32 0)
 
-#reduce (UInt32.modn oneU32 0).val.val
-#eval (UInt32.modn oneU32 0)
-
 @[noinline] def uint32_mod x y := UInt32.mod x y
-@[noinline] def uint32_modn x y := UInt32.modn x y
 
 
 @[noinline] def oneU64 : UInt64 := 1
@@ -54,19 +45,13 @@
 #reduce (UInt64.mod oneU64 0).val.val
 #eval (UInt64.mod oneU64 0)
 
-#reduce (UInt64.modn oneU64 0).val.val
-#eval (UInt64.modn oneU64 0)
-
 @[noinline] def uint64_mod x y := UInt64.mod x y
-@[noinline] def uint64_modn x y := UInt64.modn x y
 
 @[noinline] def oneUSize : USize := 1
 
 #eval (USize.mod oneUSize 0)
-#eval (USize.modn oneUSize 0)
 
 @[noinline] def usize_mod x y := USize.mod x y
-@[noinline] def usize_modn x y := USize.modn x y
 
 def main : IO Unit := do
   IO.println <| int_div INT32_MIN (-1)
@@ -74,14 +59,9 @@
   IO.println <| int_mod INT32_MIN (-1)
   IO.println <| int_mod (-2) 0
   IO.println <| uint8_mod 1 0
-  IO.println <| uint8_modn 1 0
   IO.println <| uint16_mod 1 0
-  IO.println <| uint16_modn 1 0
   IO.println <| uint32_mod 1 0
-  IO.println <| uint32_modn 1 0
   IO.println <| uint64_mod 1 0
-  IO.println <| uint64_modn 1 0
   IO.println <| usize_mod 1 0
-  IO.println <| usize_modn 1 0
 
 #eval main
diff --git a/tests/lean/307.lean.expected.out b/tests/lean/307.lean.expected.out
index bc1579e..3dbad73 100644
--- a/tests/lean/307.lean.expected.out
+++ b/tests/lean/307.lean.expected.out
@@ -19,13 +19,6 @@
 1
 1
 1
-1
-1
-1
-1
-1
-1
-1
 2147483648
 0
 0
@@ -35,8 +28,3 @@
 1
 1
 1
-1
-1
-1
-1
-1
diff --git a/tests/lean/matchOfNatIssue.lean b/tests/lean/matchOfNatIssue.lean
index 7619026..3f17f64 100644
--- a/tests/lean/matchOfNatIssue.lean
+++ b/tests/lean/matchOfNatIssue.lean
@@ -1,13 +1,13 @@
-example (x : Int) (h : x = 2) : Int.div 2 1 = x := by
-  simp [Int.div]
+example (x : Int) (h : x = 2) : Int.ediv 2 1 = x := by
+  simp [Int.ediv]
   trace_state
   simp (config := { decide := true }) [h]
 
-example (n : Nat) : Int.div (Int.ofNat n) (Int.ofNat 0) = Int.ofNat (n / 0) := by
-  simp [Int.div]
+example (n : Nat) : Int.ediv (Int.ofNat n) (Int.ofNat 0) = Int.ofNat (n / 0) := by
+  simp [Int.ediv]
 
-example (n : Nat) : Int.div (Int.ofNat n) 0 = Int.ofNat (n / 0) := by
-  simp [Int.div]
+example (n : Nat) : Int.ediv (Int.ofNat n) 0 = Int.ofNat (n / 0) := by
+  simp [Int.ediv]
 
 example (n : Nat) : Int.mul (Int.ofNat n) (Int.ofNat 0) = Int.ofNat (n * 0) := by
   simp [Int.mul]