This PR continues adding `@[grind]` attributes for List/Array/Vector, particularly to the lemmas involving the `toList`/`toArray` functions.
5 lines
210 B
Text
5 lines
210 B
Text
set_option grind.warning false
|
||
|
||
example [BEq α] (xs ys : Vector α n) : (xs.toList == ys.toList) = (xs == ys) := by grind
|
||
|
||
example [LT α] {xs ys : Vector α n} : xs.toList < ys.toList ↔ xs < ys := by grind
|