Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Stacked Borrows Coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
FP
Stacked Borrows Coq
Commits
90dc58a0
Commit
90dc58a0
authored
5 years ago
by
Hai Dang
Browse files
Options
Downloads
Patches
Plain Diff
reorder in README
parent
9ae2c04d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+28
-28
28 additions, 28 deletions
README.md
with
28 additions
and
28 deletions
README.md
+
28
−
28
View file @
90dc58a0
# STACKED BORROWS - ARTIFACT
# STACKED BORROWS - ARTIFACT
## HOW TO START
## Technical Appendix
The technical [appendix] contains a complete coherent
description of the Stacked Borrows semantics, as well as the definition of our
key simulation relation that we used for the Coq formalization.
## Rust Counterexamples and Miri
You can run the counterexamples from the paper in Rust by clicking the following links, and then selecting "Run".
You can also run them in Miri via "Tools" - "Miri", which will show a Stacked Borrows violation.
*
[
`example1`
](
https://play.rust-lang.org/?version=stable&mode=release&edition=2018&gist=18e6931728976779452f0d489f59a71c
)
(Section 3.4 of the paper)
*
[
`example2`
](
https://play.rust-lang.org/?version=stable&mode=release&edition=2018&gist=85f368db00a789caa08e2b6960ebaf01
)
(Section 3.6)
*
[
`example2_down`
](
https://play.rust-lang.org/?version=stable&mode=release&edition=2018&gist=66c928ddf745a779272a73262b921a56
)
(Section 4)
## Coq Formalization
We have given informal proof sketches of optimizations based on Stacked Borrows
in the paper. To further increase confidence in the semantics, we formalized
these arguments in Coq (about 14KLOC). We have carried out the proofs of the
transformations mentioned in the paper:
`example1`
,
`example2`
,
`example2_down`
,
`example3_down`
; as well as two more variants to complete the picture,
`example1_down`
and
`example3`
.
### HOW TO START
#### Use a VM
#### Use a VM
...
@@ -45,33 +72,6 @@ replacing `N` by the number of your CPU cores.
...
@@ -45,33 +72,6 @@ replacing `N` by the number of your CPU cores.
If you do not trust the precompiled results, you can use
`make clean`
to remove
If you do not trust the precompiled results, you can use
`make clean`
to remove
them and follow the build instructions above to rebuild.
them and follow the build instructions above to rebuild.
## Technical Appendix
The technical [appendix] contains a complete coherent
description of the Stacked Borrows semantics, as well as the definition of our
key simulation relation that we used for the Coq formalization.
## Rust Counterexamples and Miri
You can run the counterexamples from the paper in Rust by clicking the following links, and then selecting "Run".
You can also run them in Miri via "Tools" - "Miri", which will show a Stacked Borrows violation.
*
[
`example1`
](
https://play.rust-lang.org/?version=stable&mode=release&edition=2018&gist=18e6931728976779452f0d489f59a71c
)
(Section 3.4 of the paper)
*
[
`example2`
](
https://play.rust-lang.org/?version=stable&mode=release&edition=2018&gist=85f368db00a789caa08e2b6960ebaf01
)
(Section 3.6)
*
[
`example2_down`
](
https://play.rust-lang.org/?version=stable&mode=release&edition=2018&gist=66c928ddf745a779272a73262b921a56
)
(Section 4)
## Coq Formalization
We have given informal proof sketches of optimizations based on Stacked Borrows
in the paper. To further increase confidence in the semantics, we formalized
these arguments in Coq (about 14KLOC). We have carried out the proofs of the
transformations mentioned in the paper:
`example1`
,
`example2`
,
`example2_down`
,
`example3_down`
; as well as two more variants to complete the picture,
`example1_down`
and
`example3`
.
### STRUCTURE
### STRUCTURE
**
Please open files from the folder where the
`_CoqProject`
file is located, so
**
Please open files from the folder where the
`_CoqProject`
file is located, so
...
...
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