Skip to content

Commit c55fa82

Browse files
fix build
1 parent df0c093 commit c55fa82

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

theories/approxis/examples/prf_cpa.v

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,9 @@ we can split off q/N credits to spend on sampling a fresh element, as required.
311311
1: { iExists 0.
312312
iFrame. iSplitL. 2: iPureIntro ; set_solver.
313313
iApply (ec_eq with "[$]").
314-
field_simplify_eq ; try real_solver. nify_r. nat_solver. }
314+
field_simplify_eq.
315+
- nify_r. nat_solver.
316+
- rewrite S_INR. real_solver. }
315317
iIntros "#Hinv".
316318
rel_arrow_val ; lrintro "msg"...
317319
iApply (refines_na_inv with "[$Hinv]"); [done|].

theories/approxis/examples/prf_cpa_combined_sem_typ.v

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,9 @@ Hypothesis refines_tape_couple_avoid : forall `{!approxisRGS Σ} (N:nat) α l z
512512
assert (q * (q + 1) <= (Q - 1) * Q)%R.
513513
{
514514
rewrite -INR_1.
515-
apply Rmult_le_compat ; try real_solver.
515+
apply Rmult_le_compat.
516+
- real_solver.
517+
- rewrite -S_INR. real_solver.
516518
- rewrite -minus_INR. 2: lia. apply le_INR. lia.
517519
- rewrite -plus_INR. apply le_INR. lia.
518520
}

theories/approxis/examples/prf_cpa_with_dec.v

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,9 @@ we can split off q/N credits to spend on sampling a fresh element, as required.
584584
1: { iExists 0.
585585
iFrame. iSplitL. 2: iPureIntro ; set_solver.
586586
iApply (ec_eq with "[$]").
587-
field_simplify_eq ; try real_solver. nify_r. nat_solver. }
587+
field_simplify_eq.
588+
- nify_r. nat_solver.
589+
- rewrite S_INR. real_solver. }
588590
iIntros "#Hinv".
589591
rel_arrow_val ; lrintro "msg"...
590592
iApply (refines_na_inv with "[$Hinv]"); [done|].

theories/approxis/examples/rejection_samplers.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ Proof.
242242
do 3 tp_pure.
243243
wp_pures.
244244
iRevert "Hα Hαₛ Hspec".
245-
iApply (ec_ind_amp _ (S N / (S N - S M)) with "[] Hε"); [done|real_solver|].
245+
iApply (ec_ind_amp _ (S N / (S N - S M)) with "[] Hε"); [done| |].
246+
{ apply NM1. }
246247
iIntros "!#" (??) "#IH ????".
247248
iApply (wp_simpl_rejection_ind_aux with "[$][$][$][$]"); [done|].
248249
iIntros (? H1) "? Hε ? ?". subst.

0 commit comments

Comments
 (0)