it gives me
Error: Syntax error: 'end' expected after [branches] (in [term_match]).
:(
?y
isn't valid for a gallina match pattern
also it seems you want
Ltac destruct_let :=
match goal with
| [H : (match ?y with | _ => _ end) |- _] => destruct y
end.
oh wait, yes indeed, haha sorry
Jacob Salzberg has marked this topic as resolved.
Last updated: Oct 13 2024 at 01:02 UTC