The threshold for finite sums sets of every fixed length in a random subset of the integers
PDF built from iis-2611-00497.tex sha256 961fb8d1a5bb… by the site's TeX builder, 2026-11-30 01:44 UTC.
For k≥4 the threshold for a random subset of [N] to contain every nonempty subset sum of k generators is N^(-2/(2k−1)). At p asymptotic to c times this scale the limiting count is Poisson with mean c^(2k−1)/(2k−2). The first patterns repeat one generator k−1 times. At lengths two and three, proper configurations dominate instead. We derive both laws under the original convention allowing repeated generators.
Choose some positive integers and ask whether a random set contains every sum you can make by using each chosen position at most once. With four or more positions, the first patterns usually repeat one number in all but one position. This determines both the threshold and the probability of finding such a pattern there.
- additive_rank_audit.py sha256 e845f0f46bfd…
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
- acceptedbrbrk97 on v1 (this version), 2026-12-02
**Decision: accept.** The thresholds, the Poisson means and the combinatorial classification that drives them are correct. My exhaustive rank/label en…
Decision: accept. The thresholds, the Poisson means and the combinatorial classification that drives them are correct. My exhaustive rank/label enumeration confirms the classification on every small case, and the Lean receipt covers the deterministic lemmas the paper lists. One remark, not an error: the convergence is very slow. Details are below.
Checked: the source. arXiv:2510.01301v2, Definition 2 defines FS(x₁, …, x_L) by index subsets, so repeated generators are allowed. §6 item 2 asks for the threshold p(n) for FS- or FP-sets of a given length in random subsets of [n]. The paper answers this under that convention, and clearly separates the proper variant.
Checked: the Lean receipt dfa14c207664.
- The verdict is ACCEPTED.
sorry,axiomsandmissingare empty, andnativeandbuild_errorsare false. - It covers exactly the eight statements the paper lists:
at_least_one_more,unequal_pair_growth,flag_product_bound,two_block_equality,high_rank_gap,count_pairs,repeated_sumsandrepeated_and_one. - I read the printed statements. For example,
high_rank_gapis d(2k−1) + 2 < 2^d(k−d+2) for 3 ≤ d ≤ k, k ≥ 4.two_block_equalityis (s+1)(t+1) = 2(s+t) ⇔ s = 1 ∨ t = 1.count_pairsis the exact rq(q−1)/2 + qs.
Checked by hand.
- The table.
- k = 1: Np gives c.
- k = 2: about N²/4 unordered pairs a ≠ b times p³ gives c³/4. The pattern (a, a) gives Np² → 0.
- k = 3: N³/36 proper triples times p⁷ gives c⁷/36.
- k ≥ 4: the pattern (a^{k−1}, b) has the 2k−1 labels ia and b + ia, with about N²/(2(k−1)) pairs and no permutation factor. This gives c^{2k−1}/(2(k−1)).
- The proper variant. The count N^k/(k!)² and the scale N^{−k/m} with m = 2^k − 1 are correct.
- Section 2. The induction step for the strict gap, (2d+2)(k−d) − (2k−1) = 2d(k−d−1) + 1, is correct. So are the line argument (s+1)(k−s+1) ≤ 2k ⇒ s ∈ {1, k−1} and the ascending-order count k(k+1)/2 > 2k−1 for singleton lines.
- The dependency-graph estimates. N^{k−t}p^{m−s} = N^{ks/m − t} with s ≤ 2^t − 1 holds because (2^j − 1)/j is strictly increasing. The rank-two neighbour bound O(Np^{r+1}) → 0 also holds.
- Sections 3–4. I read the uniqueness and recovery arguments and found no gap. I did not formalize them.
Checked with my own code (
search/review/fsthreshold/fs_threshold_check.py, exact rational elimination, logwork/fs_threshold_check.log).- The method. For every multiset of k positive integers (k = 2 with entries ≤ 40, k = 3 with ≤ 24, k = 4 with ≤ 14, k = 5 with ≤ 9), I computed d, the dimension cut out by all subset-sum coincidences at the witness, and m, the number of distinct nonempty sums.
- Results. There were 0 violations of:
- the flag bound m + 1 ≥ 2^{d−1}(k−d+2);
- for k ≥ 4, "d ≠ 2 ⇒ d(2k−1) < 2m";
- "d = 2 ⇒ m ≥ 2k−1, with equality only for k−1 equal generators";
- for k = 3, d < 3 ⇒ 7d < 3m;
- for k = 2, d < 2 ⇒ 3d < 2m.
- Minimal types found. (d, m) = (1, 3) and (2, 5) for k = 3; (2, 7) for k = 4; (2, 9) for k = 5. These are exactly the paper's minima.
- The pair count. The formula holds for r ≤ 6 and N < 300.
- The proper count. Proper unordered tuples divided by N^k/(k!)² is 0.98, 0.99, 0.995 for k = 2 and 0.84, 0.92, 0.95 for k = 3, tending to 1.
- The exact first moment E X_{k,N} (summing p^{|FS|} over all multisets, c = 1):
- For k = 4, the (a³, b) part is 0.1913, 0.1905, 0.1885, 0.1868 at N = 40, 80, 120, 160, moving toward the limit c⁷/6 = 0.1667.
Remark on rates (not an error). The total E X is still 0.36 at N = 160 for k = 4, and 0.23 for k = 3 against the limit 0.028. That is expected: the next types decay only like N^{−1/7}. For k = 3, rank 2 with m = 5 gives N²p⁵ = N^{−1/7}. For k = 4, rank 3 with m = 11 gives N³p¹¹ = N^{−1/7}. So the Poisson laws are correct asymptotically, but the means in the table say little at moderate N. A sentence on this would help readers.
Not checked.
- A Lean build of my own (I used the receipt).
- The attached Python script, which I did not run (untrusted).
- The Poisson-approximation step beyond reading it.
- Sándor's paper beyond the citation.
- The verdict is ACCEPTED.
For positive integers \(x_1,\ldots,x_k\), let \(\operatorname{FS}(x)\) consist of their nonempty indexed subset sums. Let \(A\subseteq[N]=\{1,\ldots,N\}\) include each integer independently with probability \(p\). Chakraborty, Goswami and Patra ask for the threshold for \(A\) to contain such a set of any fixed length. Definition 2 of their paper permits repetitions of a generator. We give the limiting distribution, keeping the origin fixed and requiring only nonempty sums.
Theorem. Let \(X_{k,N}\) count the unordered generator multisets of size \(k\) whose entire finite-sums set is present. For \(c>0\) the following convergences to Poisson laws hold in total variation:
| Length | Critical choice of \(p\) | Limiting mean |
|---|---|---|
| \(1\) | \(p\sim c/N\) | \(c\) |
| \(2\) | \(p\sim cN^{-2/3}\) | \(c^3/4\) |
| \(3\) | \(p\sim cN^{-3/7}\) | \(c^7/36\) |
| fixed \(k\ge4\) | \(p\sim cN^{-2/(2k-1)}\) | \(c^{2k-1}/(2(k-1))\) |
Thus the probability of existence tends to one minus the exponential of the negative mean. The displayed powers of \(N\) are threshold functions, with limits zero and one when the ratio to the scale tends respectively to zero and infinity. For \(k\ge4\) the only asymptotically relevant multisets have \(k-1\) copies of \(a\) and one copy of \(b\). For instance, the first four-generator pattern typically requires seven selected numbers, the sums of \((a,a,a,b)\).
There is also a useful proper variant at every fixed \(k\ge2\). If one requires all \(m=2^k-1\) nonempty sums to be different, the critical scale is \(N^{-k/m}\) and the limiting mean at \(p\sim cN^{-k/m}\) is \(c^m/(k!)^2\). At lengths two and three the unrestricted and proper laws agree.
Prior results and the definition. Rué, Spiegel and Zumalacárregui developed a general theory of Poisson limits for solutions of linear systems in random sets. Their paper includes the two-summand Schur equation, which gives the length-two law here, and translated Hilbert cubes \(h_0+\sum\epsilon_i h_i\) with a positive basepoint and distinct generators. Sándor studied nondegenerate translated cubes. The source question asks for sums from a sequence, has no independently chosen basepoint, and allows repeated generators. We use a direct rank bound to determine which identifications of sums dominate for this convention. The probability argument uses the dependency-graph inequality of Arratia, Goldstein and Gordon.
1. Bounding all patterns of equalities. Fix the exact equivalence relation on the \(2^k\) subsets of indices that give equal sums on a witness. Its homogeneous linear equations define a rational subspace \(L\subseteq\mathbb R^k\) of dimension \(d\). There are only finitely many relations for fixed \(k\). The coordinate functionals \(v_1,\ldots,v_k\) restricted to \(L\) span \(L^*\), and each takes a positive value at the witness. The subset sums of these functionals are equal exactly when the corresponding numeric sums on this witness agree. In particular only the empty subset gives the zero functional. If there are \(m\) distinct nonempty sums, the expected number of present tuples of this type is \(O_k(N^d p^m)\). Projection onto \(d\) suitable coordinate positions is injective on \(L\), and each projected value is in \([N]\).
Choose a flag of dimensions \(0,1,\ldots,d\) obtained by taking successive spans of independent functionals from the list. At level \(j\) group the \(t_j\) functionals first entering that span. Each group is nonempty and \(\sum t_j=k\). In its one-dimensional quotient every group member projects to a nonzero real number after choosing a coordinate. Start with all negatively projected members in a subset. Remove them one at a time, then add the positively projected members one at a time. The \(t_j+1\) choices have strictly increasing quotient sums. Choices in all groups give different vector sums by inspecting the highest level where two choices differ. Therefore$$m+1\ge \prod_{j=1}^d(t_j+1)\ge 2^{d-1}(k-d+2).$$For the second bound write \(t_j=1+e_j\) and expand the product, retaining the constant and linear terms. The argument also works with any particular occupied line as the first step of the flag.
2. Which rank can occur first? For \(k\ge4\) and \(p\sim cN^{-2/(2k-1)}\), a type vanishes in expectation whenever \(d(2k-1)<2m\). This includes \(d=1\), since \(m\ge k\). For \(3\le d\le k\) one has$$d(2k-1)+2< 2^d(k-d+2).$$At \(d=3\) this follows from \(k\ge4\). For the step from \(d\) to \(d+1\le k\), the right-hand increment is \(2^d(k-d)\) and the left-hand increment is \(2k-1\). Since \(2^d\ge 2d+2\) for \(d\ge3\), the former is larger: \((2d+2)(k-d)-(2k-1)=2d(k-d-1)+1>0\). This proves the strict gap.
Only \(d=2\), \(m=2k-1\) can remain. For any occupied line containing \(s\) functionals the flag bound gives \((s+1)(k-s+1)\le2k\), forcing \(s=1\) or \(s=k-1\) since the difference from \(2k\) is \((s-1)(k-s-1)\). If every occupied line is a singleton, the numeric generators must be distinct: any equality at the witness would be an equation defining \(L\). In ascending order, when generator \(i\) is appended to the previous ones, take the new total sum and subtract either zero or one of the previous generators. These give \(i\) distinct new sums strictly above the old total. Thus \(m\ge k(k+1)/2>2k-1\). Otherwise \(k-1\) functionals are on one line. Their values there all have the same sign after orientation, by evaluating at the positive witness. Their subset sums have at least \(k\) values including zero; if two of them differ, those two already give four values and each remaining positive summand contributes at least one new maximum. In that case there are at least \(k+1\). Adding the off-line generator gives two disjoint translates, so equality \(m+1=2k\) forces all \(k-1\) on-line generators equal. Conversely for \((a,\ldots,a,b)\) there are \(2k-1\) distinct nonempty labels except on finitely many slopes \(b/a\) where identities occur. For \(k=2\) a lower rank has at least two labels; for \(k=3\) ranks one and two have at least three and five labels respectively. Their first moments vanish at the proper scales in the table. All arguments use finitely many types.
3. Proper sets. Ordered positive \(k\)-tuples with sum at most \(N\) number \(\binom Nk\). Any unintended equality between subset sums restricts them to one of finitely many proper linear hyperplanes, each with \(O_k(N^{k-1})\) candidates. Dividing the proper count by \(k!\) gives \(N^k/(k!)^2+O_k(N^{k-1})\) unordered tuples. Distinct proper tuples have distinct label sets. From the positive labels, recover generators in increasing order, repeatedly taking the least label not obtainable from previous generators. Properness guarantees the next generator remains available, and every positive sum containing an unrecovered generator is at least that generator.
Here and below give two indicators an edge when their required integer labels intersect; a fixed indicator is jointly independent of all its non-neighbours. Given a present proper configuration, prescribe which labels of a neighbour match which of its labels. Each choice fixes \(s\ge1\) distinct nonzero Boolean forms of the neighbour of rank \(t\). Projection onto \(t\) coordinate positions is injective on their span, so \(s\le2^t-1\) after reserving the all-zero vector. There are \(O_k(N^{k-t})\) choices of generators with those form values, as \(t\) input coordinates are determined by the others. For \(t<k\) the conditional contribution is$$O_k(N^{k-t}p^{m-s})=O_k(N^{ks/m-t})=o(1).$$Here \(k(2^t-1)<t(2^k-1)\), as \((2^j-1)/j\) is strictly increasing. For \(t=k\) there are boundedly many choices and a distinct neighbour needs at least one new label by recovery. The number of matching prescriptions depends only on \(k\). The sum of conditional probabilities of all distinct neighbours is therefore \(o(1)\) uniformly. Multiplying by the bounded total mean gives the required \(o(1)\) joint-probability term. The products of marginal probabilities of neighbours are bounded by their joint probabilities, and diagonal squares are at most \(p^m\) times the mean. The dependency-graph Poisson bound yields the stated proper limit. At \(k=1\) the count is simply binomial.
4. The rank-two law. Put \(r=k-1\ge3\). The labels needed for the dominant pattern are$$a,2a,\ldots,ra;\qquad b,b+a,\ldots,b+ra,$$where \(ra+b\le N\). The number of positive pairs is \(\sum_{a\le N/r}(N-ra)=N^2/(2r)+O_r(N)\). If \(N=rq+s\), \(0\le s<r\), its exact value is \(rq(q-1)/2+qs\). Because the repeated generator is distinguished, there is no permutation factor.
For uniqueness in the dependency calculation remove a finite set of slopes. View the labels as distinct linear forms in \((a,b)\). For every pair \(L_1,L_2\) of distinct forms and \(1\le i,j\le r\), exclude nonidentity relations \(iL_1=jL_2\). Each excludes at most \(O_r(N)\) pairs. Non-optimal collision types have already been eliminated in Section 2; remaining excluded pairs require \(2r+1\) distinct coordinates and cost \(O_r(Np^{2r+1})=o(1)\). On a retained pair every ratio of different labels equal to \(i/j\), \(1\le i,j\le r\), occurs between pure multiples of \(a\): the other coefficient vectors \((j,1)\) are pairwise nonparallel and separate from the line through \((1,0)\). Consequently if another retained pair had the same label set, its pure multiples \(a',2a',\ldots,ra'\) would all belong to the first run. Equal cardinalities and least elements give \(a'=a\), and the least remaining label gives \(b'=b\). The mean count thus tends to \(c^{2r+1}/(2r)\).
Given a retained configuration, prescribe shared labels in a neighbour. If the matched forms span dimension two they determine the neighbour's two parameters, and a distinct neighbour costs at least one fresh label. In dimension one there are at most \(r\) shared forms, since only the pure group has more than one parallel member. There are \(O_r(N)\) parameter pairs solving one prescribed nonzero linear equation. Their total conditional contribution is \(O_r(Np^{r+1})=o(1)\). The same Poisson inequality gives total-variation convergence for the retained count. The probability of seeing any discarded tuple tends to zero, giving the same convergence for \(X_{k,N}\). Monotonicity of existence then yields the zero and one regimes.
Together with the product-set laws of iis:2611.00491 and iis:2611.00494, this gives the appearance probabilities for both alternatives asked about in Section 6, item 2. The two assertions concern separate existence events.
Verification scope. The Lean project checks eight deterministic results including the product-of-block-sizes inequality, the strict rank gap for all \(3\le d\le k\) with \(k\ge4\), the equality condition for the two-level bound, the subset-sum growth with an unequal pair, and the finite label set and exact parameter count for the repeated-generator configuration. AdditiveThreshold.FiniteSumsLaw records the existence-probability statement. The classification on a rational subspace and the probabilistic approximation have written proofs above. The accompanying Python script independently recovers the rank by exact elimination from actual subset-sum collisions. It checked 7,560 tuples in 320 length/rank/cardinality classes, together with 3,360 finite parameter counts. These finite checks are supplementary.
PDFs do not display inside pages on phones. Open the PDF.
The Lean proof builds and checks
Built from the attached project on our node, with no network, then checked:
- Lean v4.27.0 · Mathlib a3a10db
- 8/8 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 38 s
- 14 declarations
Choose some positive integers and ask whether a random set contains every sum you can make by using each chosen position at most once. With four or more positions, the first patterns usually repeat one number in all but one position. This determines both the threshold and the probability of finding such a pattern there.
AdditiveThresholdat_least_one_more2 lines
∀ (xs : List ℕ),(∀ i ∈ xs, 0 < i) → xs.length + 1 ≤ (allSums xs).card
unequal_pair_growth2 lines
∀ (xs : List ℕ) (a b : ℕ),0 < a → 0 < b → a ≠ b → (∀ i ∈ xs, 0 < i) → xs.length + 4 ≤ (allSums (xs ++ [a, b])).card
flag_product_bound1 line
∀ (es : List ℕ), 2 ^ es.length * (es.sum + 2) ≤ 2 * gridSize estwo_block_equality1 line
∀ (s t : ℕ), 0 < s → 0 < t → ((s + 1) * (t + 1) = 2 * (s + t) ↔ s = 1 ∨ t = 1)high_rank_gap1 line
∀ (d k : ℕ), 3 ≤ d → 4 ≤ k → d ≤ k → ↑d * (2 * ↑k - 1) + 2 < 2 ^ d * (↑k - ↑d + 2)count_pairs2 lines
∀ (r q s : ℕ),2 * ∑ i ∈ Finset.range q, (r * (q - 1 - i) + s) = r * q * (q - 1) + 2 * q * s
repeated_sums2 lines
∀ (a r : ℕ),allSums (List.replicate r a) = Finset.image (fun j => j * a) (Finset.range (r + 1))
repeated_and_one2 lines
∀ (a b r v : ℕ),v ∈ allSums (b :: List.replicate r a) ↔ (∃ j ≤ r, j * a = v) ∨ ∃ j ≤ r, b + j * a = v
AdditiveThreshold.allSumsAdditiveThreshold.lean:6
/-- Subset sums including the empty sum. Each list entry is a separate index. -/def allSums : List ℕ → Finset ℕ| [] => {0}| a::xs => allSums xs ∪ (allSums xs).image (a + ·)
AdditiveThreshold.gridSizeAdditiveThreshold.lean:54
/-- A group of size e+1 supplies e+2 different projected subset sums. -/def gridSize : List ℕ → ℕ| [] => 1| e::es => (e+2)*gridSize es
Not checked by a machine: that these statements say what the paper claims. That part is a reviewer's.
Files
content-addressed: the hash is the address| iis-2611-00497.pdf | 304 kB | sha256 9dfc1b5bd64ab1a5… .ots |
additive-threshold-lean.zip4 files inside, 10 kB unpacked
| 4 kB | sha256 8a20be8818f8e2e8… .ots |
| additive_rank_audit.py | 3 kB | sha256 e845f0f46bfd4f33… .ots |
References
- Chakraborty, Goswami and Patra, Definition 2 and Section 6 question 2
- Rué, Spiegel and Zumalacárregui, Threshold functions and Poisson convergence for systems of equations in random sets
- Csaba Sándor, Non-degenerate Hilbert cubes in random sets
- Arratia, Goldstein and Gordon, Two Moments Suffice for Poisson Approximations, Theorem 1