Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonas Kastberg
iris
Commits
a3775658
Commit
a3775658
authored
Feb 28, 2018
by
Robbert Krebbers
Browse files
Less hacky fix than
d1b836c8
.
parent
d1b836c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/proofmode/tactics.v
View file @
a3775658
...
...
@@ -964,8 +964,7 @@ Local Tactic Notation "iExistDestruct" constr(H)
(** * Modality introduction *)
Tactic
Notation
"iModIntro"
open_constr
(
M
)
:
=
iStartProof
;
let
bi
:
=
lazymatch
goal
with
|-
@
envs_entails
?bi
_
_
=>
bi
end
in
eapply
(
tac_modal_intro
(
PROP2
:
=
bi
))
with
M
_
_
_
_;
notypeclasses
refine
(
tac_modal_intro
M
_
_
_
_
_
_
_
_
_
_
_
_
)
;
[
apply
_
||
fail
"iModIntro: the goal is not a modality"
|
apply
_
||
...
...
Write
Preview
Supports
Markdown
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