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
Rice Wine
Iris
Commits
e5c563f9
Commit
e5c563f9
authored
Oct 07, 2016
by
Derek Dreyer
Browse files
deleted an errant lambda
parent
c843c873
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/program-logic.tex
View file @
e5c563f9
...
...
@@ -130,7 +130,7 @@ The fragment will then be available to the user of the logic, as their way of ta
It turns out that weakest precondition is actually quite convenient to work with, in particular when perfoming these proofs on paper.
Still, for a more traditional presentation, we can easily derive the notion of a Hoare triple:
\[
\hoare
{
\prop
}{
\expr
}{
\Ret\val
.
\propB
}
[
\mask
]
\eqdef
\always
{
(
\prop
\Ra
\wpre
{
\expr
}
[
\mask
]
{
\
lambda\
Ret\val
.
\propB
}
)
}
\hoare
{
\prop
}{
\expr
}{
\Ret\val
.
\propB
}
[
\mask
]
\eqdef
\always
{
(
\prop
\Ra
\wpre
{
\expr
}
[
\mask
]
{
\Ret\val
.
\propB
}
)
}
\]
\subsection
{
Lost stuff
}
...
...
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