Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonas Kastberg
iris
Commits
2be948e4
Commit
2be948e4
authored
Mar 16, 2016
by
Ralf Jung
Browse files
docs: timeless rule for invariants
parent
d1f3cf37
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/derived.tex
View file @
2be948e4
...
...
@@ -202,6 +202,18 @@ The following rules can be derived for Hoare triples.
\inferH
{
Ht-false
}
{}
{
\hoare
{
\FALSE
}{
\expr
}{
\Ret
\val
.
\prop
}
[
\mask
]
}
\and
\inferH
{
Ht-inv
}
{
\hoare
{
\later\propC*\prop
}{
\expr
}{
\Ret\val
.
\later\propC*\propB
}
[
\mask
]
\and
\physatomic
{
\expr
}
}
{
\knowInv\iname\propC
\proves
\hoare
{
\prop
}{
\expr
}{
\Ret\val
.
\propB
}
[
\mask
\uplus
\set\iname
]
}
\and
\inferH
{
Ht-inv-timeless
}
{
\hoare
{
\propC*\prop
}{
\expr
}{
\Ret\val
.
\propC*\propB
}
[
\mask
]
\and
\physatomic
{
\expr
}
\and
\timeless\propC
}
{
\knowInv\iname\propC
\proves
\hoare
{
\prop
}{
\expr
}{
\Ret\val
.
\propB
}
[
\mask
\uplus
\set\iname
]
}
\end{mathparpagebreakable}
\paragraph
{
Lifting of operational semantics.
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment