Skip to content
Snippets Groups Projects
Commit 3b961083 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Simplify implementation of `iRevertIntros`.

parent ff007045
No related branches found
No related tags found
No related merge requests found
......@@ -1464,9 +1464,10 @@ Tactic Notation "iRevertIntros" constr(Hs) "with" tactic(tac) :=
| ESelPure :: ?Hs => fail "iRevertIntros: % not supported"
| ESelIdent ?p ?H :: ?Hs =>
iRevert H; go Hs;
let H' :=
match p with true => constr:([IAlwaysElim (IIdent H)]) | false => H end in
iIntros H'
match p with
| true => iIntro #H
| false => iIntro H
end
end in
try iStartProof; let Hs := iElaborateSelPat Hs in go Hs.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment