1
0
Fork 0
mirror of https://github.com/achlipala/frap.git synced 2025-03-21 11:42:29 +00:00

Update cases tactic to work on N type

This commit is contained in:
Amanda Liu 2022-02-06 12:47:50 -05:00
parent f428750fdf
commit 1bff5420e2

View file

@ -229,6 +229,9 @@ Ltac cases E :=
((repeat match type of E with
| _ \/ _ => destruct E as [E | E]
end)
|| (match type of E with
| N => destruct E using indN
end)
|| (is_var E; destruct E)
|| match type of E with
| {_} + {_} => destruct E