Selberg majorants attached to a structured smooth cutoff
DefinitionGreenTaoPort_Wikipedia_GreenTao_Sieve_SmoothMajorantarithmetic-progressionsgreen-tao-port-8822number-theorysieve-theory
A smooth sieve cutoff determines its own derivative-energy normalizer . Its majorant at natural parameters is the normalized Selberg weight formed from the underlying real function and this normalizer:
For a positive cyclic modulus and residue shift , the localized -tricked version uses the existing short-interval majorant on , substituting the same cutoff function and normalizer. The bundle makes these structured substitutions explicit; the positivity and domination results are separate theorems.
Definition code
import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Primes_WTrick
import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_SmoothCutoff
import Lean
import Mathlib.Analysis.Calculus.BumpFunction.InnerProduct
import Mathlib.Analysis.Calculus.ContDiff.Deriv
import Mathlib.Analysis.Calculus.Deriv.MeanValue
import Mathlib.Analysis.Calculus.Deriv.Support
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Mathlib.Combinatorics.Pigeonhole
import Mathlib.Data.Nat.Totient
import Mathlib.Data.ZMod.Basic
import Mathlib.MeasureTheory.Integral.Bochner.Set
import Mathlib.MeasureTheory.Integral.IntegralEqImproper
import Mathlib.NumberTheory.ArithmeticFunction.Moebius
import Mathlib.NumberTheory.Divisors
import Mathlib.NumberTheory.Primorial
import Mathlib.Tactic
set_option autoImplicit true
set_option relaxedAutoImplicit false
set_option maxSynthPendingDepth 3
/-!
# The smooth cutoff instantiated in the Selberg majorant
This file connects `SmoothSieveCutoff` to the previously total divisor-sum
definitions. The positivity of the cutoff normalizer discharges every
normalization side condition, including the exact value of the majorant on
primes beyond the sieve level.
-/
namespace Wikipedia.SzemeredisTheorem
/-- The structured cutoff version of the normalized Selberg majorant. -/
noncomputable def SmoothSieveCutoff.majorant
(χ : SmoothSieveCutoff) (R W n : ℕ) : ℝ :=
normalizedSelbergMajorant χ.toFun χ.normalizer R W n
/-- The localized W-tricked majorant associated to a structured cutoff. -/
noncomputable def SmoothSieveCutoff.wTrickedMajorant
{N : ℕ} [NeZero N] (χ : SmoothSieveCutoff)
(R W b : ℕ) (n : ZMod N) : ℝ :=
Wikipedia.SzemeredisTheorem.wTrickedMajorant
χ.toFun χ.normalizer R W b n
end Wikipedia.SzemeredisTheorem
/- Materialize compiler-generated declarations promised by this bundle. -/
run_meta do
for requiredName in #[
`Wikipedia.SzemeredisTheorem.SmoothSieveCutoff.wTrickedMajorant.eq_1
] do
let actualName ← Lean.realizeGlobalConstNoOverloadCore requiredName
unless actualName == requiredName do
throwError "Generated companion resolved to an unexpected name"
Source