Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
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
Janno
iris-coq
Commits
82511560
Commit
82511560
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
show that we always own something
parent
79d2785b
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
program_logic/upred.v
+3
-1
3 additions, 1 deletion
program_logic/upred.v
with
3 additions
and
1 deletion
program_logic/upred.v
+
3
−
1
View file @
82511560
...
...
@@ -786,7 +786,7 @@ Proof. intros; rewrite -always_and_sep_l; auto. Qed.
Lemma
always_entails_r
P
Q
:
(
P
⊑
□
Q
)
→
P
⊑
(
P
★
□
Q
)
.
Proof
.
intros
;
rewrite
-
always_and_sep_r
;
auto
.
Qed
.
(* Own *)
(* Own
and valid
*)
Lemma
own_op
(
a1
a2
:
M
)
:
uPred_own
(
a1
⋅
a2
)
≡
(
uPred_own
a1
★
uPred_own
a2
)
%
I
.
Proof
.
...
...
@@ -805,6 +805,8 @@ Proof.
Qed
.
Lemma
always_own
(
a
:
M
)
:
unit
a
≡
a
→
(
□
uPred_own
a
)
%
I
≡
uPred_own
a
.
Proof
.
by
intros
<-
;
rewrite
always_own_unit
.
Qed
.
Lemma
own_something
:
True
⊑
∃
a
,
uPred_own
a
.
Proof
.
intros
x
[|
n
]
??;
[
done
|]
.
by
exists
x
;
simpl
.
Qed
.
Lemma
own_empty
`{
Empty
M
,
!
CMRAIdentity
M
}
:
True
⊑
uPred_own
∅.
Proof
.
intros
x
[|
n
]
??;
[
done
|]
.
by
exists
x
;
rewrite
(
left_id
_
_)
.
Qed
.
Lemma
own_valid
(
a
:
M
)
:
uPred_own
a
⊑
(
✓
a
)
.
...
...
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