Skip to content

Commit

Permalink
odd_div_upi_not_half
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtrager committed May 22, 2024
1 parent 7e149e5 commit 953992e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions coq/FHE/arith.v
Original file line number Diff line number Diff line change
Expand Up @@ -2611,13 +2611,14 @@ Proof.
{
exists ((upi (c%:~R / p%:~R)%R)*+p - c).
rewrite -H0.
rewrite rmorphD rmorphN /= mulrnDl.
f_equal.
- ring.
- admit.
field.
replace (zero (Ring.zmodType (ssrnum.Num.NumField.ringType R_numFieldType)))
with (((0%:R):R)) by lra.
rewrite eqr_nat.
lia.
}
by generalize (odd_mul_half p H); intros.
Admitted.
Qed.

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

0 comments on commit 953992e

Please sign in to comment.