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
Tej Chajed
iris
Commits
1cf19e9c
Commit
1cf19e9c
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
prove a weaker derived form of recv_strengthen; more "\lam:" notation
parent
bf610ff2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
algebra/upred.v
+7
-0
7 additions, 0 deletions
algebra/upred.v
barrier/proof.v
+7
-0
7 additions, 0 deletions
barrier/proof.v
heap_lang/notation.v
+8
-0
8 additions, 0 deletions
heap_lang/notation.v
with
22 additions
and
0 deletions
algebra/upred.v
+
7
−
0
View file @
1cf19e9c
...
@@ -747,6 +747,13 @@ Proof.
...
@@ -747,6 +747,13 @@ Proof.
Qed
.
Qed
.
Lemma
wand_diag
P
:
(
P
-★
P
)
%
I
≡
True
%
I
.
Lemma
wand_diag
P
:
(
P
-★
P
)
%
I
≡
True
%
I
.
Proof
.
apply
(
anti_symm
_);
auto
.
apply
wand_intro_l
;
by
rewrite
right_id
.
Qed
.
Proof
.
apply
(
anti_symm
_);
auto
.
apply
wand_intro_l
;
by
rewrite
right_id
.
Qed
.
Lemma
wand_entails
P
Q
:
True
⊑
(
P
-★
Q
)
→
P
⊑
Q
.
Proof
.
intros
HPQ
.
eapply
sep_elim_True_r
;
first
exact
:
HPQ
.
by
rewrite
wand_elim_r
.
Qed
.
Lemma
entails_wand
P
Q
:
(
P
⊑
Q
)
→
True
⊑
(
P
-★
Q
)
.
Proof
.
auto
using
wand_intro_l
.
Qed
.
Lemma
sep_and
P
Q
:
(
P
★
Q
)
⊑
(
P
∧
Q
)
.
Lemma
sep_and
P
Q
:
(
P
★
Q
)
⊑
(
P
∧
Q
)
.
Proof
.
auto
.
Qed
.
Proof
.
auto
.
Qed
.
Lemma
impl_wand
P
Q
:
(
P
→
Q
)
⊑
(
P
-★
Q
)
.
Lemma
impl_wand
P
Q
:
(
P
→
Q
)
⊑
(
P
-★
Q
)
.
...
...
This diff is collapsed.
Click to expand it.
barrier/proof.v
+
7
−
0
View file @
1cf19e9c
...
@@ -332,4 +332,11 @@ Proof.
...
@@ -332,4 +332,11 @@ Proof.
rewrite
(
later_intro
(
P1
-★
_)
%
I
)
-
later_sep
.
apply
later_mono
.
rewrite
(
later_intro
(
P1
-★
_)
%
I
)
-
later_sep
.
apply
later_mono
.
apply
wand_intro_l
.
by
rewrite
!
assoc
wand_elim_r
wand_elim_r
.
apply
wand_intro_l
.
by
rewrite
!
assoc
wand_elim_r
wand_elim_r
.
Qed
.
Qed
.
Lemma
recv_mono
l
P1
P2
:
P1
⊑
P2
→
recv
l
P1
⊑
recv
l
P2
.
Proof
.
intros
HP
%
entails_wand
.
apply
wand_entails
.
rewrite
HP
.
apply
recv_strengthen
.
Qed
.
End
proof
.
End
proof
.
This diff is collapsed.
Click to expand it.
heap_lang/notation.v
+
8
−
0
View file @
1cf19e9c
...
@@ -78,3 +78,11 @@ Notation "'rec:' f x y z := e" := (Rec f x (Lam y (Lam z e%L)))
...
@@ -78,3 +78,11 @@ Notation "'rec:' f x y z := e" := (Rec f x (Lam y (Lam z e%L)))
(
at
level
102
,
f
,
x
,
y
,
z
at
level
1
,
e
at
level
200
)
:
lang_scope
.
(
at
level
102
,
f
,
x
,
y
,
z
at
level
1
,
e
at
level
200
)
:
lang_scope
.
Notation
"'rec:' f x y z := e"
:=
(
RecV
f
x
(
Lam
y
(
Lam
z
e
%
L
)))
Notation
"'rec:' f x y z := e"
:=
(
RecV
f
x
(
Lam
y
(
Lam
z
e
%
L
)))
(
at
level
102
,
f
,
x
,
y
,
z
at
level
1
,
e
at
level
200
)
:
lang_scope
.
(
at
level
102
,
f
,
x
,
y
,
z
at
level
1
,
e
at
level
200
)
:
lang_scope
.
Notation
"λ: x y , e"
:=
(
Lam
x
(
Lam
y
e
%
L
))
(
at
level
102
,
x
,
y
at
level
1
,
e
at
level
200
)
:
lang_scope
.
Notation
"λ: x y , e"
:=
(
LamV
x
(
Lam
y
e
%
L
))
(
at
level
102
,
x
,
y
at
level
1
,
e
at
level
200
)
:
lang_scope
.
Notation
"λ: x y z , e"
:=
(
Lam
x
(
LamV
y
(
LamV
z
e
%
L
)))
(
at
level
102
,
x
,
y
,
z
at
level
1
,
e
at
level
200
)
:
lang_scope
.
Notation
"λ: x y z , e"
:=
(
LamV
x
(
LamV
y
(
LamV
z
e
%
L
)))
(
at
level
102
,
x
,
y
,
z
at
level
1
,
e
at
level
200
)
:
lang_scope
.
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