lean4-htt/tests/lean/grind/eq_false_of_imp_eq_false.lean
Kim Morrison 4bea52c48e
chore: failing grind test (#7981)
`propagateForallPropDown` is assuming the domain is a `Prop`
2025-04-16 07:24:53 +00:00

11 lines
284 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%
open List
attribute [grind] List.map_nil
theorem map_eq_cons_iff {f : α → β} {l : List α} :
map f l = b :: l₂ ↔ ∃ a l₁, l = a :: l₁ ∧ f a = b ∧ map f l₁ = l₂ := by
cases l
case nil => grind -- kernel error
case cons a l => sorry