Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simcha van Collem
Iris
Commits
b0ae1102
Commit
b0ae1102
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Fix issue #97.
parent
e17ac4ad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/proofmode/tactics.v
+3
-2
3 additions, 2 deletions
theories/proofmode/tactics.v
with
3 additions
and
2 deletions
theories/proofmode/tactics.v
+
3
−
2
View file @
b0ae1102
...
...
@@ -605,6 +605,7 @@ Local Tactic Notation "iForallRevert" ident(x) :=
lazymatch
P
with
|
context
[
x
]
=>
fail
2
"iRevert:"
x
"is used in hypothesis"
H
end
)
in
iStartProof
;
let
A
:=
type
of
x
in
lazymatch
type
of
A
with
|
Prop
=>
revert
x
;
first
[
apply
tac_pure_revert
|
err
x
]
...
...
@@ -623,7 +624,7 @@ Tactic Notation "iRevert" constr(Hs) :=
[
env_reflexivity
||
fail
"iRevert:"
H
"not found"
|
env_cbv
;
go
Hs
]
end
in
let
Hs
:=
iElaborateSelPat
Hs
in
go
Hs
.
let
Hs
:=
iElaborateSelPat
Hs
in
iStartProof
;
go
Hs
.
Tactic
Notation
"iRevert"
"("
ident
(
x1
)
")"
:=
iForallRevert
x1
.
...
...
@@ -938,7 +939,7 @@ Tactic Notation "iIntros" constr(pat) :=
|
?pat
::
?pats
=>
let
H
:=
iFresh
in
iIntro
H
;
iDestructHyp
H
as
pat
;
go
pats
end
in
let
pats
:=
intro_pat
.
parse
pat
in
go
pats
.
in
let
pats
:=
intro_pat
.
parse
pat
in
iStartProof
;
go
pats
.
Tactic
Notation
"iIntros"
:=
iIntros
[
IAll
]
.
Tactic
Notation
"iIntros"
"("
simple_intropattern
(
x1
)
")"
:=
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment