Skip to content

Commit

Permalink
Just a small comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JuneRousseau committed Jul 7, 2024
1 parent 27d0475 commit 4ced95a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions theories/examples/isunique_example.v
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ Section reclaim_buffer_example.
let len_code := length reclaim_buffer_code in
ContiguousRegion a_first len_code →
(b + 1)%a = Some (b ^+1)%a ->
(* TODO assumes that
[a_first;a_first+len_code)
and [b;b+1)
do not overlap ! *)

⊢ (( PC ↦ᵣ LCap RWX a_first (a_first ^+ len_code)%a a_first pc_v
∗ r_t0 ↦ᵣ w0
Expand Down Expand Up @@ -66,8 +70,7 @@ Section reclaim_buffer_example.
rewrite /region_mapsto finz_seq_between_empty //=; last solve_addr.
}
iApply (wp_isunique_success with "[HPC Hr1 Hr0 Hbuf Hi]"); try iFrame; try solve_pure.
{ admit. } (* TODO add an hypothesis ?
annoying because I would expect to derive it from SL... *)
{ admit. } (* cf hypothesis*)
{ cbn.
rewrite finz_dist_S; last solve_addr.
rewrite finz_dist_0; solve_addr.
Expand Down

0 comments on commit 4ced95a

Please sign in to comment.