1. 13 Sep, 2019 1 commit
    • Jacques-Henri Jourdan's avatar
      Reorder Requires so that we do not depend of Export bugs. · 43a1a90f
      Jacques-Henri Jourdan authored
      The general idea is to first import/export modules which are further
      than the current one, and then import/export modules which are close
      dependencies.
      
      This commit tries to use the same order of imports for every file, and
      describes the convention in ProofGuide.md. There is one exception,
      where we do not follow said convention: in program_logic/weakestpre.v,
      using that order would break printing of texan triples (??).
      43a1a90f
  2. 29 Mar, 2019 3 commits
  3. 05 Mar, 2019 1 commit
  4. 31 Oct, 2018 2 commits
  5. 24 Oct, 2018 4 commits
  6. 05 Mar, 2018 1 commit
  7. 03 Mar, 2018 2 commits
  8. 18 Jan, 2018 1 commit
  9. 16 Jan, 2018 1 commit
    • Robbert Krebbers's avatar
      Special proof mode class for adding a modality to a goal. · a63f256e
      Robbert Krebbers authored
      This used to be done by using `ElimModal` in backwards direction. Having
      a separate type class for this gets rid of some hacks:
      
      - Both `Hint Mode`s in forward and backwards direction for `ElimModal`.
      - Weird type class precedence hacks to make sure the right instance is picked.
        These were needed because using `ElimModal` in backwards direction caused
        ambiguity.
      a63f256e
  10. 15 Dec, 2017 1 commit
  11. 11 Dec, 2017 2 commits
  12. 11 Nov, 2017 1 commit
  13. 01 Nov, 2017 2 commits
    • 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
    • Jacques-Henri Jourdan's avatar
      58b8eafa
  14. 30 Oct, 2017 1 commit
  15. 29 Oct, 2017 1 commit
  16. 28 Oct, 2017 1 commit
  17. 13 Apr, 2017 1 commit
  18. 21 Mar, 2017 1 commit
  19. 15 Mar, 2017 2 commits
  20. 06 Feb, 2017 1 commit
  21. 27 Jan, 2017 1 commit
  22. 26 Jan, 2017 1 commit
    • Robbert Krebbers's avatar
      Fix issue #68. · 2550dff5
      Robbert Krebbers authored
      TODO: document the setup of the IntoWand and WandWeaken type classes
      and the tricks using Hint Mode.
      2550dff5
  23. 22 Jan, 2017 1 commit
  24. 11 Jan, 2017 2 commits
  25. 05 Jan, 2017 1 commit
  26. 03 Jan, 2017 1 commit
  27. 09 Dec, 2016 2 commits
  28. 02 Dec, 2016 1 commit