diff options
author | Son HO | 2023-08-09 10:18:38 +0200 |
---|---|---|
committer | GitHub | 2023-08-09 10:18:38 +0200 |
commit | da97fc1e68d147439436ff883ac865a9cdeca18e (patch) | |
tree | 7d1165bcdd511f83555c63b29e6a24b8863bc1bf /tests/lean | |
parent | 3d377976afe382a32f6ce718b473db5f016b1e47 (diff) | |
parent | fe8c303fef16d03ee17cd6af018296c0268e888c (diff) |
Merge pull request #34 from AeneasVerif/son_update_rustc
Update rustc to nightly-2023-06-02
Diffstat (limited to 'tests/lean')
-rw-r--r-- | tests/lean/BetreeMain/Funs.lean | 2 | ||||
-rw-r--r-- | tests/lean/Constants.lean | 2 | ||||
-rw-r--r-- | tests/lean/Hashmap/Funs.lean | 2 | ||||
-rw-r--r-- | tests/lean/HashmapMain/Funs.lean | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/lean/BetreeMain/Funs.lean b/tests/lean/BetreeMain/Funs.lean index 933aac88..07ef08dc 100644 --- a/tests/lean/BetreeMain/Funs.lean +++ b/tests/lean/BetreeMain/Funs.lean @@ -64,7 +64,7 @@ def betree.NodeIdCounter.fresh_id_back let i ← self.next_node_id + (U64.ofInt 1) Result.ret { next_node_id := i } -/- [core::num::u64::{10}::MAX] -/ +/- [core::num::u64::{9}::MAX] -/ def core_num_u64_max_body : Result U64 := Result.ret (U64.ofInt 18446744073709551615) def core_num_u64_max_c : U64 := eval_global core_num_u64_max_body (by simp) diff --git a/tests/lean/Constants.lean b/tests/lean/Constants.lean index ec07d0fe..51b415d6 100644 --- a/tests/lean/Constants.lean +++ b/tests/lean/Constants.lean @@ -9,7 +9,7 @@ namespace constants def x0_body : Result U32 := Result.ret (U32.ofInt 0) def x0_c : U32 := eval_global x0_body (by simp) -/- [core::num::u32::{9}::MAX] -/ +/- [core::num::u32::{8}::MAX] -/ def core_num_u32_max_body : Result U32 := Result.ret (U32.ofInt 4294967295) def core_num_u32_max_c : U32 := eval_global core_num_u32_max_body (by simp) diff --git a/tests/lean/Hashmap/Funs.lean b/tests/lean/Hashmap/Funs.lean index d6796932..30b30e0b 100644 --- a/tests/lean/Hashmap/Funs.lean +++ b/tests/lean/Hashmap/Funs.lean @@ -132,7 +132,7 @@ def HashMap.insert_no_resize let v ← Vec.index_mut_back (List T) self.slots hash_mod l0 Result.ret { self with slots := v } -/- [core::num::u32::{9}::MAX] -/ +/- [core::num::u32::{8}::MAX] -/ def core_num_u32_max_body : Result U32 := Result.ret (U32.ofInt 4294967295) def core_num_u32_max_c : U32 := eval_global core_num_u32_max_body (by simp) diff --git a/tests/lean/HashmapMain/Funs.lean b/tests/lean/HashmapMain/Funs.lean index 74fe8a54..aec957ec 100644 --- a/tests/lean/HashmapMain/Funs.lean +++ b/tests/lean/HashmapMain/Funs.lean @@ -147,7 +147,7 @@ def hashmap.HashMap.insert_no_resize let v ← Vec.index_mut_back (hashmap.List T) self.slots hash_mod l0 Result.ret { self with slots := v } -/- [core::num::u32::{9}::MAX] -/ +/- [core::num::u32::{8}::MAX] -/ def core_num_u32_max_body : Result U32 := Result.ret (U32.ofInt 4294967295) def core_num_u32_max_c : U32 := eval_global core_num_u32_max_body (by simp) |