Compare commits

...

3 Commits

Author SHA1 Message Date
Leonardo de Moura
54fbd9f0a1 chore: move test 2025-04-11 18:49:06 -07:00
Leonardo de Moura
da30963fd8 chore: fix another test 2025-04-11 18:47:33 -07:00
Leonardo de Moura
4b50adb3d0 chore: wip 2025-04-11 18:32:28 -07:00
2 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
reset_grind_attrs%
set_option grind.warning false
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

View File

@@ -1,10 +0,0 @@
reset_grind_attrs%
attribute [grind] List.getElem_append_left List.getElem_append_right
attribute [grind] List.length_cons List.length_nil
example {l : List α} {a : α} {i : Nat} (h : i = l.length) (w) :
(l ++ [a])[i]'w = a := by
grind -- Similar to issue above.
---