Skip to content

Commit

Permalink
Removed spurious smt.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbbarbosa-lectures committed May 17, 2024
1 parent 071b898 commit 5ae4142
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions proof/correctness/Montgomery.ec
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ case: (0 <= x) => [le0x|/ltrNge ltx0].
rewrite modz_small // le0x /= gtr0_norm; [by apply/(ler_lt_trans _ _ _ _ lt1y)|].
apply/(ltr_le_trans _ _ _ ltx_)/leq_div => //.
by apply/ltzW/(ler_lt_trans _ _ _ _ lt1y).
have ->/=: (y %/ 2 <= x %% y).
+ smt.
smt.
by smt().
qed.

lemma smod_div x : smod (x * R) (R ^ 2) %/ R = smod x R.
Expand Down

0 comments on commit 5ae4142

Please sign in to comment.