1. 27 Jul, 2016 1 commit
    • Robbert Krebbers's avatar
      Make the types of the finite map type classes more specific. · f79a0b6f
      Robbert Krebbers authored
      This makes type checking more directed, and somewhat more predictable.
      
      On the downside, it makes it impossible to declare the singleton on
      lists as an instance of SingletonM and the insert and alter operations
      on functions as instances of Alter and Insert. However, these were not
      used often anyway.
      f79a0b6f
  2. 30 Jun, 2016 1 commit
  3. 27 May, 2016 2 commits
  4. 22 May, 2016 2 commits
  5. 30 Mar, 2016 1 commit
  6. 21 Mar, 2016 1 commit
  7. 04 Mar, 2016 1 commit
  8. 03 Mar, 2016 1 commit
  9. 20 Feb, 2016 2 commits
  10. 17 Feb, 2016 2 commits
  11. 13 Feb, 2016 2 commits
    • Robbert Krebbers's avatar
      Use new Import/Export syntax everywhere. · 7dd32d7d
      Robbert Krebbers authored
      Also, make our redefinition of done more robust under different
      orders of Importing modules.
      7dd32d7d
    • Robbert Krebbers's avatar
      Make reflexivity hints work for evars. · 86803d3a
      Robbert Krebbers authored
      Since Coq 8.4 did not backtrack on eauto premises, we used to ensure
      that hints like
      
        Hint Extern 0 (?x ≡{_}≡ ?y) => reflexivity.
      
      were not used for goals involving evars by writing ?x ≡{_}≡ ?y instead
      of _ ≡{_}≡ _.
      
      This seems to be a legacy issue that no longer applies to Coq 8.5, so
      I have removed these restrictions making these hints thus more powerful.
      86803d3a
  12. 11 Feb, 2016 1 commit
  13. 20 Jan, 2016 1 commit
  14. 12 Jan, 2016 1 commit
  15. 15 Dec, 2015 1 commit
  16. 18 Nov, 2015 1 commit
  17. 16 Nov, 2015 1 commit
  18. 11 Nov, 2015 1 commit
  19. 01 Feb, 2017 1 commit
    • Robbert Krebbers's avatar
      Port to Coq 8.5 beta 2. · 02f213ce
      Robbert Krebbers authored
      The port makes the following notable changes:
      
      * The carrier types of separation algebras and integer environments are no
        longer in Set. Now they have a type at a fixed type level above Set. This
        both works better in 8.5 and makes the formalization more general.
        I have tried putting them at polymorphic type levels, but that increased the
        compilation time by an order of magnitude.
      * I am using a custom f_equal tactic written in Ltac to circumvent bug #4069.
        That bug has been fixed, so this custom tactic can be removed when the next
        beta of 8.5 is out.
      02f213ce
  20. 04 Jun, 2015 1 commit
  21. 25 Feb, 2015 1 commit
  22. 16 Feb, 2015 1 commit
  23. 08 Feb, 2015 2 commits
    • Robbert Krebbers's avatar
      Update copyright headers. · 5a73c4ed
      Robbert Krebbers authored
      5a73c4ed
    • Robbert Krebbers's avatar
      Support function pointers and use a state monad in the frontend. · b2109c25
      Robbert Krebbers authored
      Important changes in the core semantics:
      * Types extended with function types. Since function types are a special kind
        of pointer types, types now have an additional mutual part called "ptr_type".
      * Pointers extended with function pointers. Theses are just names that refer
        to an actual function in the function environment.
      * Typing environments extended to assign argument and return types to function
        names. Before we used a separate environment for these, but since the
        argument and return types are already needed to type function pointers, this
        environment would appear in pretty much every typing judgment.
      
      As a side-effect, the frontend has been rewritten entirely. The important
      changes are:
      
      * Type checking of expressions is more involved: there is a special kind of
        expression type corresponding to a function designator.
      * To handle things like block scoped extern function, more state-fullness was
        needed. To prepare for future extensions, the entire frontend now uses a
        state monad.
      b2109c25
  24. 29 Jan, 2015 2 commits
  25. 25 Jan, 2015 1 commit
  26. 16 Dec, 2014 1 commit
    • Robbert Krebbers's avatar
      Allow frozen pointer annotations to be refined. · 26917d00
      Robbert Krebbers authored
      The refinement relation on addresses allows union references to be refined:
      
        (β2 → β1) → RUnion i s β1 ⊆ RUnion i s β2
      
      The result is that frozen values are below their unfrozen variant, which made
      it possible to prove that constant propagation (see constant_propagation.v) can
      be performed on the level of the memory model.
      26917d00
  27. 30 Sep, 2014 1 commit
  28. 24 Sep, 2014 1 commit
  29. 06 Sep, 2014 1 commit
  30. 03 Sep, 2014 1 commit
  31. 06 Aug, 2014 1 commit
  32. 10 Jul, 2014 1 commit
  33. 25 Jun, 2014 1 commit
    • Robbert Krebbers's avatar
      Fix bugs in pointer operations · baaee9e0
      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.
      baaee9e0