1. 19 Mar, 2018 1 commit
  2. 16 Mar, 2018 1 commit
  3. 12 Mar, 2018 2 commits
  4. 08 Mar, 2018 1 commit
  5. 05 Mar, 2018 1 commit
  6. 04 Mar, 2018 1 commit
  7. 03 Mar, 2018 1 commit
  8. 01 Mar, 2018 1 commit
  9. 28 Feb, 2018 2 commits
  10. 27 Feb, 2018 7 commits
  11. 23 Feb, 2018 4 commits
  12. 22 Feb, 2018 1 commit
  13. 20 Feb, 2018 3 commits
  14. 19 Feb, 2018 4 commits
  15. 15 Feb, 2018 2 commits
  16. 13 Feb, 2018 3 commits
  17. 12 Feb, 2018 4 commits
  18. 07 Feb, 2018 1 commit
    • Robbert Krebbers's avatar
      Generic `iAlways` tactic. · 6dc83bcb
      Robbert Krebbers authored
      This commit implements a generic `iAlways` tactic that is not tied to
      `persistently`, `affinely` and `plainly` but can be instantiated with a
      variety of always-style modalities.
      
      In order to plug in an always-style modality, one has to decide for both
      the persistent and spatial what action should be performed upon introducing
      the modality:
      
      - Introduction is only allowed when the context is empty.
      - Introduction is only allowed when all hypotheses satisfy some predicate
        `C : PROP → Prop` (where `C` should be a type class).
      - Introduction will only keep the hypotheses that satisfy some predicate
        `C : PROP → Prop` (where `C` should be a type class).
      - Introduction will clear the context.
      - Introduction will keep the context as-if.
      
      Formally, these actions correspond to the following inductive type:
      
      ```coq
      Inductive always_intro_spec (PROP : bi) :=
        | AIEnvIsEmpty
        | AIEnvForall (C : PROP → Prop)
        | AIEnvFilter (C : PROP → Prop)
        | AIEnvClear
        | AIEnvId.
      ```
      
      An always-style modality is then a record `always_modality` packing together the
      modality with the laws it should satisfy to justify the given actions for both
      contexts.
      6dc83bcb