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
b91a6280
Commit
b91a6280
authored
May 21, 2016
by
Ralf Jung
Browse files
proofmode: add test for mask-changing view shift
parent
3c04addd
Pipeline
#1110
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/proofmode.v
View file @
b91a6280
From
iris
.
proofmode
Require
Import
tactics
.
From
iris
.
proofmode
Require
Import
pviewshifts
.
Lemma
demo_0
{
M
:
cmraT
}
(
P
Q
:
uPred
M
)
:
□
(
P
∨
Q
)
⊢
((
∀
x
,
x
=
0
∨
x
=
1
)
→
(
Q
∨
P
)).
...
...
@@ -79,3 +80,16 @@ Proof.
iIntros
"#Hfoo **"
.
by
iIntros
"# _"
.
Qed
.
Section
iris
.
Context
{
Λ
:
language
}
{
Σ
:
iFunctor
}.
Lemma
demo_7
(
E1
E2
E
:
coPset
)
(
P
:
iProp
Λ
Σ
)
:
E1
⊆
E2
→
E
⊆
E1
→
(|={
E1
,
E
}=>
▷
P
)
⊢
(|={
E2
,
E
∪
E2
∖
E1
}=>
▷
P
).
Proof
.
iIntros
{?
?}
"Hpvs"
.
iPvs
"Hpvs"
;
first
(
split_and
?
;
set_solver
).
done
.
Qed
.
End
iris
.
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