From 6e45966f1cd5ea6feadb044f2fda2e1b1c81e57c Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Mon, 24 Jan 2022 10:07:56 +0100 Subject: progress --- kvx/FPDivision64.v | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kvx/FPDivision64.v') diff --git a/kvx/FPDivision64.v b/kvx/FPDivision64.v index 9ed12064..72ad43d1 100644 --- a/kvx/FPDivision64.v +++ b/kvx/FPDivision64.v @@ -1116,7 +1116,8 @@ Lemma step2_real_div_long_smalla_correct : (b_NOT0 : (0 < Int64.unsigned b)%Z), exists (q : float), (step2_real_div_long (Vlong a) (Vlong b)) = Vfloat q /\ - (Rabs ((B2R _ _ q) - (IZR (Int64.signed a)) / (IZR (Int64.unsigned b))) <= (32767/65536))%R. + (Rabs ((B2R _ _ q) - (IZR (Int64.signed a)) / (IZR (Int64.unsigned b))) <= (32767/65536))%R /\ + is_finite _ _ q = true. Proof. intros. unfold step2_real_div_long. @@ -1166,6 +1167,8 @@ Proof. rewrite C1S in C2. cbn in C2. destruct C2 as (C2R & C2F & _). + split. + 2: exact C2F. rewrite C2R. replace (IZR a' * (B2R 53 1024 f))%R with ((IZR a'/IZR b') * ((IZR b' * B2R 53 1024 f - 1) + 1))%R ; cycle 1. -- cgit