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
Iris
Iris
Commits
e7b3486a
Commit
e7b3486a
authored
Feb 21, 2018
by
Ralf Jung
Browse files
BI interface: more comments; also simplify a proof
parent
7ddfabf6
Pipeline
#6954
passed with stage
in 10 minutes and 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
theories/bi/derived_laws.v
View file @
e7b3486a
...
...
@@ -1124,7 +1124,7 @@ Qed.
Lemma
affinely_persistently_sep_dup
P
:
□
P
⊣
⊢
□
P
∗
□
P
.
Proof
.
by
rewrite
-
persistently_and_affinely_sep_l
affinely_and_r
affinely_and
idemp
.
by
rewrite
-
persistently_and_affinely_sep_l
affinely_and_r
idemp
.
Qed
.
Lemma
impl_wand_affinely_persistently
P
Q
:
(
bi_persistently
P
→
Q
)
⊣
⊢
(
□
P
-
∗
Q
).
...
...
theories/bi/interface.v
View file @
e7b3486a
...
...
@@ -48,9 +48,9 @@ Section bi_mixin.
that combine both kinds of resources. In particular, we have an "ordered RA"
model satisfying all these axioms. For this model, we extend RAs with an
arbitrary partial order, and up-close resources wrt. that order (instead of
extension order). We demand composition to be monotone wrt. the order
. We
define [emp := λ r, ε ≼ r]; persisently is still
defined with the core: [□ P
:= λ r, P (core r)]. *)
extension order). We demand composition to be monotone wrt. the order
: [x1 ≼
x2 → x1 ⋅ y ≼ x2 ⋅ y]. We
define [emp := λ r, ε ≼ r]; persisently is still
defined with the core: [□ P
:= λ r, P (core r)]. *)
Record
BiMixin
:
=
{
bi_mixin_entails_po
:
PreOrder
bi_entails
;
...
...
@@ -142,7 +142,7 @@ Section bi_mixin.
(* In the ordered RA model: [x ≼ₑₓₜ y → core x ≼ core y] *)
bi_mixin_persistently_absorbing
P
Q
:
bi_persistently
P
∗
Q
⊢
bi_persistently
P
;
(* In the ordered RA model: [ε ≼ core x] *)
(* In the ordered RA model:
[x ⋅ core x = core x], AND
[ε ≼ core x]
.
*)
bi_mixin_persistently_and_sep_elim
P
Q
:
bi_persistently
P
∧
Q
⊢
(
emp
∧
P
)
∗
Q
;
}.
...
...
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