Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
examples
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
...
@@ -86,6 +86,13 @@ theories/hocap/lib/oneshot.v
theories/hocap/concurrent_runners.v
theories/hocap/concurrent_runners.v
theories/hocap/parfib.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/stack.v
theories/logatom/elimination_stack/spec.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
.
program_logic
Require
Export
weakestpre
hoare
atomic
.
From
iris
.
heap_lang
Require
Export
lang
proofmode
notation
.
From
iris
.
heap_lang
Require
Export
lang
proofmode
notation
.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
algebra
Require
Import
agree
frac
.
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. *)
(** 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.
...
@@ -5,7 +5,7 @@ From iris.heap_lang Require Import proofmode notation.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
algebra
Require
Import
auth
frac
agree
excl
agree
gset
gmap
.
From
iris
.
algebra
Require
Import
auth
frac
agree
excl
agree
gset
gmap
.
From
iris
.
base_logic
Require
Import
saved_prop
.
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
:
=
Definition
doOp
:
val
:
=
λ
:
"p"
,
λ
:
"p"
,
...
...
theories/logatom/flat_combiner/peritem.v
View file @
31eb5eb3
...
@@ -3,9 +3,12 @@ From iris.heap_lang Require Export lang.
...
@@ -3,9 +3,12 @@ From iris.heap_lang Require Export lang.
From
iris
.
heap_lang
Require
Import
proofmode
notation
.
From
iris
.
heap_lang
Require
Import
proofmode
notation
.
From
iris
.
proofmode
Require
Import
tactics
.
From
iris
.
proofmode
Require
Import
tactics
.
From
iris
.
algebra
Require
Import
frac
auth
gmap
csum
.
From
iris
.
algebra
Require
Import
frac
auth
gmap
csum
.
From
iris_
atomic
Require
Export
treiber
misc
.
From
iris_
examples
.
logatom
Require
Export
treiber
.
From
iris
.
base_logic
.
lib
Require
Import
invariants
.
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
.
Section
defs
.
Context
`
{
heapG
Σ
}
(
N
:
namespace
).
Context
`
{
heapG
Σ
}
(
N
:
namespace
).
Context
(
R
:
val
→
iProp
Σ
)
`
{
∀
x
,
TimelessP
(
R
x
)}.
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.
...
@@ -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
Require
Export
lang
proofmode
notation
.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
From
iris
.
algebra
Require
Import
frac
.
From
iris
.
algebra
Require
Import
frac
.
From
iris_
atomic
Require
Import
sync
.
From
iris_
examples
.
logatom
.
flat_combiner
Require
Import
sync
.
Import
uPred
.
Import
uPred
.
Definition
mk_sync
:
val
:
=
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