lean4-htt/tests/lean/run/grind_append_issue.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

8 lines
320 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

reset_grind_attrs%
attribute [grind] List.length_cons List.length_nil List.length_append
attribute [grind] List.nil_append List.getElem_cons
attribute [grind] List.eq_nil_of_length_eq_zero List.getElem_append_right
example {l : List α} {a : α} {i : Nat} (h : i = l.length) (w) :
(l ++ [a])[i]'w = a := by
grind