Skip to content
Snippets Groups Projects
Commit d8a491f9 authored by Robbert Krebbers's avatar Robbert Krebbers Committed by Ralf Jung
Browse files

add some line breaks

parent 6900258e
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,8 @@ Section proof.
}}}.
Proof.
iIntros (Hn Φ) "Hf HΦ". wp_lam. wp_alloc l as "Hl"; first done.
wp_smart_apply (wp_array_init_loop _ _ _ 0 n (Z.to_nat n) with "[Hl $Hf] [HΦ]") as "!> %vs".
wp_smart_apply (wp_array_init_loop _ _ _ 0 n (Z.to_nat n)
with "[Hl $Hf] [HΦ]") as "!> %vs".
{ by rewrite /= Z2Nat.id; last lia. }
{ by rewrite Loc.add_0. }
iDestruct 1 as (Hlen) "[Hl Hvs]". wp_pures.
......@@ -212,7 +213,8 @@ Section proof.
}]].
Proof.
iIntros (Hn Φ) "Hf HΦ". wp_lam. wp_alloc l as "Hl"; first done.
wp_smart_apply (twp_array_init_loop _ _ _ 0 n (Z.to_nat n) with "[Hl $Hf] [HΦ]") as "%vs".
wp_smart_apply (twp_array_init_loop _ _ _ 0 n (Z.to_nat n)
with "[Hl $Hf] [HΦ]") as "%vs".
{ by rewrite /= Z2Nat.id; last lia. }
{ by rewrite Loc.add_0. }
iDestruct 1 as (Hlen) "[Hl Hvs]". wp_pures.
......
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