c11comp: Coq development attached to the paper
"Common compiler optimisations are invalid in the C11 memory model
and what we can do about it".
by Vafeiadis, Balabonski, Chakraborty, Morisset, and Zappa Nardelli.
The Coq development is copyrighted (c) MPI-SWS and INRIA and is
released under a BSD-style license included at the end of this file.
For more information, visit http://plv.mpi-sws.org/c11comp/
**[ INSTALLATION INSTRUCTIONS ]**********************************************
The proofs were developed under Coq 8.4pl4, using the standard library
and the files provided in this tarball. To compile the whole development,
you need to have Coq 8.4pl4 installed (available at http://coq.inria.fr/)
Then, open a shell script and type "make".
Contents:
- Vbase.v General tactics library
- extralib.v Extension of the standard [List] library
- ExtraRelations.v Extension of the standard [Relations] library
- actions.v Definition of C11 actions.
- c11.v Definition of the axioms of our model,
and relations between different sets of axioms.
- cmon.v Basic metatheory of the model.
- coherence.v Alternative presentation of the axioms.
- opsemsets.v Definition of opsems and opsemsets.
- prefixes.v Results on the prefix of an execution.
- lang.v Instantiating the opsems on a small language.
- reorder.v Main reordering theorem (Theorem 6)
- fenceopt.v Special case of reordering with a fence (Theorems 7, 8)
- celim.v Elimination of redundant adjacent operations
(Theorems 9, 10, 11)
**[ LICENSE ]****************************************************************
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the author nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
This formalization is provided by the copyright holders and contributors
"as is" and any express or implied warranties, including, but not limited
to, the implied warranties of merchantability and fitness for a particular
purpose are disclaimed. In no event shall the copyright owner or
contributors be liable for any direct, indirect, incidental, special,
exemplary, or consequential damages (including, but not limited to,
procurement of substitute goods or services; loss of use, data, or profits;
or business interruption) however caused and on any theory of liability,
whether in contract, strict liability, or tort (including negligence or
otherwise) arising in any way out of the use of this formalization, even if
advised of the possibility of such damage.