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
Iris
Actris
Commits
6b41f71f
Commit
6b41f71f
authored
Jun 28, 2019
by
Robbert Krebbers
Browse files
Generalize list_sort_elem to arbitrary types.
parent
353e65d6
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
theories/examples/list_sort_elem.v
View file @
6b41f71f
This diff is collapsed.
Click to expand it.
theories/examples/loop_sort.v
View file @
6b41f71f
...
...
@@ -16,7 +16,6 @@ Definition loop_sort_service : val :=
Section
loop_sort
.
Context
`
{!
heapG
Σ
,
!
proto_chanG
Σ
}
(
N
:
namespace
).
Definition
loop_sort_protocol_aux
(
rec
:
iProto
Σ
)
:
iProto
Σ
:
=
((
sort_protocol
<++>
rec
)
<+>
((<?>
c
,
MSG
c
{{
c
↣
rec
@
N
}}
;
rec
)
<+>
END
))%
proto
.
...
...
@@ -48,5 +47,4 @@ Section loop_sort.
by
wp_apply
(
"IH"
with
"Hc"
).
-
by
iApply
"HΨ"
.
Qed
.
End
loop_sort
.
\ No newline at end of file
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