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