Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Abhishek Anand
Iris
Commits
8389920e
Commit
8389920e
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
show that persistently and affinely-persistently are fixpoints of something
parent
985f9713
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/bi/derived_laws.v
+19
-0
19 additions, 0 deletions
theories/bi/derived_laws.v
with
19 additions
and
0 deletions
theories/bi/derived_laws.v
+
19
−
0
View file @
8389920e
...
@@ -842,6 +842,14 @@ Proof.
...
@@ -842,6 +842,14 @@ Proof.
-
by
rewrite
(
affinely_elim_emp
P
)
left_id
affinely_elim
.
-
by
rewrite
(
affinely_elim_emp
P
)
left_id
affinely_elim
.
Qed
.
Qed
.
Lemma
persistently_alt_fixpoint
P
:
<
pers
>
P
⊣⊢
P
∗
<
pers
>
P
.
Proof
.
apply
(
anti_symm
_)
.
-
rewrite
-
persistently_and_sep_elim
.
apply
and_intro
;
done
.
-
rewrite
comm
persistently_absorbing
.
done
.
Qed
.
Lemma
persistently_wand
P
Q
:
<
pers
>
(
P
-∗
Q
)
⊢
<
pers
>
P
-∗
<
pers
>
Q
.
Lemma
persistently_wand
P
Q
:
<
pers
>
(
P
-∗
Q
)
⊢
<
pers
>
P
-∗
<
pers
>
Q
.
Proof
.
apply
wand_intro_r
.
by
rewrite
persistently_sep_2
wand_elim_l
.
Qed
.
Proof
.
apply
wand_intro_r
.
by
rewrite
persistently_sep_2
wand_elim_l
.
Qed
.
...
@@ -962,6 +970,17 @@ Proof.
...
@@ -962,6 +970,17 @@ Proof.
-
apply
impl_intro_l
.
by
rewrite
persistently_and_affinely_sep_l
wand_elim_r
.
-
apply
impl_intro_l
.
by
rewrite
persistently_and_affinely_sep_l
wand_elim_r
.
Qed
.
Qed
.
Lemma
affinely_persistently_alt_fixpoint
P
:
□
P
⊣⊢
emp
∧
(
P
∗
□
P
)
.
Proof
.
apply
(
anti_symm
(
⊢
))
.
-
apply
and_intro
;
first
exact
:
affinely_elim_emp
.
rewrite
{
1
}
affinely_persistently_sep_dup
.
apply
sep_mono
;
last
done
.
apply
affinely_persistently_elim
.
-
apply
and_mono
;
first
done
.
rewrite
{
2
}
persistently_alt_fixpoint
.
apply
sep_mono
;
first
done
.
apply
and_elim_r
.
Qed
.
(* Conditional affinely modality *)
(* Conditional affinely modality *)
Global
Instance
affinely_if_ne
p
:
NonExpansive
(
@
bi_affinely_if
PROP
p
)
.
Global
Instance
affinely_if_ne
p
:
NonExpansive
(
@
bi_affinely_if
PROP
p
)
.
Proof
.
solve_proper
.
Qed
.
Proof
.
solve_proper
.
Qed
.
...
...
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