Zulip Chat Archive
Stream: lean4
Topic: grind clear error
Aaron Liu (Nov 10 2025 at 00:41):
I was initially baffled since I didn't use clear but then I figured out what was happening
/--
error: Tactic `clear` failed: target depends on 'w'
case grind
n m : Nat
a : Fin n
b : Fin m
w : [n] = [m]
⊢ n = m → [] = [] → ∀ (h : ⋯ ▸ a = b), ⋯ ▸ a = b
-/
#guard_msgs in
example (n m : Nat) (a : Fin n) (b : Fin m) (h : ∃ h : [n] = [m], (List.cons.inj h).1 ▸ a = b) :
(List.cons.inj h.1).1 ▸ a = b := by
grind
Kim Morrison (Dec 08 2025 at 00:13):
(Sorry about this delay to respond -- this is working on v4.26.0-rc1.)
Last updated: Dec 20 2025 at 21:32 UTC