Skip to content
Snippets Groups Projects
Commit aa93b381 authored by George Pîrlea's avatar George Pîrlea
Browse files

Fix build error in new Coq version

parent ae70c158
No related branches found
No related tags found
No related merge requests found
...@@ -202,15 +202,15 @@ Section product. ...@@ -202,15 +202,15 @@ Section product.
iIntros (κ tid1 tid2 ps l) "/=[#Hshr1 #Hshr2]". iSplit; by iApply @sync_change_tid. iIntros (κ tid1 tid2 ps l) "/=[#Hshr1 #Hshr2]". iSplit; by iApply @sync_change_tid.
Qed. Qed.
Global Instance product2_drop `{!Drop ty1} `{!Drop ty2} : Drop (product2 ty1 ty2) := Global Program Instance product2_drop `{!Drop ty1} `{!Drop ty2} : Drop (product2 ty1 ty2) :=
{| drop_in_place := {| drop_in_place :=
funrec: <> ["p"] := funrec: <> ["p"] :=
letcall: "_" := (drop_in_place ty1) ["p"]%E in letcall: "_" := (drop_in_place ty1) ["p"]%E in
letcall: "_" := (drop_in_place ty2) ["p" + #(ty_size ty1)]%E in letcall: "_" := (drop_in_place ty2) ["p" + #(ty_size ty1)]%E in
return: [ #☠ ]; return: [ #☠ ];
|}. |}.
Proof. Next Obligation.
iIntros (???? [?<-]) "#LFT #HE Htl [Hop1 Hop2] Hk /=". iIntros (???????? [?<-]) "#LFT #HE Htl [Hop1 Hop2] Hk /=".
do 2 wp_rec. iApply (drop_spec with "LFT HE Htl Hop1"). do 2 wp_rec. iApply (drop_spec with "LFT HE Htl Hop1").
iIntros "Htl Hp↦". do 2 wp_rec. wp_op. iIntros "Htl Hp↦". do 2 wp_rec. wp_op.
iApply (drop_spec with "LFT HE Htl Hop2"). iApply (drop_spec with "LFT HE Htl Hop2").
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment