summaryrefslogtreecommitdiff
path: root/tests/lean/hashmap/Hashmap
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lean/hashmap/Hashmap')
-rw-r--r--tests/lean/hashmap/Hashmap/Clauses/Template.lean18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/lean/hashmap/Hashmap/Clauses/Template.lean b/tests/lean/hashmap/Hashmap/Clauses/Template.lean
index b767a0eb..7ba079f2 100644
--- a/tests/lean/hashmap/Hashmap/Clauses/Template.lean
+++ b/tests/lean/hashmap/Hashmap/Clauses/Template.lean
@@ -9,8 +9,8 @@ def hash_map_allocate_slots_loop_terminates (T : Type) (slots : Vec (list_t T))
(n : USize) :=
(slots, n)
+/- [hashmap::HashMap::{0}::allocate_slots]: decreases_by tactic -/
syntax "hash_map_allocate_slots_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_allocate_slots_loop_decreases $slots $n) =>`(tactic| sorry)
@@ -20,8 +20,8 @@ def hash_map_clear_loop_terminates (T : Type) (slots : Vec (list_t T))
(i : USize) :=
(slots, i)
+/- [hashmap::HashMap::{0}::clear]: decreases_by tactic -/
syntax "hash_map_clear_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_clear_loop_decreases $slots $i) =>`(tactic| sorry)
@@ -31,8 +31,8 @@ def hash_map_insert_in_list_loop_terminates (T : Type) (key : USize)
(value : T) (ls : list_t T) :=
(key, value, ls)
+/- [hashmap::HashMap::{0}::insert_in_list]: decreases_by tactic -/
syntax "hash_map_insert_in_list_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_insert_in_list_loop_decreases $key $value $ls) =>
`(tactic| sorry)
@@ -43,8 +43,8 @@ def hash_map_move_elements_from_list_loop_terminates (T : Type)
(ntable : hash_map_t T) (ls : list_t T) :=
(ntable, ls)
+/- [hashmap::HashMap::{0}::move_elements_from_list]: decreases_by tactic -/
syntax "hash_map_move_elements_from_list_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_move_elements_from_list_loop_decreases $ntable $ls) =>
`(tactic| sorry)
@@ -55,8 +55,8 @@ def hash_map_move_elements_loop_terminates (T : Type) (ntable : hash_map_t T)
(slots : Vec (list_t T)) (i : USize) :=
(ntable, slots, i)
+/- [hashmap::HashMap::{0}::move_elements]: decreases_by tactic -/
syntax "hash_map_move_elements_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_move_elements_loop_decreases $ntable $slots $i) =>
`(tactic| sorry)
@@ -67,8 +67,8 @@ def hash_map_contains_key_in_list_loop_terminates (T : Type) (key : USize)
(ls : list_t T) :=
(key, ls)
+/- [hashmap::HashMap::{0}::contains_key_in_list]: decreases_by tactic -/
syntax "hash_map_contains_key_in_list_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_contains_key_in_list_loop_decreases $key $ls) =>
`(tactic| sorry)
@@ -79,8 +79,8 @@ def hash_map_get_in_list_loop_terminates (T : Type) (key : USize)
(ls : list_t T) :=
(key, ls)
+/- [hashmap::HashMap::{0}::get_in_list]: decreases_by tactic -/
syntax "hash_map_get_in_list_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_get_in_list_loop_decreases $key $ls) =>`(tactic| sorry)
@@ -90,8 +90,8 @@ def hash_map_get_mut_in_list_loop_terminates (T : Type) (ls : list_t T)
(key : USize) :=
(ls, key)
+/- [hashmap::HashMap::{0}::get_mut_in_list]: decreases_by tactic -/
syntax "hash_map_get_mut_in_list_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_get_mut_in_list_loop_decreases $ls $key) =>`(tactic| sorry)
@@ -101,8 +101,8 @@ def hash_map_remove_from_list_loop_terminates (T : Type) (key : USize)
(ls : list_t T) :=
(key, ls)
+/- [hashmap::HashMap::{0}::remove_from_list]: decreases_by tactic -/
syntax "hash_map_remove_from_list_loop_decreases" term+ : tactic
-
macro_rules
| `(tactic| hash_map_remove_from_list_loop_decreases $key $ls) =>`(tactic| sorry)