Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Shinnar <shinnar@us.ibm.com>
  • Loading branch information
shinnar committed May 23, 2024
1 parent 89daebc commit c67e12f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions coq/FHE/arith.v
Original file line number Diff line number Diff line change
Expand Up @@ -3117,7 +3117,7 @@ Proof.
eapply leq_trans.
apply absz_triang_sum.
simpl.
assert (\sum_(j < i.+1) `|(a`_j * b`_(i - j))%R| <= \sum_(j < i.+1) icoef_maxnorm a * icoef_maxnorm b).
assert (\sum_(j < size a) `|(a`_j * b`_(i - j))%R| <= \sum_(j < size a) icoef_maxnorm a * icoef_maxnorm b).
{
apply leq_sum.
intros.
Expand All @@ -3131,10 +3131,12 @@ Proof.
+ by rewrite nth_default.
+ by apply: (@leq_bigmax_seq _ (index_enum (ordinal_finType (size b))) xpredT (fun j => `|b`_j|)%O (Ordinal ineq)).
}
rewrite sum_nat_const card_ord in H1.
rewrite sum_nat_const card_ord mulnA in H1.
eapply leq_trans; try apply H1.

size a < i.+1

case/orP: (leqVgt i.+1 (size a)) => ineq.
- admit.
- admit.
Admitted.

Lemma div_round_mul_ex (p : nat) (a b : {poly int}) :
Expand Down

0 comments on commit c67e12f

Please sign in to comment.