Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Dmitry Khalanskiy
Iris
Commits
3b961083
Commit
3b961083
authored
Dec 15, 2018
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify implementation of `iRevertIntros`.
parent
ff007045
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
theories/proofmode/ltac_tactics.v
theories/proofmode/ltac_tactics.v
+4
-3
No files found.
theories/proofmode/ltac_tactics.v
View file @
3b961083
...
@@ -1464,9 +1464,10 @@ Tactic Notation "iRevertIntros" constr(Hs) "with" tactic(tac) :=
...
@@ -1464,9 +1464,10 @@ Tactic Notation "iRevertIntros" constr(Hs) "with" tactic(tac) :=
|
ESelPure
::
?Hs
=>
fail
"iRevertIntros: % not supported"
|
ESelPure
::
?Hs
=>
fail
"iRevertIntros: % not supported"
|
ESelIdent
?p
?H
::
?Hs
=>
|
ESelIdent
?p
?H
::
?Hs
=>
iRevert
H
;
go
Hs
;
iRevert
H
;
go
Hs
;
let
H'
:
=
match
p
with
match
p
with
true
=>
constr
:
([
IAlwaysElim
(
IIdent
H
)])
|
false
=>
H
end
in
|
true
=>
iIntro
#
H
iIntros
H'
|
false
=>
iIntro
H
end
end
in
end
in
try
iStartProof
;
let
Hs
:
=
iElaborateSelPat
Hs
in
go
Hs
.
try
iStartProof
;
let
Hs
:
=
iElaborateSelPat
Hs
in
go
Hs
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment