This PR adds an initial set of `@[grind]` annotations for `List`/`Array`/`Vector`, enough to set up some regression tests using `grind` in proofs about `List`. More annotations to follow.
14 lines
519 B
Text
14 lines
519 B
Text
open List
|
||
|
||
-- Failing with:
|
||
-- [issue] unexpected metavariable during internalization
|
||
-- ?α
|
||
-- `grind` is not supposed to be used in goals containing metavariables.
|
||
-- [issue] type error constructing proof for Array.eq_empty_of_append_eq_empty
|
||
-- when assigning metavariable ?xs with
|
||
-- l₁
|
||
-- has type
|
||
-- List α : Type u_1
|
||
-- but is expected to have type
|
||
-- Array ?α : Type ?u.430
|
||
theorem dropLast_concat : dropLast (l₁ ++ [b]) = l₁ := by grind (gen := 6)
|