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
Paolo G. Giarrusso
examples
Commits
31eb5eb3
Commit
31eb5eb3
authored
Jan 25, 2019
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
integrate the iris-atomic files and make them build
parent
4beb6889
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
6 deletions
+15
-6
_CoqProject
_CoqProject
+8
-1
theories/logatom/flat_combiner/atomic_sync.v
theories/logatom/flat_combiner/atomic_sync.v
+1
-2
theories/logatom/flat_combiner/flat.v
theories/logatom/flat_combiner/flat.v
+1
-1
theories/logatom/flat_combiner/peritem.v
theories/logatom/flat_combiner/peritem.v
+4
-1
theories/logatom/flat_combiner/simple_sync.v
theories/logatom/flat_combiner/simple_sync.v
+1
-1
No files found.
_CoqProject
View file @
31eb5eb3
...
...
@@ -86,6 +86,13 @@ theories/hocap/lib/oneshot.v
theories/hocap/concurrent_runners.v
theories/hocap/parfib.v
theories/logatom/treiber.v
theories/logatom/elimination_stack/hocap_spec.v
theories/logatom/elimination_stack/stack.v
theories/logatom/elimination_stack/spec.v
theories/logatom/elimination_stack/hocap_spec.v
theories/logatom/flat_combiner/flat.v
theories/logatom/flat_combiner/simple_sync.v
theories/logatom/flat_combiner/sync.v
theories/logatom/flat_combiner/peritem.v
theories/logatom/flat_combiner/atomic_sync.v
theories/logatom/flat_combiner/misc.v
theories/logatom/flat_combiner/atomic_sync.v
View file @
31eb5eb3
From
iris
.
program_logic
Require
Export
weakestpre
hoare
atomic
.
From
iris
.
heap_lang
Require
Export
lang
proofmode
notation
.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
algebra
Require
Import
agree
frac
.
From
iris_
atomic
Require
Import
sync
misc
.
From
iris_
examples
.
logatom
.
flat_combiner
Require
Import
sync
misc
.
(** The simple syncer spec in [sync.v] implies a logically atomic spec. *)
...
...
theories/logatom/flat_combiner/flat.v
View file @
31eb5eb3
...
...
@@ -5,7 +5,7 @@ From iris.heap_lang Require Import proofmode notation.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
algebra
Require
Import
auth
frac
agree
excl
agree
gset
gmap
.
From
iris
.
base_logic
Require
Import
saved_prop
.
From
iris_
atomic
Require
Import
misc
peritem
sync
.
From
iris_
examples
.
logatom
.
flat_combiner
Require
Import
misc
peritem
sync
.
Definition
doOp
:
val
:
=
λ
:
"p"
,
...
...
theories/logatom/flat_combiner/peritem.v
View file @
31eb5eb3
...
...
@@ -3,9 +3,12 @@ From iris.heap_lang Require Export lang.
From
iris
.
heap_lang
Require
Import
proofmode
notation
.
From
iris
.
proofmode
Require
Import
tactics
.
From
iris
.
algebra
Require
Import
frac
auth
gmap
csum
.
From
iris_atom
ic
Require
Export
treiber
misc
.
From
iris_
examples
.
log
atom
Require
Export
treiber
.
From
iris
.
base_logic
.
lib
Require
Import
invariants
.
(** The flat combiner uses a bag, this is where we prove the spec for that.
We re-use the code but not the spec of the treiber stack. *)
Section
defs
.
Context
`
{
heapG
Σ
}
(
N
:
namespace
).
Context
(
R
:
val
→
iProp
Σ
)
`
{
∀
x
,
TimelessP
(
R
x
)}.
...
...
theories/logatom/flat_combiner/simple_sync.v
View file @
31eb5eb3
...
...
@@ -4,7 +4,7 @@ From iris.program_logic Require Export weakestpre hoare.
From
iris
.
heap_lang
Require
Export
lang
proofmode
notation
.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
algebra
Require
Import
frac
.
From
iris_
atomic
Require
Import
sync
.
From
iris_
examples
.
logatom
.
flat_combiner
Require
Import
sync
.
Import
uPred
.
Definition
mk_sync
:
val
:
=
...
...
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