Skip to content
GitLab
Menu
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
87637946
Commit
87637946
authored
Jul 14, 2017
by
Joshua Yanovski
Browse files
Fix typo in is_lock_proper for heap_lang.
parent
e1764691
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/heap_lang/lib/lock.v
View file @
87637946
...
...
@@ -26,6 +26,8 @@ Structure lock Σ `{!heapG Σ} := Lock {
{{{
is_lock
N
γ
lk
R
∗
locked
γ
∗
R
}}}
release
lk
{{{
RET
#()
;
True
}}}
}.
Arguments
newlock
{
_
_
}
_
.
Arguments
acquire
{
_
_
}
_
.
Arguments
release
{
_
_
}
_
.
...
...
@@ -34,6 +36,6 @@ Arguments locked {_ _} _ _.
Existing
Instances
is_lock_ne
is_lock_persistent
locked_timeless
.
Instance
is_lock_proper
Σ
`
{!
heapG
Σ
}
(
L
:
lock
Σ
)
N
lk
R
:
Proper
((
≡
)
==>
(
≡
))
(
is_lock
L
N
lk
R
)
:
=
ne_proper
_
.
Instance
is_lock_proper
Σ
`
{!
heapG
Σ
}
(
L
:
lock
Σ
)
N
γ
lk
:
Proper
((
≡
)
==>
(
≡
))
(
is_lock
L
N
γ
lk
)
:
=
ne_proper
_
.
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