Davenport constant of `C_p ⊕ C_p`, sequence form.
ProvedHeisenberg125.exists_nonempty_zeroSum_sublistaether-catalogalgebra
Davenport constant of C_p ⊕ C_p, sequence form. Given a list M
over any type and two ZMod p-valued statistics u, w, if M has at least
2p - 1 entries then some nonempty subsequence has both statistics summing to
zero.
theorem Heisenberg125.exists_nonempty_zeroSum_sublist{α : Type*} (M : List α) (u w : α → ZMod p)
(hM : 2 * p - 1 ≤ M.length) :
∃ T : List α, T.Sublist M ∧ T ≠ [] ∧ (T.map u).sum = 0 ∧ (T.map w).sum = 0 := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Algebra/Heisenberg125/ZeroSumTwoDim.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Algebra/Heisenberg125/ZeroSumTwoDim.lean
import Mathlib
import Definitions.Def_Algebra_Heisenberg125_ZeroSumTwoDim
/-
# The Davenport constant of `(ZMod p)^2`: `D(C_p ⊕ C_p) ≤ 2p - 1`
This file proves, by an application of the **Chevalley–Warning theorem**, that
any sequence of `2p - 1` vectors in `(ZMod p)^2` admits a nonempty subsequence
summing to zero (`exists_nonempty_zeroSum_sublist`).
This is the additive-combinatorial engine behind the "line bound" of
`Algebra.Heisenberg125.LineBound`: the preimage in `H_{p^3}` of a line through
the origin of `(ZMod p)^2` is an abelian subgroup isomorphic to `C_p ⊕ C_p`, and
product-one-freeness there is exactly zero-sum-freeness in `(ZMod p)^2`.
The Finset version `exists_nonempty_zeroSum_pair` is stated for two coordinate
functions `u, w : Fin n → ZMod p` so that it can be applied directly to
arbitrary pairs of `ZMod p`-valued statistics of a sequence.
-/
open Heisenberg125
open Finset MvPolynomial
variable {p : ℕ} [Fact p.Prime]Formal statement
theorem Heisenberg125.exists_nonempty_zeroSum_sublist{α : Type*} (M : List α) (u w : α → ZMod p)
(hM : 2 * p - 1 ≤ M.length) :
∃ T : List α, T.Sublist M ∧ T ≠ [] ∧ (T.map u).sum = 0 ∧ (T.map w).sum = 0 := by sorrySource