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
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
Amin Timany
iris-coq
Commits
d9e87db3
Commit
d9e87db3
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken sts_own_proper instance.
parent
035f0b29
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/sts.v
+3
-4
3 additions, 4 deletions
program_logic/sts.v
with
3 additions
and
4 deletions
program_logic/sts.v
+
3
−
4
View file @
d9e87db3
...
...
@@ -42,8 +42,8 @@ Section sts.
Proof
.
by
intros
φ1
φ2
Hφ
;
rewrite
/
sts_inv
;
setoid_rewrite
Hφ
.
Qed
.
Global
Instance
sts_ownS_proper
γ
:
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
))
(
sts_ownS
γ
)
.
Proof
.
intros
S1
S2
HS
T1
T2
HT
.
by
rewrite
/
sts_ownS
HS
HT
.
Qed
.
Global
Instance
sts_own_proper
γ
s
:
Proper
((
≡
)
==>
(
≡
))
(
sts_own
S
γ
s
)
.
Proof
.
intros
T1
T2
HT
.
by
rewrite
/
sts_own
S
HT
.
Qed
.
Global
Instance
sts_own_proper
γ
s
:
Proper
((
≡
)
==>
(
≡
))
(
sts_own
γ
s
)
.
Proof
.
intros
T1
T2
HT
.
by
rewrite
/
sts_own
HT
.
Qed
.
Global
Instance
sts_ctx_ne
n
γ
N
:
Proper
(
pointwise_relation
_
(
dist
n
)
==>
dist
n
)
(
sts_ctx
γ
N
)
.
Proof
.
by
intros
φ1
φ2
Hφ
;
rewrite
/
sts_ctx
Hφ
.
Qed
.
...
...
@@ -61,8 +61,7 @@ Section sts.
Lemma
sts_own_weaken
E
γ
s
S
T1
T2
:
T1
≡
T2
→
s
∈
S
→
sts
.
closed
S
T2
→
sts_own
γ
s
T1
⊑
pvs
E
E
(
sts_ownS
γ
S
T2
)
.
(* FIXME for some reason, using "->" instead of "<-" does not work? *)
Proof
.
intros
<-
?
?
.
by
apply
own_update
,
sts_update_frag_up
.
Qed
.
Proof
.
intros
->
??
.
by
apply
own_update
,
sts_update_frag_up
.
Qed
.
Lemma
sts_ownS_op
γ
S1
S2
T1
T2
:
T1
∩
T2
⊆
∅
→
sts
.
closed
S1
T1
→
sts
.
closed
S2
T2
→
...
...
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