Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
e5c563f9
Commit
e5c563f9
authored
Oct 07, 2016
by
Derek Dreyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deleted an errant lambda
parent
c843c873
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/program-logic.tex
docs/program-logic.tex
+1
-1
No files found.
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
Markdown
is supported
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