Squarefree paired divisor families below a coordinatewise cutoff
DefinitionGreenTaoPort_Wikipedia_GreenTao_Sieve_CFZCarryHarmonicLcmEulerBoundarithmetic-progressionsgreen-tao-port-8822number-theorysieve-theory
For a finite index type and a natural cutoff , the squarefree choice set consists of all families of divisor pairs with each coordinate in and with both and squarefree at every index. It is formed by filtering the finite coordinatewise choice set. This isolates the nonvanishing Möbius-support families used in the harmonic LCM Euler majorant.
Definition code
import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_CFZCarryFourierTailBound
import Lean
import Mathlib.Algebra.BigOperators.Expect
import Mathlib.Algebra.Field.ZMod
import Mathlib.Algebra.GCDMonoid.FinsetLemmas
import Mathlib.Algebra.Order.BigOperators.Group.Finset
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.Distribution.SchwartzSpace.Fourier
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Mathlib.Analysis.SpecialFunctions.Log.Summable
import Mathlib.Analysis.SpecialFunctions.Pow.Complex
import Mathlib.Combinatorics.Pigeonhole
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Card
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.Int.Interval
import Mathlib.Data.Int.Lemmas
import Mathlib.Data.Nat.GCD.Prime
import Mathlib.Data.Nat.Squarefree
import Mathlib.Data.Nat.Totient
import Mathlib.Data.ZMod.Basic
import Mathlib.Data.ZMod.QuotientRing
import Mathlib.GroupTheory.Index
import Mathlib.LinearAlgebra.Pi
import Mathlib.Logic.Equiv.Fin.Basic
import Mathlib.MeasureTheory.Integral.Bochner.Set
import Mathlib.MeasureTheory.Integral.IntegralEqImproper
import Mathlib.MeasureTheory.Integral.Pi
import Mathlib.MeasureTheory.Integral.Prod
import Mathlib.NumberTheory.ArithmeticFunction.Moebius
import Mathlib.NumberTheory.Divisors
import Mathlib.NumberTheory.EulerProduct.DirichletLSeries
import Mathlib.NumberTheory.Harmonic.ZetaAsymp
import Mathlib.NumberTheory.LSeries.Dirichlet
import Mathlib.NumberTheory.Primorial
import Mathlib.NumberTheory.SumPrimeReciprocals
import Mathlib.Tactic
set_option autoImplicit true
set_option relaxedAutoImplicit false
set_option maxSynthPendingDepth 3
/-!
# A finite Euler majorant for the carry harmonic LCM mass
The divisor cutoff in `smoothDivisorFamilyChoices κ R` is imposed on every
individual divisor. It therefore couples the prime choices and does not
give an exact Euler product. This file uses only the honest one-sided
comparison: a squarefree paired divisor family is injected into the larger
space in which, independently for every prime `p ≤ R`, an arbitrary subset
of the `2 * card κ` divisor occurrences may contain `p`.
The empty subset has weight one. Every nonempty subset has weight `p⁻¹`,
because `p` then occurs in the global LCM. Summing over the unrestricted
assignment space gives the finite product
`∏ p ∈ Nat.primesLE R, (1 + (2 ^ (2 * card κ) - 1) / p)`.
Only the injection into that space is used; no false equality with the
coordinatewise-truncated divisor family is asserted.
-/
namespace Wikipedia.SzemeredisTheorem
open scoped ArithmeticFunction.Moebius BigOperators
namespace SmoothSieveCutoff
/-! ## Prime-occurrence assignments -/
/-! ## The unrestricted assignment sum -/
/-! ## Encoding supported divisor families -/
/-! ## Möbius mass as the squarefree indicator -/
/-- The squarefree part of the coordinatewise-truncated paired divisor
family. -/
noncomputable def squarefreeSmoothPairedDivisorChoices
(κ : Type*) [Fintype κ] [DecidableEq κ]
(R : ℕ) : Finset (κ → ℕ × ℕ) := by
classical
exact (smoothDivisorFamilyChoices κ R).filter
SquarefreePairedDivisorChoice
/-! ## The harmonic LCM Euler majorant -/
/-! ## Selected and Selberg-scaled corollaries -/
end SmoothSieveCutoff
end Wikipedia.SzemeredisTheorem
/- Materialize compiler-generated declarations promised by this bundle. -/
run_meta do
for requiredName in #[
`Wikipedia.SzemeredisTheorem.SmoothSieveCutoff.squarefreeSmoothPairedDivisorChoices.eq_1
] do
let actualName ← Lean.realizeGlobalConstNoOverloadCore requiredName
unless actualName == requiredName do
throwError "Generated companion resolved to an unexpected name"
Source