1. 25 Jan, 2018 1 commit
  2. 24 Jan, 2018 2 commits
  3. 23 Jan, 2018 1 commit
    • Jacques-Henri Jourdan's avatar
      Improve iStartProof. · d7db5250
      Jacques-Henri Jourdan authored
      1- Avoid [type_term (eq_refl : @eq Type PROP PROP')] when [PROP] is not given. This has significant performance implications.
      2- In th case PROP is given (i.e., only when the tactic is manually used), introduce all the foralls and lets.
  4. 22 Jan, 2018 2 commits
  5. 19 Jan, 2018 1 commit
  6. 18 Jan, 2018 1 commit
  7. 16 Jan, 2018 2 commits
    • 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
    • Jacques-Henri Jourdan's avatar
      Typos. · 4afebcb8
      Jacques-Henri Jourdan authored
  8. 13 Jan, 2018 1 commit
  9. 12 Jan, 2018 2 commits
  10. 07 Jan, 2018 1 commit
  11. 31 Dec, 2017 1 commit
  12. 23 Dec, 2017 1 commit
  13. 22 Dec, 2017 5 commits
  14. 21 Dec, 2017 1 commit
  15. 20 Dec, 2017 1 commit
  16. 14 Dec, 2017 1 commit
  17. 22 Nov, 2017 1 commit
  18. 14 Nov, 2017 1 commit
  19. 13 Nov, 2017 4 commits
    • Robbert Krebbers's avatar
      Remove spurious `iStartProof`. · 650261fc
      Robbert Krebbers authored
    • Robbert Krebbers's avatar
    • Robbert Krebbers's avatar
      Improved treatment of anonymous hypotheses in the proof mode. · bb3584e7
      Robbert Krebbers authored
      The proof mode now explicitly keeps track of anonymous hypotheses (i.e.
      hypotheses that are introduced by the introduction pattern `?`). Consider:
        Lemma foo {M} (P Q R : uPred M) : P -∗ (Q ∗ R) -∗ Q ∗ P.
        Proof. iIntros "? [H ?]". iFrame "H". iFrame. Qed.
      After the `iIntros`, the goal will be:
        _ : P
        "H" : Q
        _ : R
        Q ∗ P
      Anonymous hypotheses are displayed in a special way (`_ : P`). An important
      property of the new anonymous hypotheses is that it is no longer possible to
      refer to them by name, whereas before, anonymous hypotheses were given some
      arbitrary fresh name (typically prefixed by `~`).
      Note tactics can still operate on these anonymous hypotheses. For example, both
      `iFrame` and `iAssumption`, as well as the symbolic execution tactics, will
      use them. The only thing that is not possible is to refer to them yourself,
      for example, in an introduction, specialization or selection pattern.
      Advantages of the new approach:
      - Proofs become more robust as one cannot accidentally refer to anonymous
        hypotheses by their fresh name.
      - Fresh name generation becomes considerably easier. Since anonymous hypotheses
        are internally represented by natural numbers (of type `N`), we can just fold
        over the hypotheses and take the max plus one. This thus solve issue #101.
    • Robbert Krebbers's avatar
  20. 06 Nov, 2017 1 commit
  21. 01 Nov, 2017 3 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:
      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.
    • Jacques-Henri Jourdan's avatar
    • Jacques-Henri Jourdan's avatar
      Remove notations for bi_bare and bi_persistently. · a38db108
      Jacques-Henri Jourdan authored
      (□ P) now means (bi_bare (bi_persistently P)).
      This is motivated by the fact that these two modalities are rarely
      used separately.
      In the case of an affine BI, we keep the □ notation. This means that a
      bi_bare is inserted each time we use □. Hence, a few adaptations need
      to be done in the proof mode class instances.
  22. 31 Oct, 2017 1 commit
  23. 30 Oct, 2017 5 commits