Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dan Frumin
iris-coq
Commits
10de2067
Commit
10de2067
authored
Feb 15, 2016
by
Ralf Jung
Browse files
prove sts.opening
parent
88fe2819
Changes
1
Hide whitespace changes
Inline
Side-by-side
program_logic/sts.v
View file @
10de2067
...
...
@@ -93,7 +93,20 @@ Section sts.
(
▷
φ
s
'
★
own
StsI
γ
(
sts_auth
sts
.(
st
)
sts
.(
tok
)
s
T
))
⊑
pvs
E
E
(
▷
inv
StsI
sts
γ
φ
★
own
StsI
γ
(
sts_frag
sts
.(
st
)
sts
.(
tok
)
S
'
T
'
)).
Proof
.
Abort
.
intros
Hstep
Hin
Hcl
.
rewrite
/
inv
-
(
exist_intro
s
'
).
rewrite
later_sep
[(
_
★
▷φ
_
)
%
I
]
comm
-
assoc
.
rewrite
-
pvs_frame_l
.
apply
sep_mono
;
first
done
.
rewrite
-
later_intro
.
transitivity
(
pvs
E
E
(
own
StsI
γ
(
sts_auth
sts
.(
st
)
sts
.(
tok
)
s
'
T
'
))).
{
by
apply
own_update
,
sts_update
.
}
apply
pvs_mono
.
rewrite
-
own_op
.
apply
equiv_spec
,
own_proper
.
split
;
first
split
;
simpl
.
-
intros
_.
by
eapply
closed_disjoint
.
-
intros
?
.
split_ands
;
first
by
solve_elem_of
-
.
+
done
.
+
constructor
;
[
done
|
solve_elem_of
-
].
-
intros
_.
constructor
.
solve_elem_of
-
.
Qed
.
End
sts
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment