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
Iris
Iris
Commits
0dbcaa84
Commit
0dbcaa84
authored
Mar 04, 2018
by
Robbert Krebbers
Browse files
Add test case.
parent
664196f6
Pipeline
#7224
passed with stage
in 23 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
theories/tests/proofmode.v
View file @
0dbcaa84
...
...
@@ -78,6 +78,11 @@ Lemma test_very_fast_iIntros P :
∀
x
y
:
nat
,
(
⌜
x
=
y
⌝
→
P
-
∗
P
)%
I
.
Proof
.
by
iIntros
.
Qed
.
(** Prior to 0b84351c this used to loop, now `iAssumption` instantiates `R` with
`False` and performs false elimination. *)
Lemma
test_iAssumption_evar_ex_false
:
∃
R
,
R
⊢
∀
P
,
P
.
Proof
.
eexists
.
iIntros
"?"
(
P
).
iAssumption
.
Qed
.
Lemma
test_iAssumption_affine
P
Q
R
`
{!
Affine
P
,
!
Affine
R
}
:
P
-
∗
Q
-
∗
R
-
∗
Q
.
Proof
.
iIntros
"H1 H2 H3"
.
iAssumption
.
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