From feb60683216a6d9193d6353605560c6c80a1ab41 Mon Sep 17 00:00:00 2001 From: Son Ho Date: Tue, 7 Mar 2023 08:41:57 +0100 Subject: Make minor modifications and regenerate the Lean files --- tests/lean/hashmap/Hashmap/Clauses/Template.lean | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/lean/hashmap/Hashmap/Clauses/Template.lean') 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 -- cgit v1.2.3