Assumption-free Feistel permutation families (Lemmas 5.1–5.2 and Corollaries B.5–B.6) #
This module formalizes the one-round Feistel hash permutation families used for multi-level child
routing (ℋ_ℓ^ch) and key-ID compression (ℋ_ℓ^id) in Tianxiao Li, Jingxun Liang, Huacheng Yu,
and Renfei Zhou, "Dynamic Dictionary with Subconstant Wasted Bits per Key", Proc. 2024 Annual
ACM-SIAM Symposium on Discrete Algorithms (SODA 2024), pp. 171–207 [LLYZ24]
(arXiv:2310.20536v1, Section 5.4, PDF pp. 30–33 / printed pp. 29–32, Lemmas 5.1–5.2; Appendix B,
PDF pp. 41–44 / printed pp. 40–43, Definition B.1, Claim B.2, Claim B.3, Theorem B.4, and
Corollaries B.5–B.6).
Source statements, notation mapping, and proof adaptations #
In [LLYZ24] (arXiv:2310.20536v1):
- Mixed-domain one-round Feistel permutation (Definition B.1, PDF p. 41 / printed p. 40;
Corollaries B.5–B.6, PDF pp. 43–44 / printed pp. 42–43; cf. [LR88]):
For a round function
f : α → Fin (2 ^ s)(specialized toα = Fin Ton{0, 1}^s × Fin Tand toα = Fin (2 ^ (L - s))on{0, 1}^L),feistelPair f (x_L, x_R) = (x_L ^^^ f x_R, x_R)is an exact involution (feistelPair_involutive,feistelPairEquiv). On flat integersFin (2 ^ s * T),mixedDomainEquiv s Tsplitsuinto(u % 2 ^ s, u / 2 ^ s)viaFeistelQuotient.keyLowandFeistelQuotient.keyQuotient, so extracting(x_L, x_R)and reconstructingx_L + 2 ^ s * x_Rreduce to bit-mask and bit-shift operations even whenTis not a power of two (top levelℓ = 0, whereB_0 = 2 ^ sis a power of two whileT = 2 ^ I_1 * Q_1orQ_1is general). - Child-router Feistel family
ℋ_ℓ^ch(Lemma 5.1, PDF p. 32 / printed p. 31 & PDF pp. 41–42 / printed pp. 40–41; Claim B.3, PDF pp. 41–42 / printed pp. 40–41; Corollary B.5, PDF p. 43 / printed p. 42): GroupingS : Finset (Fin (2 ^ s) × Fin T)byz = x.2 ∈ S.image Prod.snd, distinct keys with the same right partznever collide infeistelHead f(feistelHead_ne_of_snd_eq_of_ne), sobucketLoad f S b = #{z ∈ S.image Prod.snd | (b ^^^ f z, z) ∈ S}is a sum of{0, 1}indicators determined by distinct coordinatesf zwith total mean#S / 2 ^ s. Instantiatingfunconditionally via Mikkel Thorup's double tabulation [Tho13] (ChildRouterSeed c q b s) bounds bucket-load deviations byδ_dt + 2 ^ (s + 1) * (3 * m * μ / a ^ 2) ^ mand yields failure probability≤ 1 / (4 * (#S) ^ 2)for the(1 / 5) * (#S / 2 ^ s) ^ (2 / 3)window. - ID-compressor Feistel family
ℋ_ℓ^id(Lemma 5.2, PDF p. 33 / printed p. 32 & PDF pp. 42–43 / printed pp. 41–42; Corollary B.6, PDF pp. 43–44 / printed pp. 42–43): Under any pairwise independent round familyh : ι → Fin T → Fin (2 ^ s)[CW79], [WC81], keys sharingx.2never collide and keys withx₁.2 ≠ x₂.2collide infeistelHeadwith probability1 / 2 ^ s, giving non-injectivity probability≤ #S * (#S - 1) / (2 * 2 ^ s) ≤ (#S) ^ 2 / (2 * 2 ^ s) ≤ (#S) ^ 2 / 2 ^ s(and≤ 2 / n_next ^ 2whenn_bar ^ 2 * n_next ^ 2 ≤ 4 * 2 ^ s). Instantiatingfunconditionally via2-wise trinomial polynomial hashing (IdCompressorSeed s T,trinomialPolyHash) uses2 * trinomialDeg T s ≤ 6 * max ⌈log₂ max(T, 2)⌉ (max s 1) = O(s + log T)seed bits. - Adaptations and scope:
- Instead of invoking Theorem B.4 ([LLYZ24], PDF p. 42 / printed p. 41;
[SchmidtSiegelSrinivasan1995, Theorem 5]),
dens_bucketLoad_sub_ge_leuses the elementary variance-sensitive2m-th central moment and Markov tail boundsCslib.Probability.expect_sum_sub_expect_pow_leandCslib.Probability.dens_abs_sum_sub_expect_lefromCslibFrontier.Probability.KWiseIndependent.Concentration(extending the limited-independence moment method of [BR94]), givingPr[|∑ (g_z - E[g_z])| ≥ a] ≤ 2 * (3 * m * μ / a ^ 2) ^ mwhenever2 * m ≤ 3 * μ. - Lemma 5.1(c) and Corollary B.5(c) state
n ≥ 2 ^ s * s ^ 4and in Claim B.3's proof ([LLYZ24], PDF p. 42 / printed p. 41) assume sufficiently larges(fors = 1, n = 16,[8 - 4/5, 8 + 4/5]contains only8, so on any 16 keys with distinct right coordinates a random round function fails with probability> 4/5 > 1 / (4 * 16 ^ 2)). We expose the quantitative hypothesis2 ^ s * (150 * childRouterHalfInd #S) ^ 3 ≤ #S(applicable down tos = 1once#Sis large enough; Section 5.4's tree parameter schedule is not formalized in this module) and prove that2 ^ s * s ^ 4 ≤ #Simplies it fors ≥ childRouterMinS(childRouter_conc_of_two_pow_mul_pow_four_le). - Replacing Claim B.2's idealized asymptotic independence with Thorup's high-probability double
tabulation [Tho13] introduces an explicit finite-size premise
childRouterThreshold ε_inv α_inv ≤ #Sin the closed-form theoremsdens_childRouter_bucketLoad_outside_le_of_thresholdanddens_childRouterBit_bucketLoad_outside_le— an astronomically large constant absent from Lemma 5.1(c) and Corollary B.5(c) in [LLYZ24]. Below that threshold, the parametric2m-wise bounddens_exists_bucketLoad_sub_ge_lehas nochildRouterThresholdrequirement when paired with an exact2m-wise family such astrinomialPolyHash. - Part (a) of Lemmas 5.1–5.2 and Corollaries B.5–B.6 — constant-time Word-RAM evaluation of the
Feistel permutation and its inverse — is not proved in this pure probability and combinatorics
module. Word-RAM evaluation and resampling certificates for the underlying
doubleTabHashandtrinomialPolyHashround functions live inCslibFrontier.DataStructure.HashFamily.WordRAM.DoubleTabulationandCslibFrontier.DataStructure.HashFamily.WordRAM.KWise; Feistel wrapper evaluation, the end-to-end dictionary, super-polynomial-Uuniverse reduction, and Section 4 / Appendix C adapter-tree hashing belong to separate modules.
- Instead of invoking Theorem B.4 ([LLYZ24], PDF p. 42 / printed p. 41;
[SchmidtSiegelSrinivasan1995, Theorem 5]),
Main definitions #
Cslib.DataStructure.Dictionary.FeistelPerm.feistelHead,Cslib.DataStructure.Dictionary.FeistelPerm.feistelPair,Cslib.DataStructure.Dictionary.FeistelPerm.recoverLeft,Cslib.DataStructure.Dictionary.FeistelPerm.feistelPairEquiv,Cslib.DataStructure.Dictionary.FeistelPerm.feistelRightEquiv: one-round Feistel head projection, involution, left-coordinate recovery, and left/rightEquiv.Perms onFin (2 ^ s) × αandα × Fin (2 ^ s).Cslib.DataStructure.Dictionary.FeistelPerm.mixedDomainEquiv,Cslib.DataStructure.Dictionary.FeistelPerm.feistelMixedEquiv,Cslib.DataStructure.Dictionary.FeistelPerm.bitDomainEquiv,Cslib.DataStructure.Dictionary.FeistelPerm.feistelBitEquiv: flat bijections onFin (2 ^ s * T)andFin (2 ^ L).Cslib.DataStructure.Dictionary.FeistelPerm.bucketLoad,Cslib.DataStructure.Dictionary.FeistelPerm.ChildRouterSeed,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterSeedBits,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterRound,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterPerm,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterMixedPerm,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterBitPerm,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterHalfInd,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterChars,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterCharBits,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterRep,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterSpaceConst,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterThreshold,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterMinS: child-router Feistel family and parameter schedule (Lemma 5.1,Corollary B.5).Cslib.DataStructure.Dictionary.FeistelPerm.IdCompressorSeed,Cslib.DataStructure.Dictionary.FeistelPerm.idCompressorSeedBits,Cslib.DataStructure.Dictionary.FeistelPerm.idCompressorRound,Cslib.DataStructure.Dictionary.FeistelPerm.idCompressorHead,Cslib.DataStructure.Dictionary.FeistelPerm.idCompressorPerm,Cslib.DataStructure.Dictionary.FeistelPerm.idCompressorMixedPerm,Cslib.DataStructure.Dictionary.FeistelPerm.idCompressorBitPerm:2-wise trinomial ID-compressor Feistel family (Lemma 5.2,Corollary B.6).
Main results #
Cslib.DataStructure.Dictionary.FeistelPerm.feistelPair_involutive,Cslib.DataStructure.Dictionary.FeistelPerm.recoverLeft_feistelHead,Cslib.DataStructure.Dictionary.FeistelPerm.feistelHead_ne_of_snd_eq_of_ne,Cslib.DataStructure.Dictionary.FeistelPerm.injOn_snd_of_feistelHead_eq,Cslib.DataStructure.Dictionary.FeistelPerm.feistelMixedEquiv_involutive,Cslib.DataStructure.Dictionary.FeistelPerm.feistelBitEquiv_involutive: exact involutivity, lossless recovery, and right-part uniqueness per bucket.Cslib.DataStructure.Dictionary.FeistelPerm.dens_bucketLoad_sub_ge_le,Cslib.DataStructure.Dictionary.FeistelPerm.dens_exists_bucketLoad_sub_ge_le,Cslib.DataStructure.Dictionary.FeistelPerm.dens_childRouter_exists_bucketLoad_sub_ge_le,Cslib.DataStructure.Dictionary.FeistelPerm.dens_childRouter_bucketLoad_outside_le,Cslib.DataStructure.Dictionary.FeistelPerm.prob_childRouter_bucketLoad_outside_le,Cslib.DataStructure.Dictionary.FeistelPerm.childRouterSeedBits_pow_le,Cslib.DataStructure.Dictionary.FeistelPerm.dens_childRouter_bucketLoad_outside_le_of_threshold,Cslib.DataStructure.Dictionary.FeistelPerm.dens_childRouterBit_bucketLoad_outside_le,Cslib.DataStructure.Dictionary.FeistelPerm.childRouter_conc_of_two_pow_mul_pow_four_le:Claim B.3,Corollary B.5, andLemma 5.1bucket-load concentration and seed-space bounds.Cslib.DataStructure.Dictionary.FeistelPerm.dens_not_injOn_feistelHead_le,Cslib.DataStructure.Dictionary.FeistelPerm.idCompressorSeedBits_le,Cslib.DataStructure.Dictionary.FeistelPerm.isKWiseIndependentHash_idCompressorRound,Cslib.DataStructure.Dictionary.FeistelPerm.dens_not_injOn_idCompressorHead_le,Cslib.DataStructure.Dictionary.FeistelPerm.prob_not_injOn_idCompressorHead_le,Cslib.DataStructure.Dictionary.FeistelPerm.dens_not_injOn_idCompressorHead_le_two_div_sq,Cslib.DataStructure.Dictionary.FeistelPerm.dens_not_injOn_idCompressorBit_le:Corollary B.6andLemma 5.2collision and seed-space bounds.
References #
- T. Li, J. Liang, H. Yu, and R. Zhou, Dynamic Dictionary with Subconstant Wasted Bits per Key
- J. P. Schmidt, A. Siegel, and A. Srinivasan, Chernoff–Hoeffding Bounds for Applications with Limited Independence
- M. Luby and C. Rackoff, How to Construct Pseudorandom Permutations from Pseudorandom Functions
- M. Thorup, Simple Tabulation, Fast Expanders, Double Tabulation, and High Independence
- M. Bellare and J. Rompel, Randomness-Efficient Oblivious Sampling
- S. P. Vadhan, Pseudorandomness, Section 3.5.5
- J. L. Carter and M. N. Wegman, Universal Classes of Hash Functions
- M. N. Wegman and J. L. Carter, New Hash Functions and Their Use in Authentication and Set Equality
- Y. Arbitman, M. Naor and G. Segev, Backyard Cuckoo Hashing: Constant Worst-Case Operations with a Succinct Representation, Claim 5.7
- M. A. Bender, A. Conway, M. Farach-Colton, W. Kuszmaul and G. Tagliavini, Iceberg Hashing: Optimizing Many Hash-Table Criteria at Once, Section 7
Section 1: Mixed-domain one-round Feistel involution #
(Definition B.1, Corollaries B.5–B.6)
The s-bit Feistel head projection x_L ^^^ f x_R (ĥ(x) in Appendix B of
[LLYZ24], arXiv:2310.20536v1, Proof of Lemma 5.1, PDF p. 41 / printed p. 40, and
Corollaries B.5–B.6, PDF pp. 43–44 / printed pp. 42–43).
Mixed-domain one-round Feistel map (x_L, x_R) ↦ (x_L ^^^ f x_R, x_R) (Definition B.1,
PDF p. 41 / printed p. 40, and Corollaries B.5–B.6, PDF pp. 43–44 / printed pp. 42–43 of
[LLYZ24], arXiv:2310.20536v1; cf. [LR88]).
Every one-round Feistel map feistelPair f on Fin (2 ^ s) × α is an exact involution.
feistelPair f packaged as a self-inverse permutation Equiv.Perm (Fin (2 ^ s) × α).
Two pairs with the same Feistel head and the same right coordinate are equal.
Distinct keys sharing the same right coordinate x₁.2 = x₂.2 never collide under feistelHead
([LLYZ24], arXiv:2310.20536v1, Appendix B, Claim B.3 proof, PDF p. 42 / printed p. 41,
and Lemma 5.2 proof, PDF p. 43 / printed p. 42).
Among all keys routed into a single child bucket b : Fin (2 ^ s), the right coordinate
Prod.snd (y_prim in [LLYZ24], arXiv:2310.20536v1, Section 5.4, PDF p. 32 /
printed p. 31) is injective.
Flat mixed-domain one-round Feistel permutation on Fin (2 ^ s * T) conjugated through
mixedDomainEquiv s T.
Bridge to FeistelQuotient.feistelBucket: under mixedDomainEquiv s T, feistelHead agrees
with FeistelQuotient.feistelBucket s.
Bridge to FeistelQuotient.feistelReconstruct: inverse reassembly on Fin (2 ^ s * T) agrees
with FeistelQuotient.feistelReconstruct s.
Section 2: Child-router Feistel family ℋ_ℓ^ch #
(Claim B.3, Lemma 5.1, Corollary B.5)
Number of keys in S : Finset (Fin (2 ^ s) × α) routed to child bucket b : Fin (2 ^ s) under
feistelHead f (|ĥ⁻¹(y)| in Claim B.3, PDF p. 41 / printed p. 40 of [LLYZ24],
arXiv:2310.20536v1).
Within any bucket b, projecting {x ∈ S | feistelHead f x = b} to Prod.snd (y_prim)
preserves cardinality ([LLYZ24], arXiv:2310.20536v1, Section 5.4, PDF p. 32 /
printed p. 31).
General 2m-wise independent Feistel single-bucket tail bound (Claim B.3):
for any 1 ≤ m, 2m-wise independent round family h : ι → α → Fin (2 ^ s), finite set S with
2 * m ≤ 3 * (#S / 2 ^ s), bucket b, and a > 0, bucketLoad (h i) S b deviates from
#S / 2 ^ s by at least a with seed density at most 2 * (3 * m * (#S / 2 ^ s) / a ^ 2) ^ m.
General 2m-wise independent Feistel all-buckets union bound (Corollary B.5(c) /
Lemma 5.1(c) parametric form): union-bounding dens_bucketLoad_sub_ge_le over all 2 ^ s
child buckets.
Concrete seed space for the child-router Feistel family ℋ_ℓ^ch instantiated via Mikkel
Thorup's double tabulation [Tho13] (d = 2 * q * c, matching WordRAM.DoubleTabulation).
Exact bit length 2 * q * c * 2 ^ b * (c * b + s) of a seed in ChildRouterSeed c q b s.
ChildRouterSeed c q b s has cardinality 2 ^ childRouterSeedBits c q b s.
Double-tabulation round function Fin T → Fin (2 ^ s) for seed θ : ChildRouterSeed c q b s.
Child-router Feistel permutation on Fin (2 ^ s) × Fin T (Corollary B.5).
Flat child-router Feistel permutation on Fin (2 ^ s * T).
Flat child-router Feistel permutation on Fin (2 ^ L) for s ≤ L (Lemma 5.1).
Unconditional Double-Tabulation Feistel concentration (Corollary B.5(c) parametric form):
bounds the seed density on ChildRouterSeed c q b s where any child bucket deviates from
#S / 2 ^ s by at least a by δ_dt + 2 ^ (s + 1) * (3 * m * (#S / 2 ^ s) / a ^ 2) ^ m.
Half-independence exponent m = 3 * ⌈log₂ max(n, 2)⌉ + 4 (k = 2 * m), chosen so that
2 ^ (s + 1) * (1 / 2) ^ m ≤ 1 / (8 * n ^ 2) whenever 2 ^ s ≤ n.
Unconditional Double-Tabulation child-router concentration (Corollary B.5(c) &
Lemma 5.1(c) (1/5)(n / 2 ^ s) ^ (2/3) form):
whenever T ≤ 2 ^ (c * b), 4 * #S * doubleTabCodeBound ... ≤ 2 ^ ((q - 1) * b), and
2 ^ s * (150 * childRouterHalfInd #S) ^ 3 ≤ #S, every bucket load lies in
[#S / 2 ^ s - (1/5)(#S / 2 ^ s)^(2/3), #S / 2 ^ s + (1/5)(#S / 2 ^ s)^(2/3)] except on at most
a 1 / (4 * (#S) ^ 2) fraction of seeds θ : ChildRouterSeed c q b s.
PMF.uniformOfFintype event-probability form of dens_childRouter_bucketLoad_outside_le.
Character count c = 2 * max ε_inv 1 for pre-given space exponent ε = 1 / ε_inv in
Corollary B.5 and Lemma 5.1.
Character bit-width b = max 1 ⌈⌈log₂ max(T, 2)⌉ / max c 1⌉ covering Fin T.
Repetition factor q = c * max α_inv 1 + 2 for gap bound 2 ^ s * T ≤ T ^ α_inv.
Constant O_{ε_inv, α_inv}(1) factor in
(childRouterSeedBits ...) ^ max ε_inv 1 ≤ C * (2 ^ s * T).
Explicit input-cardinality threshold such that whenever 2 ^ s * T ≤ T ^ max α_inv 1 and
childRouterThreshold ε_inv α_inv ≤ #S, the Corollary B.5 / Lemma 5.1 parameters satisfy
4 * #S * doubleTabCodeBound ... ≤ 2 ^ ((q - 1) * b).
Explicit threshold s₀ = 2100 ^ 3 above which #S ≥ 2 ^ s * s ^ 4 implies
2 ^ s * (150 * childRouterHalfInd #S) ^ 3 ≤ #S ([LLYZ24], arXiv:2310.20536v1,
Appendix B, Claim B.3 proof, PDF p. 42 / printed p. 41).
Seed bit-space bound (Corollary B.5(b) & Lemma 5.1(b)): for every ε_inv, α_inv, s : ℕ
and 1 ≤ T,
(childRouterSeedBits ...) ^ max ε_inv 1 ≤ childRouterSpaceConst ε_inv α_inv * (2 ^ s * T),
i.e., storing a seed takes O_{ε, α}((2 ^ s * T) ^ ε) bits.
Closed-form mixed-domain child-router concentration ([LLYZ24],
arXiv:2310.20536v1, Appendix B, Corollary B.5(c), PDF p. 43 / printed p. 42): for pre-given
constants ε_inv, α_inv with 2 ^ s * T ≤ T ^ max α_inv 1,
childRouterThreshold ε_inv α_inv ≤ #S, and 2 ^ s * (150 * childRouterHalfInd #S) ^ 3 ≤ #S,
every bucket load lies within ± (1/5)(#S / 2 ^ s) ^ (2/3) of #S / 2 ^ s except with seed
density ≤ 1 / (4 * (#S) ^ 2).
Closed-form flat-domain child-router concentration on Fin (2 ^ L) ([LLYZ24],
arXiv:2310.20536v1, Section 5.4, Lemma 5.1(c), PDF p. 32 / printed p. 31, and Appendix B,
PDF pp. 41–42 / printed pp. 40–41): specialization of
dens_childRouter_bucketLoad_outside_le_of_threshold to T = 2 ^ (L - s) via bitDomainEquiv hsL.
When s ≥ childRouterMinS (2100 ^ 3), the paper's condition 2 ^ s * s ^ 4 ≤ n implies
the quantitative concentration hypothesis 2 ^ s * (150 * childRouterHalfInd n) ^ 3 ≤ n
([LLYZ24], arXiv:2310.20536v1, Appendix B, Claim B.3 proof, PDF p. 42 /
printed p. 41).
Section 3: ID-compressor Feistel family ℋ_ℓ^id (Lemma 5.2, Corollary B.6) #
General pairwise-independent Feistel ID-compression bound (Lemma 5.2(c) &
Corollary B.6(c)): for any pairwise independent round family h : ι → α → Fin (2 ^ s) on a
nonempty finite seed space ι and any S : Finset (Fin (2 ^ s) × α), feistelHead (h i) fails
to be injective on S with seed density at most #S * (#S - 1) / (2 * 2 ^ s).
Exact bit length 2 * trinomialDeg T s of an IdCompressorSeed s T.
IdCompressorSeed s T has cardinality 2 ^ idCompressorSeedBits s T.
Seed bit-space bound (Corollary B.6(b) & Lemma 5.2(b)): storing a seed in
IdCompressorSeed s T uses
2 * trinomialDeg T s ≤ 6 * max ⌈log₂ max(T, 2)⌉ (max s 1) = O(s + log T) bits.
2-wise trinomial polynomial round function Fin T → Fin (2 ^ s).
Compressed s-bit ID head feistelHead (idCompressorRound s T θ) x.
Unconditional 2-wise trinomial ID-compressor Feistel permutation on Fin (2 ^ s) × Fin T
(Corollary B.6).
Flat mixed-domain ID-compressor Feistel permutation on Fin (2 ^ s * T).
Flat Fin (2 ^ L) ID-compressor Feistel permutation for s ≤ L (Lemma 5.2).
idCompressorRound s T is unconditionally 2-wise independent for all s, T : ℕ.
Unconditional mixed-domain ID-compressor pairwise-collision bound ([LLYZ24],
arXiv:2310.20536v1, Appendix B, Corollary B.6(c), PDF pp. 43–44 / printed pp. 42–43): on any
finite set S, idCompressorHead s T θ fails to be injective on S with seed density at most
(#S) ^ 2 / (2 * 2 ^ s) (hence also ≤ (#S) ^ 2 / 2 ^ s).
PMF.uniformOfFintype event-probability form of dens_not_injOn_idCompressorHead_le.
Section 5.4 2 / n_next ^ 2 instantiation of Corollary B.6(c)
([LLYZ24], arXiv:2310.20536v1, Section 5.4, PDF p. 33 / printed p. 32): whenever
#S ≤ n_bar, 1 ≤ n_next, and n_bar ^ 2 * n_next ^ 2 ≤ 4 * 2 ^ s (satisfied both when
n_bar ≤ 2 * n_next ∧ n_next ^ 4 ≤ 2 ^ s and when n_next ≤ n_bar ∧ n_bar ^ 4 ≤ 2 * 2 ^ s),
collision probability is ≤ 2 / n_next ^ 2.
Unconditional flat-domain ID-compressor collision bound on Fin (2 ^ L)
([LLYZ24], arXiv:2310.20536v1, Section 5.4, Lemma 5.2(c), PDF p. 33 / printed p. 32,
and Appendix B, PDF pp. 42–43 / printed pp. 41–42): for s ≤ L and any S : Finset (Fin (2 ^ L)),
the compressed s-bit heads fail to be pairwise distinct on S with seed density at most
(#S) ^ 2 / (2 * 2 ^ s) (hence also ≤ (#S) ^ 2 / 2 ^ s).