Skip to content
Snippets Groups Projects
  1. May 18, 2020
  2. May 16, 2020
  3. May 15, 2020
  4. May 14, 2020
  5. May 13, 2020
  6. May 12, 2020
  7. May 11, 2020
  8. May 08, 2020
  9. May 07, 2020
  10. May 05, 2020
  11. May 01, 2020
  12. Apr 28, 2020
  13. Apr 26, 2020
  14. 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
  15. Apr 24, 2020
  16. Apr 23, 2020
  17. Apr 22, 2020
Loading