Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Sidebyside
Showing
2 changed files
with
5 additions
and
5 deletions
+5
5
theories/bi/derived_laws.v
theories/bi/derived_laws.v
+1
1
theories/bi/interface.v
theories/bi/interface.v
+4
4
No files found.
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 upclose 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
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