Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Pierre-Marie Pédrot
Iris
Commits
2dfb8987
Commit
2dfb8987
authored
Feb 12, 2017
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better error message for iSpecialize.
parent
9ea6fa45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
theories/proofmode/tactics.v
theories/proofmode/tactics.v
+1
-1
No files found.
theories/proofmode/tactics.v
View file @
2dfb8987
...
...
@@ -275,7 +275,7 @@ Local Tactic Notation "iSpecializeArgs" constr(H) open_constr(xs) :=
eapply
tac_forall_specialize
with
_
H
_
_
_
x
;
(* (i:=H) (a:=x) *)
[
env_cbv
;
reflexivity
||
fail
1
"iSpecialize:"
H
"not found"
|
let
P
:
=
match
goal
with
|-
IntoForall
?P
_
=>
P
end
in
apply
_
||
fail
1
"iSpecialize:
"
P
"not a forall or not a forall of the right type"
apply
_
||
fail
1
"iSpecialize:
cannot instantiate"
P
"with"
x
|
env_cbv
;
reflexivity
|
go
xs
]
end
in
go
xs
.
...
...
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