Documentation

MathlibNt.AnalyticNumberTheory.LargeSieve.DyadicPrefixMaximal

theorem AnalyticNumberTheory.LargeSieve.sum_Ioc_nat_eq_sum_Icc_int (M : ) (a b : ) (f : ) :
nFinset.Ioc a b, f (M + n) = nFinset.Icc (M + a + 1) (M + b), f n
theorem AnalyticNumberTheory.LargeSieve.sum_Ioc_telescope_eq (y L : ) (f : ) :
kFinset.range L, nFinset.Ioc (y / 2 ^ (k + 1) * 2 ^ (k + 1)) (y / 2 ^ k * 2 ^ k), f n = nFinset.Ioc (y / 2 ^ L * 2 ^ L) y, f n
theorem AnalyticNumberTheory.LargeSieve.div_mod_two_eq (y k : ) :
y / 2 ^ k = 2 * (y / 2 ^ (k + 1)) + y / 2 ^ k % 2
theorem AnalyticNumberTheory.LargeSieve.decomp_eq (y N : ) (hy : y N) (f : ) :
nFinset.Ioc 0 y, f n = kFinset.range (N.log2 + 1) with y / 2 ^ k % 2 = 1, nFinset.Ioc (2 * (y / 2 ^ (k + 1)) * 2 ^ k) (2 * (y / 2 ^ (k + 1)) * 2 ^ k + 2 ^ k), f n
theorem AnalyticNumberTheory.LargeSieve.decomp_j_lt (y N k : ) (hy : y N) :
2 * (y / 2 ^ (k + 1)) < N + 1
theorem AnalyticNumberTheory.LargeSieve.sum_biUnion_le {ι : Type u_1} [DecidableEq ι] (s : Finset ι) (S : ιFinset ) (h_disj : is, js, i jDisjoint (S i) (S j)) (T : Finset ) (h_sub : is, S iT) (c : ) (hc : nT, 0 c n) :
is, nS i, c n nT, c n
theorem AnalyticNumberTheory.LargeSieve.weighted_primitive_prefix_maximal (b : ) (M : ) (N Q : ) (hQ : 0 < Q) :
qFinset.Icc 1 Q, q / q.totient * χ : PrimitiveCharacter q, primitiveCharacterPrefixMaxSquare b M N q χ ↑(N.log2 + 1) ^ 2 * primitiveLargeSieveConstant N Q * nFinset.Icc (M + 1) (M + N), b n ^ 2