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
3673d5fd
Commit
3673d5fd
authored
Jun 17, 2018
by
Ralf Jung
Browse files
comment for how we plan to generalize the WP notation if necessary
parent
01c940bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/bi/weakestpre.v
View file @
3673d5fd
...
...
@@ -23,7 +23,10 @@ thread IDs (as in iGPS).
For the case of stuckness bits, there are two specific notations
[WP e @ E {{ Φ }}] and [WP e @ E ?{{ Φ }}], which forces [A] to be [stuckness],
and [s] to be [NotStuck] or [MaybeStuck]. *)
and [s] to be [NotStuck] or [MaybeStuck]. This will fail to typecheck if [A] is
not [stuckness]. If we ever want to use the notation [WP e @ E {{ Φ }}] with a
different [A], the plan is to generalize the notation to use [Inhabited] instead
to pick a default value depending on [A]. *)
Class
Wp
(
Λ
:
language
)
(
PROP
A
:
Type
)
:
=
wp
:
A
→
coPset
→
expr
Λ
→
(
val
Λ
→
PROP
)
→
PROP
.
Arguments
wp
{
_
_
_
_
}
_
_
_
%
E
_
%
I
.
...
...
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