mirror of
https://github.com/achlipala/frap.git
synced 2024-11-27 23:06:20 +00:00
Update cases tactic to work on N type
This commit is contained in:
parent
f428750fdf
commit
1bff5420e2
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