From 0033767636dab64d05b7d71c9cba4ecd455dc846 Mon Sep 17 00:00:00 2001 From: Owen Conoly Date: Thu, 29 Jun 2023 16:59:22 -0500 Subject: [PATCH] proved almost all admitted lemmas. cleaned things up a bit --- src/Arithmetic/Core.v | 83 ++++++++++++++++++++++++++++++------------- 1 file changed, 59 insertions(+), 24 deletions(-) diff --git a/src/Arithmetic/Core.v b/src/Arithmetic/Core.v index ea323735d4..ed14965803 100644 --- a/src/Arithmetic/Core.v +++ b/src/Arithmetic/Core.v @@ -1868,7 +1868,41 @@ Section Nice_weight. Lemma adk_mul_friendlier (n : nat) (x y : list Z) : friendly_adk_mul n x y = friendlier_adk_mul n x y. - Proof. cbv [friendly_adk_mul adk_mul_prod_at_i]. rewrite f_spec. + Proof. + cbv [friendly_adk_mul adk_mul_prod_at_i adk_mul' friendlier_adk_mul friendlier_adk_prod_at_i]. + apply map_ext_in. intros i Hi. apply in_seq in Hi. f_equal. repeat rewrite f_spec. replace (i - n