1. 15 Sep, 2020 3 commits
  2. 14 Sep, 2020 6 commits
  3. 21 Jul, 2020 2 commits
    • Tej Chajed's avatar
      Use user-supplied names in iIntros · c1affb21
      Tej Chajed authored
      Preserve identifiers in binders where possible, analogous to the support
      for destructing existentials in !479.
      
      Fixes #336.
      c1affb21
    • Tej Chajed's avatar
      Use user names when destructing existentials · 7d0bb151
      Tej Chajed authored and Robbert Krebbers's avatar Robbert Krebbers committed
      When running `iDestruct "H" as (?) "H"`, use the name of the binder in
      "H". For example, if "H" has type `∃ y, Φ y`,  we now use `y` as the
      name of the variable after freshening. Previously the name was always
      the equivalent of running `fresh H`.
      
      The implementation achieves this by forwarding the desired identifier
      name through the `IntoExist` typeclass. Identifiers are serialized in
      Gallina by using them as the name of a function of type `ident_name :=
      unit -> unit`.
      7d0bb151
  4. 15 Jul, 2020 3 commits
  5. 14 Jul, 2020 10 commits
  6. 02 Jul, 2020 2 commits
  7. 29 Jun, 2020 1 commit
  8. 26 Jun, 2020 1 commit
  9. 17 Jun, 2020 1 commit
  10. 29 May, 2020 1 commit
  11. 28 May, 2020 1 commit
  12. 25 May, 2020 3 commits
  13. 23 May, 2020 1 commit
  14. 18 May, 2020 2 commits
  15. 28 Apr, 2020 1 commit
  16. 25 Apr, 2020 1 commit
    • Abel Nieto's avatar
      Add mapsto_mapsto_ne helper lemma · f227f6fa
      Abel Nieto authored
      Here's one case this lemma might be useful. Suppose we want to
      programmatically generate namespaces for e.g. locks:
      
      ```
      Definition lockN (l : loc) := nroot .@ "lock" .@ l.
      ```
      
      Then to know that two such namespaces are disjoint, we need to know
      that the corresponding locations are distinct. For that we use
      the lemma here introduced.
      
      ```
      Lemma ne l1 l2 v1 v2 :
        l1 ↦ v1 -∗ l2 ↦ v2 -∗ ⌜l1 ≠ l2⌝.
      Proof. iApply mapsto_mapsto_ne. (* goal ¬ ✓ 2%Qp *) by intros []. Qed.
      ```
      f227f6fa
  17. 24 Apr, 2020 1 commit