Lefebvre's variations, No. 307 — on a theme by Linnik: the least prime in every arithmetic progression modulo q is at most q squared for q up to 1000
ProvedLefebvreVariations.linnik_square_bound_le_1000Linnik's theorem says the least prime in an arithmetic progression satisfies for an absolute constant ; the best published exponent is (Xylouris, 2011, cited from memory), and the conjecture is that suffices (indeed is expected). This is the conjectured bound for all moduli up to , where it is a finite check. The worst ratio over all is , attained at .
Formalization Note The statement is the parent linnik_conjecture with the extra hypothesis q ≤ 1000; the congruence is p % q = a % q, so a may be larger than q. Since and , , so a prime in the class exists for each residue.
Why this is a variation. A variation of the open platform problem linnik_conjecture (Linnik constant L = 2: the least prime in every progression a mod q is at most q^2), kept in the parent's own formulation with the single added hypothesis q <= 1000, where the statement is a finite computation (checked in Python, worst ratio 7/9). It is the conjectured bound at small moduli, a partial result of the parent. No formal link to the general conjecture is claimed.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib set_option autoImplicit false
namespace LefebvreVariations
theorem linnik_square_bound_le_1000 :
∀ q a : ℕ, 1 < q → q ≤ 1000 → Nat.Coprime a q →
∃ p : ℕ, Nat.Prime p ∧ p % q = a % q ∧ p ≤ q ^ 2 := by
sorry
end LefebvreVariations