1. 13 Nov, 2017 1 commit
  2. 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
  3. 28 Oct, 2017 3 commits
  4. 27 Oct, 2017 1 commit
  5. 25 Oct, 2017 3 commits
  6. 05 Oct, 2017 1 commit
  7. 28 Sep, 2017 1 commit
  8. 27 Sep, 2017 3 commits
  9. 21 Sep, 2017 1 commit
  10. 28 Aug, 2017 2 commits
  11. 24 Aug, 2017 1 commit
  12. 17 May, 2017 1 commit
  13. 13 Apr, 2017 2 commits
  14. 11 Apr, 2017 1 commit
  15. 21 Mar, 2017 1 commit
  16. 15 Mar, 2017 1 commit
  17. 14 Mar, 2017 2 commits
  18. 12 Mar, 2017 1 commit
  19. 11 Mar, 2017 1 commit
  20. 10 Mar, 2017 1 commit
  21. 21 Feb, 2017 1 commit
  22. 15 Feb, 2017 1 commit
  23. 13 Feb, 2017 3 commits
  24. 12 Feb, 2017 1 commit
    • Robbert Krebbers's avatar
      Make iSpecialize work with coercions. · f1b30a2e
      Robbert Krebbers authored
      For example, when having `"H" : ∀ x : Z, P x`, using
      `iSpecialize ("H" $! (0:nat))` now works. We do this by first
      resolving the `IntoForall` type class, and then instantiating
      the quantifier.
      f1b30a2e
  25. 23 Jan, 2017 1 commit
  26. 22 Jan, 2017 1 commit
  27. 05 Jan, 2017 1 commit
  28. 03 Jan, 2017 1 commit
  29. 28 Dec, 2016 1 commit