Skip to content
Snippets Groups Projects
  1. Apr 27, 2018
  2. Apr 23, 2018
  3. Feb 22, 2018
  4. Feb 20, 2018
  5. Feb 07, 2018
  6. Feb 02, 2018
  7. Jan 23, 2018
  8. Jan 20, 2018
  9. Jan 13, 2018
  10. Dec 20, 2017
  11. Dec 07, 2017
  12. Dec 05, 2017
  13. Nov 30, 2017
  14. Nov 13, 2017
  15. Nov 11, 2017
  16. Nov 09, 2017
  17. Nov 08, 2017
  18. Nov 04, 2017
  19. 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
  20. Oct 30, 2017
  21. Oct 28, 2017
  22. Oct 27, 2017
  23. Oct 25, 2017
Loading