Skip to content

Commit

Permalink
prove a reasonable spec of the interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hei411 committed Sep 10, 2024
1 parent c1bb2b1 commit 200e794
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions theories/coneris/examples/random_counter/random_counter.v
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,16 @@ Section lemmas.
naive_solver. }
iPureIntro. split; first lia.
apply leb_complete in H. lia.
+ admit.
- admit.
Admitted.
+ iModIntro.
iIntros (??) "[(%&Herr & Hcontent) Hcontent_auth]".
iFrame.
iDestruct (counter_content_less_than with "[$][$]") as "%".
by iMod (counter_content_update with "[$][$]") as "[$ $]".
- iIntros (??) "[(%&%&?&?)?]".
iApply "HΦ".
iFrame.
rewrite /ε2'. case_match eqn: H2; first by iFrame.
apply leb_iff_conv in H2. lia.
Qed.

End lemmas.

0 comments on commit 200e794

Please sign in to comment.