Skip to content
Snippets Groups Projects
Commit 34abc914 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Tidy up Coqdoc.

parent 9a81a9a9
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ Proof.
rewrite drop_insert; last by lia. done.
Qed.
(** Allocation *)
(** * Rules for allocation *)
Lemma mapsto_seq_array l q v n :
([ list] i seq 0 n, (l + (i : nat)) {q} v) -∗
l ↦∗{q} replicate n v.
......@@ -133,7 +133,7 @@ Proof.
iApply twp_allocN_vec; [auto..|]; iIntros (l) "H HΦ". by iApply "HΦ".
Qed.
(** Access to array elements *)
(** * Rules for accessing array elements *)
Lemma twp_load_offset s E l q off vs v :
vs !! off = Some v
[[{ l ↦∗{q} vs }]] ! #(l + off) @ s; E [[{ RET v; l ↦∗{q} vs }]].
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment