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
19989519
Commit
19989519
authored
Oct 07, 2016
by
Ralf Jung
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.mpi-sws.org:FP/iris-coq
parents
05845cc3
7de50f87
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
algebra/upred.v
algebra/upred.v
+2
-2
docs/program-logic.tex
docs/program-logic.tex
+1
-1
No files found.
algebra/upred.v
View file @
19989519
...
...
@@ -1492,11 +1492,11 @@ Proof.
eapply
IH
with
x'
;
eauto
using
cmra_validN_S
,
cmra_validN_op_l
.
Qed
.
Corollary
consistency
M
odal
n
:
¬
(
True
⊢
Nat
.
iter
n
(
λ
P
,
|=
r
=>
▷
P
)
False
).
Corollary
consistency
_m
odal
n
:
¬
(
True
⊢
Nat
.
iter
n
(
λ
P
,
|=
r
=>
▷
P
)
False
).
Proof
.
exact
(
adequacy
False
n
).
Qed
.
Corollary
consistency
:
¬
(
True
⊢
False
).
Proof
.
exact
(
consistency
M
odal
0
).
Qed
.
Proof
.
exact
(
consistency
_m
odal
0
).
Qed
.
End
uPred_logic
.
(* Hint DB for the logic *)
...
...
docs/program-logic.tex
View file @
19989519
...
...
@@ -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