summaryrefslogtreecommitdiff
path: root/tests/hashmap
diff options
context:
space:
mode:
authorSon Ho2022-03-04 14:02:13 +0100
committerSon Ho2022-03-04 14:02:13 +0100
commit7c444591822e170a15b322c2079202466cc7a475 (patch)
tree0c9a1fc6b9b85265108647f7bdc87973edad6e17 /tests/hashmap
parent479694819f7409cf92b4d0f2775853cda18c3ab4 (diff)
Generate hashmap_on_disk
Diffstat (limited to 'tests/hashmap')
-rw-r--r--tests/hashmap/Hashmap.Clauses.Template.fst62
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/hashmap/Hashmap.Clauses.Template.fst b/tests/hashmap/Hashmap.Clauses.Template.fst
new file mode 100644
index 00000000..257cf7a6
--- /dev/null
+++ b/tests/hashmap/Hashmap.Clauses.Template.fst
@@ -0,0 +1,62 @@
+(** THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS *)
+(** [hashmap]: templates for the decreases clauses *)
+module Hashmap.Clauses.Template
+open Primitives
+open Hashmap.Types
+
+#set-options "--z3rlimit 50 --fuel 0 --ifuel 1"
+
+(** [hashmap::HashMap::{0}::allocate_slots]: decreases clause *)
+unfold
+let hash_map_allocate_slots_decreases (t : Type0) (slots : vec (list_t t))
+ (n : usize) : nat =
+ admit ()
+
+(** [hashmap::HashMap::{0}::clear_slots]: decreases clause *)
+unfold
+let hash_map_clear_slots_decreases (t : Type0) (slots : vec (list_t t))
+ (i : usize) : nat =
+ admit ()
+
+(** [hashmap::HashMap::{0}::insert_in_list]: decreases clause *)
+unfold
+let hash_map_insert_in_list_decreases (t : Type0) (key : usize) (value : t)
+ (ls : list_t t) : nat =
+ admit ()
+
+(** [hashmap::HashMap::{0}::move_elements_from_list]: decreases clause *)
+unfold
+let hash_map_move_elements_from_list_decreases (t : Type0)
+ (ntable : hash_map_t t) (ls : list_t t) : nat =
+ admit ()
+
+(** [hashmap::HashMap::{0}::move_elements]: decreases clause *)
+unfold
+let hash_map_move_elements_decreases (t : Type0) (ntable : hash_map_t t)
+ (slots : vec (list_t t)) (i : usize) : nat =
+ admit ()
+
+(** [hashmap::HashMap::{0}::contains_key_in_list]: decreases clause *)
+unfold
+let hash_map_contains_key_in_list_decreases (t : Type0) (key : usize)
+ (ls : list_t t) : nat =
+ admit ()
+
+(** [hashmap::HashMap::{0}::get_in_list]: decreases clause *)
+unfold
+let hash_map_get_in_list_decreases (t : Type0) (key : usize) (ls : list_t t) :
+ nat =
+ admit ()
+
+(** [hashmap::HashMap::{0}::get_mut_in_list]: decreases clause *)
+unfold
+let hash_map_get_mut_in_list_decreases (t : Type0) (key : usize)
+ (ls : list_t t) : nat =
+ admit ()
+
+(** [hashmap::HashMap::{0}::remove_from_list]: decreases clause *)
+unfold
+let hash_map_remove_from_list_decreases (t : Type0) (key : usize)
+ (ls : list_t t) : nat =
+ admit ()
+