Skip to content
Snippets Groups Projects
  1. Jul 04, 2018
  2. Jul 03, 2018
  3. Jul 02, 2018
  4. Jun 30, 2018
  5. Jun 29, 2018
  6. Jun 28, 2018
  7. Jun 15, 2018
  8. Jun 13, 2018
  9. Jun 08, 2018
  10. Apr 20, 2018
  11. Mar 19, 2018
  12. Feb 20, 2018
  13. Feb 13, 2018
  14. Jan 24, 2018
  15. Jan 23, 2018
  16. Jan 13, 2018
  17. Dec 31, 2017
  18. Dec 07, 2017
  19. Dec 05, 2017
  20. Nov 30, 2017
  21. Nov 24, 2017
  22. Nov 23, 2017
  23. Nov 09, 2017
  24. Nov 08, 2017
  25. Nov 05, 2017
  26. Nov 01, 2017
    • 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
    • Robbert Krebbers's avatar
      Add an `AsVal` type class. · b2ed0162
      Robbert Krebbers authored
      This class, in combination with `TCForall`, turns out the useful in
      LambdaRust to express that lists of expressions are values.
      b2ed0162
  27. Oct 30, 2017
Loading