lean4-htt/tests/lean/run/grind_hashmap_list.lean
Kim Morrison eccc472e8d
chore: remove set_option grind.warning false (#8714)
This PR removes the now unnecessary `set_option grind.warning false`
statements, now that the warning is disabled by default.
2025-06-11 05:09:19 +00:00

11 lines
266 B
Text

import Std.Data.HashMap
reset_grind_attrs%
open Std
attribute [grind →] List.length_pos_of_mem
attribute [grind] HashMap.size_insert
set_option trace.grind.issues true in
example (m : HashMap Nat Nat) : ((m.insert 1 2).insert 3 4).size ≥ m.size := by
grind