diff options
author | Son Ho | 2023-05-09 10:40:19 +0200 |
---|---|---|
committer | Son HO | 2023-06-04 21:44:33 +0200 |
commit | 50d1542f830b7ceb73efd34573b6b56b4971a114 (patch) | |
tree | c73b6c415b39cdbc3d92ec3056a2521445ff8afc /tests/lean/hashmap/Hashmap/Clauses/Template.lean | |
parent | 4078f2569b362920a648622be73761cddde8a288 (diff) |
Regenerate the translated files for Lean
Diffstat (limited to 'tests/lean/hashmap/Hashmap/Clauses/Template.lean')
-rw-r--r-- | tests/lean/hashmap/Hashmap/Clauses/Template.lean | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/lean/hashmap/Hashmap/Clauses/Template.lean b/tests/lean/hashmap/Hashmap/Clauses/Template.lean index 7ba079f2..560592c8 100644 --- a/tests/lean/hashmap/Hashmap/Clauses/Template.lean +++ b/tests/lean/hashmap/Hashmap/Clauses/Template.lean @@ -6,7 +6,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)) - (n : USize) := + (n : Usize) := (slots, n) /- [hashmap::HashMap::{0}::allocate_slots]: decreases_by tactic -/ @@ -17,7 +17,7 @@ macro_rules /- [hashmap::HashMap::{0}::clear]: termination measure -/ @[simp] def hash_map_clear_loop_terminates (T : Type) (slots : Vec (list_t T)) - (i : USize) := + (i : Usize) := (slots, i) /- [hashmap::HashMap::{0}::clear]: decreases_by tactic -/ @@ -27,7 +27,7 @@ macro_rules /- [hashmap::HashMap::{0}::insert_in_list]: termination measure -/ @[simp] -def hash_map_insert_in_list_loop_terminates (T : Type) (key : USize) +def hash_map_insert_in_list_loop_terminates (T : Type) (key : Usize) (value : T) (ls : list_t T) := (key, value, ls) @@ -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) /- [hashmap::HashMap::{0}::move_elements]: decreases_by tactic -/ @@ -63,7 +63,7 @@ macro_rules /- [hashmap::HashMap::{0}::contains_key_in_list]: termination measure -/ @[simp] -def hash_map_contains_key_in_list_loop_terminates (T : Type) (key : USize) +def hash_map_contains_key_in_list_loop_terminates (T : Type) (key : Usize) (ls : list_t T) := (key, ls) @@ -75,7 +75,7 @@ macro_rules /- [hashmap::HashMap::{0}::get_in_list]: termination measure -/ @[simp] -def hash_map_get_in_list_loop_terminates (T : Type) (key : USize) +def hash_map_get_in_list_loop_terminates (T : Type) (key : Usize) (ls : list_t T) := (key, ls) @@ -87,7 +87,7 @@ macro_rules /- [hashmap::HashMap::{0}::get_mut_in_list]: termination measure -/ @[simp] def hash_map_get_mut_in_list_loop_terminates (T : Type) (ls : list_t T) - (key : USize) := + (key : Usize) := (ls, key) /- [hashmap::HashMap::{0}::get_mut_in_list]: decreases_by tactic -/ @@ -97,7 +97,7 @@ macro_rules /- [hashmap::HashMap::{0}::remove_from_list]: termination measure -/ @[simp] -def hash_map_remove_from_list_loop_terminates (T : Type) (key : USize) +def hash_map_remove_from_list_loop_terminates (T : Type) (key : Usize) (ls : list_t T) := (key, ls) |