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
101c4e5d
Commit
101c4e5d
authored
6 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
lemmas about □?p P and <affine>?p P
parent
7af1bbd3
No related branches found
Branches containing commit
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_bi.v
+5
-0
5 additions, 0 deletions
theories/bi/derived_laws_bi.v
with
5 additions
and
0 deletions
theories/bi/derived_laws_bi.v
+
5
−
0
View file @
101c4e5d
...
@@ -1181,6 +1181,9 @@ Proof. destruct p; simpl; auto using intuitionistically_sep. Qed.
...
@@ -1181,6 +1181,9 @@ Proof. destruct p; simpl; auto using intuitionistically_sep. Qed.
Lemma
intuitionistically_if_idemp
p
P
:
□
?p
□
?p
P
⊣⊢
□
?p
P
.
Lemma
intuitionistically_if_idemp
p
P
:
□
?p
□
?p
P
⊣⊢
□
?p
P
.
Proof
.
destruct
p
;
simpl
;
auto
using
intuitionistically_idemp
.
Qed
.
Proof
.
destruct
p
;
simpl
;
auto
using
intuitionistically_idemp
.
Qed
.
Lemma
intuitionistically_if_unfold
p
P
:
□
?p
P
⊣⊢
<
affine
>
?p
<
pers
>
?p
P
.
Proof
.
by
destruct
p
.
Qed
.
(* Properties of persistent propositions *)
(* Properties of persistent propositions *)
Global
Instance
Persistent_proper
:
Proper
((
≡
)
==>
iff
)
(
@
Persistent
PROP
)
.
Global
Instance
Persistent_proper
:
Proper
((
≡
)
==>
iff
)
(
@
Persistent
PROP
)
.
Proof
.
solve_proper
.
Qed
.
Proof
.
solve_proper
.
Qed
.
...
@@ -1288,6 +1291,8 @@ Global Instance sep_affine P Q : Affine P → Affine Q → Affine (P ∗ Q).
...
@@ -1288,6 +1291,8 @@ Global Instance sep_affine P Q : Affine P → Affine Q → Affine (P ∗ Q).
Proof
.
rewrite
/
Affine
=>
->
->
.
by
rewrite
left_id
.
Qed
.
Proof
.
rewrite
/
Affine
=>
->
->
.
by
rewrite
left_id
.
Qed
.
Global
Instance
affinely_affine
P
:
Affine
(
<
affine
>
P
)
.
Global
Instance
affinely_affine
P
:
Affine
(
<
affine
>
P
)
.
Proof
.
rewrite
/
bi_affinely
.
apply
_
.
Qed
.
Proof
.
rewrite
/
bi_affinely
.
apply
_
.
Qed
.
Global
Instance
affinely_if_affine
p
P
:
Affine
P
→
Affine
(
<
affine
>
?p
P
)
.
Proof
.
destruct
p
;
simpl
;
apply
_
.
Qed
.
Global
Instance
intuitionistically_affine
P
:
Affine
(
□
P
)
.
Global
Instance
intuitionistically_affine
P
:
Affine
(
□
P
)
.
Proof
.
rewrite
/
bi_intuitionistically
.
apply
_
.
Qed
.
Proof
.
rewrite
/
bi_intuitionistically
.
apply
_
.
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