Skip to content
Snippets Groups Projects
  1. Sep 14, 2020
  2. Jul 21, 2020
    • 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.
      Verified
      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
  3. Jul 15, 2020
  4. Jul 14, 2020
  5. Jul 02, 2020
  6. Jun 29, 2020
  7. Jun 26, 2020
  8. Jun 17, 2020
  9. May 29, 2020
  10. May 28, 2020
  11. May 25, 2020
  12. May 23, 2020
  13. May 18, 2020
  14. Apr 28, 2020
  15. Apr 25, 2020
    • 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
  16. Apr 24, 2020
  17. Apr 23, 2020
  18. Apr 08, 2020
  19. Apr 07, 2020
Loading