Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaëtan Gilbert
Iris
Commits
6c6d0d65
Commit
6c6d0d65
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Weaken BI axiom `P ⊢ <pers> emp` into `emp ⊢ <pers> emp`.
The old one is admissable. Thanks to
@jtassaro
and
@jung
.
parent
ba28c6fa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
theories/bi/derived_laws.v
+5
-0
5 additions, 0 deletions
theories/bi/derived_laws.v
theories/bi/interface.v
+3
-3
3 additions, 3 deletions
theories/bi/interface.v
theories/bi/monpred.v
+1
-1
1 addition, 1 deletion
theories/bi/monpred.v
with
9 additions
and
4 deletions
theories/bi/derived_laws.v
+
5
−
0
View file @
6c6d0d65
...
...
@@ -742,6 +742,11 @@ Proof.
apply
persistently_mono
,
impl_elim
with
P
;
auto
.
Qed
.
Lemma
persistently_emp_intro
P
:
P
⊢
<
pers
>
emp
.
Proof
.
by
rewrite
-
(
left_id
emp
%
I
bi_sep
P
)
{
1
}
persistently_emp_2
persistently_absorbing
.
Qed
.
Lemma
persistently_True_emp
:
<
pers
>
True
⊣⊢
<
pers
>
emp
.
Proof
.
apply
(
anti_symm
_);
auto
using
persistently_emp_intro
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
theories/bi/interface.v
+
3
−
3
View file @
6c6d0d65
...
...
@@ -111,7 +111,7 @@ Section bi_mixin.
bi_mixin_persistently_idemp_2
P
:
<
pers
>
P
⊢
<
pers
>
<
pers
>
P
;
(* In the ordered RA model: [ε ≼ core x]. *)
bi_mixin_persistently_emp_
intro
P
:
P
⊢
<
pers
>
emp
;
bi_mixin_persistently_emp_
2
:
emp
⊢
<
pers
>
emp
;
bi_mixin_persistently_forall_2
{
A
}
(
Ψ
:
A
→
PROP
)
:
(
∀
a
,
<
pers
>
(
Ψ
a
))
⊢
<
pers
>
(
∀
a
,
Ψ
a
);
...
...
@@ -394,8 +394,8 @@ Proof. eapply bi_mixin_persistently_mono, bi_bi_mixin. Qed.
Lemma
persistently_idemp_2
P
:
<
pers
>
P
⊢
<
pers
>
<
pers
>
P
.
Proof
.
eapply
bi_mixin_persistently_idemp_2
,
bi_bi_mixin
.
Qed
.
Lemma
persistently_emp_
intro
P
:
P
⊢
<
pers
>
emp
.
Proof
.
eapply
bi_mixin_persistently_emp_
intro
,
bi_bi_mixin
.
Qed
.
Lemma
persistently_emp_
2
:
(
emp
:
PROP
)
⊢
<
pers
>
emp
.
Proof
.
eapply
bi_mixin_persistently_emp_
2
,
bi_bi_mixin
.
Qed
.
Lemma
persistently_forall_2
{
A
}
(
Ψ
:
A
→
PROP
)
:
(
∀
a
,
<
pers
>
(
Ψ
a
))
⊢
<
pers
>
(
∀
a
,
Ψ
a
)
.
...
...
This diff is collapsed.
Click to expand it.
theories/bi/monpred.v
+
1
−
1
View file @
6c6d0d65
...
...
@@ -303,7 +303,7 @@ Proof.
rewrite
HP
/=
bi
.
forall_elim
bi
.
pure_impl_forall
bi
.
forall_elim
//.
-
intros
P
Q
[?]
.
split
=>
i
/=.
by
f_equiv
.
-
intros
P
.
split
=>
i
.
by
apply
bi
.
persistently_idemp_2
.
-
intros
P
.
split
=>
i
.
by
apply
bi
.
persistently_emp_intro
.
-
split
=>
i
.
by
apply
bi
.
persistently_emp_intro
.
-
intros
A
Ψ
.
split
=>
i
.
by
apply
bi
.
persistently_forall_2
.
-
intros
A
Ψ
.
split
=>
i
.
by
apply
bi
.
persistently_exist_1
.
-
intros
P
Q
.
split
=>
i
.
apply
bi
.
sep_elim_l
,
_
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment