Is it possible in ltac to match on a hypothesis of the form match ?z with _ end
, regardless of the type being matched (i.e. without specifying the branches).
Yes. The magic incantation is match ?z with _ => _ end
.
Thanks!
Last updated: Sep 23 2023 at 13:01 UTC