mirror of
https://github.com/achlipala/frap.git
synced 2024-11-27 23:06:20 +00:00
Merge pull request #56 from al3623/cases_on_N
Update cases tactic to work on N type
This commit is contained in:
commit
c2260bb22b
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue