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
George Pirlea
Iris
Commits
c8079d98
Commit
c8079d98
authored
Feb 23, 2018
by
Robbert Krebbers
Browse files
Version of `iModIntro` where one can specify the modality.
parent
4f9e0cd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/proofmode/tactics.v
View file @
c8079d98
...
...
@@ -962,9 +962,9 @@ Local Tactic Notation "iExistDestruct" constr(H)
|
revert
y
;
intros
x
].
(** * Modality introduction *)
Tactic
Notation
"iModIntro"
:
=
Tactic
Notation
"iModIntro"
open_constr
(
M
)
:
=
iStartProof
;
eapply
tac_modal_intro
;
eapply
tac_modal_intro
with
M
_
_
_
_
;
[
apply
_
||
fail
"iModIntro: the goal is not a modality"
|
apply
_
||
...
...
@@ -982,6 +982,7 @@ Tactic Notation "iModIntro":=
|
env_cbv
;
apply
_
||
fail
"iModIntro: cannot filter spatial context when goal is not absorbing"
|].
Tactic
Notation
"iModIntro"
:
=
iModIntro
_
.
Tactic
Notation
"iAlways"
:
=
iModIntro
.
(** * Later *)
...
...
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