Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Simon Spies
Iris
Commits
8ff1fd84
Commit
8ff1fd84
authored
Aug 05, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error messages of iSplitL and iSplitR.
This fixes issue
#25
.
parent
25f1b889
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
proofmode/tactics.v
proofmode/tactics.v
+4
-2
No files found.
proofmode/tactics.v
View file @
8ff1fd84
...
...
@@ -381,13 +381,15 @@ Tactic Notation "iSplitL" constr(Hs) :=
eapply
tac_sep_split
with
_
_
false
Hs
_
_;
(* (js:=Hs) *)
[
let
P
:
=
match
goal
with
|-
FromSep
?P
_
_
=>
P
end
in
apply
_
||
fail
"iSplitL:"
P
"not a separating conjunction"
|
env_cbv
;
reflexivity
||
fail
"iSplitL: hypotheses"
Hs
"not found"
|
|].
|
env_cbv
;
reflexivity
||
fail
"iSplitL: hypotheses"
Hs
"not found in the spatial context"
|
|].
Tactic
Notation
"iSplitR"
constr
(
Hs
)
:
=
let
Hs
:
=
words
Hs
in
eapply
tac_sep_split
with
_
_
true
Hs
_
_;
(* (js:=Hs) *)
[
let
P
:
=
match
goal
with
|-
FromSep
?P
_
_
=>
P
end
in
apply
_
||
fail
"iSplitR:"
P
"not a separating conjunction"
|
env_cbv
;
reflexivity
||
fail
"iSplitR: hypotheses"
Hs
"not found"
|
|].
|
env_cbv
;
reflexivity
||
fail
"iSplitR: hypotheses"
Hs
"not found in the spatial context"
|
|].
Tactic
Notation
"iSplitL"
:
=
iSplitR
""
.
Tactic
Notation
"iSplitR"
:
=
iSplitL
""
.
...
...
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