diff options
author | Son Ho | 2023-08-09 10:01:32 +0200 |
---|---|---|
committer | Son Ho | 2023-08-09 10:01:32 +0200 |
commit | a2c4ffd56b6f1760374707f083f6c4347b116538 (patch) | |
tree | 4a3b3ba3197261bf279d5be270bf91d23023cbca | |
parent | 967d08107de73f7f151dc8b4fb1f1cc61f109051 (diff) |
Update the nix flake and regenerate the code
-rw-r--r-- | flake.lock | 18 | ||||
-rw-r--r-- | tests/coq/betree/BetreeMain_Funs.v | 2 | ||||
-rw-r--r-- | tests/coq/hashmap/Hashmap_Funs.v | 2 | ||||
-rw-r--r-- | tests/coq/hashmap_on_disk/HashmapMain_Funs.v | 2 | ||||
-rw-r--r-- | tests/coq/misc/Constants.v | 2 | ||||
-rw-r--r-- | tests/fstar/betree/BetreeMain.Funs.fst | 2 | ||||
-rw-r--r-- | tests/fstar/betree_back_stateful/BetreeMain.Funs.fst | 2 | ||||
-rw-r--r-- | tests/fstar/hashmap/Hashmap.Funs.fst | 2 | ||||
-rw-r--r-- | tests/fstar/hashmap_on_disk/HashmapMain.Funs.fst | 2 | ||||
-rw-r--r-- | tests/fstar/misc/Constants.fst | 2 | ||||
-rw-r--r-- | tests/hol4/betree/betreeMain_FunsScript.sml | 2 | ||||
-rw-r--r-- | tests/hol4/hashmap/hashmap_FunsScript.sml | 2 | ||||
-rw-r--r-- | tests/hol4/hashmap_on_disk/hashmapMain_FunsScript.sml | 2 | ||||
-rw-r--r-- | tests/hol4/misc-constants/constantsScript.sml | 2 | ||||
-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 |
18 files changed, 26 insertions, 26 deletions
@@ -8,11 +8,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1691392627, - "narHash": "sha256-9h6jiaI6633oknl+wI/5h5LVXZ0iYLH3QPZQOpjEaxA=", + "lastModified": 1691564264, + "narHash": "sha256-l0vAmWIlF2mLl5dXaK+mvwEy+0cH7IjpepMIEPn/Ba4=", "owner": "aeneasverif", "repo": "charon", - "rev": "9c0011255830bb560a0aa4d0a279d32f2742585f", + "rev": "d7694fc250a3f96b8ad1ed4d687d3e341edc68cd", "type": "github" }, "original": { @@ -287,11 +287,11 @@ "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1691332350, - "narHash": "sha256-UVlpyyAobfa15i4ZKT1oP6iHjNkceNN47BpnQqu6wWU=", + "lastModified": 1691545327, + "narHash": "sha256-9oAUBNRvZxK8dBuxzH5GGhET5lyolecOHmbwywgyk4s=", "owner": "leanprover", "repo": "lean4", - "rev": "1f3ef28a1dfe903c0a62663fee4301e6da015942", + "rev": "e7a1512da8d6f9339766f3a269de56e546757fde", "type": "github" }, "original": { @@ -340,11 +340,11 @@ "nixpkgs": "nixpkgs_7" }, "locked": { - "lastModified": 1691332350, - "narHash": "sha256-UVlpyyAobfa15i4ZKT1oP6iHjNkceNN47BpnQqu6wWU=", + "lastModified": 1691545327, + "narHash": "sha256-9oAUBNRvZxK8dBuxzH5GGhET5lyolecOHmbwywgyk4s=", "owner": "leanprover", "repo": "lean4", - "rev": "1f3ef28a1dfe903c0a62663fee4301e6da015942", + "rev": "e7a1512da8d6f9339766f3a269de56e546757fde", "type": "github" }, "original": { diff --git a/tests/coq/betree/BetreeMain_Funs.v b/tests/coq/betree/BetreeMain_Funs.v index e15085ff..1e457433 100644 --- a/tests/coq/betree/BetreeMain_Funs.v +++ b/tests/coq/betree/BetreeMain_Funs.v @@ -75,7 +75,7 @@ Definition betree_node_id_counter_fresh_id_back Return {| Betree_node_id_counter_next_node_id := i |} . -(** [core::num::u64::{10}::MAX] *) +(** [core::num::u64::{9}::MAX] *) Definition core_num_u64_max_body : result u64 := Return 18446744073709551615%u64 . diff --git a/tests/coq/hashmap/Hashmap_Funs.v b/tests/coq/hashmap/Hashmap_Funs.v index c412abcd..e950ba0b 100644 --- a/tests/coq/hashmap/Hashmap_Funs.v +++ b/tests/coq/hashmap/Hashmap_Funs.v @@ -190,7 +190,7 @@ Definition hash_map_insert_no_resize_fwd_back |}) . -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) Definition core_num_u32_max_body : result u32 := Return 4294967295%u32. Definition core_num_u32_max_c : u32 := core_num_u32_max_body%global. diff --git a/tests/coq/hashmap_on_disk/HashmapMain_Funs.v b/tests/coq/hashmap_on_disk/HashmapMain_Funs.v index e6095fe1..657d5590 100644 --- a/tests/coq/hashmap_on_disk/HashmapMain_Funs.v +++ b/tests/coq/hashmap_on_disk/HashmapMain_Funs.v @@ -208,7 +208,7 @@ Definition hashmap_hash_map_insert_no_resize_fwd_back |}) . -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) Definition core_num_u32_max_body : result u32 := Return 4294967295%u32. Definition core_num_u32_max_c : u32 := core_num_u32_max_body%global. diff --git a/tests/coq/misc/Constants.v b/tests/coq/misc/Constants.v index 710ae1d9..f1c32730 100644 --- a/tests/coq/misc/Constants.v +++ b/tests/coq/misc/Constants.v @@ -12,7 +12,7 @@ Module Constants. Definition x0_body : result u32 := Return 0%u32. Definition x0_c : u32 := x0_body%global. -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) Definition core_num_u32_max_body : result u32 := Return 4294967295%u32. Definition core_num_u32_max_c : u32 := core_num_u32_max_body%global. diff --git a/tests/fstar/betree/BetreeMain.Funs.fst b/tests/fstar/betree/BetreeMain.Funs.fst index bd4e37d4..847dc865 100644 --- a/tests/fstar/betree/BetreeMain.Funs.fst +++ b/tests/fstar/betree/BetreeMain.Funs.fst @@ -60,7 +60,7 @@ let betree_node_id_counter_fresh_id_back let* i = u64_add self.betree_node_id_counter_next_node_id 1 in Return { betree_node_id_counter_next_node_id = i } -(** [core::num::u64::{10}::MAX] *) +(** [core::num::u64::{9}::MAX] *) let core_num_u64_max_body : result u64 = Return 18446744073709551615 let core_num_u64_max_c : u64 = eval_global core_num_u64_max_body diff --git a/tests/fstar/betree_back_stateful/BetreeMain.Funs.fst b/tests/fstar/betree_back_stateful/BetreeMain.Funs.fst index be8ac438..3d08cd3c 100644 --- a/tests/fstar/betree_back_stateful/BetreeMain.Funs.fst +++ b/tests/fstar/betree_back_stateful/BetreeMain.Funs.fst @@ -60,7 +60,7 @@ let betree_node_id_counter_fresh_id_back let* i = u64_add self.betree_node_id_counter_next_node_id 1 in Return { betree_node_id_counter_next_node_id = i } -(** [core::num::u64::{10}::MAX] *) +(** [core::num::u64::{9}::MAX] *) let core_num_u64_max_body : result u64 = Return 18446744073709551615 let core_num_u64_max_c : u64 = eval_global core_num_u64_max_body diff --git a/tests/fstar/hashmap/Hashmap.Funs.fst b/tests/fstar/hashmap/Hashmap.Funs.fst index 950f1490..f4c13a7b 100644 --- a/tests/fstar/hashmap/Hashmap.Funs.fst +++ b/tests/fstar/hashmap/Hashmap.Funs.fst @@ -139,7 +139,7 @@ let hash_map_insert_no_resize_fwd_back let* v = vec_index_mut_back (list_t t) self.hash_map_slots hash_mod l0 in Return { self with hash_map_slots = v } -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) let core_num_u32_max_body : result u32 = Return 4294967295 let core_num_u32_max_c : u32 = eval_global core_num_u32_max_body diff --git a/tests/fstar/hashmap_on_disk/HashmapMain.Funs.fst b/tests/fstar/hashmap_on_disk/HashmapMain.Funs.fst index f6d9c8cf..1c94209c 100644 --- a/tests/fstar/hashmap_on_disk/HashmapMain.Funs.fst +++ b/tests/fstar/hashmap_on_disk/HashmapMain.Funs.fst @@ -157,7 +157,7 @@ let hashmap_hash_map_insert_no_resize_fwd_back hash_mod l0 in Return { self with hashmap_hash_map_slots = v } -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) let core_num_u32_max_body : result u32 = Return 4294967295 let core_num_u32_max_c : u32 = eval_global core_num_u32_max_body diff --git a/tests/fstar/misc/Constants.fst b/tests/fstar/misc/Constants.fst index aae997fa..d2b0415e 100644 --- a/tests/fstar/misc/Constants.fst +++ b/tests/fstar/misc/Constants.fst @@ -9,7 +9,7 @@ open Primitives let x0_body : result u32 = Return 0 let x0_c : u32 = eval_global x0_body -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) let core_num_u32_max_body : result u32 = Return 4294967295 let core_num_u32_max_c : u32 = eval_global core_num_u32_max_body diff --git a/tests/hol4/betree/betreeMain_FunsScript.sml b/tests/hol4/betree/betreeMain_FunsScript.sml index b53c7b8d..5e604f8c 100644 --- a/tests/hol4/betree/betreeMain_FunsScript.sml +++ b/tests/hol4/betree/betreeMain_FunsScript.sml @@ -88,7 +88,7 @@ val betree_node_id_counter_fresh_id_back_def = Define ‘ od ’ -(** [core::num::u64::{10}::MAX] *) +(** [core::num::u64::{9}::MAX] *) Definition core_num_u64_max_body_def: core_num_u64_max_body : u64 result = Return (int_to_u64 18446744073709551615) End diff --git a/tests/hol4/hashmap/hashmap_FunsScript.sml b/tests/hol4/hashmap/hashmap_FunsScript.sml index 1ed57080..e3c3d2a5 100644 --- a/tests/hol4/hashmap/hashmap_FunsScript.sml +++ b/tests/hol4/hashmap/hashmap_FunsScript.sml @@ -170,7 +170,7 @@ val hash_map_insert_no_resize_fwd_back_def = Define ‘ od ’ -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) Definition core_num_u32_max_body_def: core_num_u32_max_body : u32 result = Return (int_to_u32 4294967295) End diff --git a/tests/hol4/hashmap_on_disk/hashmapMain_FunsScript.sml b/tests/hol4/hashmap_on_disk/hashmapMain_FunsScript.sml index 6ec6223d..b21c4f58 100644 --- a/tests/hol4/hashmap_on_disk/hashmapMain_FunsScript.sml +++ b/tests/hol4/hashmap_on_disk/hashmapMain_FunsScript.sml @@ -193,7 +193,7 @@ val hashmap_hash_map_insert_no_resize_fwd_back_def = Define ‘ od ’ -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) Definition core_num_u32_max_body_def: core_num_u32_max_body : u32 result = Return (int_to_u32 4294967295) End diff --git a/tests/hol4/misc-constants/constantsScript.sml b/tests/hol4/misc-constants/constantsScript.sml index 145c3e0f..d589d348 100644 --- a/tests/hol4/misc-constants/constantsScript.sml +++ b/tests/hol4/misc-constants/constantsScript.sml @@ -13,7 +13,7 @@ Definition x0_c_def: x0_c : u32 = get_return_value x0_body End -(** [core::num::u32::{9}::MAX] *) +(** [core::num::u32::{8}::MAX] *) Definition core_num_u32_max_body_def: core_num_u32_max_body : u32 result = Return (int_to_u32 4294967295) End 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) |