From 38bc223769400d37900d3e18d663eefebe5c1223 Mon Sep 17 00:00:00 2001 From: Andrea Asperti Date: Fri, 21 Oct 2011 07:26:43 +0000 Subject: [PATCH] Optimization. Check removed. --- matita/matita/lib/arithmetics/primes.ma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matita/matita/lib/arithmetics/primes.ma b/matita/matita/lib/arithmetics/primes.ma index 3898105c6..2e2ef98fb 100644 --- a/matita/matita/lib/arithmetics/primes.ma +++ b/matita/matita/lib/arithmetics/primes.ma @@ -291,7 +291,7 @@ theorem divides_smallest_factor_n : ∀n:nat. 0 < n → #n #posn (cases (le_to_or_lt_eq … posn)) [#lt1n @mod_O_to_divides [@lt_O_smallest_factor //] >smallest_factor_to_min // @eqb_true_to_eq @f_min_true - @(ex_intro … n) % /2/ @eq_to_eqb_true /2/ + @(ex_intro … n) % /2/ |#H nth_primeS @primeb_true_to_prime check f_min_true @(f_min_true primeb) + |#m >nth_primeS @primeb_true_to_prime @(f_min_true primeb) @(ex_intro nat ? (smallest_factor (S (nth_prime m)!))) % [% // @le_S_S @(transitive_le … (le_smallest_factor_n …))