- Nov 15, 2014
-
-
Robbert Krebbers authored
Integers with the same size, are no longer supposed to have the same rank. As a result, the C integer types (char, short, int, long, long long) are different (and thus cannot alias) even if they have the same size. We now have to use a more involved definition of integer promotions and usual arithmetic conversions. However, this new definition follows the C standard literally.
-
- Nov 06, 2014
-
-
Robbert Krebbers authored
-
- Oct 10, 2014
-
-
Robbert Krebbers authored
The proof now uses the stronger notion of memory permutation instead of a more general memory refinement. We have also proven that memory permutations are symmetric.
-
- Oct 08, 2014
-
-
Robbert Krebbers authored
Memory refinements now carry a boolean parameter that has the following meaning: [false] : Behave like a simple renaming of memories that merely allows to permute object identifiers. It does not allow to refine memories into a more defined version. [true] : Behave like before. Objects can be injected, and memory contents can be refined into a more defined variant. We make refinements parametric in these two variant to avoid code duplication, and because the [false] variant is a special case of the [true] variant. For completeness of the executable semantics, we now use the [false] variant.
-
- Oct 07, 2014
-
-
Robbert Krebbers authored
-
- Oct 03, 2014
-
-
Robbert Krebbers authored
Also better error messages if a constant expression is expected.
-
- Sep 30, 2014
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
Now it only performs injection on hypotheses of the shape f .. = f ..
-
- Sep 24, 2014
-
-
Robbert Krebbers authored
-
- Sep 16, 2014
-
-
Robbert Krebbers authored
-
- Sep 13, 2014
-
-
Robbert Krebbers authored
-
- Sep 12, 2014
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Sep 06, 2014
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Sep 03, 2014
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Aug 25, 2014
-
-
Robbert Krebbers authored
-
- Aug 22, 2014
-
-
Robbert Krebbers authored
memory instead of the whole memory itself. This has the following advantages: * Avoid parametrization in {addresses,pointers,pointer_bits,bits}.v * Make {base_values,values}.v independent of the memory, this makes better parallelized compilation possible. * Allow small memories (e.g. singletons as used in separation logic) with addresses to objects in another part to be typed. * Some proofs become easier, because the memory environments are preserved under many operations (insert, force, lock, unlock). It also as the following disadvantages: * At all kinds of places we now have explicit casts from memories to memory environments. This is kind of ugly. Note, we cannot declare memenv_of as a Coercion because it is non-uniform. * It is a bit inefficient with respect to the interpreter, because memory environments are finite functions instead of proper functions, so calling memenv_of often (which we do) is not too good.
-
Robbert Krebbers authored
It is still rather slow, though.
-
- Aug 09, 2014
-
-
Robbert Krebbers authored
-
- Aug 07, 2014
-
-
Robbert Krebbers authored
-
- Aug 06, 2014
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
This allows for constant expressions in array sizes and makes way for future extensions.
-
- Aug 04, 2014
-
-
Robbert Krebbers authored
-
- Jul 10, 2014
-
-
Robbert Krebbers authored
-
- Jul 04, 2014
-
-
Robbert Krebbers authored
-
- Jun 25, 2014
-
-
Robbert Krebbers authored
* Equality comparison of NULL and non NULL pointers should be defined * Pointer comparisons, casts, and truth should only be defined for pointers that are alive * Treat dead pointers as indeterminate values in refinements. The proofs that all operations preserve refinement indicate that dead pointers can be indeed by replaced by anything without affecting the program's behavior.
-
Robbert Krebbers authored
-
- Jun 23, 2014
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Jun 17, 2014
-
-
Robbert Krebbers authored
variables.
-
- Jun 16, 2014
-
-
Robbert Krebbers authored
Major changes: * Make void a base type, and include a proper void base value. This is necessary because expressions (free, functions without return value) can yield a void. We now also allow void casts conforming to the C standard. * Various missing lemmas about typing, weakening, decidability, ... * The operations "free" and "alloc" now operate on l-values instead of r-values. This removes some duplication. * Improve notations of expressions and statements. Change the presence of the operators conforming to the C standard. Small changes: * Use the classes "Typed" and "TypeCheck" for validity of indexes in memory. This gives more uniform notations. * New tactic "typed_inversion" performs inversion on an inductive predicate of type "Typed" and folds the premises. * Remove a horrible hack in the definitions of the classes "FMap", "MBind", "OMap", "Alter" that was used to let "simpl" behave better. Instead, we have defined a tactic "csimpl" that folds the results after performing an ordinary "simpl". * Fast operation to remove duplicates from lists using hashsets. * Make various type constructors (mainly finite map implementations) universe polymorphic by packing them into an inductive. This way, the whole C syntax can live in type, avoiding the need for (slow) universe checks.
-
- Jun 06, 2014
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
* Remove generic path_typed instance for lists. For the zippers in the operational semantics, it goes the other way around. * Remove constructor lemmas for values/memory_trees and use a generic tactic instead. This tactic uses the standard constructor tactic, but folds the type classes afterward.
-