Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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