1. 11 Nov, 2017 1 commit
  2. 02 Nov, 2017 2 commits
  3. 01 Nov, 2017 1 commit
    • Robbert Krebbers's avatar
      Hide the proof mode entailment behind a definition. · 8574d1ea
      Robbert Krebbers authored
      This solves issue #100: the proof mode notation is sometimes not printed. As
      Ralf discovered, the problem is that there are two overlapping notations:
      
      ```coq
      Notation "P ⊢ Q" := (uPred_entails P Q).
      ```
      
      And the "proof mode" notation:
      
      ```
      Notation "Γ '--------------------------------------' □ Δ '--------------------------------------' ∗ Q" :=
        (of_envs (Envs Γ Δ) ⊢ Q%I).
      ```
      
      These two notations overlap, so, when having a "proof mode" goal of the shape
      `of_envs (Envs Γ Δ) ⊢ Q%I`, how do we know which notation is Coq going to pick
      for pretty printing this goal? As we have seen, this choice depends on the
      import order (since both notations appear in different files), and as such, Coq
      sometimes (unintendedly) uses the first notation instead of the latter.
      
      The idea of this commit is to wrap `of_envs (Envs Γ Δ) ⊢ Q%I` into a definition
      so that there is no ambiguity for the pretty printer anymore.
      8574d1ea
  4. 29 Oct, 2017 1 commit
  5. 28 Oct, 2017 2 commits
  6. 27 Oct, 2017 1 commit
  7. 26 Oct, 2017 8 commits
  8. 25 Oct, 2017 8 commits
  9. 27 Sep, 2017 1 commit
    • Robbert Krebbers's avatar
      Fix issue #99. · 7ed067a9
      Robbert Krebbers authored
      This causes a bit of backwards incompatibility: it may now succeed with
      later stripping below unlocked/TC transparent definitions. This problem
      actually occured for `wsat`.
      7ed067a9
  10. 26 Sep, 2017 1 commit
    • Robbert Krebbers's avatar
      Fix issue #98. · e17ac4ad
      Robbert Krebbers authored
      We used to normalize the goal, and then checked whether it was of
      a certain shape. Since `uPred_valid P` normalized to `True ⊢ P`,
      there was no way of making a distinction between the two, hence
      `True ⊢ P` was treated as `uPred_valid P`.
      
      In this commit, I use type classes to check whether the goal is of
      a certain shape. Since we declared `uPred_valid` as `Typeclasses
      Opaque`, we can now make a distinction between `True ⊢ P` and
      `uPred_valid P`.
      e17ac4ad
  11. 21 Sep, 2017 1 commit
  12. 20 Sep, 2017 2 commits
  13. 18 Sep, 2017 2 commits
  14. 17 Sep, 2017 4 commits
  15. 28 Aug, 2017 1 commit
    • Robbert Krebbers's avatar
      More consistent naming for fixpoints. · b60e126a
      Robbert Krebbers authored
      - Use Φ and Ψ for predicates.
      - Use _1 and _2 suffixes for the different directions of a lemma.
      - Not all lemmas started with _uPred; we do not let the bigop lemmas (for instance)
        start with uPred_ either, so I just got rid of the prefix.
      b60e126a
  16. 24 Aug, 2017 3 commits
  17. 23 Aug, 2017 1 commit