Merge pull request #56 from al3623/cases_on_N

Update cases tactic to work on N type
This commit is contained in:
Adam Chlipala 2022-02-06 13:04:19 -05:00 committed by GitHub
commit c2260bb22b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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