Case A unbalanced Feistel transfer and concrete Double-Tabulation round-seed parameters #
This module formalizes the Case A 2-round unbalanced Feistel bijection (caseAEquiv), its abstract
(1 - δ)-w.h.p. κ-wise distributional transfer (dist_caseA_restrict_le), and the concrete
Double-Tabulation + oddMulModWord round-function parameter schedule (quotientPermInd,
quotientPermThreshold, reduceBits, reducedDoubleTab) together with its failure-event and
Naor–Reingold contraction bounds for CslibFrontier.DataStructure.Dictionary.KickTree.QuotientPerm.
Main definitions #
Cslib.DataStructure.Dictionary.KickTree.caseAGap,Cslib.DataStructure.Dictionary.KickTree.CaseARounds,Cslib.DataStructure.Dictionary.KickTree.caseAEquiv,Cslib.DataStructure.Dictionary.KickTree.caseAQuot,Cslib.DataStructure.Dictionary.KickTree.splitBucketAuxEquiv,Cslib.DataStructure.Dictionary.KickTree.caseABucketAux: Case A 2-round unbalanced Feistel bijection and combined(bucket, aux)evaluator.Cslib.DataStructure.Dictionary.KickTree.nrRounds,Cslib.DataStructure.Dictionary.KickTree.quotientPermInd,Cslib.DataStructure.Dictionary.KickTree.quotientPermRedBits,Cslib.DataStructure.Dictionary.KickTree.quotientPermCharBits,Cslib.DataStructure.Dictionary.KickTree.quotientPermChars,Cslib.DataStructure.Dictionary.KickTree.quotientPermRep,Cslib.DataStructure.Dictionary.KickTree.quotientPermInter,Cslib.DataStructure.Dictionary.KickTree.quotientPermThreshold,Cslib.DataStructure.Dictionary.KickTree.reduceBits,Cslib.DataStructure.Dictionary.KickTree.reducedDoubleTab,Cslib.DataStructure.Dictionary.KickTree.QuotientPermNRSeed: concrete round-function parameter schedule and reduced double-tabulation evaluator.
Main results #
Cslib.DataStructure.Dictionary.KickTree.dens_not_injOn_caseAQuot_le,Cslib.DataStructure.Dictionary.KickTree.isKWiseIndependentHash_caseABucketAux_of_injOn,Cslib.DataStructure.Dictionary.KickTree.dist_caseA_restrict_le: Round-1 quotient collision bound and abstract Case Aκ-wise transfer.Cslib.DataStructure.Dictionary.KickTree.four_le_quotientPermThreshold,Cslib.DataStructure.Dictionary.KickTree.val_reduceBits_eq_oddMulModWord,Cslib.DataStructure.Dictionary.KickTree.prob_not_isKUnique_quotientPerm_le,Cslib.DataStructure.Dictionary.KickTree.prob_not_injOn_reduceBits_le,Cslib.DataStructure.Dictionary.KickTree.nr_contraction_quotientPerm_le,Cslib.DataStructure.Dictionary.KickTree.quotientPermInd_le_self_of_threshold,Cslib.DataStructure.Dictionary.KickTree.dist_caseA_reducedDoubleTab_le,Cslib.DataStructure.Dictionary.KickTree.prob_doubleTab_bucketLoad_outside_le: concrete failure, contraction, Case A transfer, and Case B shard-load bounds abovequotientPermThreshold c.
References #
Section 1: Case A 2-round unbalanced Feistel bijection and abstract transfer #
Logarithmic bit-gap threshold (c + 3) * ⌈log₂ (max n 2)⌉ separating Case A (m + gap ≤ a,
2-round unbalanced Feistel) from Case B (a < m + gap, sharded Naor–Reingold).
Round-function pair for the Case A 2-round unbalanced Feistel bijection on Fin (2 ^ a).
Case A 2-round unbalanced Feistel bijection Fin (2 ^ a) ≃ Fin (2 ^ m) × Fin (2 ^ (a - m))
sending (x_L, x_R) = bitDomainEquiv hma u to (x_L ^^^ g₁ (x_R ^^^ g₀ x_L), x_R ^^^ g₀ x_L).
Case A combined (bucket, aux) evaluation given Round-1 quotient function g₀ and combined
Round-2 (m + b_aux)-bit hash f₁₂ : Fin (2 ^ (a - m)) → Fin (2 ^ (m + b_aux)).
Pairwise-independent Round-1 quotient collision bound in Case A (via
FeistelPerm.dens_not_injOn_feistelHead_le), requiring pairwise independence only on the active
left-coordinate image S.image fun u => (bitDomainEquiv hma u).1.
When caseAQuot hma g₀ is injective on S and h₁₂ is κ-wise independent on the active
quotient image S.image (caseAQuot hma g₀), the induced (bucket, aux) family on S is exact
κ-wise independent (IsKWiseIndependentHash κ).
Abstract Case A distributional transfer: over a three-stage seed (τ, s₀, s₁) where
τ ∈ GoodTop (failure probability ≤ δ_top) makes h₀ τ pairwise independent on the active
left-coordinate image of S and h₁₂ τ within δ₁ of uniform whenever caseAQuot hma (h₀ τ s₀)
is injective on S, the restriction of caseABucketAux to T is within statistical distance
δ_top + (#S * (#S - 1)) / (2 * 2 ^ (a - m)) + δ₁ of uniform.
Section 2: Concrete Double-Tabulation + oddMulModWord parameters and failure bounds #
Number of composed 3-round Naor–Reingold blocks 18 * (c + 2) = O(c) in Case B.
Logarithmic independence order κ = 8 * (c + 3) * ⌈log₂ (max n 2)⌉ = Θ(c log n).
Multiply-shift reduced bit-width R = (c + 5) * ⌈log₂ (max n 4)⌉.
Double-tabulation character bit-width b = max 1 (⌊log₂ n⌋ / 4).
Number of input characters c_tab = 8 * (c + 5) for the shared top-level table.
Code repetition parameter q_tab = 4 * c + 11 in DoubleTabulation.card_not_isKUnique_le.
Number of intermediate characters d_tab = 2 * q_tab * c_tab.
Finite-size capacity threshold N₀(c) = 2 ^ (4 * quotientPermMinB c).
The concrete threshold satisfies 4 ≤ quotientPermThreshold c for every c.
Reduced double-tabulation round function Fin (2 ^ s_in) → Fin (2 ^ s_out).
Top-level k-uniqueness failure probability ≤ 1 / (8 * n ^ (c + 2)) above
quotientPermThreshold c.
Multiply-shift reduction non-injectivity bound ≤ 1 / (16 * n ^ (c + 1)) on any #X ≤ n.
Quantitative Naor–Reingold contraction bound ≤ 1 / (8 * n ^ (c + 2)) for nrRounds c
blocks whenever 2 * quotientPermCharBits n ≤ a' and quotientPermThreshold c ≤ n.
Above quotientPermThreshold c, 2 ≤ quotientPermInd c n ≤ n,
4 * quotientPermCharBits n ≤ Nat.log 2 n, and 2 * (quotientPermInd c n) ^ 2 ≤ 2 ^ b_char.
Bottom-level simple-tabulation seed bundle for all nrRounds c Case B Naor–Reingold blocks.
Concrete 4-stage Case A statistical-distance bound for caseABucketAux instantiated with
reducedDoubleTab over uniform (Top, α₀, BotA₀, α₁, BotA₁₂) (≤ 1 / n ^ (c + 1)), proved via
dist_caseA_restrict_le and isKWiseIndependentHash_caseABucketAux_of_injOn.
Concrete double-tabulation 1-round Feistel shard-load tail bound via
FeistelPerm.dens_exists_bucketLoad_sub_ge_le.