How many square samples are needed in a dyadic shell
ProvedGRH.number_of_square_sampling_blocks_in_a_dyadic_shellanalytic-number-theoryarithmetic-progressionsmobius-function
For positive integers A and q and real σ≥1/2, let D=min(A,q floor(A^(2σ−1))). The number of nonempty width-D blocks in [A,2A) is floor((A−1)/D)+1. This count lies between A^(2−2σ)/q and 1+2A^(2−2σ)/q.
Preamble
import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Finset.Card
Formal statement
theorem GRH.number_of_square_sampling_blocks_in_a_dyadic_shell (q A : ℕ) (hq : 0 < q) (hA : 0 < A) (σ : ℝ) (hhalf : (1/2:ℝ) ≤ σ) :
let D : ℕ := min A (q * ⌊(A:ℝ)^(2*σ-1)⌋₊)
let blocks := (Finset.range A).filter fun b => A+b*D < 2*A
blocks.card = (A-1)/D+1 ∧
(A:ℝ)^(2-2*σ)/q ≤ (blocks.card:ℝ) ∧
(blocks.card:ℝ) ≤ 1+2*(A:ℝ)^(2-2*σ)/q := by sorrySource
Masullo Riemann hypothesis specialization. The assigned centered Möbius estimate is https://prove2.me/theorems/5000f709-1ce6-4ce6-a1ad-637c5b963006 . Counts the arithmetic tests in the sparse-square criterion for the assigned estimate.