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
Pierre-Marie Pédrot
Iris
Commits
f774d316
Commit
f774d316
authored
Sep 27, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extend iClear to handle clearing of Coq-level variables.
parent
06fad70e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
ProofMode.md
ProofMode.md
+3
-2
proofmode/tactics.v
proofmode/tactics.v
+2
-0
No files found.
ProofMode.md
View file @
f774d316
...
...
@@ -23,8 +23,9 @@ Context management
-
`iIntros (x1 ... xn) "ipat1 ... ipatn"`
: introduce universal quantifiers
using Coq introduction patterns
`x1 ... xn`
and implications/wands using proof
mode introduction patterns
`ipat1 ... ipatn`
.
-
`iClear "H1 ... Hn"`
: clear the hypothesis
`H1 ... Hn`
. The symbol
`★`
can
be used to clear entire spatial context.
-
`iClear (x1 ... xn) "H1 ... Hn"`
: clear the hypothesis
`H1 ... Hn`
as well as
the Coq level hypotheses/variables
`x1 ... xn`
. The symbol
`★`
can be used to
clear entire spatial context.
-
`iRevert (x1 ... xn) "H1 ... Hn"`
: revert the proof mode hypotheses
`H1 ... Hn`
into wands, as well as the Coq level hypotheses/variables
`x1 ... xn`
into universal quantifiers. The symbol
`★`
can be used to revert
...
...
proofmode/tactics.v
View file @
f774d316
...
...
@@ -66,6 +66,8 @@ Tactic Notation "iClear" constr(Hs) :=
[
env_cbv
;
reflexivity
||
fail
"iClear:"
H
"not found"
|
go
Hs
]
end
in
let
Hs
:
=
words
Hs
in
go
Hs
.
Tactic
Notation
"iClear"
"("
ident_list
(
xs
)
")"
constr
(
Hs
)
:
=
iClear
Hs
;
clear
xs
.
(** * Assumptions *)
Tactic
Notation
"iExact"
constr
(
H
)
:
=
...
...
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