Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Actris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
Actris
Commits
763ab7f7
Commit
763ab7f7
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Tweak.
parent
0d55d5de
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/examples/mapper.v
+4
-5
4 additions, 5 deletions
theories/examples/mapper.v
with
4 additions
and
5 deletions
theories/examples/mapper.v
+
4
−
5
View file @
763ab7f7
...
@@ -3,7 +3,6 @@ From osiris.channel Require Import proto_channel proofmode.
...
@@ -3,7 +3,6 @@ From osiris.channel Require Import proto_channel proofmode.
From
iris
.
heap_lang
Require
Import
proofmode
notation
.
From
iris
.
heap_lang
Require
Import
proofmode
notation
.
From
iris
.
heap_lang
Require
Import
assert
.
From
iris
.
heap_lang
Require
Import
assert
.
From
osiris
.
utils
Require
Import
list
compare
spin_lock
contribution
.
From
osiris
.
utils
Require
Import
list
compare
spin_lock
contribution
.
From
osiris
.
examples
Require
Import
sort_elem
.
From
iris
.
algebra
Require
Import
gmultiset
.
From
iris
.
algebra
Require
Import
gmultiset
.
Definition
mapper
:
val
:=
Definition
mapper
:
val
:=
...
@@ -47,14 +46,14 @@ Definition mapper_service : val := λ: "n" "f" "xs",
...
@@ -47,14 +46,14 @@ Definition mapper_service : val := λ: "n" "f" "xs",
start_mappers
"n"
"f"
"l"
"c"
)
in
start_mappers
"n"
"f"
"l"
"c"
)
in
mapper_service_loop
"n"
"c"
"xs"
(
lnil
#
())
.
mapper_service_loop
"n"
"c"
"xs"
(
lnil
#
())
.
Class
map
_sort
G
Σ
A
`{
Countable
A
}
:=
{
Class
map
per
G
Σ
A
`{
Countable
A
}
:=
{
map
_sort
_contributionG
:>
contributionG
Σ
(
gmultisetUR
A
);
map
per
_contributionG
:>
contributionG
Σ
(
gmultisetUR
A
);
map
_sort
_lockG
:>
lockG
Σ
;
map
per
_lockG
:>
lockG
Σ
;
}
.
}
.
Section
mapper
.
Section
mapper
.
Context
`{
Countable
A
,
Countable
B
}
.
Context
`{
Countable
A
,
Countable
B
}
.
Context
`{
!
heapG
Σ
,
!
proto_chanG
Σ
,
map
_sort
G
Σ
A
}
(
N
:
namespace
)
.
Context
`{
!
heapG
Σ
,
!
proto_chanG
Σ
,
map
per
G
Σ
A
}
(
N
:
namespace
)
.
Context
(
IA
:
A
→
val
→
iProp
Σ
)
(
IB
:
B
→
val
→
iProp
Σ
)
(
f
:
A
→
B
)
.
Context
(
IA
:
A
→
val
→
iProp
Σ
)
(
IB
:
B
→
val
→
iProp
Σ
)
(
f
:
A
→
B
)
.
Local
Open
Scope
nat_scope
.
Local
Open
Scope
nat_scope
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment