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

Tweak proof so it does not run into https://github.com/coq/coq/issues/18126 on Coq 8.18.

The new proof avoids `setoid_rewrite` and is just as good, so no need to revert once Coq is fixed.
parent 4243284b
No related branches found
No related tags found
No related merge requests found
Pipeline #90481 passed
......@@ -591,10 +591,10 @@ Section subtyping_rules.
lty_dual (lty_choice a Ss) <:> lty_choice (action_dual a) (lty_dual <$> Ss).
Proof.
rewrite /lty_dual /lty_choice iProto_dual_message iMsg_dual_exist;
setoid_rewrite iMsg_dual_base; setoid_rewrite lookup_total_alt;
setoid_rewrite lookup_fmap; setoid_rewrite fmap_is_Some.
iSplit; iIntros "!> /="; destruct a;
iIntros (x); iExists x; iDestruct 1 as %[S ->]; iSplitR; eauto.
setoid_rewrite iMsg_dual_base.
iSplit; iIntros "!> /="; destruct a; iIntros (x); iExists x;
rewrite !lookup_total_alt lookup_fmap fmap_is_Some;
iDestruct 1 as %[S ->]; iSplitR; eauto.
Qed.
Lemma lty_le_dual_select (Ss : gmap Z (lsty Σ)) :
......
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