REVIEW 1 major objections 3 minor 33 references
The number of sum-free subsets of lattice cubes
T0 review · 1 major / 3 minor · reviewed 2026-08-28 · deepseek-v4-flash
Pith's one-line read For every fixed dimension $d\ge 3$, the number of sum-free subsets of the lattice cube $[n]^d$ is $2^{M([n]^d)+O_d(n^{d-1})}$, where $M$ is the maximum size of such a subset.
desk verdict New profile-defect machinery gets the sharp boundary-order count for all d≥3; the Lemma 14 stress-test objection is a misreading, and the main caveat is the imported Keevash–Lim preprint. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The central object is the height profile $P(S)$ of a sum-free set, together with its weighted defect $\delta(P)$. The defect is built from three dual weights $\omega_1,\omega_2,\omega_3$ due to Keevash and Lim—supported on triples of fibers $(B,B,D)$, $(A,C_-,C_+)$, and $(C_-,C_-,E)$—and measures, in a weighted sense, how far the profile values are from satisfying the additive relations $x+y=z$ on each relevant triple of fibers. The argument's load-bearing identities are the cancellation identities: four bounded translations of the first or second weight combine so that the signed defect terms cancel the target and one source, isolating the second difference $\Delta_{e_1}^2 P$. That single quantity does double work: it yields the exponential saving in the fixed-profile count through local entropy estimates, and it lets the profile-counting lemma reconstruct any lower profile from two initial values and its second differences. The local entropy estimates are assembled over all fibers by an ordered conditional form of the Madiman–Tetali fractional entropy inequality, with Zhao's bipartite swapping lemma reducing the repeated-source case to the distinct-source case.
What would settle it
Exhibit, for some $d\ge 3$ and infinitely many $n$, a profile with zero weighted defect that is realized by more than $2^{M([n]^d)+C n^{d-1}}$ sum-free sets for every constant $C$; Proposition 6 says this cannot happen, so such an example would refute the theorem. Alternatively, a direct failure of Lemma 12's $O(n^{d-2})$ translation bound would break the profile-counting step.
Extended reading notes
Core claim
On the paper's own terms, the discovery is that the number of sum-free subsets of $[n]^d$ is controlled, up to a factor $2^{O_d(n^{d-1})}$, by the maximum sum-free set itself: $SF([n]^d)=2^{M([n]^d)+O_d(n^{d-1})}$ for every fixed $d\ge 3$. The proof achieves this by assigning to each sum-free set a height profile—roughly, the lowest occupied point on each fiber in the lower regions and the highest occupied point in the upper regions—and then showing two things: with a fixed profile, the number of sum-free sets realizing it is exponentially smaller than $2^M$ unless the profile's weighted defect is small, and the number of profiles with defect at most $R$ is only $2^{\varepsilon R+O(n^{d-1})}$. These two estimates combine to match the trivial lower bound.
Load-bearing premise
The load-bearing premise is that the Keevash–Lim dual weights $\omega_1,\omega_2,\omega_3$ exist with exactly the supports, marginal sums, and covering properties stated in Lemmas 8–11; the paper verifies the refinements and boundary estimates but imports the recursive coupling construction itself from [21], and if any of those weight properties failed, both counting propositions would collapse.
Editorial extensions
If this is right
- For every fixed $d\ge 3$, the asymptotic count is settled: $SF([n]^d)=2^{M([n]^d)+O_d(n^{d-1})}$, so the extremal size determines the total number up to a boundary-order factor in the exponent.
- The $d=1$ and $d=2$ results together with this theorem give a complete dimensional picture for the number of sum-free subsets of integer lattice cubes.
- The method shows that container lemmas and stability theorems are not necessary for this counting problem; the direct profile-and-defect route suffices.
- Parity of $n$ is not essential: the even case transfers to odd $n$ with only $O(n^{d-1})$ loss, so the parity assumption is a technical convenience.
- Profiles with large defect are exponentially rare, and sum-free sets with a fixed profile are exponentially few unless its defect is small; the two counting propositions quantify this tradeoff explicitly.
Reading between the lines
- The same weighted-defect scheme could likely enumerate subsets avoiding other translation-invariant linear equations on grids, whenever the extremal linear program has a dual certificate with the needed marginal-sum properties; this generalization is not in the paper.
- A byproduct of the defect bookkeeping is a potential route to stability in dimensions $d\ge 3$: tracing near-equality in the Keevash–Lim weights may show that near-extremal sum-free sets are close to the optimal stripe, a question the paper leaves open.
- If the anti-collision estimates discussed in the concluding remarks are verified, the repeated-source case could be handled without the entropy inequality and swapping lemma, possibly simplifying the proof; the paper reports only a preliminary, unverified check.
Formalized claims in Lean
-
Claim #1: On the paper's own terms, the discovery is that the number of sum-free subsets of $[n]^d$ is controlled, up to a factor $2^{O_d(n^{d-1})}$, by the maximum sum-free set itself: $SF([n]^d)=2^{M([n]^d)+O_d(n^{d-1})}$ for every fixed $d\ge 3$. The proof achieves this by assigning to each sum-free set a height profile—roughly, the lowest occupied point on each fiber in the lower regions and the highest
/-- @claim 1 On the paper's own terms, the discovery is that the number of sum-free subsets of $[n]^d$ is controlled, up to a factor $2^{O_d(n^{d-1})}$, by the maximum sum-free set itself: $SF([n]^d)=2^{M([n]^d)+O_d(n^{d-1})}$ for every fixed $d\ge 3$. The proof achieves this by assigning to each sum-free set a height profile—roughly, the lowest occupied point on each fiber in the lower regions and the highest -/ def central_claim : Prop :=
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proves that for every fixed dimension d at least 3, the number SF([n]^d) of sum-free subsets of the d-dimensional lattice cube is 2^{M([n]^d)+O_d(n^{d-1})}, where M([n]^d) is the maximum size of a sum-free subset. This confirms the Elsholtz-Rackham conjecture in all remaining dimensions. The proof introduces height profiles for subsets of Q=[0,n]^d, defines weighted defects using the Keevash-Lim dual weights, and proves two counting propositions: one bounding the number of sum-free sets with a fixed profile in terms of its defect, and one bounding the number of profiles with defect at most R. The fixed-profile estimate uses local entropy inequalities and the Madiman-Tetali ordered fractional Shearer inequality, while the profile count uses cancellation identities for second differences along e1-lines and weighted geometric-series counting.
Significance. If correct, this is a substantial result: it settles the Elsholtz-Rackham counting conjecture for all remaining dimensions, matching the trivial lower bound and extending the one-dimensional Cameron-Erdos theorem and Ghosal's two-dimensional result. The argument is methodologically interesting because it avoids both container lemmas and stability theorems. The paper also has real strengths in presentation: the one-dimensional estimate of Ghosal is given with a self-contained proof, the coordinate sums and translation effects of the dual weights are computed explicitly in Appendix A, and the numerical constants are tracked carefully. I specifically checked the potential gap in Lemma 14 raised during review: it does not land. The translated weight omega_i^{r,s} is supported on triples that themselves lie in T(B,B,D) or T(A,C-,C+), so the identity (11) applies directly; the proof of Lemma 14 is sound on this point. The main external dependency is the existence and support properties of the Keevash-Lim dual weights imported from [21], but the manuscript verifies the refinements it needs without reproducing the underlying recursive coupling construction.
major comments (1)
- [Section 3, Lemma 8] The existence of the three weight functions omega_1, omega_2, omega_3 with the stated support, covering, and coordinate-sum properties is imported from Keevash-Lim [21, Lemma 4.3 and Corollary 2.4]. Since these weights are the foundation for both Proposition 6 and Proposition 7, this is a load-bearing black box. The appendix verifies the refinements and coordinate sums, but it does not reproduce the construction itself. This is not a mathematical error, but the authors should either ensure that [21] is available in final published form or include enough of the construction to make the paper self-contained on this point.
minor comments (3)
- [Section 3.2] To avoid a possible misreading, it would be helpful to state explicitly that the support of omega_1^{r,s} is contained in T(B,B,D) and the support of omega_2^{r,s} is contained in T(A,C-,C+); this makes the application of (11) in Lemma 14 immediate.
- [Lemma 17] The sentence beginning 'Indeed, Lemma 2.1 in [30] actually gives a size-preserving bijection...' is informal and not needed for the proof; it could be deleted or expanded into a precise statement.
- [References] References [15] and [21] are arXiv preprints; if any of them appear in final form before this paper is published, the references should be updated to the published versions.
Circularity Check
No circularity: the counting proof is built from external dual-weight, entropy, and profile-count inputs that are independent of the target count.
full rationale
The derivation chain is not circular. The paper takes as inputs the Keevash–Lim dual weights for M([n]^d), Ghosal's one-dimensional counting estimate, Zhao's bipartite swapping lemma, and the Madiman–Tetali fractional entropy inequality. None of these inputs is defined in terms of SF([n]^d), and none is fitted to any counting data from the present paper. The quantity M([n]^d) appears only as an externally established maximum-size parameter, and the trivial lower bound SF([n]^d) ≥ 2^{M([n]^d)} is not used as an assumption anywhere in the upper-bound proof; it merely supplies the matching direction after the upper bound is proved. The profile defect δ(P) is a purely structural function of a profile and is not fitted to the number of sum-free sets; Proposition 6 and Proposition 7 are separate counting statements whose combination gives the theorem. The Appendix verifies the needed refinements of the Keevash–Lim weight properties rather than importing the theorem being proved. The apparent concern about Lemma 14 applying equation (11) to translated supports is resolved by the definition of the translated weights: ω_i^{r,s}(x,y,z) is nonzero only when (x-r,y-s,z-r-s) lies in G_i^{r,s}, which by definition forces (x,y,z) itself to lie in the same region product T(B,B,D) or T(A,C^-,C^+), so the fiber-size identity (11) applies termwise. The acknowledgment of generative-AI assistance and the discussion of alternative methods in Section 6 are not circularity, because the author states that all mathematical statements were independently checked and the final proof does not rely on those alternatives. Overall, the central claim is self-contained given its stated external ingredients, so no step reduces by construction to its own inputs.
Assumptions & free parameters
assumptions (6)
- domain assumption Keevash-Lim dual weights ω1,ω2,ω3 exist with supports T(B,B,D), T(A,C-,C+), T(C-,C-,E), W≤1 on C, coordinate-sum identities, and O_d(n^{d-2}) boundary losses (Lemmas 8-11).
- domain assumption Keevash-Lim additive couplings (Corollary 2.4 in [21], restated as Lemma 24): for all j,r,s there is a coupling X+Y=Z with uniform marginals on slices.
- standard math The extremal stripe S_{d,n} is sum-free and has fiber sums 2(n+1) on the weight supports (Lemma 13).
- standard math Ordered conditional fractional Shearer inequality (Lemma 19, Madiman-Tetali) and Zhao's bipartite swapping lemma (Lemma 17).
- standard math Ghosal's one-dimensional counting estimate g(t) ≤ K(2-η)^t (Lemma 16).
- domain assumption The threshold u*_d is the unique maximizer of the stripe volume with d/3<u*_d<d/2, and m=floor(u*_d n) defines the five regions.
Cite this review
Pith. "Pith review of The number of sum-free subsets of lattice cubes." pith.science (2026). https://pith.science/paper/GTTWFGKY
@misc{pith2026260823544,
author = {Pith},
title = {Pith review of: The number of sum-free subsets of lattice cubes},
year = {2026},
howpublished = {\url{https://pith.science/paper/GTTWFGKY}},
note = {Machine review of arXiv:2608.23544}
}
abstract
A subset of the $d$-dimensional lattice cube $[n]^d$ is sum-free if it contains no solution to the equation $x+y=z$. We study the total number of such subsets. For $d=1$, Cameron and Erd\H{o}s conjectured that the number of sum-free subsets of $[n]$ is $O(2^{n/2})$, and this was proved independently by Green and Sapozhenko. A recent work by Ghosal solved the case $d = 2$. In this paper, we consider all remaining dimensions and prove that for every fixed integer $d \geqslant 3$, the number of sum-free subsets of $[n]^d$ is $2^{M([n]^d) + O_d(n^{d-1})}$, where $M([n]^d)$ is the maximum possible size of a sum-free subset of $[n]^d$. This verifies a conjecture of Elsholtz and Rackham. Our proof combines the dual weights constructed by Keevash and Lim in their work for $M([n]^d)$, a one-dimensional counting estimate due to Ghosal, a bipartite swapping lemma of Zhao, and a strong fractional entropy inequality of Madiman and Tetali, and it avoids the use of the container lemma or deriving a stability theorem first.
Figures
Reference graph
Works this paper leans on
-
[21]
On the largest sum-free subset of the lattice cube
P. Keevash and J. Lim. On the largest sum-free subset of the lattice cube.arXiv:2605.00816, 2026
work page Pith review arXiv 2026
-
[1]
N. Alon. Independent sets in regular graphs and sum-free subsets of finite groups.Israel J. Math., 73(2):247–256, 1991. 24
work page 1991
-
[2]
N. Alon, J. Balogh, R. Morris, and W. Samotij. Counting sum-free sets in abelian groups. Israel J. Math., 199(1):309–344, 2014
work page 2014
-
[3]
N. Alon, J. Balogh, R. Morris, and W. Samotij. A refinement of the Cameron–Erd˝ os conjecture. Proc. Lond. Math. Soc. (3), 108(1):44–72, 2014
work page 2014
- [4]
-
[5]
Balogh, R
J. Balogh, R. Morris, and W. Samotij. Independent sets in hypergraphs.J. Amer. Math. Soc., 28(3):669–709, 2015
2015
-
[6]
B. Bedert. Large sum-free subsets of sets of integers via L1-estimates for trigonometric series. arXiv:2502.08624, 2025
work page Pith review arXiv 2025
-
[7]
N. J. Calkin. On the number of sum-free sets.Bull. London Math. Soc., 22(2):141–144, 1990
work page 1990
Show all 33 references
-
[8]
P. J. Cameron. Sum-free subsets of a square. Unpublished manuscript, available at https: //webspace.maths.qmul.ac.uk/p.j.cameron/odds/sfsq.pdf, 2002
2002
-
[9]
P. J. Cameron. Research problems from the 19th British Combinatorial Conference.Discrete Math., 293(1–3):313–320, 2005
2005
-
[10]
P. J. Cameron and P. Erd˝ os. On the number of sets of integers with various properties. In Number theory (Banff, AB, 1988), pages 61–79. de Gruyter, Berlin, 1990
1988
-
[11]
P. J. Cameron and P. Erd˝ os. Notes on sum-free and related sets.Combin. Probab. Comput., 8(1–2):95–107, 1999
1999
-
[12]
Deshouillers, G
J.-M. Deshouillers, G. A. Freiman, V. T. S´ os, and M. Temkin. On the structure of sum-free sets. II.Ast´ erisque, 258:149–161, 1999
1999
-
[13]
Elsholtz and L
C. Elsholtz and L. Rackham. Maximal sum-free sets of integer lattice grids.J. Lond. Math. Soc. (2), 95(2):353–372, 2017
2017
-
[14]
G. A. Freiman. On the structure and the number of sum-free sets.Ast´ erisque, 209:195–201,
-
[15]
A. Ghosal. On the number of sum-free subsets of the square grid.arXiv:2510.15621, 2025
2025
-
[16]
B. Green. The Cameron–Erd˝ os conjecture.Bull. London Math. Soc., 36(6):769–778, 2004
2004
-
[17]
B. Green. A Szemer´ edi-type regularity lemma in abelian groups, with applications.Geom. Funct. Anal., 15(2):340–376, 2005
2005
-
[18]
B. Green. 100 open problems. Unpublished manuscript, available at https://people.maths. ox.ac.uk/greenbj/papers/open-problems.pdf, 2018
2018
-
[19]
Green and R
B. Green and R. Morris. Counting sets with small sumset and applications.Combinatorica, 36(2):129–159, 2016
2016
-
[20]
Green and I
B. Green and I. Z. Ruzsa. Sum-free sets in abelian groups.Israel J. Math., 147:157–188, 2005. 25
2005
-
[22]
Lepsveridze and Y
S. Lepsveridze and Y. Sun. Size of the largest sum-free subset of [ n]3 and [n]4.Int. Math. Res. Not. IMRN, 2026(9):Paper No. rnag081, 18, 2026
2026
-
[23]
H. Liu, G. Wang, L. Wilkes, and D. Yang. Shape of the asymptotic maximum sum-free sets in integer lattice grids.European J. Combin., 107:Paper No. 103614, 17, 2023
2023
-
[24]
Madiman and P
M. Madiman and P. Tetali. Information inequalities for joint distributions, with interpretations and applications.IEEE Trans. Inform. Theory, 56(6):2699–2713, 2010
2010
-
[25]
K. G. Omel’yanov and A. A. Sapozhenko. On the number of sum-free sets in an interval of natural numbers.Diskret. Mat., 14(3):3–7, 2002. English translation in Discrete Math. Appl. 12 (2002), no. 4, 319–323
2002
-
[26]
A. A. Sapozhenko. The Cameron–Erd˝ os conjecture.Discrete Math., 308(19):4361–4369, 2008
2008
-
[27]
Saxton and A
D. Saxton and A. Thomason. Hypergraph containers.Invent. Math., 201(3):925–992, 2015
2015
-
[28]
Tao and V
T. Tao and V. H. Vu. Sum-free sets in groups: a survey.J. Comb., 8(3):541–552, 2017
2017
-
[29]
T. Tran. On the structure of large sum-free sets of integers.Israel J. Math., 228(1):249–292, 2018
2018
-
[30]
Y. Zhao. The Number of Independent Sets in a Regular Graph.Combinatorics, Probability and Computing, 19(2):315–320, 2010. A Coordinate sums and translations of the Keevash–Lim weights The purpose of this appendix is to prove Lemmas 8, 9, 10, 11 and 12. We verify the support re...
2010
-
[32]
The case u∈S 2\S 1 is symmetric
If u∈S 1\S 2, then v may belong to neither set or to S1 only, giving total contribution 2· 1 4. The case u∈S 2\S 1 is symmetric. Finally, if u∈S 1∩S 2, then there is only one case where v must belong to neither set, giving contribution 1·1/4. Thus, the total contribution from ...
-
[33]
Therefore, Z(Gk(t))⩽ 5 2 14 γt
Hence, the total contribution of all such exceptional components is at most (5/2) 14. Therefore, Z(Gk(t))⩽ 5 2 14 γt. Together with (27), this gives gk(t)⩽ 1 2 5 2 14 γt. TakingK 1 := 1 2(5/2)14 andη 1 := 2−γ >0 proves the claim. Note that|Jt|⩽t/ 4, which is polynomial in t. L...
-
[1992]
Journ´ ees Arithm´ etiques, 1991 (Geneva)
1991
Reviewed August 28, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.