mirror of
https://github.com/achlipala/frap.git
synced 2024-11-10 00:07:51 +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
|
((repeat match type of E with
|
||||||
| _ \/ _ => destruct E as [E | E]
|
| _ \/ _ => destruct E as [E | E]
|
||||||
end)
|
end)
|
||||||
|
|| (match type of E with
|
||||||
|
| N => destruct E using indN
|
||||||
|
end)
|
||||||
|| (is_var E; destruct E)
|
|| (is_var E; destruct E)
|
||||||
|| match type of E with
|
|| match type of E with
|
||||||
| {_} + {_} => destruct E
|
| {_} + {_} => destruct E
|
||||||
|
|
Loading…
Reference in a new issue