betaFeedback

WorksMathematics

The Harborth constant of Cp ⊕ Cp for every prime p ≥ 11

Abstract

The Harborth constant g(G)\mathsf g(G) of a finite abelian group GG is the least kk such that every kk-element subset of GG contains exp⁡(G)\exp(G) distinct elements whose sum is zero; the exponent exp⁡(G)\exp(G) is the largest order of an element of GG. Gao and Thangadurai conjectured that g(Cn⊕Cn)=2n−1\mathsf g(C_n\oplus C_n)=2n-1 for odd nn, and proved it for primes p≥67p\ge 67; Gao, Geroldinger and Schmid extended this to p≥47p\ge47, and Kemnitz had settled p∈{3,5,7}p\in\{3,5,7\}. Bajnok's Menu of research problems asks for the primes 11≤p≤4311\le p\le 43 (Problem F.100). We prove that g(Cp⊕Cp)=2p−1\mathsf g(C_p\oplus C_p)=2p-1 for every prime p≥11p\ge11, which answers that problem and, with Kemnitz's values, gives the conjecture for every odd prime. As in the work of Gao and Thangadurai and of Gao, Geroldinger and Schmid, we project the set along a line through 00, which sorts its points into pp parallel lines (fibers), choose a projection in which many pairs of points share a fiber, and use the lifting criterion of Gao and Thangadurai. What is new is a sufficient condition, proved with the theorem of Dias da Silva and Hamidoune, that depends only on how many points each fiber holds and not on where the fibers lie. The analysis of fiber sizes is by hand for p≥17p\ge17 and a finite check for p=11p=11 and 1313. The proof for p≥11p\ge11 and the lower bound for every odd prime are formalized in Lean. This work has not yet been reviewed by experts. The proofs, the Lean formalization and the text were produced by AI models, working under the author's direction.

Introduction

Main result

For a finite abelian group GG, the exponent exp⁡(G)\exp(G) is the largest order of an element of GG, so exp⁡(Cp⊕Cp)=p\exp(C_p \oplus C_p) = p. The Harborth constant g(G)g(G) is the least integer kk such that every subset of GG with kk elements has exp⁡(G)\exp(G) distinct elements whose sum is 00. We identify Cp⊕CpC_p \oplus C_p with the plane Fp2=Zp2\mathbb{F}_p^2 = \mathbb{Z}_p^2, so that we can speak of lines through 00 (directions) and projections.

Theorem 1. Let p≥11p \ge11 be prime. Every subset of Cp⊕CpC_p \oplus C_p with 2p−12p-1 elements contains pp distinct elements whose sum is 00. Hence g(Cp⊕Cp)=2p−1g(C_p \oplus C_p) = 2p - 1.

The lower bound g(Cp⊕Cp)≥2p−1g(C_p \oplus C_p) \ge2p - 1 holds for every odd prime pp and is due to Kemnitz [11] (see [2], Proposition F.97). In the words of the Menu [2], p. 301], “As Kemnitz observed in [127], the set A={0,1}r−1×{0,1,…,k−2}A = \{0,1\}^{r-1} \times\{0,1,\ldots,k-2\} [...] is zero-kk-sum-free”. We use its translate by (0,1)(0,1) for r=2r=2: the 2p−22p-2 points (a,b)(a,b) with a∈{0,1}a \in\{0,1\} and b≠0b \ne0. If pp of them sum to 00, the first coordinate of the sum is the number mm of chosen points with a=1a=1, so pp divides mm. Since m≤p−1m \le p-1, m=0m=0, but only p−1p-1 points have a=0a=0. Theorem 1 and this lower bound are proved in Lean with Mathlib, from the definitions (§ 7).

Background and prior work

The constant goes back to Harborth’s problem on lattice points with integral centroid [10]. Gao and Thangadurai [8] introduced the conjecture in its present form; in the words of Gao, Geroldinger and Schmid [6 Section 5], with our citation labels, “In [8] it is conjectured that g(Cn⊕Cn)g(C_n \oplus C_n) is equal to 2n−12n-1 for every odd n≥3n \ge3 and equal to 2n+12n+1 for every even n≥3n \ge3, and it is observed that these values are lower bounds. Moreover, it is proved (see [8 Theorem 1]) that g(Cp⊕Cp)=2p−1g(C_p \oplus C_p)=2p-1 for all primes p≥67p \ge67.” Gao, Geroldinger and Schmid [6 Theorem 5.1] described all sets of size 2p−22p-2 with no zero-sum subset of size pp for primes p≥47p \ge47, and so proved g(Cp⊕Cp)=2p−1g(C_p \oplus C_p)=2p-1 for those primes.

Bajnok’s Menu [2] states the conjecture as Conjecture F.98, in his notation and as the equivalent statement that for odd kk the largest subset of Zk2\mathbb{Z}_k^2 with no kk distinct elements summing to 00 has 2k−22k-2 elements; his kk is the nn of the quotation above. It records that “Kemnitz in [127] proved that Conjecture F.98 holds for k∈{2,3,5,7}k \in\{2,3,5,7\}” (see [11]), states the result for p≥47p \ge47 as Theorem F.99, and poses

Problem F.100. Prove that Conjecture F.98 holds for prime numbers 11≤p≤4311 \le p \le43.

Guillot, Marchan, Ordaz, Schmid and Zerdoum [9] recorded the same state of knowledge in 2019: “It is known that g(Cp⊕Cp)=2p−1g(C_p \oplus C_p)=2p-1 for prime p≥47p \ge47 and for p∈{3,5,7}p \in\{3,5,7\}” [9 p. 614]. Theorem 1 settles Problem F.100, and with Kemnitz’s values it gives g(Cp⊕Cp)=2p−1g(C_p \oplus C_p)=2p-1 for every odd prime pp. The composite case of the conjecture is untouched.

We build directly on three earlier ingredients. The lifting criterion (Lemma 2.1) is Lemma 2.5 of Gao and Thangadurai [8]. Gao, Hou, Schmid and Thangadurai extend it to CprC_p^r as Lemma 5.2 of [7], which “was proved in [19] in the special case r=2r=2”, with [19] their label for [8], and Gao, Geroldinger and Schmid quote it as Lemma 5.3(1) of [6]. The averaging over directions (Lemma 2.2) is in Gao and Thangadurai [8 pp. 83–84] and is Lemma 5.13 of [6]. Closest to our criterion are Lemmas 5.7 and 5.9 of [6], stated with the projected sequence written as R′R3U2VR'R^3U^2V [6 p. 267]. Lemma 5.9 applies the theorem of Dias da Silva and Hamidoune (their Theorem 2.3(1)) to the support RUVRUV and the Cauchy–Davenport theorem to squarefree pairs QiQ_i from R′R', and Lemma 5.7 bounds the lifting sum below by 2(vg(φ(S))−2)2(v_g(\varphi(S))-2) for each gg in the support of the repeated part of the zero-sum sequence. Lemma 5.9 assumes p≥47p \ge47 and Lemma 5.10 p≥41p \ge41; Lemmas 5.7, 5.8, 5.11 and 5.12 assume p≥5p \ge5, 55, 1717 and 2323. Gao, Geroldinger and Schmid write [6 p. 272] that “with more involved proofs some of the results could be obtained for (slightly) smaller primes. Our aim is to obtain results (at least) for primes pp with p≥47p \ge47, which is the bound given by Lemma 5.9.” The tools are the theorem of Dias da Silva and Hamidoune [5], in the form of [6 Theorem 2.3(1)], and the Cauchy–Davenport theorem [3, 4].

What this paper adds is the symmetric layer criterion of § 3. It applies Dias da Silva–Hamidoune to every layer of a depth chosen inside the fibers (both defined in § 3), and its hypotheses, a single quadratic inequality and a bound on the layer sizes, depend only on the fiber sizes, not on their positions. The analysis of these sizes in § 4–§ 6 brings the threshold down to p=11p=11. The hard step was to find a sufficient condition that does not depend on where the fibers sit; once the quadratic form was found, the case analysis became short.

Proof overview

Let S⊆Fp2S \subseteq\mathbb{F}_p^2 with ∣S∣=2p−1|S| = 2p - 1. Fix a direction, that is, a line KK through 00, and project SS along KK onto a complementary line H≅ZpH \cong\mathbb{Z}_p. Each g∈Hg \in H carries a fiber S∩(g+K)S \cap(g + K) of vgv_g points, and the vector vv of fiber sizes is the profile. By the lifting criterion, SS has the required pp points as soon as there are integers 0≤tg≤vg0 \leq t_g \leq v_g with ∑tg=p\sum t_g = p, ∑tgg=0\sum t_g g = 0 and enough freedom ∑tg(vg−tg)≥p−1\sum t_g(v_g - t_g) \geq p - 1 inside the fibers.

Two points of SS share a fiber for exactly one of the p+1p+1 directions, so averaging gives a direction in which at least 2p−42p - 4 pairs of points of SS share a fiber. § 2 reduces Theorem 1 in this way to Proposition 2.3 about such profiles.

To prove the proposition we fix a depth rr and choose tt in the box {t:∣2tg−vg∣≤rg}\{t : |2t_g - v_g| \leq r_g\} around v/2v/2. The layers {g:rg≥i}\{g : r_g \geq i\} of the box are sets of distinct residues, so Dias da Silva–Hamidoune bounds the sums of half of each layer, and Cauchy–Davenport bounds the sumset of these sets (§ 3). The conditions on rr then involve only the multiset {vg}\{v_g\}, the shape of vv. For p≥17p \geq17 two explicit rules give rr for all shapes but four (§ 4). For one of the four, (p−2,p−2,3)(p - 2, p - 2, 3), a rule still gives a witness, checked directly; the other three are handled through the positions of their fibers (§ 5). For p=11p = 11 and 1313 all 526 and 1435 concentrated shapes, respectively, are checked (§ 6).

Reduction to a lemma on profiles

Let pp be an odd prime and S⊆Fp2S \subseteq\mathbb{F}_p^2 with ∣S∣=2p−1|S| = 2p - 1. Fix a line KK through 00 and a complementary line HH, and let φ\varphi be the projection onto HH along KK. For g∈Hg \in H the fiber S∩(g+K)S \cap(g + K) has vgv_g elements, and ∑gvg=2p−1\sum_g v_g = 2p - 1. We call gg a class and vgv_g its size.

Lemma 2.1 (Lifting criterion [8, 7]). Suppose that t:H→Z≥0t: H \to\mathbb{Z}_{\geq0} satisfies tg≤vgt_g \leq v_g, ∑gtg=p\sum_g t_g = p, ∑gtgg=0\sum_g t_g g = 0 in HH, and

W(t):=∑g∈Htg(vg−tg)≥p−1.W(t) := \sum_{g \in H} t_g(v_g - t_g) \geq p - 1.

Then SS contains pp distinct elements whose sum is 00.

Proof. Write the fiber over gg as g+Agg + A_g with Ag⊆K≅ZpA_g \subseteq K \cong\mathbb{Z}_p and ∣Ag∣=vg|A_g| = v_g. Choosing tgt_g distinct points in each fiber gives pp distinct points with sum ∑gtgg+∑gag=∑gag\sum_g t_g g + \sum_g a_g = \sum_g a_g, where aga_g runs over the set tg∧Agt_g^{\wedge} A_g of sums of tgt_g distinct elements of AgA_g. By Dias da Silva–Hamidoune, ∣tg∧Ag∣≥min⁡(p,tg(vg−tg)+1)|t_g^{\wedge} A_g| \geq\min(p, t_g(v_g - t_g) + 1); this is trivial when tg∈{0,vg}t_g \in\{0, v_g\}. By Cauchy–Davenport the sumset ∑gtg∧Ag\sum_g t_g^{\wedge} A_g has at least min⁡(p,W(t)+1)=p\min(p, W(t) + 1) = p elements, so it contains 00. ∎

If some fiber is a whole line g+Kg + K, its pp points sum to pg+∑k∈Kk=0pg + \sum_{k \in K} k = 0 because pp is odd. So we may assume vg≤p−1v_g \leq p - 1 for all gg.

Lemma 2.2 (Averaging [8, 6]). Some direction KK has ∑g(vg2)≥2p−4\sum_g \binom{v_g}{2} \geq2p - 4.

Proof. Two points of SS lie in a common fiber for exactly one of the p+1p + 1 directions, so the sums ∑g(vg2)\sum_g \binom{v_g}{2} over all directions add up to (2p−12)\binom{2p-1}{2}. Some direction has at least (2p−1)(p−1)/(p+1)=2p−5+6/(p+1)>2p−5(2p - 1)(p - 1)/(p + 1) = 2p - 5 + 6/(p + 1) > 2p - 5. ∎

Since an affine map g↦αg+βg \mapsto\alpha g + \beta (α≠0\alpha\neq0) of HH preserves the conditions of Lemma 2.1 (it multiplies ∑gtgg\sum_g t_g g by α\alpha and adds pβ=0p\beta= 0), we may identify HH with Zp\mathbb{Z}_p. Theorem 1 now follows from Lemmas 2.1 and 2.2 and the following proposition.

Proposition 2.3 (Concentrated profiles). Let p≥11p \ge11 be prime and v:Zp→{0,…,p−1}v:\mathbb{Z}_p \to\{0,\ldots,p-1\} with ∑gvg=2p−1\sum_g v_g=2p-1 and ∑g(vg2)≥2p−4\sum_g \binom{v_g}{2}\ge2p-4. Then some tt satisfies the hypotheses of Lemma 2.1.

We call such a vv concentrated. Write njn_j for the number of classes gg with vg=jv_g=j. Then ∑jnj=p\sum_j n_j=p and ∑j(j−1)nj=p−1\sum_j(j-1)n_j=p-1. Since (j2)=(j−1)+(j−12)\binom{j}{2}=(j-1)+\binom{j-1}{2} for j≥1j\ge1 and (02)=0=(0−1)+1\binom{0}{2}=0=(0-1)+1, we get ∑j(j2)nj=(p−1)+n0+∑j≥3(j−12)nj\sum_j\binom{j}{2}n_j=(p-1)+n_0+\sum_{j\ge3}\binom{j-1}{2}n_j, so the concentration hypothesis reads

n0+∑j≥3(j−12)nj≥p−3.(1)n_0+\sum_{j\ge3}\binom{j-1}{2}n_j\ge p-3. \tag*{(1)}

The symmetric layer criterion

The shape of a profile vv is the multiset {vg}\{v_g\} of its sizes. For a profile vv and a depth r:Zp→Z≥0r:\mathbb{Z}_p\to\mathbb{Z}_{\ge0}, let xi=∣{g:rg≥i}∣x_i=|\{g:r_g\ge i\}| for i≥1i\ge1, the sizes of the layers of rr.

Lemma 3.1. Let vv be as in Proposition 2.3, and suppose that rr satisfies

(D) rg≤vgr_g\le v_g and rg≡vg(mod2)r_g\equiv v_g\pmod2 for all gg;

(W) ∑grg2≤∑g(vg−2)2\sum_g r_g^2\le\sum_g(v_g-2)^2;

(S) ∑i≥1⌊xi2/4⌋≥p−1\sum_{i\ge1}\lfloor x_i^2/4\rfloor\ge p-1.

Then some tt satisfies the hypotheses of Lemma 2.1.

Proof. Put ag=(vg−rg)/2a_g=(v_g-r_g)/2, an integer by (D), and consider tt with ag≤tg≤ag+rga_g\le t_g\le a_g+r_g. Then ug=2tg−vgu_g=2t_g-v_g satisfies ∣ug∣≤rg|u_g|\le r_g, and tg(vg−tg)=(vg2−ug2)/4≥(vg2−rg2)/4t_g(v_g-t_g)=(v_g^2-u_g^2)/4\ge(v_g^2-r_g^2)/4. Since ∑g(vg−2)2=∑gvg2−4(2p−1)+4p\sum_g(v_g-2)^2=\sum_gv_g^2-4(2p-1)+4p, condition (W) gives ∑g(vg2−rg2)≥4(p−1)\sum_g(v_g^2-r_g^2)\ge4(p-1), so W(t)≥p−1W(t)\ge p-1 for every such tt.

The layers Li={g:rg≥i}L_i=\{g:r_g\ge i\} are sets of distinct residues. For subsets Xi⊆LiX_i\subseteq L_i of sizes hih_i, the vector tg=ag+∣{i:g∈Xi}∣t_g=a_g+|\{i:g\in X_i\}| lies in the box, with ∑gtg=∑gag+∑ihi\sum_g t_g=\sum_g a_g+\sum_i h_i and ∑gtgg=∑gagg+∑i∑x∈Xix\sum_g t_gg=\sum_g a_gg+\sum_{i}\sum_{x\in X_i}x. Let R=∑grg=∑ixiR=\sum_g r_g=\sum_i x_i. By (D), R≡∑gvgR\equiv\sum_gv_g is odd, and ∑gtg=p\sum_g t_g=p means ∑ihi=(R+1)/2\sum_i h_i=(R+1)/2. Since ∑i⌊xi/2⌋≤(R−1)/2\sum_i\lfloor x_i/2\rfloor\le(R-1)/2 and ∑i⌈xi/2⌉≥(R+1)/2\sum_i\lceil x_i/2\rceil\ge(R+1)/2, we can choose hi∈{⌊xi/2⌋,⌈xi/2⌉}h_i\in\{\lfloor x_i/2\rfloor,\lceil x_i/2\rceil\} with this sum; then hi(xi−hi)=⌊xi2/4⌋h_i(x_i-h_i)=\lfloor x_i^2/4\rfloor. By Dias da Silva–Hamidoune each hi∧Lih_i^{\wedge}L_i has at least min⁡(p,⌊xi2/4⌋+1)\min(p,\lfloor x_i^2/4\rfloor+1) elements, and by Cauchy–Davenport and (S) their sumset is all of Zp\mathbb{Z}_p. So some choice of the XiX_i gives ∑gtgg=0\sum_g t_gg=0.

:::

Conditions (D), (W) and (S) are unchanged when vv and rr are permuted together, so they depend only on the shape of vv. A depth rr meeting them, listed in the order of the shape, is a witness for the shape, and then every profile v′v' with that shape has some tt satisfying the hypotheses of Lemma 2.1 for v′v'. For example, take p=11p=11 and the shape (6,3,3,3,3,3)(6,3,3,3,3,3), padded with five zeros. The depth r=(2,3,1,1,1,1)r=(2,3,1,1,1,1), in the order of the shape and 00 on the five empty classes, is a witness: (D) holds, ∑grg2=17≤16+5⋅1+5⋅4=41\sum_g r_g^2=17\le16+5\cdot1+5\cdot4=41, and the layers have sizes 6,2,16,2,1, so 9+1+0=10=p−19+1+0=10=p-1.

The Shape Lemma for p≥17p\ge17

Let N(i)=∣{g:vg≥i}∣N(i)=|\{g:v_g\ge i\}|, so that N(1)=p−n0N(1)=p-n_0 is the number of nonempty classes and ∑iN(i)=2p−1\sum_iN(i)=2p-1, and let v(1)≥v(2)≥⋯v_{(1)}\ge v_{(2)}\ge\cdots be the sizes in decreasing order. For ρ≥1\rho\ge1 put sp⁡(ρ)=∑i=1ρ⌊N(i)2/4⌋\operatorname{sp}(\rho)=\sum_{i=1}^{\rho}\lfloor N(i)^2/4\rfloor. Since ⌊N2/4⌋=∑j=2N⌊j/2⌋\lfloor N^2/4\rfloor=\sum_{j=2}^{N}\lfloor j/2\rfloor,

sp⁡(ρ)=∑j≥2⌊j/2⌋min⁡(v(j),ρ).(2)\operatorname{sp}(\rho)=\sum_{j\ge2}\lfloor j/2\rfloor\min(v_{(j)},\rho). \tag*{(2)}

Rule B (basic: every rg≤2r_g \le2). For j≥3j \ge3 let e(j)=(j−1)(j−3)/4e(j) = (j-1)(j-3)/4 if jj is odd and e(j)=j(j−4)/4e(j) = j(j-4)/4 if jj is even; this is ((j−2)2−r2)/4((j-2)^2-r^2)/4, the slack in (W) of a class of size jj with the depth r∈{1,2}r \in\{1,2\} given below. Put E=∑j≥3e(j)njE = \sum_{j\ge3} e(j)n_j and k=min⁡(n2,n0+E)k = \min(n_2,n_0+E). The depth is

  • rg=0r_g=0 if vg=0v_g=0;

  • rg=1r_g=1 if vgv_g is odd;

  • rg=2r_g=2 if vg≥4v_g\ge4 is even;

  • rg=2r_g=2 on kk of the n2n_2 classes of size 2, and rg=0r_g=0 on the others.

Comparing class by class, ∑g(vg−2)2−∑grg2=4(n0+E−k)≥0\sum_g(v_g-2)^2-\sum_g r_g^2=4(n_0+E-k)\ge0, so (W) holds. The layers have sizes x1=N(1)−n2+kx_1=N(1)-n_2+k, x2=∣{g:vg≥4 even}∣+kx_2=|\{g:v_g\ge4\text{ even}\}|+k and xi=0x_i=0 for i≥3i\ge3.

Rule H(ρ)H(\rho) (high: depths up to ρ+1\rho+1), for ρ≥2\rho\ge2. Put rg=vgr_g=v_g if vg≤ρ+1v_g\le\rho+1, and otherwise rg∈{ρ,ρ+1}r_g\in\{\rho,\rho+1\} with rg≡vgr_g\equiv v_g. Then xi=N(i)x_i=N(i) for i≤ρi\le\rho, so (S) holds when sp⁡(ρ)≥p−1\operatorname{sp}(\rho)\ge p-1. Since ∑g(vg−2)2−∑grg2=∑g(vg2−rg2)−4(p−1)\sum_g(v_g-2)^2-\sum_g r_g^2=\sum_g(v_g^2-r_g^2)-4(p-1), (W) holds when

Δ(ρ):=∑vg≥ρ+2(vg2−(ρ+1)2)≥4(p−1).\Delta(\rho):=\sum_{v_g\ge\rho+2}\left(v_g^2-(\rho+1)^2\right)\ge4(p-1).

Proposition 4.1 (Shape Lemma). Let p≥17p\ge17 be prime and vv concentrated, of none of the shapes (p−1,p−1,1)(p-1,p-1,1), (p−1,p−2,2)(p-1,p-2,2), (p−1,p−3,3)(p-1,p-3,3), (p−2,p−2,3)(p-2,p-2,3). Then rule BB or rule H(ρ∗)H(\rho^*) gives a witness, where ρ∗\rho^* is the least ρ\rho with sp⁡(ρ)≥p−1\operatorname{sp}(\rho)\ge p-1.

Proof. Case 1: n2>n0+En_2>n_0+E, so k=n0+Ek=n_0+E. Let A=∑j≥3(j−1)njA=\sum_{j\ge3}(j-1)n_j; the identity ∑j(j−1)nj=p−1\sum_j(j-1)n_j=p-1 gives n2=p−1+n0−An_2=p-1+n_0-A, and hence x1=1−n0+A+Ex_1=1-n_0+A+E. Since n2≤p−n0−N(3)n_2\le p-n_0-N(3), we have 2n0≤A+1−N(3)2n_0\le A+1-N(3). This gives x1≥12+∑j≥3f(j)njx_1\ge\frac12+\sum_{j\ge3}f(j)n_j with f(j)=j/2+e(j)f(j)=j/2+e(j), and, with (1), ∑j≥3q(j)nj≥p−52\sum_{j\ge3}q(j)n_j\ge p-\frac52 with q(j)=j(j−2)/2q(j)=j(j-2)/2. One checks that f(j)=q(j)/2f(j)=q(j)/2 for even jj and f(j)=(j2−2j+3)/4≥q(j)/2f(j)=(j^2-2j+3)/4\ge q(j)/2 for odd jj. Hence x1≥p/2−5/4x_1\ge p/2-5/4, and as x1x_1 is an integer and pp is odd, x1≥(p−1)/2x_1\ge(p-1)/2. Then ⌊x12/4⌋≥⌊(p−1)2/16⌋≥p−1\lfloor x_1^2/4\rfloor\ge\lfloor(p-1)^2/16\rfloor\ge p-1 because p≥17p\ge17, so (S) holds for rule B.

Case 2: n2≤n0+En_2\le n_0+E and ⌊N(1)2/4⌋≥p−1\lfloor N(1)^2/4\rfloor\ge p-1. Rule B has k=n2k=n_2 and x1=N(1)x_1=N(1), so (S) holds.

Case 3: ⌊N(1)2/4⌋≤p−2\lfloor N(1)^2/4\rfloor\le p-2. This case does not use (1). Now sp⁡(1)=⌊N(1)2/4⌋<p−1\operatorname{sp}(1)=\lfloor N(1)^2/4\rfloor<p-1, so ρ=ρ∗≥2\rho=\rho^*\ge2, and by (2) sp⁡(v(2))≥∑j≥2v(j)=2p−1−v(1)≥p\operatorname{sp}(v_{(2)})\ge\sum_{j\ge2}v(j)=2p-1-v(1)\ge p, so ρ≤v(2)\rho\le v_{(2)}. It remains to show Δ(ρ)≥4(p−1)\Delta(\rho)\ge4(p-1), using sp⁡(ρ−1)≤p−2\operatorname{sp}(\rho-1)\le p-2.

(3a) ρ≤(p−1)/2\rho\le(p-1)/2. Put y=ρ−1∈[1,(p−3)/2]y=\rho-1\in[1,(p-3)/2]. From ⌊N2/4⌋≥(N2−1)/4\lfloor N^2/4\rfloor\ge(N^2-1)/4 we get ∑i≤yN(i)2≤X:=4p−8+y\sum_{i\le y}N(i)^2\le X:=4p-8+y, so by Cauchy–Schwarz and the monotonicity of NN, L:=∑i≤ρ+1N(i)≤yX+2X/yL:=\sum_{i\le\rho+1}N(i)\le\sqrt{yX}+2\sqrt{X/y}. Each class with vg≥ρ+2v_g\ge\rho+2 contributes vg2−(ρ+1)2≥(2ρ+3)(vg−ρ−1)v_g^2-(\rho+1)^2\ge(2\rho+3)(v_g-\rho-1) to Δ(ρ)\Delta(\rho), and ∑gmax⁡(vg−ρ−1,0)=∑i≥ρ+2N(i)=2p−1−L\sum_g\max(v_g-\rho-1,0)=\sum_{i\ge\rho+2}N(i)=2p-1-L. Therefore Δ(ρ)≥(2y+5)(2p−1−L)\Delta(\rho)\ge(2y+5)(2p-1-L), and the inequality

F(p,y):=(2y+5)(2p−1−yX−2X/y)−4(p−1)≥0F(p,y):=(2y+5)\left(2p-1-\sqrt{yX}-2\sqrt{X/y}\right)-4(p-1)\ge0

for p≥17p\ge17 and 1≤y≤(p−3)/21\le y\le(p-3)/2 is verified in Appendix § 8.

(3b) ρ≥(p+1)/2\rho\ge(p+1)/2. By (2), sp⁡(ρ−1)=(ρ−1)+∑j≥3⌊j/2⌋min⁡(v(j),ρ−1)≤p−2\operatorname{sp}(\rho-1)=(\rho-1)+\sum_{j\ge3}\lfloor j/2\rfloor\min(v_{(j)},\rho-1)\le p-2, so v(j)≤ρ−2v_{(j)}\le\rho-2 for all j≥3j\ge3 (otherwise sp⁡(ρ−1)≥2ρ−2≥p−1\operatorname{sp}(\rho-1)\ge2\rho-2\ge p-1). With σ=∑j≥3⌊j/2⌋v(j)\sigma=\sum_{j\ge3}\lfloor j/2\rfloor v_{(j)} this gives sp⁡(ρ−1)=ρ−1+σ\operatorname{sp}(\rho-1)=\rho-1+\sigma and sp⁡(ρ)=ρ+σ\operatorname{sp}(\rho)=\rho+\sigma, so ρ=p−1−σ\rho=p-1-\sigma and σ≤(p−3)/2\sigma\le(p-3)/2. Only the two largest classes exceed ρ−2\rho-2, and Appendix § 8 shows Δ(ρ)≥(σ−1)(p+3)\Delta(\rho)\ge(\sigma-1)(p+3), which is at least 4(p−1)4(p-1) when σ≥5\sigma\ge5. For σ≤4\sigma\le4 the shapes are listed there: Δ(ρ)≥4(p−1)\Delta(\rho)\ge4(p-1) except for the four shapes excluded in the statement. □

The exceptional shapes

Lemma 5.1. Proposition 2.3 holds for the shapes (p−2,p−2,3)(p-2,p-2,3), (p−1,p−1,1)(p-1,p-1,1), (p−1,p−2,2)(p-1,p-2,2) and (p−1,p−3,3)(p-1,p-3,3), for every prime p≥7p \ge7.

Proof. For (p−2,p−2,3)(p-2,p-2,3) the depth r=(p−4,p−4,3)\mathbf{r}=(p-4,p-4,3) of rule H(p−4)\mathrm{H}(p-4), with rg=0r_g=0 on the p−3p-3 empty classes, is a witness: 2(p−4)2+9≤2(p−4)2+1+4(p−3)2(p-4)^2+9 \le2(p-4)^2+1+4(p-3), and the layers have sizes 3,3,33,3,3 and then 22 (for 4≤i≤p−44 \le i \le p-4), so 3⋅2+(p−7)=p−13\cdot2+(p-7)=p-1. Only the sufficient test Δ(ρ)≥4(p−1)\Delta(\rho) \ge4(p-1) of § 4 misses this shape.

The other three shapes are (p−1,b,c)(p-1,b,c) with b+c=pb+c=p and c∈{1,2,3}c\in\{1,2,3\}; here the classes’ positions matter. By an affine map, put the class AA of size p−1p-1 at 00, the class BB of size bb at 11, and the class CC of size cc at some z∉{0,1}z\notin\{0,1\}. Let β∈{1,…,p−2}\beta\in\{1,\ldots,p-2\} be the residue of −z-z, and take tC=1t_C=1, tB=βt_B=\beta, tA=p−1−βt_A=p-1-\beta. Then ∑t=p\sum t=p, ∑tgg=β+z=0\sum t_g g=\beta+z=0, and

W(t)=β(p−1−β)+β(b−β)+(c−1),W(t)=\beta(p-1-\beta)+\beta(b-\beta)+(c-1),

with β(p−1−β)≥p−2\beta(p-1-\beta)\ge p-2. For b=p−1b=p-1, W≥2(p−2)≥p−1W\ge2(p-2)\ge p-1; for b=p−2b=p-2, W≥(p−2)+0+1=p−1W\ge(p-2)+0+1=p-1; for b=p−3b=p-3 and β≤p−3\beta\le p-3, W≥(p−2)+0+2>p−1W\ge(p-2)+0+2>p-1. If b=p−3b=p-3 and β=p−2\beta=p-2, that is z=2z=2, take instead tC=2t_C=2, tB=p−4t_B=p-4, tA=2t_A=2: then ∑tgg=p−4+4=0\sum t_g g=p-4+4=0 and W=2(p−3)+(p−4)+2=3p−8≥p−1W=2(p-3)+(p-4)+2=3p-8\ge p-1.

Proposition 4.1 and Lemmas 3.1 and 5.1 prove Proposition 2.3 for every prime p≥17p\ge17.

The primes 11 and 13

For p=11p=11 and p=13p=13 the shapes are finite in number: there are 526 and 1435 concentrated shapes with all sizes at most p−1p-1. For each, one checks that it is one of the three shapes (p−1,b,c)(p-1,b,c) of Lemma 5.1, or that rule B, some rule H(ρ)\mathrm{H}(\rho) with 2≤ρ≤p−12\le\rho\le p-1, or a depth from Table 1 is a witness. At p=13p=13 rules B and H suffice. At p=11p=11 three shapes need the depths of Table 1, which can be checked by hand as in the example of § 3.

shapewitness rrlayer sizes
(6,3,3,3,3,3)(6,3,3,3,3,3)(2,3,1,1,1,1)(2,3,1,1,1,1)6,2,16,2,1
(5,5,3,3,3,2)(5,5,3,3,3,2)(3,3,3,1,1,0)(3,3,3,1,1,0)5,3,35,3,3
(5,4,3,3,3,3)(5,4,3,3,3,3)(3,2,1,1,1,1)(3,2,1,1,1,1)6,2,16,2,1

Table 1. The concentrated shapes at p=11p=11 that rules B and H miss, with a witness (zeros omitted). In each, (W) reads 17≤4117\le41, 29≤4129\le41 and 17≤3717\le37.

With Lemma 3.1 this proves Proposition 2.3, and hence Theorem 1, for p=11p=11 and 1313. In Lean the check runs as a kernel computation over all sorted profiles (§ 7). A separate program, written from the statement of the criterion and sharing no code with the formal proof, confirms the counts and the coverage; it searches all depths when the rules fail and finds no uncovered shape. The criterion alone does not reach p=7p=7: there the shapes (5,4,4)(5,4,4), (4,3,3,3)(4,3,3,3) and (4,2,2,2,2,1)(4,2,2,2,2,1) have no witness.

Formal verification

Theorem 1 and the lower bound are proved in Lean 4 with Mathlib. In the namespace Harborth, the theorems are upper, lower and harborth_constant:

def HasZeroSumPSubset (p : ℕ) (S : Finset (ZMod p × ZMod p)) : Prop :=
  ∃ T ⊆ S, T.card = p ∧ ∑ x ∈ T, x = 0

theorem upper (p : ℕ) [Fact p.Prime] (hp : 11 ≤ p)
    (S : Finset (ZMod p × ZMod p)) (hS : S.card = 2 * p - 1) :
    HasZeroSumPSubset p S

theorem lower (p : ℕ) [Fact p.Prime] (hp : 3 ≤ p) :
    ∃ S : Finset (ZMod p × ZMod p), S.card = 2 * p - 2 ∧ ¬ HasZeroSumPSubset p S

theorem harborth_constant (p : ℕ) [Fact p.Prime] (hp : 11 ≤ p) :
    sInf {k : ℕ | ∀ S : Finset (ZMod p × ZMod p), S.card = k → HasZeroSumPSubset p S}
      = 2 * p - 1

They match the theorem as follows. ZMod p×ZMod p\mathbb{ZMod}\ p \times\mathbb{ZMod}\ p is Cp⊕CpC_p \oplus C_p, and a Finset has distinct elements, so HasZeroSumPSubset p S says that SS has p=exp⁡(Cp⊕Cp)p = \operatorname{exp}(C_p \oplus C_p) distinct elements summing to 0. upper is the first sentence of Theorem 1 and lower is the lower bound. The set in harborth_constant contains 2p−12p - 1 by upper and no smaller kk by lower and passing to subsets, so its least element, sInf, is g(Cp⊕Cp)g(C_p \oplus C_p). Lean’s natural-number subtraction truncates at 0; here 2∗p−12 * p - 1 and 2∗p−22 * p - 2 have their usual values because p≥3p \ge3.

The formalization follows § 2–§ 6. It proves the theorem of Dias da Silva and Hamidoune by the polynomial method of Alon, Nathanson and Ruzsa [1], from Mathlib’s Combinatorial Nullstellensatz, and takes Cauchy–Davenport from Mathlib. Case 3 of Proposition 4.1 is proved with integer inequalities in place of the square roots of Appendix § 8. The checks of § 6 run by decide +kernel, evaluation in Lean’s kernel, which adds no axiom. The build restates the three theorems with the definition unfolded, checks small examples of the definition (a full line of C3⊕C3C_3 \oplus C_3, and the lower-bound set at p=3p = 3), and checks that each theorem depends only on propext, Classical.choice and Quot.sound. Kemnitz’s cases p∈{3,5,7}p \in\{3,5,7\} are not part of the formal proof. The Lean files accompany this paper; Appendix § 9 says how to check them.

The inequalities of Case 3

Case (3a). We show F(p,y)≥0F(p,y) \ge0 for primes p≥17p \ge17 and 1≤y≤(p−3)/21 \le y \le(p - 3)/2. Note that X/y=(4p−8)/y+1X/y = (4p - 8)/y + 1 decreases in yy, and that in each range below the factor 2p−1−yX−2X/y2p - 1 - \sqrt{yX} - 2\sqrt{X/y} is positive, so 2y+52y + 5 may be replaced by a lower bound.

  • y=1y = 1: X=4p−7X = 4p - 7 and F=10p−3−214p−7F = 10p - 3 - 21\sqrt{4p - 7}, which is nonnegative if and only if 100p2−1824p+3096≥0100p^2 - 1824p + 3096 \ge0, true for p≥17p \ge17.

  • p≥23p \ge23, 2≤y≤p/82 \le y \le p/8: yX≤(33/8)p\sqrt{yX} \le(\sqrt{33}/8)p and 2X/y≤22p−32\sqrt{X/y} \le2\sqrt{2p - 3}, so with 2y+5≥92y + 5 \ge9 it suffices that 7.53p−5≥182p−37.53p - 5 \ge18\sqrt{2p - 3}, true for p≥12p \ge12.

  • p≥23p \ge23, p/8≤y≤p/4p/8 \le y \le p/4: 2y+5≥p/4+52y + 5 \ge p/4 + 5, yX≤(17/4)p\sqrt{yX} \le(\sqrt{17}/4)p and 2X/y≤2332\sqrt{X/y} \le2\sqrt{33}; the resulting quadratic in pp has positive leading coefficient and largest root below 21.

  • p≥23p \ge23, p/4≤y≤(p−3)/2p/4 \le y \le(p - 3)/2: 2y+5≥p/2+52y + 5 \ge p/2 + 5, yX≤3(p−2)/2\sqrt{yX} \le3(p - 2)/2 and 2X/y≤217−32/p2\sqrt{X/y} \le2\sqrt{17 - 32/p}, so it suffices that (p/2+5)(p/2+2−217−32/p)≥4(p−1)(p/2 + 5)(p/2 + 2 - 2\sqrt{17 - 32/p}) \ge4(p - 1). With 17\sqrt{17} in place of 17−32/p\sqrt{17 - 32/p} this holds for p≥24p \ge24; at p=23p = 23 the left side is 92.3…≥8892.3\ldots\ge88.

  • p=17p = 17 and p=19p = 19: direct evaluation gives F(17,y)=3.0, 32.6, 47.0, 53.0, 52.4, 45.9, 34.0F(17,y) = 3.0,\ 32.6,\ 47.0,\ 53.0,\ 52.4,\ 45.9,\ 34.0 for y=1,…,7y = 1,\ldots,7 and F(19,y)=12.6, 48.0, 67.4, 78.1, 81.8, 79.4, 71.3, 57.7F(19,y) = 12.6,\ 48.0,\ 67.4,\ 78.1,\ 81.8,\ 79.4,\ 71.3,\ 57.7 for y=1,…,8y = 1,\ldots,8 (to one decimal).

Case (3b). Let s=∑j≥3v(j)≤σs=\sum_{j\geq3}v(j)\leq\sigma. As v(1),v(2)≤p−1v(1),v(2)\leq p-1, s≥1s\geq1. Write v(1)=p−1−dv(1)=p-1-d and v(2)=p−s+dv(2)=p-s+d with 0≤2d≤s−10\leq2d\leq s-1. Since ρ+1=p−σ\rho+1=p-\sigma and s≤σs\leq\sigma, both sizes are at least ρ+1\rho+1, the smaller sizes are at most ρ−2\rho-2, and

Δ(ρ)=(σ−1−d)(2p−1−d−σ)+(σ−s+d)(2p−s+d−σ).\Delta(\rho)=(\sigma-1-d)(2p-1-d-\sigma)+(\sigma-s+d)(2p-s+d-\sigma).

Both first factors are nonnegative, with sum 2σ−1−s2\sigma-1-s, and both second factors are at least 2p−2σ≥p+32p-2\sigma\geq p+3, so Δ(ρ)≥(2σ−1−s)(p+3)≥(σ−1)(p+3)\Delta(\rho)\geq(2\sigma-1-s)(p+3)\geq(\sigma-1)(p+3). If σ≤4\sigma\leq4, the tail (v(3),v(4),…)(v(3),v(4),\ldots) is one of (1)(1), (2)(2), (3)(3), (4)(4), (1,1)(1,1), (2,1)(2,1), and the formula gives:

tailddshapeΔ(ρ)\Delta(\rho)
(1)(1)00(p−1,p−1,1)(p-1,p-1,1)00
(2)(2)00(p−1,p−2,2)(p-1,p-2,2)2p−32p-3
(3)(3)00(p−1,p−3,3)(p-1,p-3,3)4p−84p-8
(3)(3)11(p−2,p−2,3)(p-2,p-2,3)4p−104p-10
(1,1)(1,1)00(p−1,p−2,1,1)(p-1,p-2,1,1)6p−136p-13
(2,1)(2,1)0,10,1(p−1,p−3,2,1)(p-1,p-3,2,1), (p−2,p−2,2,1)(p-2,p-2,2,1)8p−228p-22, 8p−248p-24
(4)(4)0,10,1(p−1,p−4,4)(p-1,p-4,4), (p−2,p−3,4)(p-2,p-3,4)6p−156p-15, 6p−196p-19

Table 2.

Apart from the first four rows, all values are at least 4(p−1)4(p-1) for p≥17p\geq17.

Reproducing the checks

The Lean project pins Lean 4 v4.34.0 and a fixed Mathlib revision. With the Lean toolchain manager elan installed, running lake exe cache get and then lake build in the project’s lean folder downloads Mathlib’s compiled library and checks the proof, the restated theorems, the examples and the axioms. The build takes a few minutes and about 9 GB of memory, most of it in the kernel checks of § 6. The independent program of § 6 needs only Python 3 and runs in under a second.

Acknowledgments

The problem was posed in this form by Weidong Gao and Ravindranathan Thangadurai, whose lifting lemma and averaging argument the proof uses, and recorded as Problem F.100 by Béla Bajnok. The layer approach and the result for p≥47p\geq47 are due to Weidong Gao, Alfred Geroldinger and Wolfgang Schmid, and the extension of the lifting criterion to CprC_p^r to Weidong Gao, Qing-Hu Hou, Wolfgang Schmid and Ravindranathan Thangadurai. Arnfried Kemnitz proved the lower bound and settled p=3p=3, 55 and 77.

References

  1. [1]N. Alon, M. B. Nathanson and I. Ruzsa, The polynomial method and restricted sums of congruence classes, J. Number Theory 56 (1996), 404–417, doi:10.1006/jnth.1996.0029.DOI
  2. [2]B. Bajnok, Additive Combinatorics: A Menu of Research Problems, arXiv:1705.07444v2 (2017); CRC Press (2018). Proposition F.97, Conjecture F.98, Theorem F.99, Problem F.100 and the passages quoted here are from arXiv version 2.arxiv.org/abs/1705.07444
  3. [3]A.-L. Cauchy, Recherches sur les nombres, J. École Polytech. 9 (1813), 99–116.
  4. [4]H. Davenport, On the addition of residue classes, J. London Math. Soc. 10 (1935), 30–32, doi:10.1112/jlms/s1-10.37.30.DOI
  5. [5]J. A. Dias da Silva and Y. O. Hamidoune, Cyclic spaces for Grassmann derivatives and additive theory, Bull. London Math. Soc. 26 (1994), 140–146, doi:10.1112/blms/26.2.140.DOI
  6. [6]W. Gao, A. Geroldinger and W. A. Schmid, Inverse zero-sum problems, Acta Arith. 128 (2007), 245–279, doi:10.4064/aa128-3-5.DOI
  7. [7]W. D. Gao, Q. H. Hou, W. A. Schmid and R. Thangadurai, On short zero-sum subsequences II, Integers 7 (2007), #A21, math.colgate.edu/~integers/h21/h21.pdf.DOI
  8. [8]W. Gao and R. Thangadurai, A variant of Kemnitz conjecture, J. Combin. Theory Ser. A 107 (2004), 69–86, doi:10.1016/j.jcta.2004.03.009.DOI
  9. [9]P. Guillot, L. E. Marchan, O. Ordaz, W. A. Schmid and H. Zerdoum, On the Harborth constant of C₃ ⊕ C₃p, J. Théor. Nombres Bordeaux 31 (2019), 613–633, doi:10.5802/jtnb.1097.
  10. [10]H. Harborth, Ein Extremalproblem für Gitterpunkte, J. Reine Angew. Math. 262/263 (1973), 356–360.DOI
  11. [11]A. Kemnitz, On a lattice point problem, Ars Combin. 16B (1983), 151–160.

Paper details

vlnc:W_z7bmvnf3
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 5

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

AI models (from OpenAI and Anthropic)

View statement
Looking for related papers…
Contents