Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Abhishek Anand
Iris
Commits
c5e7fc1a
Commit
c5e7fc1a
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Fix error reporting of iSpecialize.
parent
e8fb0e28
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/proofmode/tactics.v
+3
-3
3 additions, 3 deletions
theories/proofmode/tactics.v
with
3 additions
and
3 deletions
theories/proofmode/tactics.v
+
3
−
3
View file @
c5e7fc1a
...
@@ -381,7 +381,7 @@ Local Tactic Notation "iSpecializeArgs" constr(H) open_constr(xs) :=
...
@@ -381,7 +381,7 @@ Local Tactic Notation "iSpecializeArgs" constr(H) open_constr(xs) :=
Local
Tactic
Notation
"iSpecializePat"
constr
(
H
)
constr
(
pat
)
:=
Local
Tactic
Notation
"iSpecializePat"
constr
(
H
)
constr
(
pat
)
:=
let
solve_to_wand
H1
:=
let
solve_to_wand
H1
:=
apply
_
||
apply
_
||
let
P
:=
match
goal
with
|
-
IntoWand
?P
_
_
=>
P
end
in
let
P
:=
match
goal
with
|
-
IntoWand
_
?P
_
_
=>
P
end
in
fail
"iSpecialize:"
P
"not an implication/wand"
in
fail
"iSpecialize:"
P
"not an implication/wand"
in
let
rec
go
H1
pats
:=
let
rec
go
H1
pats
:=
lazymatch
pats
with
lazymatch
pats
with
...
@@ -394,8 +394,8 @@ Local Tactic Notation "iSpecializePat" constr(H) constr(pat) :=
...
@@ -394,8 +394,8 @@ Local Tactic Notation "iSpecializePat" constr(H) constr(pat) :=
[
env_reflexivity
||
fail
"iSpecialize:"
H2
"not found"
[
env_reflexivity
||
fail
"iSpecialize:"
H2
"not found"
|
env_reflexivity
||
fail
"iSpecialize:"
H1
"not found"
|
env_reflexivity
||
fail
"iSpecialize:"
H1
"not found"
|
apply
_
||
|
apply
_
||
let
P
:=
match
goal
with
|
-
IntoWand
?P
?Q
_
=>
P
end
in
let
P
:=
match
goal
with
|
-
IntoWand
_
?P
?Q
_
=>
P
end
in
let
Q
:=
match
goal
with
|
-
IntoWand
?P
?Q
_
=>
Q
end
in
let
Q
:=
match
goal
with
|
-
IntoWand
_
?P
?Q
_
=>
Q
end
in
fail
"iSpecialize: cannot instantiate"
P
"with"
Q
fail
"iSpecialize: cannot instantiate"
P
"with"
Q
|
env_reflexivity
|
go
H1
pats
]
|
env_reflexivity
|
go
H1
pats
]
|
SPureGoal
?d
::
?pats
=>
|
SPureGoal
?d
::
?pats
=>
...
...
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