Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonas Kastberg
iris
Commits
eef6260f
Commit
eef6260f
authored
Feb 06, 2020
by
Robbert Krebbers
Browse files
Add test case.
parent
c9c90cf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/proofmode.v
View file @
eef6260f
...
...
@@ -239,6 +239,14 @@ Proof.
iFrame
.
Qed
.
Lemma
test_iExists_unused
:
(
∃
P
:
PROP
,
∃
x
:
nat
,
P
)%
I
.
Proof
.
iExists
_
.
iExists
10
.
iAssert
emp
%
I
as
"H"
;
first
done
.
iExact
"H"
.
Qed
.
(* Check coercions *)
Lemma
test_iExist_coercion
(
P
:
Z
→
PROP
)
:
(
∀
x
,
P
x
)
-
∗
∃
x
,
P
x
.
Proof
.
iIntros
"HP"
.
iExists
(
0
:
nat
).
iApply
(
"HP"
$!
(
0
:
nat
)).
Qed
.
...
...
Write
Preview
Supports
Markdown
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