Skip to content
Snippets Groups Projects
  1. Dec 07, 2017
  2. Dec 05, 2017
  3. Dec 04, 2017
  4. Nov 30, 2017
  5. Nov 24, 2017
  6. Nov 23, 2017
  7. Nov 21, 2017
  8. Nov 14, 2017
  9. Nov 13, 2017
  10. Nov 09, 2017
  11. Nov 08, 2017
  12. Nov 07, 2017
  13. Nov 05, 2017
  14. Nov 04, 2017
  15. 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
    • 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
Loading