An elementary normalization inequality for boundary errors
ProvedWikipedia.SzemeredisTheorem.abs_div_sub_div_le_two_mul_boundaryadditive-combinatoricsgreen-tao-port-8822number-theory
Let real , , and satisfy , , and . Then .
Preamble
/- Mechanically transplanted from https://github.com/plby/lean-proofs.git at 8822f7ddef30fadbd92e1c6ab4ed897af356af5e. Original scopes and proof bytes are oracle-derived. -/ import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_LinearForms_Geometry import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_LinearForms_Independence import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Primes_ReducedResidues import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Primes_WTrick import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_CFZCongruenceBoundary import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_ComplexLocalFactorControl import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_CongruenceAverage import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_ExceptionalPrimes import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_GoodPrimeAffineRank import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_GoodPrimeLocalFactorBound import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_LinearFormsExpansion import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_LocalFactors import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_PairedDivisibilityCRT import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_PairedLocalFactors import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_SmoothCutoff import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_SmoothCutoffFourier import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_SmoothMajorant import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_TruncatedDivisorSum import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_WTrickedLocalFactors import Definitions.Def_GreenTaoPort_Wikipedia_SzemeredisTheorem_Finite_Mean import Definitions.Def_GreenTaoPort_Wikipedia_SzemeredisTheorem_LinearForms_Basic 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.Combinatorics.Pigeonhole import Mathlib.Data.Fintype.BigOperators import Mathlib.Data.Fintype.Card import Mathlib.Data.Fintype.Pi 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.NumberTheory.ArithmeticFunction.Moebius import Mathlib.NumberTheory.Divisors import Mathlib.NumberTheory.Primorial import Mathlib.NumberTheory.SumPrimeReciprocals import Mathlib.Tactic set_option autoImplicit true set_option relaxedAutoImplicit false set_option maxSynthPendingDepth 3 /-! # Finite-box congruence boundaries for the CFZ divisor expansion This file isolates the exact finite-box step between the divisor expansion and the prime-local arithmetic. It has three layers. * A normalized boundary estimate compares a bounded periodic function on a natural box with its exact residue-class mean. * Coordinatewise `Fin`/`ZMod` equivalences identify the mean on a `CubePoint k N` with the corresponding natural box mean. * For the cyclic representative used by `cfzWTrickedLinearValue`, periodicity modulo a divisor modulus `D` is proved under the precise compatibility hypothesis `D ∣ W * N`. The compatibility hypothesis in the last item is mathematically necessary for this direct rectangular trimming argument: reducing a form modulo `N` can change an integer lift by a multiple of `N`, and the subsequent `W`-trick changes its value by a multiple of `W * N`. Without divisibility by `D`, an unconditional treatment must subdivide the box into carry cells on which every modular reduction has a fixed integer lift. -/ open Wikipedia.SzemeredisTheorem open scoped BigOperators /-! ## Why cyclic representatives need a compatibility or carry argument -/ /-! ## Weighted lifts through two moduli -/ /-! ## Natural representatives of CFZ cube points -/ /-! ## Canonical carry cells -/ /-! ## Divisibility indicators modulo a common multiple -/ /-! ## Exact finite-box and residue-vector reindexing -/ /-! ## Reindexing the cyclic CFZ cube -/ /-! ## CFZ periodicity under lift compatibility -/ /-! ## The exact affine residue model -/ /-! ## Normalized trimming loss -/
Formal statement
theorem Wikipedia.SzemeredisTheorem.abs_div_sub_div_le_two_mul_boundary
{S T V U E B : ℝ}
(hV : 0 < V) (hU : 0 < U)
(hE : 0 ≤ E)
(hVU : V - U = E)
(hST : |S - T| ≤ E * B)
(hT : |T / U| ≤ B) :
|S / V - T / U| ≤ 2 * E * B / V := by sorry
Source