1. 08 Dec, 2016 2 commits
  2. 06 Dec, 2016 1 commit
  3. 01 Nov, 2016 1 commit
  4. 25 Oct, 2016 1 commit
  5. 22 Aug, 2016 1 commit
    • Robbert Krebbers's avatar
      Generalize equality of heap_lang so it works on any value. · 8111cab0
      Robbert Krebbers authored
      This is more consistent with CAS, which also can be used on any value.
      Note that being able to (atomically) test for equality of any value and
      being able to CAS on any value is not realistic. See the discussion at
      https://gitlab.mpi-sws.org/FP/iris-coq/issues/26, and in particular JH
      Jourdan's observation:
      
        I think indeed for heap_lang this is just too complicated.
      
        Anyway, the role of heap_lang is not to model any actual
        programming language, but rather to show that we can do proofs
        about certain programs. The fact that you can write unrealistic
        programs is not a problem, IMHO. The only thing which is important
        is that the program that we write are realistic (i.e., faithfully
        represents the algorithm we want to p
      
      This commit is based on a commit by Zhen Zhang who generalized equality
      to work on any literal (and not just integers).
      8111cab0
  6. 08 Aug, 2016 1 commit
  7. 05 Aug, 2016 2 commits
    • Robbert Krebbers's avatar
      Rename the wp_focus tactic into wp_bind. · 149d1ec6
      Robbert Krebbers authored
      This better reflects the name of the bind rule.
      
      I renamed an internal tactic that was previously called wp_bind into
      wp_bind_core.
      149d1ec6
    • Robbert Krebbers's avatar
      Iris 3.0: invariants and weakest preconditions encoded in the logic. · 1f589858
      Robbert Krebbers authored
      This commit features:
      
      - A simpler model. The recursive domain equation no longer involves a triple
        containing invariants, physical state and ghost state, but just ghost state.
        Invariants and physical state are encoded using (higher-order) ghost state.
      
      - (Primitive) view shifts are formalized in the logic and all properties about
        it are proven in the logic instead of the model. Instead, the core logic
        features only a notion of raw view shifts which internalizing performing frame
        preserving updates.
      
      - A better behaved notion of mask changing view shifts. In particular, we no
        longer have side-conditions on transitivity of view shifts, and we have a
        rule for introduction of mask changing view shifts |={E1,E2}=> P with
        E2 ⊆ E1 which allows to postpone performing a view shift.
      
      - The weakest precondition connective is formalized in the logic using Banach's
        fixpoint. All properties about the connective are proven in the logic instead
        of directly in the model.
      
      - Adequacy is proven in the logic and uses a primitive form of adequacy for
        uPred that only involves raw views shifts and laters.
      
      Some remarks:
      
      - I have removed binary view shifts. I did not see a way to describe all rules
        of the new mask changing view shifts using those.
      - There is no longer the need for the notion of "frame shifting assertions" and
        these are thus removed. The rules for Hoare triples are thus also stated in
        terms of primitive view shifts.
      
      TODO:
      
      - Maybe rename primitive view shift into something more sensible
      - Figure out a way to deal with closed proofs (see the commented out stuff in
        tests/heap_lang and tests/barrier_client).
      1f589858
  8. 27 Jul, 2016 1 commit
  9. 19 Jul, 2016 4 commits
  10. 15 Jul, 2016 2 commits
  11. 30 Jun, 2016 1 commit
  12. 27 Jun, 2016 1 commit
  13. 23 Jun, 2016 2 commits
  14. 10 May, 2016 4 commits
  15. 11 Apr, 2016 1 commit
  16. 08 Apr, 2016 1 commit
    • Robbert Krebbers's avatar
      Remove wp_X> tactics and improve wp_finish. · eab6c6c4
      Robbert Krebbers authored
      Since strip_later is doing a good job stripping laters in the conclusion,
      these tactics are thus no longer needed. Also, wp_finish now properly
      converts the result in a primitive viewshift in case it is not a weakestpre.
      eab6c6c4
  17. 10 Mar, 2016 2 commits
  18. 06 Mar, 2016 1 commit
    • Robbert Krebbers's avatar
      Make wp_tactics more robust. · d1fc135b
      Robbert Krebbers authored
      Tactics like wp_proj should always solve all to_val side-conditions. The
      tactic wp_done is used to handle these in a uniform way.
      d1fc135b
  19. 05 Mar, 2016 2 commits
  20. 04 Mar, 2016 1 commit
  21. 02 Mar, 2016 2 commits
  22. 26 Feb, 2016 2 commits
  23. 25 Feb, 2016 4 commits