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
0fa2fdcf
Commit
0fa2fdcf
authored
May 24, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Error message when =>[H1 .. Hn] is used and goal is not a pvs.
parent
e965b669
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
proofmode/tactics.v
proofmode/tactics.v
+8
-2
No files found.
proofmode/tactics.v
View file @
0fa2fdcf
...
...
@@ -190,7 +190,10 @@ Local Tactic Notation "iSpecializePat" constr(H) constr(pat) :=
eapply
tac_specialize_assert
with
_
_
_
H1
_
lr
Hs
_
_
_
_;
[
env_cbv
;
reflexivity
||
fail
"iSpecialize:"
H1
"not found"
|
solve_to_wand
H1
|
match
k
with
GoalStd
=>
apply
to_assert_fallthrough
|
GoalPvs
=>
apply
_
end
|
match
k
with
|
GoalStd
=>
apply
to_assert_fallthrough
|
GoalPvs
=>
apply
_
||
fail
"iSpecialize: cannot generate pvs goal"
end
|
env_cbv
;
reflexivity
||
fail
"iSpecialize:"
Hs
"not found"
|
(*goal*)
|
go
H1
pats
]
...
...
@@ -713,7 +716,10 @@ Tactic Notation "iAssert" constr(Q) "with" constr(Hs) "as" constr(pat) :=
|
iDestructHyp
H
as
pat
]
|
[
SGoal
?k
?lr
?Hs
]
=>
eapply
tac_assert
with
_
_
_
lr
Hs
H
Q
_;
(* (js:=Hs) (j:=H) (P:=Q) *)
[
match
k
with
GoalStd
=>
apply
to_assert_fallthrough
|
GoalPvs
=>
apply
_
end
[
match
k
with
|
GoalStd
=>
apply
to_assert_fallthrough
|
GoalPvs
=>
apply
_
||
fail
"iAssert: cannot generate pvs goal"
end
|
env_cbv
;
reflexivity
||
fail
"iAssert:"
Hs
"not found"
|
env_cbv
;
reflexivity
|
|
iDestructHyp
H
as
pat
]
...
...
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