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
Jeehoon Kang
iris-coq
Commits
14fe028c
Commit
14fe028c
authored
Mar 12, 2017
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also add my original testcase, just to be sure
parent
c75aa8f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
theories/tests/proofmode.v
theories/tests/proofmode.v
+7
-1
No files found.
theories/tests/proofmode.v
View file @
14fe028c
...
...
@@ -154,10 +154,16 @@ Proof.
iIntros
"?"
.
iNext
.
iAssumption
.
Qed
.
Lemma
test_iNext_sep
(
M
:
ucmraT
)
(
P
Q
:
uPred
M
)
Lemma
test_iNext_sep
1
(
M
:
ucmraT
)
(
P
Q
:
uPred
M
)
(
R1
:=
(
P
∗
Q
)
%
I
)
(
R2
:=
(
▷
P
∗
▷
Q
)
%
I
)
:
(
▷
P
∗
▷
Q
)
∗
R1
∗
R2
-
∗
▷
(
P
∗
Q
)
∗
▷
R1
∗
R2
.
Proof
.
iIntros
"H"
.
iNext
.
rewrite
{
1
2
}
(
lock
R1
).
(
*
check
whether
R1
has
not
been
unfolded
*
)
done
.
Qed
.
Lemma
test_iNext_sep2
(
M
:
ucmraT
)
(
P
Q
:
uPred
M
)
:
▷
P
∗
▷
Q
-
∗
▷
(
P
∗
Q
).
Proof
.
iIntros
"H"
.
iNext
.
iExact
"H"
.
(
*
Check
that
the
laters
are
all
gone
.
*
)
Qed
.
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