1. 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
  2. 15 Jul, 2020 3 commits
  3. 14 Jul, 2020 10 commits
  4. 02 Jul, 2020 2 commits
  5. 29 Jun, 2020 1 commit
  6. 26 Jun, 2020 1 commit
  7. 17 Jun, 2020 1 commit
  8. 29 May, 2020 1 commit
  9. 28 May, 2020 1 commit
  10. 25 May, 2020 3 commits
  11. 23 May, 2020 1 commit
  12. 18 May, 2020 2 commits
  13. 28 Apr, 2020 1 commit
  14. 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
  15. 24 Apr, 2020 1 commit
  16. 23 Apr, 2020 1 commit
  17. 08 Apr, 2020 1 commit
  18. 07 Apr, 2020 7 commits