The affine zero product is the common-zero indicator
ProvedWikipedia.SzemeredisTheorem.affineFamilyZeroProduct_eq_indicatoradditive-combinatoricsgreen-tao-port-8822number-theory
For a nonzero modulus , integer affine forms on a finite coordinate type with decidable equality, and any finite selected support , the affine-family zero product is exactly the indicator of the simultaneous zero set of those selected forms.
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_CongruenceAverage import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_ExceptionalPrimes 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_SmoothMajorant import Definitions.Def_GreenTaoPort_Wikipedia_GreenTao_Sieve_TruncatedDivisorSum 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.SpecialFunctions.Log.Basic 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.Tactic set_option autoImplicit true set_option relaxedAutoImplicit false set_option maxSynthPendingDepth 3 /-! # Squarefree paired divisors and finite-family local factors The Selberg expansion only receives a contribution from squarefree divisor choices: a nonzero Möbius coefficient forces each of the two divisors attached to every form to be squarefree. Consequently all local least common multiples, and their global least common multiple, are squarefree. The canonical prime-power CRT from `PairedDivisibilityCRT` therefore has exponent one at every prime. This file records that reduction exactly. It also packages the local intersection density of an arbitrary finite subfamily of affine forms. The empty, singleton, and two-element cases reduce to the exact APIs in `LocalFactors`; the full avoidance factor is their finite inclusion--exclusion sum. Higher intersections require an additional arithmetic input, so the final interface exposes that input as a hypothesis rather than asserting an unavailable estimate. -/ open Wikipedia.SzemeredisTheorem open scoped BigOperators /-! ## Squarefree divisor choices -/ /-! ## Exact prime support and the squarefree indicator product -/ /-! ## Arbitrary finite-family intersection densities -/
Formal statement
theorem Wikipedia.SzemeredisTheorem.affineFamilyZeroProduct_eq_indicator
{κ ι : Type*} [Fintype ι] [DecidableEq ι]
(p : ℕ) [NeZero p] (forms : κ → AffineForm ι ℤ)
(s : Finset κ) :
affineFamilyZeroProduct p forms s =
finsetIndicator (affineFamilyCommonZeroFinset p forms s) := by sorry
Source