Skip to content

Commit

Permalink
nearest_round_int_odd_abs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtrager committed May 22, 2024
1 parent 953992e commit 046ceb3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion coq/FHE/arith.v
Original file line number Diff line number Diff line change
Expand Up @@ -3012,7 +3012,12 @@ Lemma nearest_round_int_odd_abs (p : nat) (a : int) :
odd p ->
`|nearest_round_int a p| = `|nearest_round_int `|a| p|.
Proof.
Admitted.
intros.
destruct a.
- by rewrite absz_nat.
- rewrite NegzE nearest_round_int_negate //.
by rewrite !abszN absz_nat.
Qed.

Lemma nearest_round_int_leq2 (c p : nat) (a : int) :
odd p ->
Expand Down

0 comments on commit 046ceb3

Please sign in to comment.