Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
George Pirlea
Iris
Commits
5bd2042e
Commit
5bd2042e
authored
Nov 23, 2016
by
Robbert Krebbers
Browse files
Handle ⊣⊢ consistently in iProof instead of iSplit.
parent
66320c79
Changes
1
Hide whitespace changes
Inline
Side-by-side
proofmode/tactics.v
View file @
5bd2042e
...
...
@@ -47,6 +47,7 @@ Tactic Notation "iProof" :=
|
|-
of_envs
_
⊢
_
=>
fail
"iProof: already in Iris proofmode"
|
|-
True
⊢
_
=>
apply
tac_adequate
|
|-
_
⊢
_
=>
apply
uPred
.
wand_entails
,
tac_adequate
|
|-
_
⊣
⊢
_
=>
apply
uPred
.
iff_equiv
,
tac_adequate
end
.
(** * Context manipulation *)
...
...
@@ -508,12 +509,12 @@ Local Tactic Notation "iOrDestruct" constr(H) "as" constr(H1) constr(H2) :=
(** * Conjunction and separating conjunction *)
Tactic
Notation
"iSplit"
:
=
try
iProof
;
lazymatch
goal
with
|
|-
_
⊢
_
=>
eapply
tac_and_split
;
[
let
P
:
=
match
goal
with
|-
FromAnd
?P
_
_
=>
P
end
in
apply
_
||
fail
"iSplit:"
P
"not a conjunction"
|
|]
|
|-
_
⊣
⊢
_
=>
apply
(
anti_symm
(
⊢
))
end
.
Tactic
Notation
"iSplitL"
constr
(
Hs
)
:
=
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment