diff options
author | Son Ho | 2023-03-07 08:41:57 +0100 |
---|---|---|
committer | Son HO | 2023-06-04 21:44:33 +0200 |
commit | feb60683216a6d9193d6353605560c6c80a1ab41 (patch) | |
tree | 222f61e4c5cbcd166e81d82350afc54b002774df /tests/lean/hashmap/Hashmap/Clauses | |
parent | b4bad8df4eabb17c71dfa7b24d79d62fc06d0a70 (diff) |
Make minor modifications and regenerate the Lean files
Diffstat (limited to 'tests/lean/hashmap/Hashmap/Clauses')
-rw-r--r-- | tests/lean/hashmap/Hashmap/Clauses/Template.lean | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lean/hashmap/Hashmap/Clauses/Template.lean b/tests/lean/hashmap/Hashmap/Clauses/Template.lean index 2bc92153..b767a0eb 100644 --- a/tests/lean/hashmap/Hashmap/Clauses/Template.lean +++ b/tests/lean/hashmap/Hashmap/Clauses/Template.lean @@ -5,7 +5,7 @@ import Hashmap.Types /- [hashmap::HashMap::{0}::allocate_slots]: termination measure -/ @[simp] -def hash_map_allocate_slots_loop_terminates (T : Type) (slots : vec (list_t T)) +def hash_map_allocate_slots_loop_terminates (T : Type) (slots : Vec (list_t T)) (n : USize) := (slots, n) @@ -16,7 +16,7 @@ macro_rules /- [hashmap::HashMap::{0}::clear]: termination measure -/ @[simp] -def hash_map_clear_loop_terminates (T : Type) (slots : vec (list_t T)) +def hash_map_clear_loop_terminates (T : Type) (slots : Vec (list_t T)) (i : USize) := (slots, i) @@ -52,7 +52,7 @@ macro_rules /- [hashmap::HashMap::{0}::move_elements]: termination measure -/ @[simp] def hash_map_move_elements_loop_terminates (T : Type) (ntable : hash_map_t T) - (slots : vec (list_t T)) (i : USize) := + (slots : Vec (list_t T)) (i : USize) := (ntable, slots, i) syntax "hash_map_move_elements_loop_decreases" term+ : tactic |