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
00db32d1
Commit
00db32d1
authored
May 03, 2018
by
Robbert Krebbers
Browse files
Don't create `<pers>` modalities in `iSplit` when the BI is affine.
parent
480bc071
Changes
2
Hide whitespace changes
Inline
Side-by-side
theories/proofmode/class_instances_bi.v
View file @
00db32d1
...
...
@@ -23,7 +23,7 @@ Proof. by rewrite /IntoAbsorbingly -absorbingly_True_emp absorbingly_pure. Qed.
Global
Instance
into_absorbingly_absorbing
P
:
Absorbing
P
→
IntoAbsorbingly
P
P
|
1
.
Proof
.
intros
.
by
rewrite
/
IntoAbsorbingly
absorbing_absorbingly
.
Qed
.
Global
Instance
into_absorbingly_intuitionistically
P
:
IntoAbsorbingly
(<
pers
>
P
)
(
□
P
)
|
0
.
IntoAbsorbingly
(<
pers
>
P
)
(
□
P
)
|
2
.
Proof
.
by
rewrite
/
IntoAbsorbingly
-
absorbingly_intuitionistically_into_persistently
.
Qed
.
...
...
theories/tests/proofmode.v
View file @
00db32d1
...
...
@@ -460,4 +460,10 @@ Proof.
-
iDestruct
"H"
as
"[_ [$ _]]"
.
-
iDestruct
"H"
as
"[_ [_ #$]]"
.
Qed
.
Lemma
test_and_sep_affine_bi
`
{
BiAffine
PROP
}
P
Q
:
□
P
∧
Q
⊢
□
P
∗
Q
.
Proof
.
iIntros
"[??]"
.
iSplit
;
last
done
.
lazymatch
goal
with
|-
coq_tactics
.
envs_entails
_
(
□
P
)
=>
done
end
.
Qed
.
End
tests
.
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