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
Jonas Kastberg
iris
Commits
0e1825e2
Commit
0e1825e2
authored
Feb 13, 2017
by
Robbert Krebbers
Browse files
Add a test for
9ea6fa45
.
parent
ea64fd14
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/tests/proofmode.v
View file @
0e1825e2
...
...
@@ -130,3 +130,11 @@ Proof. iIntros. iAssert False%I with ">[-]" as "[]". done. Qed.
Lemma
demo_14
(
M
:
ucmraT
)
(
P
:
uPred
M
)
:
False
-
∗
P
.
Proof
.
iIntros
"H"
.
done
.
Qed
.
(* Check instantiation and dependent types *)
Lemma
demo_15
(
M
:
ucmraT
)
(
P
:
∀
n
,
vec
nat
n
→
uPred
M
)
:
(
∀
n
v
,
P
n
v
)
-
∗
∃
n
v
,
P
n
v
.
Proof
.
iIntros
"H"
.
iExists
_
,
[#
10
].
iSpecialize
(
"H"
$!
_
[#
10
]).
done
.
Qed
.
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