Information Loss Is All You Need: $TC^0$ Pseudorandomness from Worst-Case Lattices
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
Information Loss Is All You Need: TC0 Pseudorandomness from Worst-Case Lattices Chen Qian State Key Laboratory of Cryptography and Digital Economy Security, Shandong University, Qingdao 266237, China
arXiv:2611.05136v1 [cs.CC] 3 Nov 2026
Key Laboratory of Cryptologic Technology and Information Security of Ministry of Education, Shandong University, Qingdao 266237, China School of Cyber Science and Technology, Shandong University, Qingdao 266237, China
Abstract Pseudorandomness plays a central role in algorithms, complexity theory, and cryptography. We ask whether deterministic information loss alone can yield post-quantum pseudorandomness with TC0 evaluation. Learning with errors (LWE) hides linear measurements with random noise. Learning with rounding (LWR) replaces noise with deterministic rounding, but a standard polynomialmodulus hardness reduction requires parameters tailored to a predetermined sample bound. Decisional Diffie–Hellman offers a noiseless algebraic route to pseudorandomness, but its standard instantiations are vulnerable to quantum algorithms. We show that deterministic rounding achieves this under quantum worst-case lattice hardness, with fixed polynomial parameters and no predetermined sample bound. We introduce the learning with algebraic rounding (LAR) assumption, which applies an explicit integer rounding map to blocks of secret-dependent linear measurements and encodes the result in a lattice quotient. For one fixed family with polynomially bounded modulus and dimensions, its deterministic labels on exactly uniform, secret-independent public matrices are computationally indistinguishable from independent uniform labels for every polynomial number of classical random examples. Our classical reduction from Gaussian LWE, combined with the quantum worst-case reduction to LWE, bases LAR on GapSVP and SIVP over general lattices at approximation factor e O(q), where q is the modulus. To prove this, we develop a source-independent affine transport framework that may be of independent interest. Using public affine maps sampled independently of the hidden errors, it transports the Gaussian error law close to uniform on the rounding map’s zero-label fiber while preserving exactly uniform public matrices. For every fixed inverse-polynomial accuracy, we give a polynomial-time sampler for the same public parameter family. This yields the first post-quantum weak pseudorandom function with joint key-and-input evaluation in TC0 , secure against uniform quantum polynomial-time distinguishers given any polynomial number of classical uniform random examples. We also establish the hardness of learning polynomial-size two-hidden-layer ReLU networks from noiseless uniform random examples, even for quantum polynomial-time improper learners.
Contents Main text 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
2
Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3
Learning with Algebraic Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4
From Uniform-Zero-Fiber LWE to Decisional LAR . . . . . . . . . . . . . . . . . . . . . . 21
5
From Gaussian LWE to Uniform-Zero-Fiber LWE . . . . . . . . . . . . . . . . . . . . . . . 22
6
Zero-Fiber Geometry and Affine Matrix Realization . . . . . . . . . . . . . . . . . . . . . 25
7
Finite-Dimensional Probability Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8
Chameleon-Lobster Family with Safe Local Sampling . . . . . . . . . . . . . . . . . . . . 31
9
Calibrating Public Randomness for Affine Fiber Transport . . . . . . . . . . . . . . . . . 48
10 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Appendices A
Foundations and the Main Reduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
B
Incidence Geometry and Affine Transport Proofs . . . . . . . . . . . . . . . . . . . . . . . 75
C
Local Kernels and Bounded Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
D
Shared Baseline and Joint Realization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
E
Fourier Targets and Protected Reference Tools . . . . . . . . . . . . . . . . . . . . . . . . 94
F
Positive Proposal and Response Calibration
G
Complete Fourier Tails and Public-Core Moments . . . . . . . . . . . . . . . . . . . . . . 116
H
Charge Conditioning and Bounded Positive Sampling . . . . . . . . . . . . . . . . . . . . 125
I
Proofs for the Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
. . . . . . . . . . . . . . . . . . . . . . . . . 99
i
1
Introduction
Pseudorandomness plays a central role in algorithms, complexity theory, and cryptography, providing efficiently computable objects that appear random to computationally bounded observers. We ask the following natural question: Can deterministic information loss alone yield post-quantum pseudorandomness with TC0 evaluation? Pseudorandom functions. Weak pseudorandom functions (weak PRFs) give a concrete formulation of this goal. A weak PRF is a keyed family of deterministic functions. Under one uniformly random key, its evaluations at independently sampled uniform inputs are computationally indistinguishable from evaluations of a truly random function at the same inputs. Pseudorandom functions were introduced by Goldreich, Goldwasser, and Micali [GGM86]. Their strong notion requires computational indistinguishability even under adaptively chosen oracle queries. The original construction builds PRFs from pseudorandom generators and hence from one-way functions. Naor and Reingold [NR04] gave more efficient algebraic constructions based on factoring and the decisional Diffie–Hellman assumption, with evaluation in TC0 . However, Shor [Sho94] gave quantum polynomial-time algorithms for the underlying factoring and discretelogarithm problems. Banerjee, Peikert, and Rosen [BPR12] initiated the study of direct, highly parallelizable latticebased PRFs by introducing learning with rounding (LWR) as a deterministic counterpart of learning with errors (LWE). Their constructions include low-depth PRFs with TC0 evaluation under suitable parameters. Subsequent work developed key-homomorphic PRFs from LWE [BLMR13, BP14] and constrained key-homomorphic PRFs from standard lattice assumptions [BV15]. Further work addressed efficiency, reduction tightness, and modulus size [JKP18, Mon18a, Kim20]. A central issue for deterministic rounding is to establish hardness with a polynomial modulus and no a priori bound on the number of samples. Alwen, Krenn, Pietrzak, and Wichs [AKPW13, Theorem 4.1] proved LWE-based hardness of LWR with polynomial modulus, but their reduction requires parameters that depend explicitly on the sample bound. Newton and Richelson [NR23] established limitations for non-aborting pointwise reductions that preserve the source dimension and modulus in a specified parameter regime. These limitations apply to the stated reduction model and do not establish a general impossibility of polynomial-modulus LWR hardness. Another line of work studies PRFs from learning parity with noise (LPN). Ding, Jain, and Komargodski [DJK25] constructed NC1 weak PRFs from standard LPN and stronger variants under structured LPN assumptions. The same authors [DJK26] subsequently gave a generic depthpreserving transformation from weak to strong PRFs and obtained NC1 strong PRFs from standard LWE with a polynomial modulus-to-noise ratio, as well as from standard LPN and computational Diffie–Hellman. Computational hardness of learning. Weak PRFs with low-complexity evaluation also give hardness of noise-free learning from uniform random examples. An efficient learner that predicts a fresh label with a nonnegligible advantage over random guessing would distinguish pseudorandom labels from independent uniform ones. In Valiant’s probably approximately correct (PAC) framework [Val84], a concept class can have polynomial sample complexity and efficiently computable functions, yet admit no polynomial-time learner under suitable computational assumptions. Such hardness is especially significant for improper learning, where the learner may output any efficiently
1
evaluable hypothesis, including one outside the target class. Kearns and Valiant [KV94] established the cryptographic approach to this representation-independent hardness. The input distribution is central to this separation. Distribution-free hardness rules out a learner that succeeds for every input distribution; it need not imply hardness from uniformly random examples. A reduction establishing the latter must preserve the prescribed input law. Kharitonov [Kha95] established cryptographic hardness under uniform inputs. For distributionfree learning, Klivans and Sherstov [KS09] based the hardness of learning intersections of halfspaces on worst-case lattice problems. Low-depth circuits make the role of computational resources concrete: Linial, Mansour, and Nisan [LMN93] gave a Fourier-based quasipolynomial-time uniform-distribution learning algorithm for constant-depth AND/OR/NOT circuits (AC0 ). For constant-depth threshold circuits (TC0 ), Arunachalam, Grilo, and Sundaram [AGS21] ruled out polynomial-time quantum learning under the uniform distribution, even with quantum membership queries, assuming quantum hardness of ring learning with errors. Shallow neural networks can be hard to learn even without label noise. Daniely and Vardi [DV21] obtained hardness for shallow rectified linear unit (ReLU) networks under Gaussian inputs from local pseudorandom generators. Chen, Gollakota, Klivans, and Meka [CGKM22] proved superpolynomial statistical-query lower bounds for noise-free two-hidden-layer ReLU learning under Gaussian inputs. They also established cryptographic hardness results based on learning with rounding. These are distinct types of lower bounds: statistical-query hardness alone does not rule out general efficient learners. We seek this separation under exactly uniform inputs, with deterministic TC0 evaluation and a worst-case lattice foundation. We consider uniform quantum polynomial-time learners receiving classical noiseless random examples, with possibly improper hypotheses given by classical descriptions and admitting efficient deterministic classical evaluation as specified in Section 10.3. Our neural-network application uses a uniform finite grid. The same fixed family of polynomial parameters must support every polynomial sample budget for both pseudorandomness and this learning consequence.
1.1
Our Results
We construct an explicit deterministic block-rounding family whose labels on exactly uniform, secret-independent public matrices are computationally indistinguishable from independent uniform labels, under quantum worst-case hardness of general-lattice problems. The functions have joint key-and-input evaluation in TC0 . One fixed family of polynomial parameters supports every polynomial number of classical random examples against uniform QPT distinguishers. Learning with algebraic rounding (LAR) mixes a block of linear measurements using an integer matrix T ∈ Zd×d , divides by an odd prime q, and rounds down coordinatewise. We retain the rounded vector’s coset modulo TZd . Changing the integer representatives of the measurements changes the rounded vector by an element of this lattice, so the label is unchanged. For the rounding matrices of Definition 2.3, Smith coordinates encode these cosets in Fℓq , where Fq = Z/qZ and ℓ = d − r ≥ 1 for modular rank r. The same coordinates supply input translations that prescribe label changes, the property used in the zero-fiber reduction below (Lemma 3.5). With the quotient coordinate matrix P of Definition 3.2, the label map fT of Definition 3.4, and one uniformly random secret s ∈ FN q , the examples are
i = 1, . . . , t,
, Mi ←- U Fd×N q yi = fT (Mi s) = P
T[Mi s]q mod q ∈ Fℓq . q
2
Here the matrix-secret product is over Fq , [·]q chooses representatives in {0, . . . , q − 1}. The subsequent matrix product is over the integers, and the floor acts coordinatewise. Labels use no fresh randomness. The public matrices are mutually independent and independent of the secret. In the ideal experiment, they carry independent uniform labels in Fℓq . Exact public-input uniformity makes this a random-example learning problem on the full matrix space. A fixed family for every polynomial sample budget. Our hardness result uses one explicit, polynomial-time computable family with N = λ, an odd prime q, and d ≥ q, all polynomially bounded in λ, and
T = e1 − e2 | · · · | ed−1 − ed |
q X
ej ,
P = 1⊺ ,
ℓ = 1,
j=1
where the ej are standard basis vectors and 1 is the all-ones vector. Thus each label sums the rounded coordinates modulo q. The modulus, dimensions, and rounding map are fixed before the adversary and its polynomial sample budget are chosen. Theorem 1.1 (Main reduction, informal). For this fixed public family, any uniform QPT distinguisher that separates real and ideal LAR distributions on polynomially many classical random examples with nonnegligible advantage yields uniform quantum polynomial-time algorithms for e worst-case GapSVPγ and SIVPγ on general lattices of dimension N , with γ = O(q). Quantum worst-case hardness therefore gives pseudorandom labels for every polynomial sample budget under the same fixed public family. The reduction passes through Gaussian LWE: the worst-case lattice step is quantum, while the subsequent sample transformations are classical and remain valid when composed with a QPT distinguisher. From Gaussian noise to deterministic information loss. The bridge is the rounding map’s zero fiber, the inputs mapped to zero. Translation equivariance lets a uniform zero-fiber residual and an independent uniform label parametrize a uniform ambient vector. This provides the algebraic reduction from uniform-zero-fiber LWE to decisional LAR. The central construction is a sourceindependent affine transport that sends Gaussian errors close to uniform on this fiber using only public randomness. This yields the reduction from Gaussian LWE to uniform-zero-fiber LWE. The same affine transformation acts on the public matrix and the noisy response. Its linear part is always invertible modulo q, so the public matrix remains exactly uniform and independent of the transported error. Only the error law is approximated. The public map is sampled without observing the hidden error or any LWE data. The required accuracy is chosen after fixing the adversary and its polynomial sample budget, without changing the public family. The transport is used only in the security reduction; evaluating a label requires just deterministic rounding. Calibrating public randomness. The remaining difficulty is joint uniformity. Local calibration chooses one positive public law of safe maps that prescribes color probabilities at every protected input. These laws let us balance expected color counts, but shared source coordinates still correlate endpoints. Global calibration reweights public choices to cancel Fourier tests on bounded sets of endpoints; a bound over all remaining frequencies controls the joint error. This solve temporarily omits the public congruence needed for integral affine data and may give negative weights. Moment estimates 3
bound the error from replacing them by bounded nonnegative weights. Imposing the congruence then gives a probability law sampled efficiently and independently of the hidden source. Consequences for pseudorandomness and noiseless learning. Under the same worst-case hardness condition, restricting the secret to nonzero keys gives a field-valued weak PRF on Fd×N q with joint key-and-input TC0 evaluation. Security holds against uniform QPT distinguishers receiving any polynomial number of classical uniform random examples. The normalized labels also have polynomial-size two-hidden-layer ReLU representations on a uniform finite grid, with rational weights and biases of polynomially bounded magnitude and bit length. The same assumption rules out uniform QPT PAC learning of these networks in squared loss from classical noiseless random examples, including improper learning with classically described hypotheses whose rational predictions admit uniform deterministic polynomial-time classical evaluation. The separation is computational: exhaustive search identifies the secret from O(N ) examples at fixed confidence.
1.2
Technical Overview
Gaussian LWE hides a linear function of the secret using random errors; a LAR label is deterministic. Simply rounding an LWE response can leave its label dependent on the hidden error. We instead transport Gaussian errors to a law that rounding absorbs exactly, while preserving exactly uniform public inputs. The transport uses randomness independent of the samples in the security reduction; label evaluation remains deterministic. The resulting reduction chain is [Reg05]; Section I.1
Section 5
{GapSVP, SIVP} −−−−−−−−−−−−→ Gaussian LWE −−−−−→ uniform-zero-fiber LWE Section 4
Sections 10.2 and 10.3
−−−−−→ dLAR −−−−−−−−−−−−−→ weak PRFs and noiseless learning hardness. The first arrow supplies the quantum worst-case lattice foundation; the last gives consequences for classical random-example access. For the middle arrows, we identify the required error law, construct affine maps that reach its support except on a Gaussian tail event, and choose a positive public law of maps giving joint uniformity up to controlled error. I. Finding the error law that rounding can absorb. For the label map fT recalled in Section 1.1, the zero fiber FT,0 consists of inputs with label zero. Its role follows from translation equivariance: the matrix J in Lemma 3.5 converts any desired label change y ∈ Fℓq into an input translation. Adding Jy adds precisely y to the label. Thus every input has a unique description by a zero-fiber residual and a label. The decomposition of Lemma 4.1 is the bijection ∼
(e, y) 7−→ e + Jy,
FT,0 × Fℓq −−→ Fdq .
A uniform residual and an independent uniform label reconstruct an exactly uniform input whose rounded label is the chosen label. Thus fiber membership removes the error from the label, while uniformity supplies the required input law. The residual need not be coordinatewise small: zerofiber membership concerns integer rounding and quotient encoding, not the modular kernel of T. Coordinatewise error bounds alone do not solve this joint distributional problem. Theorem 4.2 samples one uniform auxiliary vector a0 ∈ FN q shared across blocks and independent uniform labels, all independently of the input table. On real uniform-zero-fiber LWE input with hidden secret s, its rank-one update makes the matrix-secret product equal the zero-fiber residual 4
plus the chosen label direction when a0⊺ s = 1. With exact auxiliary draws, this gives real LAR labels on exactly uniform matrices; otherwise the update gives the ideal product law. For each nonzero secret, alignment has probability 1/q, explaining the advantage loss. The shared vector selects one branch for the whole table. The theorem also accounts for the zero-secret event and bounded sampling. It remains to reach the zero-fiber error law from Gaussian samples. II. Moving errors that the reduction cannot see. An LWE reduction receives a public matrix A and a noisy response b, but cannot extract the hidden Gaussian error e. An errordependent transport would thus be unusable. We instead sample an integer matrix Q and offset β independently of the secret and the entire sample table. Their affine action can be applied directly to the observed block: (A, b) 7−→ (QA, Qb + β),
e 7−→ Qe + β
(mod q).
Source independence makes this operation available to the reduction. If every sampled Q is invertible modulo q, the transformed public matrix is exactly uniform even conditional on the affine map and error. It is therefore independent of the transformed error. An ideal uniform response also remains uniform. It suffices to make the transformed error close to U (FT,0 ), averaging over the independently drawn map and source; an individual fixed map need not achieve this closeness. Lemma 5.2 and Theorem 5.4 then give the reduction, with statistical loss at most the number of blocks times the single-block transport error. Why incidence geometry is useful. We first design integer vertex loads w, then recover the affine output through T−1 . Their sum is the charge, their residues are endpoint colors, and their integer quotients on division by q are carries. For the matrix in Section 1.1, two distinct conditions govern a load’s preimage: d X
wj ≡ 0
(mod q) (integral preimage),
j=1
d X wj j=1
q
≡0
(mod q) (zero label).
The first says w ∈ TZd , so T−1 w is integral (Lemma 6.4). Once it holds, the second ensures that this preimage modulo q belongs to the zero fiber (Lemma 6.6). Individual carries may be nonzero; only their sum must vanish modulo q. The charge condition places the colors in the zero-sum hyperplane H0 . Taking their canonical representatives, applying T−1 , and reducing modulo q gives a bijection to the zero fiber (Lemma 6.5). We must therefore make the colors jointly uniform while enforcing compatible carries. For the affine output x′ and its colors w̄, the bound of Lemma 6.6 reads ∆ L x′ , U (FT,0 ) ≤ ∆(L(w̄) , U (H0 )) + Pr[incompatible carry],
where L(·) denotes a probability law and ∆(·, ·) statistical distance. A directed edge has an incidence column with entries +1 and −1 at its endpoints. Multiplying by the edge’s source coordinate transfers load without changing the charge. A tree’s columns form an integer basis of all zero-sum loads; adjoining a column of charge q gives a basis of TZd . Applying T−1 produces an integer matrix of determinant ±1. Source-coordinate changes invertible modulo 5
q preserve this modular invertibility (Corollary 6.8). The remaining task is to choose a tree and local maps with safe carries and adjustable colors. Safety is analyzed on a protected source, obtained by conditioning each underlying Gaussian on a prescribed bounded interval. Protection includes the independent public Gaussian used below to close the body path into a cycle. The sampler never tests hidden inputs. Coupling the full and protected experiments fails only when a Gaussian leaves its interval. For our parameter choice, the total probability is exponentially small (Section 8.8). A geometry with safe carries and adjustable colors. The chameleon lobster in Figure 1 supplies public parameters that adjust colors while ensuring compatible carries throughout this protected experiment. We call these parameters the public controls. public Gaussian closure: opposite offsets attachment
body path: hidden Gaussian coordinates ···
+t
free body compensator
companion one leg uses hidden (u, t)
queue: q body vertices one shared hidden Gaussian added at every queue site
primary other legs public control pairing (one distinct compensator per leg)
Figure 1: The chameleon lobster and its public controls. Solid segments are tree edges. The dotted closure supplies opposite public offsets; the dashed link pairs a primary with a separate body vertex whose distribution compensates for changes in the companion. Neither adds a hidden-source edge. The queue enclosure represents one shared source coordinate, with sites drawn together for clarity. The body is a path of hidden Gaussian edge values, with vertex increments given by neighboring differences. An independent public Gaussian adds opposite endpoint offsets, closing these into a cycle law through β. All increments then have the same marginal law, but neighboring differences share a Gaussian and all increments sum to zero. Public initial loads, called centers, shift the body colors. The legs provide more targeted color control. A leg runs from an outer primary through a companion to an attachment on the body. A public affine map acts on two hidden Gaussian coordinates (u, t). For a public shift ζ, the primary and companion loads sum to q − 1 + ζ − t; the attachment receives +t from the very same coordinate. This shared input makes the leg’s total contribution independent of t. Safe affine maps also make the two off-body residue representatives have the same integer sum as their loads, so their carries cancel even when either load wraps. Body centers leave enough room for protected increments that body carries vanish. Proposition 8.17 proves the resulting carry compatibility. The queue supplies the direction missing from tree incidence. It adds one hidden Gaussian scalar at all q queue sites, giving a column of total charge q and hence full rank. This shared scalar creates a global dependence. A congruence on public centers and leg shifts ensures that the initial loads also have charge divisible by q, making the affine offset integral. This is the public charge condition. A leg’s control changes both its primary and companion colors. To isolate the primary response, each leg is assigned a distinct free body vertex, its compensator, whose center law can offset the 6
companion’s change in expected color counts. These vertices lie outside the attachments and queue. The initial assignment of attachment and queue sites, which also determines the compensators, is the public placement. Two subsequent permutations have separate purposes. A uniform body permutation distributes the cycle increments among body roles, making selected positions unlikely to be neighbors. An independent final permutation relabels all endpoints, so symmetric histogram and Fourier information applies to arbitrary endpoint positions. Neither permutation makes the endpoint colors independent. Marking a color without observing the hidden input. At a fixed protected input, the leg’s two canonical color representatives must sum to q − 1 + ζ − t. The diffuse target law is uniform on such pairs with both colors in a trimmed interior (Definition 8.5); choosing the primary fixes its companion. This law misses boundary primary colors. A marked color is a public target, chosen independently of hidden inputs, that lets us add probability at any prescribed primary. An affine map can create this bias without testing the hidden input. Fix its constant term to the marked color and its coefficient on t to zero. The primary then equals the marked color whenever u = 0, regardless of t. Mixing these marked maps with a diffuse branch gives a controllable contribution whose source-averaged mass is the marking probability times Pr[u = 0] under the protected Gaussian law. Because activation depends only on the first coordinate, it preserves the second coordinate’s law at the attachment. The difficulty is to retain only this intended bias. Marked maps also affect inputs off the line u = 0, and deleting unsafe maps biases the diffuse branch. Repairing the output after seeing the input would violate source independence. We must repair one public distribution of maps so that every protected input has its prescribed color law simultaneously. Local calibration gives a positive law. For this repair, begin with uniform unrestricted affine maps. Their evaluations at distinct protected inputs are pairwise independent. A centered function of one evaluation therefore changes that input’s color marginal and averages to zero at every other input. Summing such functions gives an exact reference response to the desired marginal adjustments. We then exclude zero first-coordinate coefficients and unsafe maps. The excluded probability is small even conditional on an allowed evaluation, so deletion only slightly perturbs this response. A finite linear solve reweights the remaining, regular maps to restore the marginals and cancel the marked branch’s off-line bias. A separate one-sided pointwise bound proves positivity on the regular support (Section C.5 and Corollary 7.2). Under its feasibility and marked-color conditions, Theorem 8.9 gives an exact public map law whose output at every protected input is uniform on the interior pairs above when u ̸= 0, and, for our parameter choice, an equal mixture of that law and the pair with the marked primary and the companion fixed by the same integer sum when u = 0. Every supported map is safe at every protected input, with cancelling off-body carries, and has the nonzero first-coordinate coefficient required for modular invertibility. Bounded sampling approximates the complete flag–map law, including activation probabilities, while preserving this support. One calibration principle, used twice. Both calibrations solve for weights on public choices. Local constraints specify color probabilities at each protected input; global constraints specify Fourier coefficients averaged over the protected source. The weight itself uses only public data. The interface in Section 7 separates coefficients, weights, and responses. Synthesis Ψ maps coefficients z to weights relative to a reference law; response M records unnormalized constraints, 7
including mass as the weight’s expectation. Reference evaluation E converts coefficients into ideal responses; A accounts for the actual construction: MΨ = EA. Solving Az = τ for target coefficients τ gives response Eτ . Only A must be invertible; E need not be. Both applications prove ∥A − I∥ ≤ κ < 1, with I the identity, using the supremum norm locally and a weighted coefficient norm globally. Neumann inversion gives inverse norm at most 1/(1 − κ) and a controlled coefficient correction (Theorem 7.1). The construction-specific work is to build this stable response and realize a probability law: positive directly in the local case, initially signed in the joint case. III. From balanced colors to a uniform joint law. The local law gives safe, adjustable color marginals; joint uniformity still requires choosing the marked-color and body-center laws. Uniform marginals alone do not suffice: coordinates that all equal the same uniform field element have uniform marginals and a highly nonuniform joint law. Here body increments share Gaussians, each companion shares t with its attachment, and all queue sites share one scalar. Charge conditioning would also couple the public controls. To keep an independent reference for these controls, we first omit charge and target the uniform law on the entire color space Fdq , in which coordinates are independently uniform. This is an auxiliary target: the candidate integer loads need not yet have integral affine preimages under T. Conditioning the uniform target on zero color sum gives exactly U (H0 ). We will impose public charge only after controlling the ambient error, restoring integral affine data. A positive proposal that balances first moments. We first choose a positive public reference law, the proposal, that balances expected color counts. Marking can supply missing primary mass, but also moves the companion. To compensate using body centers, their effects must undergo the same random-shift averaging. We place the companion’s reference color in a safe interval and add an independent public offset with the marginal law of one protected cycle difference. This offset copies a law, never an actual hidden increment. Companion and body-center responses then share the required averaging. For the chosen public family and sufficiently large λ, these laws balance the histogram in expectation over the proposal controls, protected cycle, leg inputs, and shared queue scalar, at every fixed placement (Theorem 9.3). Independent uniform final relabeling gives uniform coordinate marginals. The proposal’s control groups are independent at this placement; their endpoints remain dependent through the hidden inputs. Pairing makes the first response invertible. Reweight a leg’s marked color and its distinct compensator. Common shift averaging cancels the marked companion contribution. The diffuse target uses only the mark’s side of the midpoint, mixing fairly at equality. Its change is therefore one scalar times a fixed profile difference. Dividing by the source-averaged activation probability leaves the primary adjustment plus this rank-one residual. Lemma 9.4 bounds this perturbation and supplies a stable inverse for the normalized first response. The attachment has zero first response, but its shared hidden coordinate remains in joint tests. Hoeffding-type corrections give a triangular response. Joint uniformity requires every nonconstant product of Fourier characters to have zero expectation. Its support is the set of endpoints tested. We use a Hoeffding-type grading of public reweightings: degree counts how 8
many control groups interact in each term. This orders the correction of pairwise, triple, and higher biases. A degree-r correction averages terms selecting r distinct control groups, each a primary with its compensator or an ordinary free body center. Every term is centered in each selected group: averaging that group under the proposal gives zero with the others fixed. Different groups affect disjoint endpoint sets. A test on fewer than r endpoints misses at least one selected group, whose averaging kills that term, even with the protected cycle fixed. This holds for every selection and hence their average, so higher-degree corrections preserve lower-degree constraints. A small perturbation makes the response invertible. Fix a positive integer calibration order R and write L = λ + 2. The square coefficient response AR of Section 9.5 realizes A through degree R. Triangularity orders the equations but does not bound their diagonal inverses. We compare the response with the identity after normalizing its leading terms. Three effects remain. Unselected controls supply background correlations after first-moment balancing; selected groups can emit more endpoint factors than their leading response. Local profile bounds and control-pool normalization make these effects small, with only boundedly many pattern types at fixed order. The third source is cycle dependence. Compare distinct body increments with independent copies of their protected marginal. Actual increments share Gaussians only at neighboring positions; the body permutation makes these overlaps rare. Theorem E.4 and Lemma F.12 bound this defect in a weighted L2 coefficient norm matching distinct-group averaging. Each complete leg retains its shared hidden input, and complete expressions use one common queue scalar, averaged before inversion. Together the estimates give ∥AR − I∥ = OR (L−3 ) (Section F.2.6). For each fixed order and sufficiently large λ, the common Neumann bound therefore gives a bounded inverse and a small coefficient correction. Second application: exact signed joint calibration. We solve the public coefficient equation AR z = e0 , where e0 is the constant-one target and z is the coefficient vector to be chosen. At each degree, subtract the response of the coefficients already determined and solve the current diagonal block. The proposal has zero degree-one part, so corrections start at degree two (Section F.2.5), retaining all mixtures of paired and body controls. Theorem 9.5 gives a public weight WR with expectation one under the fixed-placement proposal. After independent uniform endpoint relabeling, its signed, uncharged, protected-source endpoint law has every nontrivial Fourier coefficient of support at most R exactly zero. This is the global counterpart of the local marginal repair, but the weight may be negative. At fixed order this polynomial-size system averages the known protected-source law in advance; its weight reads only public controls and placement. Finite cancellation needs a complete Fourier tail bound. Finite cancellation leaves too many frequencies for individual bounds to suffice. We control their total energy using the complete Fourier norm Fρ of Section 9.1. Its square sums squared coefficients over all frequencies, weighted by support size. The analysis radius ρ penalizes large supports. Set ρ = L1/4 , as in Section 9.9. For the public correction coefficients c and the endpoint law PWR weighted by WR , Theorems G.5 and 9.5 and Proposition 9.6 give ∥c∥simp,ρ = OR (L−3 ),
Fρ (PWR ) = OR (1).
By Lemma E.2, cancellation through R bounds the square root of the remaining Fourier energy by OR (ρ−(R+1) ). Parseval and Cauchy–Schwarz give the same half-L1 distance to uniformity on 9
Fdq (Lemma E.1), hence decay L−(R+1)/4 before charge conditioning. The radius affects only the analysis. Fix placement, protected cycle, body permutation, and shared queue. The unweighted proposal factors into independent singletons and complete leg triples, so their character polynomials multiply. An all-degree product bound combines local coefficient bounds with exponential moments of the normalized imbalance of the conditional mean histogram. Changing one latent Gaussian affects only two cycle differences, controlling fluctuations; the queue adds uniformly small drift and is averaged after multiplication. For each summand in the correction average, local operators handle its bounded set of selected groups, including compensators; the product bound controls the remaining endpoints. High moments turn the signed solution into a sampler. Mass one and Fourier cancellation do not ensure positivity, and pointwise closeness to one is unavailable. For each fixed calibration order R and each fixed positive integer moment order p, Proposition 9.6 gives, for sufficiently large L depending on these orders, ∥WR − 1∥2p ≤ CR,p L−3 . Here CR,p depends only on the two fixed orders. The norm uses the uncharged public proposal, uniformly over fixed placements. In the moment expansion, centering kills terms with a control index used only once. The large independent control pools bound the remaining overlaps, transferring coefficient control to high moments even for paired controls (Lemma G.6 and Corollary G.7). Clip WR to [0, 2]. Changed weights satisfy |WR − 1| ≥ 1, so the L1 loss is bounded by the corresponding even moment. All fixed moment orders apply to the same weight at fixed calibration order, making clipping loss negligible uniformly over placements (Corollary 9.8). The protected endpoint channel contracts L1 , giving a nonnegative, unnormalized ambient measure negligibly close to the signed law. Charge and the passage to the zero fiber. Charge is public: cycle increments sum to zero, each leg’s second input cancels at its attachment, and the queue contributes a multiple of q. Conditioning on the public charge congruence therefore selects H0 and restores integral affine offsets without inspecting the source. On this hyperplane, frequencies differing by a multiple of the all-ones vector define the same character. We control the restricted law through the ambient approximation. The ambient uniform law assigns the hyperplane mass exactly 1/q, so restricting and normalizing the nonnegative measure amplifies ambient error by only O(q). For sufficiently large fixed calibration order, the ambient error is o(1/q). Theorem 9.7 then gives clipped charge mass at least 1/(4q) and conditional error OR (qL−(R+1)/4 ) plus a negligible term. Polynomially bounded q preserves the negligibility of clipping. Rejection with the clipped weight and public charge test samples this law. Retaining placement through retries preserves its marginal. Acceptance of order 1/q and a deterministic retry cap give worst-case polynomial time with controlled failure (Lemma H.1). Numerical approximations and fallbacks preserve integrality and modular invertibility on every execution (Section H.5). Conditional local maps, independent closure, and permutations complete the source-independent transport. One public family for every polynomial sample budget. Use the public family and Gaussian source specified below. For each sufficiently large fixed calibration order R, an implementation
10
with numerical budget ϵnum satisfies the bound of Theorem 9.9, for all sufficiently large λ, with CR depending only on the fixed calibration order: ∆(L(Qe + β mod q) , U (FT,0 )) ≤ CR qL−(R+1)/4 + neglR (L) + ϵnum . The terms are the charge-amplified Fourier remainder, the negligible sum of charge-amplified clipping loss and source-protection error, and numerical error. At fixed calibration order, the negligible bound is uniform over placements. One source coupling under the positive public law covers both endpoint disagreement and unsafe carries. For the family below, q = Θ(L64 ). Fix an integer accuracy order c ≥ 1 and choose a fixed calibration order R ≥ 4c + 267. The Fourier term is then OR (L−c−3 ). With ϵnum ≤ 41 L−(c+2) the total error is at most λ−c eventually. The calibration order determines WR and remains fixed as λ grows; the numerical budget may shrink. Both choices leave the public family and source unchanged. For security, first fix this public family and Gaussian source. Given a uniform QPT distinguisher with classical sample access and nonnegligible advantage, fix its polynomial block-count bound t and an inverse-polynomial advantage lower bound on an infinite set of security parameters. By Corollary 5.5, the statistical loss is at most qtλ−c + q −N . Choose one fixed accuracy order making this loss smaller than half that advantage for all sufficiently large parameters in that set. The corresponding uniform PPT sampler’s running-time polynomial may depend on the order. Thus the same LAR family supports every polynomial sample budget; this asserts neither uniform polynomial complexity in inverse accuracy nor negligible error for one fixed-order sampler. The quantum worstcase lattice foundation then yields the TC0 weak PRF and noise-free finite-grid learning hardness under classical random-example access in Section 1.3. These guarantees hold for the explicit family in Section 9.9, which takes q to be the least prime at least 216 L64 and sets N = λ,
σ = L,
ℓ = 1,
d = qL96 + 2L128 .
Thus d = Θ(L160 ), with the remaining choices verified in Section H.4. These conservative exponents reflect coarse bounds chosen to simplify the proof. We believe that a more refined analysis could reduce the modulus and block dimension.
1.3
Applications and Relation to Prior Work
Uniform inputs and nonstandard rounding. The Nearby Learning with Lattice Rounding (NLWLR) problem of Montgomery [Mon18b] provides fully deterministic rounding with polynomial modulus and no predetermined polynomial bound on the number of samples. Its real sampler first chooses a uniform lattice-coefficient vector and a small perturbation, then chooses a matrix constrained so that its product with the secret equals that lattice vector plus the perturbation. Deterministic lattice inversion recovers the coefficient vector, whose reduction modulo two is the label [Mon18b, full version, Section 3.1 and Definition 4.2]. The ideal sampler instead uses uniform matrices and independent uniform binary-vector labels. Thus the real-input interface uses a secret-dependent nearby-lattice sampler; it is not an experiment that draws real public matrices independently and exactly uniformly. Our contribution combines an explicit deterministic quotient-rounding map, exactly uniform secret-independent public matrices, and fixed polynomial parameters supporting every polynomial sample budget. Blockwise rounding records a lattice coset, and the source-independent affine transport preserves the public-matrix law exactly. These structural properties supply the uniform random-example interface used in the weak-PRF and finite-grid learning consequences. 11
Compatibility with lower bounds for ordinary LWR. Newton and Richelson [NR23, Definition 5 and Theorem 2] analyze non-aborting pointwise reductions from LWE to ordinary scalar LWR: a fixed deterministic map acts on each sample separately, with the same dimension and source modulus. For prime polynomial source modulus and their specified range of rounding moduli, such a reduction with polynomial security loss yields an efficient attack on the source LWE problem. Our reduction changes the target to quotient-valued block rounding, uses a source-independent randomized affine transport, and shares randomness across the sample table in the zero-fiber step. It therefore lies outside that reduction model. We do not establish hardness of ordinary scalar LWR with polynomial modulus and unrestricted polynomial sample counts. Weak pseudorandom functions over the field. Rounding-based weak PRFs with TC0 evaluation appear in [BPR12, AKPW13]. Under the worst-case hardness condition above, the direct family in Section 10.2, with a uniformly sampled nonzero key, is a weak PRF on Fd×N with range q 0 Fq . Joint key-and-input evaluation is in TC , with polynomial-time constructible circuits, and each fixed nonzero key has exactly uniform output marginals under uniform inputs. For this same fixed public family, security holds against every uniform QPT adversary receiving classical random examples. Section 10.2 states the security and circuit guarantees; evaluation does not invoke the transport sampler. Ding, Jain, and Komargodski [DJK26] obtain weak and strong PRFs in NC1 from standard LWE with polynomial modulus-to-noise ratio. Our direct quotient-rounding construction is a weak PRF with TC0 evaluation and security for random examples. Noise-free learning. A learner that predicts fresh field labels with an inverse-polynomial improvement over success probability 1/q gives a decisional LAR distinguisher. We also give a concrete representation of the normalized labels by two-hidden-layer ReLU networks on a uniform finite grid, with polynomial size and polynomially bounded rational weights and biases of logarithmic bit length in the input dimension. A uniform QPT learner that, for every target, attains squared loss at most 1/100 with probability at least 2/3 yields the worst-case lattice algorithm above. These guarantees use independent classical noiseless random examples and permit improper hypotheses given by classical descriptions with deterministic classical finite-precision evaluation, as in Section 10.3. The learning-to-distinguishing argument follows the rounding-based approach of Chen, Gollakota, Klivans, and Meka [CGKM22]. Section 10.3 states the precise guarantee, which does not cover arbitrary adaptive label queries. A complementary route to improper learning hardness uses average-case assumptions about refuting random constraint satisfaction problems [DLSS14]. Within lattice-based learning hardness, Li, Zadik, and Zampetakis [LZZ25] study one-hidden-layer ReLU networks under standard Gaussian inputs with polynomially small additive Gaussian label noise. Their setting differs from our uniform finite-grid inputs and noiseless labels. Organization. Sections 2 and 3 give the preliminaries and the formal rounding definitions. Sections 4 and 5 state the generic reductions and explain their distributional mechanisms. Section 6 develops the integer affine geometry. Section 7 gives the common calibration principle; Sections 8 and 9 apply it within the safe affine construction and joint endpoint analysis. Section 10 states the lattice, pseudorandomness, and learning consequences. Each section points to the appendix containing its complete proofs and technical verification.
12
2
Preliminaries
Throughout, residues modulo an integer q ≥ 2 are represented by {0, . . . , q − 1}. For vectors and matrices, this convention is applied entrywise. We use ∥·∥2 for the Euclidean norm, and ev for the standard unit vector at coordinate v in the ambient space under discussion. Sample tables are written as indexed families in braces, retaining repeated entries and the order specified by their indices.
2.1
Lattices
We use the standard lattice terminology of [Pei15, Section 2.1]. Definition 2.1 (Lattice). Let m ≥ 1 be an integer. A lattice Λ ⊆ Rm is a discrete additive subgroup of Rm . Equivalently, for some integer 0 ≤ n ≤ m, there are vectors b1 , . . . , bn ∈ Rm that are linearly independent over R and generate Λ by integer linear combinations. Write B = [b1 | · · · | bn ] ∈ Rm×n . For integer coefficients z1 , . . . , zn , write z = (z1 , . . . , zn )⊺ . Then Λ = L(B) := {Bz : z ∈ Z } = n
( n X
)
zi bi : z1 , . . . , zn ∈ Z .
i=1
The matrix B is a basis matrix of Λ, and its columns form a basis: each point of Λ has a unique coefficient vector in Zn . The rank of Λ is n = dim(SpanR (Λ)), the dimension of its real linear span, and m is its ambient dimension. The lattice is full rank if n = m.
Definition 2.2 (Zero-sum integer lattice). For an integer m ≥ 1, let 1 ∈ Zm be the column vector whose entries are all 1. Define Am−1 := {z ∈ Zm : 1⊺ z = 0}.
2.2
Rounding Matrices
We use the integer Smith normal form and its description of quotient groups as in [Sta16, Section 2]. A square integer matrix is unimodular if its determinant is ±1, equivalently if it has an integer inverse. Definition 2.3 (Rounding Matrix). Let q be an odd prime and let d ≥ 1 be an integer. Write Fq := Z/qZ. Fix an integer 0 ≤ r ≤ d and set ℓ := d − r. An integer matrix T ∈ Zd×d is a rounding matrix of modular rank r if there exist unimodular matrices U, V ∈ Zd×d such that UTV = diag(Ir , qIℓ ). The Smith form connects modular rank to the integer quotient in which rounding outputs are encoded.
13
Lemma 2.4 (Modular rank and image lattice). A rounding matrix as in Definition 2.3 satisfies dimFq ker(T mod q) = ℓ,
rankFq (T mod q) = r,
| det T| = q ℓ . Its image lattice obeys
qZd ⊆ L(T) ⊆ Zd ,
Zd /L(T) ∼ = Fℓq .
For the fixed Smith matrix U, the isomorphism takes the last ℓ coordinates of Uz modulo q. In particular the quotient has q ℓ elements and is nontrivial exactly when ℓ ≥ 1. The proof, including both endpoint ranks, is in Appendix A.2.
2.3
Probability Laws and Conditioning
For a random variable X taking values in a space Ω, write L(X) for its probability law: L(X) (A) = Pr[X ∈ A] for every measurable set A ⊆ Ω. On a finite or countable space all subsets are measurable; on a Euclidean space we use the Borel sets. For a law P on a finite or countable space, write P P(ω) := P({ω}) for its point probability. Thus P(A) = ω∈A P(ω). The point-mass law δω assigns probability one to ω. For laws P and Q, possibly on different spaces, their product P ⊗ Q is the joint law of independent variables X1 ∼ P and X2 ∼ Q. Definition 2.5 (Convolution of probability laws). Let Ω be a finite or countable abelian group written additively, or Rm for an integer m ≥ 1. For probability laws P, Q on Ω, their convolution is P ∗ Q := L(X1 + X2 ) , where X1 ∼ P and X2 ∼ Q are independent. In the finite or countable case, the point probabilities satisfy X (P ∗ Q)(ω) = P(ω ′ )Q(ω − ω ′ ), ω ∈ Ω. ω ′ ∈Ω
Addition and subtraction are the group operations in Ω. In particular, on Z/qZ for an integer q ≥ 2, they are taken modulo q. For the remainder of this subsection, all state spaces are finite or countable. For laws P and Q on the same space Ω, their statistical distance (SD), or total variation distance, is ∆(P, Q) :=
1 X |P(ω) − Q(ω)|. 2 ω∈Ω
A randomized transformation assigns to each input point a probability law on a fixed output space. Applying the same assignment to inputs with laws P and Q produces output laws whose SD is at most ∆(P, Q). A deterministic function is the special case in which each assigned law is a point mass. Definition 2.6 (Coupling). Let P and Q be probability laws on the same finite or countable
14
space Ω. A coupling of these laws is a joint law of a pair (X1 , X2 ) in Ω2 with marginal laws P and Q, respectively. The coordinates need not be independent. Under any such coupling [LP17, Proposition 4.7], ∆(P, Q) ≤ Pr[X1 ̸= X2 ]. For laws P1 , Q1 on one space and P2 , Q2 on another, the product bound is [LP17, Exercise 4.4] ∆(P1 ⊗ P2 , Q1 ⊗ Q2 ) ≤ ∆(P1 , Q1 ) + ∆(P2 , Q2 ) . Iterating this inequality bounds the SD between products of any finite number of laws by the sum of the SDs of corresponding factors. These bounds also apply on countable spaces; the verification is in Section A.3. For A ⊆ Ω with P(A) > 0, the conditional law P(· | A) is a law on the same space Ω, defined by P(A′ | A) :=
P(A′ ∩ A) , P(A)
A′ ⊆ Ω.
It assigns zero probability to Ac := Ω \ A. The cost of conditioning is exactly the discarded probability mass: ∆(P, P(· | A)) = P(Ac ). We call P(· | A) the truncation of P to A; it includes normalization by P(A). If independent variables X1 ∼ P and X2 ∼ Q are jointly conditioned on {X1 ∈ A1 , X2 ∈ A2 }, where P(A1 ) > 0 and Q(A2 ) > 0, their conditional joint law is P(· | A1 ) ⊗ Q(· | A2 ). Thus they remain independent under this conditional law. The same statement holds for any finite number of independent variables, each restricted to a set of positive probability in its own coordinate. These conditioning identities are proved in Section A.3. They let us analyze protected sources by truncation without making the sampler inspect a source realization.
2.4
Finite-Space Densities
Let Ω be a nonempty finite set, equipped with the reference law U (Ω). Write RΩ for the vector space of real functions on Ω, and 1 for the constant function with value one. Unless another law is explicitly specified, probabilities and expectations in this subsection refer to this law. In particular, for a real function f : Ω → R, 1 X Ef := f (ω). |Ω| ω∈Ω For A ⊆ Ω, superscript c denotes its complement in Ω, and 1A (ω) is one when ω ∈ A and zero otherwise. A function f : Ω → R≥0 with Ef = 1 is a probability density relative to the uniform law. It defines a probability law whose point mass at ω is f(ω)/|Ω|. More generally, a real function f defines a signed measure with point mass f (ω)/|Ω|. Its total mass is Ef , which need not be one or nonnegative. For real functions f, g on Ω, define the inner product and supremum norm by ⟨f, g⟩ := E[f g],
∥f ∥∞ := max |f (ω)|. ω∈Ω
For a linear operator between subspaces of real functions on Ω, its ∞ → ∞ norm is the supremum of the output supremum norm over input functions of supremum norm at most one. 15
2.5
Canonical Representatives and Carries
Use the prime field of Definition 2.3. The following notation makes the canonical residue convention explicit. Definition 2.7 (Canonical lift). For an integer d ≥ 1 and x ∈ Fdq , its canonical integer lift [x]q is the unique vector in Zd whose reduction modulo q equals x and whose entries lie in {0, . . . , q − 1}. The same notation applies to scalars and vectors of any dimension. For an integer k, its canonical residue is [k mod q]q and its carry is ⌊k/q⌋. They satisfy k = [k mod q]q + q⌊k/q⌋. The carry is the integer quotient in this decomposition, including when k < 0. These conventions apply coordinatewise to integer vectors. We call an integer in {0, . . . , q − 1} a color.
2.6
Error Distributions and Learning with Errors
For Gaussian errors, we use the discrete Gaussian convention of [GPV08]; see also [Pei15, Section 2.3]. Fix an integer m ≥ 1. For a width parameter σ > 0 and a center c ∈ Rm , define ∥x − c∥22 ρσ,c (x) := exp −π σ2
!
x ∈ Rm .
,
For a nonempty countable set S ⊆ Rm , write ρσ,c (S) :=
X
ρσ,c (y).
y∈S
Definition 2.8 (Discrete Gaussian distribution). If 0 < ρσ,c (S) < ∞, the discrete Gaussian distribution DS,σ,c assigns to each x ∈ S probability DS,σ,c (x) =
ρσ,c (x) . ρσ,c (S)
It assigns zero probability outside S. The strict positivity of the normalizing sum follows from S ̸= ∅. We omit the center when it is zero, writing DS,σ := DS,σ,0 and ρσ := ρσ,0 . Every lattice and every translate of a lattice has finite Gaussian mass for all σ > 0 and all centers, so these sets are valid choices of S. For the integer lattice, the centered distribution factors coordinatewise: DZm ,σ = DZ,σ
⊗m
.
The continuous Gaussian with Lebesgue density σ −m ρσ,c√(x) on Rm has mean c and covariance σ 2 Im /(2π). In one dimension its standard deviation is σ/ 2π. The next inequality bounds the exponential moment of each real linear functional of a discrete Gaussian whose weight is centered at zero [MP12, full version, Lemma 2.8]. It uses the Gaussianwidth convention above and requires no lower bound on the width beyond positivity. 16
Lemma 2.9 (Exponential moments of a centered discrete Gaussian). Let Λ ⊆ Rm be a lattice, let σ > 0, and sample x ←- DΛ,σ . For utest ∈ SpanR (Λ) and t ∈ R, i
h
2 2
2
E et⟨utest ,x⟩ ≤ eσ t ∥utest ∥2 /(4π) . Learning with errors. The LWE problem was introduced by Regev [Reg05]. We use a sharedsecret block formulation: one secret is sampled for the entire collection of blocks. When each error block consists of independent draws from the same scalar error law, this is the usual LWE experiment [Pei15, Section 4.2.1] with scalar samples grouped into blocks. Definition 2.10 (Shared-secret block LWE). Let q be an odd prime, let N, d ≥ 1 be integers, and let χ be a distribution on Fdq . For an integer block count t ≥ 1, draw one secret s ←- U FN q and, independently for i = 1, . . . , t, draw
Ai ←- U Fd×N , q
ei ←- χ,
ui ←- U Fdq .
All these choices are mutually independent and independent of the secret. The real and ideal laws of indexed families of t blocks are
t RealLWE χ,t := L {(Ai , Ai s + ei )}i=1 ,
IdealLWE := L {(Ai , ui )}ti=1 , t where responses are computed in Fdq . A search LWE algorithm receives a draw from the real experiment and succeeds exactly when its output is the sampled vector s. Decisional LWE asks to distinguish the real and ideal laws. For a randomized algorithm D returning a bit, its advantage is LWE Pr[D(RealLWE ) = 1] . χ,t ) = 1] − Pr[D(Idealt
Definition 2.11 (Gaussian LWE). For σ > 0, Gaussian LWE is the specialization of Definition 2.10 to ⊗d χ = DZd ,σ mod q = DZ,σ mod q . The notation modq on a law means its image under coordinatewise reduction from Zd to Fdq (or from Z to Fq in the scalar factor). Equivalently, for every e ∈ Fdq , χ(e) =
ρσ ([e]q + qZd ) . ρσ (Zd )
Here t blocks contain td scalar LWE samples with independent errors. We use this discrete Gaussian convention throughout, rather than rounding a continuous Gaussian to the nearest integer; see [Pei15, Section 4.2.1]. We also consider errors drawn uniformly from the inputs on which a public function is zero. 17
Definition 2.12 (Uniform-zero-fiber LWE). In the setting of Definition 2.10, fix an integer ℓ ≥ 1 and a public function g : Fdq → Fℓq , whose zero fiber n
Fg,0 := g −1 (0) = e ∈ Fdq : g(e) = 0
o
is nonempty. Uniform-zero-fiber LWE associated with g is the specialization of Definition 2.10 to χ = U (Fg,0 ). Uniformity is over the entire fiber, which need not be a linear subspace. Thus every fiber point has probability |Fg,0 |−1 .
3
Learning with Algebraic Rounding Definition 3.1 (Algebraic Rounding). Let q be an odd prime, let d ≥ 1 be an integer, and let T ∈ Zd×d be a rounding matrix of modular rank r, as in Definition 2.3, with output dimension ℓ. The associated algebraic rounding function is ART : Zd −→ Zd , x 7−→ ⌊Tx/q⌋. The product and division inside the floor are computed over Q.
An integer rounded output determines a coset in Zd /L(T) that depends only on the input modulo q. Smith coordinates encode this coset as a label in Fℓq . The corresponding rounding directions translate labels bijectively, giving fibers of equal size. We use these coordinates and directions to define the label function. Fix public Smith matrices U, V as in Definition 2.3. The quotient isomorphism of Lemma 2.4 gives the following coordinate maps. Definition 3.2 (Quotient coordinates). Define the coordinate embedding E and the quotient coordinate matrix P by E :=
0r×ℓ Iℓ
!
∈ Zd×ℓ ,
P := E⊺ U ∈ Zℓ×d .
For z ∈ Zd , Pz extracts the last ℓ coordinates of Uz. Reducing them modulo q labels its quotient coset. The matching columns of V define the rounding directions. Definition 3.3 (Rounding directions). Define the integer rounding direction matrix Jint := VE ∈ Zd×ℓ and its modular reduction J := Jint mod q ∈ Fd×ℓ q . These directions shift the argument of the floor by integer vectors. Its coordinatewise fractional parts therefore remain unchanged, while the rounded output shifts by the same integer vector. The quotient encoding turns this shift into the prescribed label change (Lemma 3.5). 18
For an input in Fdq , first use the canonical integer lift of Definition 2.7, then apply the integer rounding map and reduce its quotient coordinates modulo q. Definition 3.4 (Encoded label function). The encoded label function associated with T and P is defined by fT : Fdq −→ Fℓq , x 7−→ PART ([x]q ) mod q. The notation fT suppresses the fixed choice of P. When ℓ = 0, the label space F0q consists of the single empty vector; the definitions and properties below include this case. Lemma 3.5 (Basic properties of LAR). Under the definitions above, the following properties hold. Well-defined quotient encoding. For all x, z ∈ Zd , ART (x + qz) = ART (x) + Tz. The map z 7→ Pz mod q induces an isomorphism Zd /L(T) ∼ = Fℓq . Consequently, for d x ∈ Fq , fT (x) encodes the quotient output ART ([x]q ) + L(T) and is unchanged if another integer lift is used. Translation equivariance. The matrix J has full column rank over Fq , and its columns form a basis of ker(T mod q). For all x ∈ Fdq and a ∈ Fℓq , fT (x + Ja) = fT (x) + a. All operations in this identity are over Fq . Balanced fibers. For every label y ∈ Fℓq , its fiber, the set of inputs mapped to that label, satisfies n o x ∈ Fdq : fT (x) = y = q r . The complete proof is in Appendix A.5. The Smith coordinates make integral changes of lift disappear in the quotient. Their rounding directions then translate each label once along every kernel coset, which gives balanced fibers. If ℓ = 1 and the chosen Smith decomposition satisfies P = 1⊺ , where 1 ∈ Zd is the all-ones vector, then d X (T[x]q )j fT (x) = mod q (x ∈ Fdq ). q j=1 Thus in this case the label is a single field element obtained by summing the integer rounded coordinates.
3.1
Decisional LAR assumption
Fix a family of public parameters pp = pp(λ) indexed by an integer security parameter λ ≥ 1. A fixed deterministic algorithm computes pp(λ) from the unary input 1λ in time polynomial in λ. 19
These parameters specify the prime q, the integer dimensions N, d, r, ℓ, the rounding matrix T, and the chosen Smith matrices U, V, hence also P and fT . Require N ≥ 1 and ℓ ≥ 1. The dimensions and the binary encoding length of pp are polynomially bounded in λ. The parameter family is fixed before the sample-count function and the adversary are chosen. A nonnegative function of λ is negligible if, for every constant c > 0, it is at most λ−c for all sufficiently large λ. We first define the real and ideal LAR distributions. Definition 3.6 (Real and ideal LAR distributions). For an integer sample count t ≥ 1, draw one secret s ←- U FN q . Independently of that secret and independently for each i = 1, . . . , t, draw Mi ←- U Fd×N , u ←U Fℓq i q with the matrices and uniform labels mutually independent. The real LAR distribution and the ideal LAR distribution are the following laws of indexed families of t samples:
RealLAR := L {(Mi , fT (Mi s))}ti=1 , t
IdealLAR := L {(Mi , ui )}ti=1 . t The products Mi s are computed over Fq before applying fT . Conditional on the single sampled secret, the real samples are independent; their unconditional joint law averages over that same secret. In the ideal law, the matrices and labels are all independent. Definition 3.7 (Decisional LAR assumption). For a uniform QPT distinguisher D on classical inputs, define its decisional advantage by AdvdLAR (λ, t) := Pr[D(1λ , pp, RealLAR ) = 1] D t − Pr[D(1λ , pp, IdealLAR ) = 1] . t The parameter family satisfies the decisional LAR assumption if this advantage is negligible in λ for every such D and every positive integer-valued sample-count function t = t(λ) bounded by a polynomial in λ. This is the decisional LAR assumption against QPT adversaries. Restricting the same definition to PPT adversaries gives its classical version. Lemma 3.8 (Information-theoretic identifiability). Fix public parameters as in Definition 3.6, with ℓ ≥ 1, and let t ≥ 1 be an integer. Let M1 , . . . , Mt be independent and uniform on Fd×N . q t For every fixed s ∈ FN , the examples {(M , f (M s))} uniquely determine s with probability i T i q i=1 at least 1 − (q N − 1)q −ℓt . The proof and recovery procedure are in Section A.6.
20
4
From Uniform-Zero-Fiber LWE to Decisional LAR
To establish the decisional LAR assumption from uniform-zero-fiber LWE hardness, we use a decomposition of each input into its encoded label and a residual in the zero fiber. Fix a public parameter family as in Section 3.1. For each security parameter, write n
o
−1 FT,0 := fT (0) = e ∈ Fdq : fT (e) = 0 .
By the balanced-fiber property in Lemma 3.5, |FT,0 | = q r = q d−ℓ , so each point has probability q −r under U (FT,0 ). In particular, this set is nonempty. Set χ := U (FT,0 ), the error law in Definition 2.12 for g = fT . Membership in this zero fiber means that the encoded label is zero; it does not require (T mod q)e = 0. Define the zero-fiber decomposition map by ΦT : FT,0 × Fℓq −→ Fdq , (e, y) 7−→ e + Jy. All operations are over Fq . Lemma 4.1 (Zero-fiber decomposition). The zero-fiber decomposition map ΦT defined above is a bijection. For every x ∈ Fdq , its inverse is given by Φ−1 T (x) = x − JfT (x), fT (x) .
Proof. For every e ∈ FT,0 and y ∈ Fℓq , translation equivariance in Lemma 3.5 gives fT ΦT (e, y) = fT (e + Jy) = fT (e) + y = y.
Thus the image uniquely determines y; subtracting Jy then recovers e. Hence ΦT is injective. Conversely, fix any x ∈ Fdq and set y := fT (x) and e := x − Jy. Applying the translation equivariance of Lemma 3.5 with offset −y yields fT (e) = fT (x − Jy) = fT (x) − y = 0. Therefore e ∈ FT,0 , and ΦT (e, y) = x. This proves surjectivity and the stated inverse formula.
ℓ By Lemma 4.1, if x ←- U Fdq , then Φ−1 T (x) is uniform over FT,0 × Fq . Consequently, its
residual x − JfT (x) and label fT (x) are independent and uniformly distributed over FT,0 and Fℓq ,
respectively. Conversely, independent draws e ←- U (FT,0 ) and y ←- U Fℓq give a uniform vector e + Jy in Fdq whose label is y. For any classical or quantum algorithm B with classical input and a classical output bit, define its advantage on these block LWE experiments by λ LWE AdvLWE B (λ, t) := Pr[B(1 , pp, Realχ,t ) = 1]
− Pr[B(1λ , pp, IdealLWE ) = 1] . t
21
Theorem 4.2 (From uniform-zero-fiber LWE to decisional LAR). Fix an efficiently computable public parameter family as in Section 3.1, and set χ = U (FT,0 ). For every uniform QPT distinguisher D on classical sample tables and every positive integer-valued sample-count function t = t(λ) bounded by a polynomial in λ, there is a uniform QPT distinguisher B using t input blocks and one call to D such that −N AdvdLAR (λ, t) ≤ q AdvLWE . D B (λ, t) + q
Proof sketch. First consider exact uniform auxiliary choices. The reduction samples one uniform ℓ vector a0 ∈ FN q shared across blocks and independent uniform labels yi ∈ Fq , all independently of the input. Given input blocks (Ai , bi ), it outputs (Mi , yi ) with the rank-one update Mi := −Ai + (bi + Jyi )a0⊺ . All arithmetic is over Fq . For real input, bi = Ai s + ei . Set xi := ei + Jyi . By Lemma 4.1, these vectors are independent and uniform over Fdq , independent of the input matrices, secret, and a0 , with fT (xi ) = yi . Substitution gives the identity Mi = −Ai (IN − sa0⊺ ) + xi a0⊺ . Hence, whenever a0⊺ s = 1,
Mi s = xi ,
fT (Mi s) = yi .
For each fixed secret and auxiliary vector satisfying this alignment condition, the update is a surjective linear map of the independent uniform input matrix and vector, so the output matrices are independent and uniform. Averaging over aligned choices yields the real LAR table conditioned on a nonzero secret. Otherwise, det(IN − sa0⊺ ) = 1 − a0⊺ s ̸= 0. Conditional on the vectors xi , the update is then an affine bijection in each input matrix, so the output matrices and labels have exactly the ideal product law. For every nonzero secret, the alignment event a0⊺ s = 1 has probability 1/q. Thus the transformed real LWE table mixes the nonzero-secret real LAR law with the ideal law, with real-branch weight (1 − q −N )/q. Ideal LWE input maps exactly to the ideal LAR law. Comparing these mixtures gives the factor q in the advantage bound; the zero-secret event accounts for the additive q −N allowance. Capped rejection sampling implements the auxiliary choices in worst-case polynomial time. Its error fits within the unused portion of the zero-secret allowance, retaining the stated bound. The reduction prepares a classical table and calls D once, so it remains uniform QPT. The full game-based proof, including the exact mixture identities and sampling-error budget, is deferred to Appendix A.7.
5
From Gaussian LWE to Uniform-Zero-Fiber LWE
A sufficiently accurate source-independent affine transport reduces Gaussian LWE to uniform-zerofiber LWE. We state the transport property and prove the generic reduction under that hypothesis. Section 9 constructs the transport for the public rounding family used in this paper.
5.1
T-adapted affine fiber transport
Retain the public rounding matrix T, its quotient encoding, and the zero fiber FT,0 from Section 4, with ℓ ≥ 1. Let χ be a source distribution on Fdq . 22
Definition 5.1 (T-adapted affine fiber transport). Fix an accuracy δ = δ(λ) ∈ [0, 1]. A δaccurate T-adapted affine fiber transport (T-AFT) for χ is a pair AFTT = (Sample, Eval) of uniform classical PPT algorithms with access to the fixed public modulus, dimensions, and quotient encoding. The evaluator Eval is deterministic. Their input/output interfaces are: • Sample(1λ , T, χ, δ) → (Q, β): uses only public descriptions and fresh randomness to return Q ∈ Zd×d and β ∈ Zd . Its code and worst-case running-time polynomial in λ may depend on the designated accuracy. • Eval(Q, β, x) → x′ : takes the integer matrix and offset and an input x ∈ Fdq , and returns x′ ∈ Fdq . The algorithms satisfy: Affine evaluation. For all Q ∈ Zd×d , β ∈ Zd , and x ∈ Fdq , Eval(Q, β, x) = Qx + β mod q ∈ Fdq . Invertibility. Every output of Sample satisfies Q mod q ∈ GLd (Fq ). Fiber transport. For independently sampled (Q, β) ←- Sample(1λ , T, χ, δ),
e ←- χ,
∆(L(Eval(Q, β, e)) , U (FT,0 )) ≤ δ. The transport is exact if δ = 0. The accuracy is designated before choosing the algorithm; the notation does not require uniform complexity across all accuracies. Exact transport obeys the same worst-case running-time bound. The sampler may equivalently return the matrix and offset modulo q. We retain integer representatives for the construction, while the following LWE experiments operate over Fq . Lemma 5.2 (Basic properties of T-AFT). Let AFTT = (Sample, Eval) be a δ-accurate T-AFT for χ. Sample A ←- U Fd×N , e ←- χ, q (Q, β) ←- Sample(1λ , T, χ, δ) independently, and set A′ := QA and e′ := Eval(Q, β, e). Then A′ is exactly uniform over Fd×N and independent of e′ , and q ∆ L e′ , U (FT,0 ) ≤ δ.
If u ←- U Fdq is independent of the joint choice of A and (Q, β), then
L(QA, Eval(Q, β, u)) = U Fd×N × U Fdq . q Proof. Condition on (Q, β, e). Multiplication by the fixed invertible matrix Q is a bijection on 23
Fd×N . Thus the conditional law of A′ is uniform and does not depend on the conditioning variables. q Averaging shows that A′ is uniform and independent of (Q, β, e), hence also of e′ . The error bound is the transport guarantee of Definition 5.1. For the last property, condition on (Q, β). The two maps A 7→ QA and u 7→ Qu + β are bijections. They act separately on independent uniform inputs, so their outputs have the stated product law, independently of the conditioned pair. Averaging proves the claim even when Q and β are correlated.
5.2
Gaussian errors and the reduction
Write χG for the error law of Definition 2.11. A Gaussian T-AFT is a T-AFT for this source. Definition 5.3 (Fixed-order Gaussian T-AFT). Fix an efficiently computable public parameter family as in Section 3.1, augmented by a positive Gaussian width σ = σ(λ) included in pp. This fixed family admits fixed-order Gaussian T-AFTs if, for every fixed integer c ≥ 1, there is a uniform classical PPT sampler Samplec satisfying the algebraic requirements of Definition 5.1 at every security parameter, with ∆(L(Eval(Q, β, e)) , U (FT,0 )) ≤ λ−c for all λ ≥ λ0 (c), where (Q, β) ←- Samplec (1λ , pp) and e ←- χG independently. The runningtime polynomial and threshold may depend on c. We also call this property arbitrary fixed inverse-polynomial accuracy. Choosing the accuracy order. After fixing a hypothetical uniform QPT distinguisher and polynomial bounds on its block count and inverse advantage, choose one fixed c so that the accumulated transport error is smaller than that advantage. This chooses a sampler Samplec , not a new public parameter family or Gaussian source. No single sampler taking the order as input is required. The reduction runs at every security parameter without computing λ0 (c). Theorem 5.4 (Gaussian LWE to uniform-zero-fiber LWE). Fix an efficiently computable public parameter family as above. Suppose the family admits fixed-order Gaussian T-AFTs as in Definition 5.3. For every fixed positive integer c, every uniform QPT distinguisher D on classical sample tables, and every polynomially bounded block count t = t(λ), using Samplec yields a uniform QPT reduction Bc with AdvUZF-LWE (λ, t) ≤ AdvGauss-LWE (λ, t) + tλ−c D Bc for all sufficiently large λ. The reduction uses t input blocks and one call to D. Since the family admits such transports for every fixed accuracy order, Gaussian decisional LWE hardness against uniform QPT distinguishers on classical inputs for every polynomial block count implies the same hardness for uniform-zero-fiber LWE with this fixed public family. Proof sketch. Fix c and its sampler Samplec . For each input block, sample a fresh transport pair independently of the entire input experiment and apply the transformation (Ai , bi ) 7−→ (Qi Ai , Qi bi + βi ) 24
over Fq . On real Gaussian input this preserves the shared secret and replaces each error by its affine transport. Conditional on the shared secret, Lemma 5.2 makes the entire transformed matrix table exactly uniform and independent of the transported errors. The error law in each block, averaged over both the Gaussian source and its independently sampled transport pair, is within λ−c of U (FT,0 ). Independence across blocks gives total statistical distance at most tλ−c from the real uniform-zero-fiber table, also after averaging over the shared secret. On ideal input, modular invertibility preserves exactly the product law of independent uniform matrices and responses. The reduction prepares the transformed classical table and invokes D once. Statistical distance bounds the resulting acceptance gap even for quantum postprocessing, giving the stated inequality. For fixed c, this procedure is uniform QPT at every security parameter; the distance bound holds for all sufficiently large λ as in Definition 5.3. The full game-based proof is deferred to Appendix A.8. Composition with the rounding reduction. The two reductions preserve the sample count and the fixed public family. Their quantitative losses combine as follows. Corollary 5.5 (Gaussian LWE to decisional LAR). Under the hypotheses of Theorem 5.4, for every fixed positive integer c, every polynomially bounded t, and every uniform QPT distinguisher D on classical sample tables, there is a uniform QPT reduction Bc such that, for all sufficiently large λ, AdvdLAR (λ, t) ≤ q AdvGauss-LWE (λ, t) + qtλ−c + q −N . D Bc The reduction uses t source blocks and invokes D once. If q is polynomially bounded, q −N is negligible, and Gaussian decisional LWE is hard against uniform QPT distinguishers on classical inputs for every polynomial block count, then decisional LAR is hard against such distinguishers for every polynomial sample count for the same family. Proof. Apply Theorem 4.2 to D, then apply Theorem 5.4 to the resulting uniform-zero-fiber distinguisher. Substitution yields the advantage bound of Corollary 5.5. Each reduction preserves the number of blocks and makes one call to its downstream distinguisher. Their composition is uniform QPT, with classical preprocessing and one invocation of D on a classical table. If the LAR advantage is at least 1/p(λ) infinitely often, choose fixed a, b, cadv bounding q, t, p by the corresponding powers of λ. Taking c > a + b + cadv + 2 makes the statistical term at most 1/(4p(λ)) eventually, while negligibility gives the same bound for q −N . The Gaussian advantage is then at least 1/(2qp(λ)) infinitely often, contradicting Gaussian LWE hardness. The parameter family is fixed first, followed by the hypothetical distinguisher and its polynomial bounds, then by one fixed accuracy order and its sampler. The reduction runs at every security parameter and need not compute the accuracy threshold. For the concrete family, Theorem 9.9 supplies the transport hypothesis. The following sections develop that construction. Both reductions remain uniform classical PPT when their downstream distinguisher is classical PPT.
6
Zero-Fiber Geometry and Affine Matrix Realization
We express affine transport as an integer incidence map and reduce its distributional guarantee to endpoint uniformity and carry safety. A fixed rounding matrix identifies the relevant image lattice; 25
a tree incidence basis then supplies integral affine maps with invertible linear parts modulo q.
6.1
Graph Interpretation
All vectors are columns, and a matrix acts from its input columns to its output rows. We represent affine transport in the image lattice as integer loads on the vertex set V := {1, . . . , d}. Rows of an integer matrix correspond to vertices, and each nonzero column represents a signed, integerweighted hyperedge: positive entries are tail incidences, negative entries are head incidences, and their absolute values are the incidence weights. These columns need not have zero sum, and either the tail or head set may be empty. Appendix B records the full graph conventions. Definition 6.1 (Incidence representation of affine transport). Fix the rounding matrix T and a transport pair (Q, β) satisfying the exact algebraic requirements of Definition 5.3. Its incidence representation is the pair DT := TQ ∈ Zd×d ,
z0 := Tβ ∈ Zd .
For an integer representative x ∈ Zd of the source input, the associated vertex load is w := DT x + z0 = T(Qx + β). Each source coordinate gives the coefficient of one hyperedge, and z0 is the initial vertex load. For the construction, we choose a tree incidence basis, mix the source coordinates before applying it, and append a charge-injection column. The image-lattice constraints ensure that solving these incidence equations gives integral affine data. For the fixed rounding matrix below, Corollary 6.8 reduces these constraints to total charge and the mixer determinant. Ordinary directed edges supply charge-neutral updates: their incidence columns have +1 at the tail and −1 at the head, so each column sums to zero. Let 1 ∈ Zd denote the all-ones vector, and write Ad−1 for the zero-sum integer lattice of Definition 2.2 in dimension d. The following standard fact lets us parametrize every such update using a tree. Lemma 6.2 (Tree incidence basis). Let T be a tree on d vertices with an arbitrary orientation. It has d − 1 edges, and the columns of its signed incidence matrix DT form an integral basis of Ad−1 . In particular, DT Zd−1 = Ad−1 , rankR (DT ) = d − 1. The leaf-elimination proof is given in Appendix B.1.
6.2
Zero-Fiber Geometry
For a load w ∈ L(T), define its canonical carry by k :=
w ∈ Zd . q
The load’s membership in the image lattice guarantees an integral preimage. Reduction modulo q retains the load’s remainders as endpoint colors and discards its integer quotients, which form the carry. The label of the preimage modulo q is Pk mod q; the zero fiber requires this label to vanish. The criterion in Lemma 6.6 below permits nonzero carries, which is essential when off-body 26
loads wrap around. Canonical loads in the box [0, q)d have zero carry and supply the endpoint parametrization. We now specialize to a rounding matrix built from a path incidence matrix and a column that injects charge at q vertices. This rounding matrix remains fixed throughout the subsequent tree-incidence transport construction. Definition 6.3 (Charge distribution and simultaneous injection). Let q be an odd prime and let d ≥ q be an integer. Write e1 , . . . , ed for the standard basis of Zd . Define Dd := [e1 − e2 | · · · | ed−1 − ed ], v0 :=
q X
T := [Dd | v0 ] ∈ Zd×d .
ej ,
j=1
We use the scalar quotient encoding
P := 1⊺ .
The path columns redistribute charge, while the last column injects one unit at each of the first q vertices: 1⊺ Dd = 0⊺ , 1⊺ v0 = q. The image lattice of T consists precisely of the integer vectors whose coordinate sum is divisible by q. Equivalently, it is the preimage of the zero-sum hyperplane in Fdq under reduction modulo q. Lemma 6.4 (Image lattice and Smith normal form). Let T be the matrix from Definition 6.3. Its image lattice is L(T) =
z ∈ Zd :
d X
zj ≡ 0
(mod q) .
j=1
This lattice has index q in Zd , and the Smith normal form of T is diag(Id−1 , q). Consequently, T is a rounding matrix with r = d − 1 and ℓ = 1 in the sense of Definition 2.3. The proof is in Appendix B.2. The coordinate-sum map identifies the quotient and its scalar encoding. For this rounding matrix, define the zero-sum hyperplane n
o
H0 := w̄ ∈ Fdq : 1⊺ w̄ = 0 . By Lemma 6.4, the image lattice L(T) = TZd is precisely the integer preimage of H0 under reduction modulo q. In particular, canonical lifting identifies H0 with L(T) ∩ [0, q)d . The preceding observation therefore defines the canonical endpoint pullback cT : H0 −→ FT,0 , w̄ 7−→ T−1 [w̄]q mod q. Here T−1 is taken over Q before reduction modulo q; its product with [w̄]q ∈ L(T) is integral.
27
Lemma 6.5 (Canonical parametrization of the zero fiber). The map cT is a bijection from H0 onto FT,0 , with inverse c−1 x ∈ FT,0 . T (x) = T[x]q mod q, The proof in Appendix B.3 verifies the two inverse maps. Canonical representatives identify the finite hyperplane with the zero fiber. The bijection in Lemma 6.5 transfers uniformity and statistical distance, but need not preserve affine structure. The following lemma bounds the distance of an affine output to uniform on FT,0 by its endpoint distance to uniform and the probability that its carry lies outside the image lattice. Lemma 6.6 (Endpoint and carry bound for affine transport). Let T be the matrix from Definition 6.3, and let x ←- χG . Sample (Q, β) ∈ Zd×d ×Zd independently of x, with Q mod q ∈ GLd (Fq ). Use the incidence load of Definition 6.1 at the canonical source lift [x]q , and its carry as defined in Section 6.2. Define the output and endpoint by x′ := (Q[x]q + β) mod q, w̄ := w mod q = Tx′ mod q ∈ H0 . Then
/ L(T)]. ∆ L x′ , U (FT,0 ) ≤ ∆(L(w̄) , U (H0 )) + Pr[k ∈
The distributions and probability are over both the transport data and the Gaussian source. The exact pointwise criterion is x′ = cT (w̄)
⇐⇒
k ∈ L(T)
⇐⇒
1⊺ k ≡ 0
(mod q).
The proof is in Appendix B.4. The carry measures exactly the discrepancy between an affine output and the canonical pullback of its endpoint. Coupling these two outputs reduces the distributional question to the displayed endpoint and carry terms.
6.3
General Tree-Incidence Transport
For the rest of this paper, fix the rounding matrix T of Definition 6.3. Let T be any oriented spanning tree on V . Its signed incidence matrix is an integral basis for charge-neutral motion by Lemma 6.2. The following extension determines the effect of adjoining a column of nonzero total charge, independently of the shape of the tree. Lemma 6.7 (Determinant of an extended tree incidence matrix). For any oriented tree T on d vertices with signed incidence matrix DT ∈ Zd×(d−1) and any integer column v ∈ Zd , |det[DT | v]| = |1⊺ v| . The proof is in Appendix B.5. Appending one charge column measures the index of the resulting lattice in Zd . This gives the determinant formula independently of the tree shape.
28
Corollary 6.8 (General tree-incidence transport). Let T be any oriented spanning tree, let Redge ∈ Z(d−1)×(d−1) , and let v ∈ Zd satisfy 1⊺ v = q. Define the extended incidence basis and source-coordinate mixer by DT := [DT | v],
R := diag(Redge , 1),
DT := DT R ∈ Z
d×d
.
Let the integer affine baseline and public closure offset together form z0 ∈ Zd with 1⊺ z0 ≡ 0 (mod q), and set Q := T−1 DT , β := T−1 z0 . Then | det DT | = q, DT Zd ⊆ L(T), and z0 ∈ L(T). Consequently Q ∈ Zd×d and β ∈ Zd , with det DT = ±q det Redge , det Q =
det DT det R = ± det Redge . det T
Every integer input x ∈ Zd gives w := DT Rx + z0 ∈ L(T),
w mod q ∈ H0 .
If det Redge ̸≡ 0 (mod q), then Q mod q ∈ GLd (Fq ). The tree columns have total charge zero, while the extra column has total charge q. The extended incidence basis therefore has determinant of absolute value q, matching that of T. Pulling back through T−1 cancels this common factor and leaves the mixer determinant, up to sign. Appendix B.6 verifies integrality and this determinant identity. The extended incidence basis is singular modulo q. The invertibility conclusion concerns the integral quotient Q = T−1 DT : compute its determinant over the integers before reducing modulo q.
6.4
Probabilistic Requirements for Fiber Transport
Corollary 6.8 supplies the algebraic part of fiber transport. Fix a public parameter family and, for each fixed positive integer c, an admissible sampler Samplec (1λ , pp) satisfying the exact algebraic, source-independence, and computational requirements of Definition 5.3. With the endpoint and carry of Lemma 6.6, it remains to prove nonnegative error bounds ∆(L(w̄) , U (H0 )) ≤ εend , Pr[k ∈ / L(T)] ≤ εcarry , εend + εcarry ≤ λ−c . These estimates must hold for every λ ≥ λ0 (c), with laws averaged jointly over the public sampler and independent Gaussian source. The error terms may depend on the fixed accuracy order and security parameter. The endpoint-and-carry lemma then gives the fiber-transport accuracy required by Definition 5.3. The next section gives a common finite-dimensional probability calibration principle. The affine construction and joint endpoint analysis in Sections 8 and 9 apply it twice while establishing these endpoint and carry estimates for the fixed rounding matrix and source. 29
7
Finite-Dimensional Probability Calibration
We choose weights on public choices so that their outputs satisfy specified probability constraints. In the local application (Section 8.5.4), the choices are affine maps and the constraints prescribe color probabilities at every protected input. In the joint application (Section 9.6), the choices are public controls and the constraints prescribe Fourier coefficients after averaging the protected source. In both cases the unknown weight uses only public data. We compare the actual response to a solvable reference response; a small perturbation then permits stable inversion. Neumann inversion. Let V be a finite-dimensional real normed space, with identity I, and let A : V → V be linear. If its defect K := I − A satisfies ∥K∥V →V ≤ κ < 1, the Neumann series converges in operator norm and gives A−1 =
X
Kk ,
∥A−1 ∥V →V ≤
k≥0
1 . 1−κ
Once an application constructs such a response and bounds its perturbation, stable solvability follows. Finding such a linear response. Let (Ω, µ) be the reference probability space of public choices. A linear synthesis map Ψ : V → L1 (µ) turns coefficients into weights. A linear map M records their constraints in a real vector space Y , and a linear map E : V → Y specifies the reference response. We seek a weight whose response is the prescribed Eτ . Factoring the actual response through E reduces calibration to a coefficient equation. The theorem bounds its correction by the residual of any reference coefficient z0 . Theorem 7.1 (Stable finite-dimensional calibration). Suppose an explicit linear operator A : V → V satisfies MΨ = EA, ∥A − I∥V →V ≤ κ < 1. For every specified τ ∈ V , there is a unique solution z of Az = τ , and w = Ψz satisfies M(w) = Eτ . For every reference z0 ∈ V , ∥z − z0 ∥V ≤
∥τ − Az0 ∥V . 1−κ
If the constraints include total mass and the target mass is one, then Eµ w = 1. Uniqueness concerns the full coefficient equation; neither M nor E need be invertible. Efficient finite computation additionally requires dimension, precision, and inverse-gap bounds. Proofs are in Section A.9. Probability interpretation. Weighted expectations M(w)j = Eµ [whj ] give linear constraints when the products are integrable; h0 = 1 records total mass. For local calibration these tests record colors at a fixed protected input. For joint calibration they are conditional expectations of the real and imaginary parts of endpoint characters, averaging the protected source and remaining channel randomness given the public choices. This averaging defines the response; evaluating the synthesized weight requires no hidden input. 30
Nonnegative weights. Mass one gives a signed law. A pointwise lower bound can establish nonnegativity directly; high-moment bounds instead support clipping to an approximate probability law. Corollary 7.2 (One-sided pointwise positivity). Under the hypotheses of Theorem 7.1, suppose V is a function space with the supremum norm. The solution coefficient is then itself a function, written f = z = A−1 τ ; the public weight is Ψf . We have inf f ≥ inf τ −
κ∥τ ∥∞ . 1−κ
In particular, if τ = 1 − h, sup h ≤ a and ∥h∥∞ ≤ b, then f ≥1−a−
κ(1 + b) . 1−κ
For a support set S ⊆ Ω, masked synthesis means Ψf = 1S f . This weight vanishes outside S. If f ≥ 0 on S and the masked weight has calibrated expectation one under µ, it is a probability density relative to µ.
Corollary 7.3 (High moments and bounded clipping). For a real integrable weight W , put Vclip = clip[0,2] (W ) = min{2, max{0, W }} and δclip = Eµ |W − Vclip |. For every integer p ≥ 1, 0 ≤ Vclip ≤ 2, Consequently,
|W − Vclip | ≤ |W − 1|2p .
δclip ≤ Eµ |W − 1|2p .
A small coefficient correction need not keep the public weight pointwise close to one. To control clipping, we instead bound a high moment of the weight correction under the reference law. Suppose W = Ψz and Ψz0 = 1. For an integer p ≥ 1, assume ∥Ψv∥L2p (µ) ≤ C2p ∥v∥V on a subspace Vcorr containing z − z0 . Since W − 1 = Ψ(z − z0 ), this bound converts the coefficient estimate in Theorem 7.1 into a moment estimate for the public weight. Applying Corollary 7.3 gives C2p ∥τ − Az0 ∥V 2p δclip ≤ . 1−κ This bounds the expected change in the public weight caused by clipping, before conditioning and normalization.
8
Chameleon-Lobster Family with Safe Local Sampling
The construction starts from the canonical arrangement in Figure 2. The horizontal path is the body, each leg adds two off-body vertices, and the highlighted queue is a set of body vertices that receive one shared scalar. Solid edges form a tree; the dashed enclosure denotes the additional queue hyperedge. 31
Body
Leg (three vertices)
Queue (q = 3) Dashed enclosure: one hyperedge
Figure 2: The canonical lobster-tree construction with q = 3. Solid edges form the underlying tree: the body is the horizontal path, and each leg adds two vertices to a body vertex. The three highlighted vertices at the tail form the queue; the four remaining body vertices are available for later calibration. The dashed enclosure represents the additional hyperedge supported on the queue. We specialize the tree-incidence construction of Section 6 to this graph and safe local sampling laws. Given an admissible public-core sampler, Lemma 8.20 supplies integral, source-independent affine data, modular invertibility, and a Gaussian tail bound on carry failure. The joint calibration in Section 9 chooses the core law to make endpoints nearly uniform, completing the fixed-order Gaussian T-AFT guarantee of Definition 5.3. The local and joint calibrations both use Theorem 7.1; the construction here provides their support and source-independence guarantees.
Construction Roadmap and Invariants Recall the interface of Section 6.4. For x ←- DZd ,σ , with e = x mod q, sample public affine data (Q, β) independently of the source. We require integrality, invertibility of Q modulo q, and carry safety on protected inputs. With the endpoint and carry of Lemma 6.6, that lemma gives ∆(L(Qe + β mod q) , U (FT,0 )) ≤ ∆(L(w̄) , U (H0 )) + Pr[k ∈ / L(T)]. This section bounds the carry term and prepares the endpoint term for Section 9. An arbitrary admissible core law need not make endpoints nearly uniform. Closing the body path gives all body increments the same marginal law while keeping their sum zero. Each leg adds control over a primary color through a safe public affine map; the dependence of the off-body pair’s total load on its second hidden input is canceled by the attachment’s increment. Tree increments alone cannot change the total load, so the queue supplies the missing direction by adding one shared scalar to q vertices. The baseline’s public charge congruence ensures that the complete offset has an integer preimage under T. The component laws are defined in Definitions 8.2, 8.10 and 8.13 and Section 8.6. The joint placement fixes disjoint attachments and queue vertices. An independent body permutation moves the cycle, and an independent final permutation relabels the complete load. These operations retain the cycle, leg, and queue dependencies; the endpoint analysis must therefore control their joint law. The affine validity and carry arguments appear in Propositions 8.17 and 8.19, with bounded implementation in Lemma 8.20.
8.1
Geometry and Placement
Let q be an odd prime. Choose the body size nB and the number g of labeled legs so that d = nB + 2g,
nB > q + 2g. 32
The graph has the following components, illustrated in Figure 2. • The body is a path on an ordered vertex set B of size nB . • For 1 ≤ j ≤ g, labeled leg j is a two-edge path with vertex order (vLj , vMj , vRj ). The primary vertex vLj and companion vertex vMj lie outside the body; the attachment vRj lies in B. The legs have disjoint off-body vertices and distinct attachments. • The queue is a set SQ ⊂ B of q vertices, disjoint from the attachments. It supports one additional hyperedge that adds the same scalar to every queue vertex. The body path and the two edges of each leg form a spanning tree with d−1 edges. In the canonical arrangement, the attachments are the first g body vertices in labeled order, and the queue consists of the last q body vertices. The strict inequality in Section 8.1 leaves additional body vertices for the calibration controls of Section 9.2. The following three public permutations place these components and relabel the resulting load. 1. Jointly place the legs and queue. A uniform body permutation Pplace places the queue set and labeled attachments on disjoint vertices. The resulting joint placement ξ consists of the queue set and the ordered tuple of labeled attachments, retaining only these images of the permutation. 2. Independently place the body cycle. The path will be closed by an independent public Gaussian offset at its two endpoints, as defined in Definition 8.2. A uniform body permutation PB , independent of the placement, initial-load sampling, and Gaussian inputs, moves the path and its closure together. It leaves the attachments and queue fixed. 3. Relabel the complete load. An independent uniform permutation Pglob acts on the entire vertex load, including its initial configuration and all increments. The calibrated sampler postpones the body and final permutations until the other public sampling steps are complete. Rejection sampling keeps ξ fixed; the complete sampling order and independence conditions are in Section 9.2. The final permutation preserves the image lattice and carry condition because both depend on coordinate sums. Conditional on the endpoint histogram, it makes all arrangements of that histogram equally likely.
8.2
The Affine Realization Matrix
The affine family uses one shared baseline and three increment blocks. The public core specifies the body centers, leg shifts, and marks, where each mark is a target primary color and a mixing weight. Given this core, each leg samples a flag and a complete affine map. The same map supplies the baseline intercept and the two mixer coefficients; these quantities must retain their joint law. The deterministic baseline assembly is defined in Definition 8.1, and Section 8.7 specifies the admissible joint sampling laws. The independent public Gaussian closure contributes to the offset. To evaluate the affine map, first mix the source coordinates and use the incidence columns to place the resulting increments on vertices. Add the sampled baseline and closure offset in these vertex coordinates, relabel the complete load, and apply T−1 to return to the rounding input coordinates. The formulas below separate the linear part from the offset, retaining their shared public randomness.
33
The placement ξ of Section 8.1 determines the embedding Ej : Z3 → Zd in the leg vertex order fixed above. Write EB : ZnB → Zd for zero extension from the body. Order the hidden source blocks as xB x L,1 . xB ∈ ZnB −1 , xL,j ∈ Z2 , ←- D d , . x= Z ,σ . xQ ∈ Z, d = (nB − 1) + 2g + 1. xL,g xQ The fixed local directions, public leg mixers, and queue column are DB = [e1 − e2 | · · · | enB −1 − enB ], 1 0 DL = −1 −1 , 0 1
RL,ωj =
cej 0
!
X Cej , DQ = ev . 1 v∈S Q
The mixer entries are the canonical integer lifts of the nonzero scale and shear in Definition 8.7, sampled by the safe law of Section 8.5. The independent body permutation acts only on the path and closure; the closure Gaussian of Definition 8.2 is independent of the source and core. Before the independent final permutation Pglob , define Dξ (PB ) := [EB PB DB | E1 DL | · · · | Eg DL | DQ ], Rsrc := diag(InB −1 , RL,ω1 , . . . , RL,ωg , 1), pre zpre 0 := ∆BS + EB PB aB .
Here aB is the two-endpoint closure offset defined in Definition 8.2, and ∆pre BS is the single shared baseline of Definition 8.1, which counts each attachment center once. The affine realization matrix and offset are Q = T−1 Pglob Dξ (PB )Rsrc , β = T−1 Pglob zpre 0 . All inverse products with T are computed over Q before reduction modulo q. For an admissible core and safe leg maps, Proposition 8.19 gives integral affine data: the public charge condition makes the offset integral, and the nonzero leg scales give modular invertibility. Public calibration. The Gaussian-convolution viewpoint of [MP12, DPS23] motivates choosing public randomness to shape the output distribution. We use Section 7 twice. Locally, restricting affine maps to safe support biases their color marginals, and marked maps add unwanted bias away from the protected line. The calibration in Section 8.5.4 reweights one public distribution of complete maps to give every protected input its prescribed marginal simultaneously. Its output is a positive map law sampled without observing the source. The joint calibration in Section 9 addresses the correlations that remain between endpoints. At each fixed placement, it reweights public controls in the protected experiment before imposing charge. After independent uniform endpoint relabeling, the resulting signed law has no nonzero Fourier coefficients up to the chosen support order. A complete Fourier bound controls the remaining distribution error. Moment bounds control the error from clipping the public weight to a bounded nonnegative function; public charge conditioning and normalization then restore an admissible law. Bounded rejection sampling keeps placement fixed and uses only public data. Coupling the protected inputs back to the original Gaussian source gives the AFT bound.
34
8.3
Safe Baseline Support
Use vertex labels before the final relabeling. Denote the placed increments by ∆B := EB PB ∆loc B , ∆L :=
g X
Ej DL RL,ωj xL,j ,
j=1
∆Q := DQ xQ . Here ∆loc B includes the public closure, as defined in Definition 8.2. A superscript loc denotes a local increment; subscripts B, L, Q, BS refer to the body, leg, queue, and shared baseline. Fix positive integer cutoffs KB , KL , and KQ , and an integer margin KBS with KB + KL + KQ ≤ KBS , The body baseline lies in
2KBS ≤ q − 1.
Isafe := {KBS , . . . , q − 1 − KBS }.
The centers, shifts, and affine maps determine the baseline below; Section 8.7 specifies their joint sampling law and charge constraint. All labels precede the final relabeling, so we suppress pre on ∆pre BS . Definition 8.1 (Shared baseline vector). Given public body centers b, leg shifts ζ, and one public affine map per leg with canonical intercept aj as in Definition 8.7, define ∆BS by (∆BS )v := bv
(v ∈ B),
(∆BS )vLj := aj
(1 ≤ j ≤ g),
(∆BS )vMj := q − 1 + ζj − aj
(1 ≤ j ≤ g).
Each attachment retains its body entry; the leg supplies no second baseline there. The same sampled map ωj determines both the mixer RL,ωj and the intercept aj , preserving their joint law. Section 8.7 specifies the joint sampling law and public charge condition. On the protected event of Definition 8.16, the margin and safe maps give the carry guarantee of Proposition 8.17.
8.4
Cycle Gaussian Body Injection
The public closure gives the two body endpoints the same Gaussian difference marginal as the internal vertices. It produces a cycle of correlated, charge-neutral increments, illustrated in Figure 3.
35
hidden path source coordinates 1 x1 − xcl
x1
2
x2
x2 − x1
3
x3
4
x3 − x 2
x4
5 xcl − x4
x4 − x 3
public closure xcl ∼ DZ,σ
Figure 3: Cycle Gaussian Body Injection for nB = 5. The solid arrows are the four hidden path coordinates. The dashed closure denotes the public offset xcl (e5 − e1 ); it is not a transport-matrix column. Its endpoint contributions produce the exact cyclic difference law. The body placement moves this entire increment together. Baseline, legs, and queue are omitted.
Definition 8.2 (Cycle Gaussian body injection). For σ > 0, put µσ := DZ,σ and use the unit-weight path matrix DB from Section 8.2, without mixing. Draw the hidden source xB = ⊗(n −1) (x1 , . . . , xnB −1 )⊺ ←- µσ B and independently the public closure xcl ←- µσ . Set aB := xcl (enB − e1 ) = −xcl DB 1nB −1 , ∆loc B := DB xB + aB . With xnB := xcl and x0 := xnB , we have (∆loc B )i = xi − xi−1
(1 ≤ i ≤ nB ),
1⊺ ∆loc B =0
over Z.
Both aB and ∆loc B lie in AnB −1 by Lemma 6.2. The placement of Section 8.2 moves the entire cycle, including both closure contributions. The correlated cycle law averages over the public closure Gaussian; fixing its realized value generally changes the endpoint marginals. Appendix C.1 verifies this law and its coordinate identities. Appendix C.1.1 implements the public scalar with error νG in worst-case polynomial time, preserving every integer-lattice identity. The protected-edge reference and joint error bounds are in Section 8.8.
8.5
Leg Injection in Tree-Edge Coordinates
Use the leg vertex roles from Section 8.1, suppressing the leg index. The public mixer shapes the primary color while the second hidden input transfers bounded load between the companion and attachment. One public law on affine maps must cancel off-body carries at every protected input without observing either hidden input. For a protected input with nonzero first coordinate, it makes the off-body pair uniform over the allowed interior pairs. When this coordinate vanishes, it permits a prescribed point-mass component while retaining the second input’s distribution and hence the attachment marginal. Endpoint assembly uses the joint law of the off-body pair and attachment increment. 8.5.1
Color Pairs and Safe Affine Maps
Use the prime field and canonical lifts of Definitions 2.3 and 2.7.
36
Definition 8.3 (Color slice). For an integer offset ξ with |ξ| < q, define the color slice by Iξ := {b ∈ {0, . . . , q − 1} : q − 1 + ξ − b ∈ {0, . . . , q − 1}}. This is the set of allowed primary colors for integer pair sum q − 1 + ξ. The companion of b ∈ Iξ is uniquely determined as q − 1 + ξ − b. Definition 8.4 (Interior colors and trimmed slices). For an integer margin h ≥ 0 with 2h ≤ q − 1, define the interior colors and boundary colors by Ch := {h, . . . , q − 1 − h},
E∂,h := {0, . . . , q − 1} \ Ch .
For an integer offset ξ with |ξ| + 2h < q, define the trimmed slice by Jξ,h := {b ∈ Ch : q − 1 + ξ − b ∈ Ch }. The trimmed slice keeps both colors at distance at least h from 0 and q − 1. Both slices are nonempty under their stated parameter conditions. Appendix C.2 gives their interval forms and cardinalities. When h = 0, the boundary set is empty and Jξ,h = Iξ . Definition 8.5 (Uniform law on trimmed pairs). For ξ and h as in Definition 8.4, define
Ltrunc := U {(b, q − 1 + ξ − b)}b∈Jξ,h . ξ,h Choosing the primary uniformly from Jξ,h fixes its companion and gives each allowed pair probability 1/|Jξ,h |. Definition 8.6 (Protected inputs). For a public cutoff KL ∈ Z>0 , an integer input (u, t) is protected if |u| < KL and |t| < KL . The protected set and its size are E := {−(KL − 1), . . . , KL − 1}2 ,
rL := |E| = (2KL − 1)2 .
The protected line consists of the inputs with u = 0, namely {0} × {−(KL − 1), . . . , KL − 1}. Let µL denote DZ,σ conditioned on |u| < KL . In affine evaluations, integer inputs are reduced modulo q, while offsets and prescribed pair sums remain integers. Definition 8.7 (Affine evaluations and public leg maps). Let ω = (a0 , c, C) ∈ F3q , with intercept a0 , scale c, and shear C. At a protected input, define the affine evaluation by ℓu,t (ω) := [a0 + cu + Ct]q ∈ {0, . . . , q − 1}.
37
The canonical integer coefficients are a := [a0 ]q ,
ce := [c]q ,
Ce := [C]q .
A public leg map is such a triple with c ̸= 0. The evaluation is the primary output color. Since the scale is nonzero, fixing the second field input makes the public map a bijection from the first field input onto Fq . Definition 8.8 (Safe affine map). Fix a public integer offset ζ satisfying |ζ| + KL − 1 < q. A public leg map ω is safe for ζ and KL if ℓu,t (ω) ∈ Iζ−t
for every (u, t) ∈ E.
At second input t, the required integer pair sum is q − 1 + ζ − t. The offset bound makes this slice nonempty at every protected input. The distinction between safety and trimming is as follows. • Safety requires the same map to produce a valid primary and companion color at every protected input simultaneously. Boundary colors are allowed. • To require both colors to lie in Ch , impose the stronger bound |ζ| + KL − 1 + 2h < q and replace Iζ−t in the safety condition by Jζ−t,h . Appendix C.2 verifies these consequences of the offset bounds and the bijectivity of public leg maps. 8.5.2
Tree-Edge Injection and Carry Safety
Use DL from Section 8.2 in the vertex order (vL , vM , vR ). Fix an integer shift ζ and an integer bound BL ∈ Z≥0 with |ζ| ≤ BL . For a public leg map ω and the hidden input xL = (u, t)⊺ , write RL,ω for its block in Section 8.2, suppressing the leg index, and set rL,ω := RL,ω xL . The first edge redistributes load within the off-body pair, so its coefficients can mix colors without changing the pair sum. The second edge transfers exactly t from the middle vertex to the attachment; leaving this coordinate unmixed bounds the attachment perturbation by KL on protected inputs, even when the first mixed coordinate is large. The mixer is invertible modulo q because det RL,ω = ce ̸≡ 0 (mod q). Written in these tree-edge coordinates, the local increment is e ceu + Ct loc e ∆L := DL rL,ω = DL RL,ω xL = −ceu − (C + 1)t . t
The vertex-load matrix is therefore the derived product ML,ω := DL RL,ω . Restricting the shared baseline of Definition 8.1 and adding this increment gives the complete local load:
X
∆loc BS,L := ∆BS (v ,v ,v ) ,
L
M
R
loc loc Y = ∆BS,L + ∆L .
Z
38
The intercept a = [a0 ]q and mixer come from the same public map. The attachment center zR is its body entry in ∆BS . Thus ∆loc BS,L is a restriction of the shared baseline, and the leg adds only ∆loc , with W = 0 and a = 0. L L L The off-body pair loses exactly the load transferred to the attachment, so the complete triple has source-independent integer charge. For a safe map, the prescribed pair sum fixes the companion residue from the primary residue, forcing the two off-body carries to cancel. Appendix C.3 gives the charge identities and the precise deterministic statement in Lemma C.1. At the attachment, only the bounded second input is added to the baseline center. If the body, leg, and queue cutoffs fit within the shared baseline margin, the assembled attachment stays in [0, q) and has zero carry. Lemma C.2 in Appendix C.4 states the exact margin and contribution bounds and verifies this claim. 8.5.3
Target Distribution and Parameters
Choosing the prescribed primary residue. Choose the mixing weight and primary color so that α ∈ Q ∩ [0, 1/2], a∗ ∈ {0, . . . , q − 1}. The required pair sum fixes the companion. Write b∗ := q − 1 + ζ − a∗ ,
b∗ − t ∈ Ch
for every |t| < KL .
For each fixed t, the prescribed pair is therefore (a∗ , b∗ −t). The last condition keeps this companion in the interior for every protected second input. Thus only the prescribed primary color can contribute boundary mass. These are the marked-color admissibility conditions used below. Target pair laws. Fix any protected input (u, t) and consider the randomness of the public map. Its primary residue is a0 + cu + Ct modulo q; the fixed pair sum then determines the companion residue. We want the following two cases. When u ̸= 0. The residue pair should be uniform over the trimmed pairs: those with the required sum and both coordinates in Ch . When u = 0. The residue pair should be a mixture of that uniform law and a point mass of weight α at one prescribed pair (a∗ , b∗ − t) for each fixed t. The primary is chosen in advance; its companion varies with t to preserve the pair sum. The baseline calibration controls this extra mass through the prescribed primary and mixing weight. One public sampling law must satisfy both cases at every protected input without observing the hidden source. The exact pair law is in Theorem 8.9. Figure 4 illustrates the resulting profiles after averaging over the protected Gaussian inputs. The marked contribution occurs only when the first input vanishes. Its total weight after averaging is γ := αµL (0). Feasibility conditions. Use the protected-input count rL and trimming margin h from Section 8.5.1. We impose three sufficient conditions. (i) Distinct protected inputs. Require
2(KL − 1) < q.
Then different protected inputs remain different after reduction modulo q. 39
Illustrative parameters: q = 31,
h=3
Without boundary line
With boundary line
α=0
α = 1/2
30 Second off-body residue
σ = 3,
Boundary zoom 26
Joint probability per residue pair 0.060 Boundary zoom
30
26
25
25
20
20
0.048 0.036
18
15
0
18
15
4
0
4
0.024 10
10
5
5
0
0.012
0 0
5
10 15 20 25 First off-body residue
30
0
5
10 15 20 25 First off-body residue
30
0.000 Shared scale
Line mass: γ ≈ 0.1667
Line mass: 0
Figure 4: Normalized off-body pair profiles, with the attachment increment marginalized, for illustrative parameters q = 31, σ = 3, KL = 5, h = 3, and ζ = −8. These profiles illustrate the target laws; the parameters are not required to satisfy the sampler’s sufficient feasibility conditions. Left: α = 0. Right: α = 1/2 and a∗ = 0 give the boundary line (0, 22 − t) total mass γ, with |t| < KL ; the unmarked component has weight 1 − γ. (ii) Room for trimmed pairs. Require BL + KL − 1 + 2h < q. Then every protected input has at least one pair with both residues in the interior. (iii) A small enough correction. Filtering unsafe affine maps generally destroys the exact color marginals. The correction reweights the surviving safe affine maps; it changes neither their coefficients nor the hidden source. The following bounds ensure a strictly positive solution to the simultaneous marginal correction: rL (BL + KL − 1 + 2h) + 1 , q κaff := (2rL + 1)δaff ≤ 14 , rL κaff Aloc := δaff + ≤ 13 . 1 − δaff 1 − κaff δaff :=
Here δaff bounds the deleted fraction of maps, including after fixing an allowed evaluation color, and the lost fraction of marked scales. The quantity κaff bounds the resulting perturbation of the marginal-response operator in the function supremum norm. Finally, Aloc bounds the possible density decrease from cancelling the marked branch’s off-line bias after inversion. Appendix C.5 proves these bounds. We refer to these three requirements as the feasibility conditions.
40
8.5.4
First Application: Safe Affine-Map Calibration
Filtering uniform affine maps to safe supports biases their color marginals; the marked branch adds an off-line bias. We compensate by reweighting one public law on complete maps, enforcing every protected input’s target marginal without observing the hidden input. The sampler first chooses a regular or marked branch. The regular branch keeps only maps whose primary and companion colors are interior at every protected input simultaneously. The marked branch fixes the intercept to a∗ and the shear to zero, with nonzero scale. It therefore produces the prescribed primary exactly on the protected line u = 0; off that line, it is filtered to keep both colors interior. Marked-color admissibility keeps the companion interior on the line as well. Choose the marked branch with probability α. Within that branch, sample uniformly from its safe support; on the regular branch, reweight the surviving maps to remove both the filtering bias and the marked branch’s off-line bias. The same public law applies simultaneously at all protected inputs and is sampled independently of the hidden source. Write Pfc for the complete flag and map law and Πiso for its map marginal. Appendix C.5 specifies its finite model, the supports S, Sline , and the branch densities Qreg , Q∗ relative to the uniform law on coefficient triples. Theorem 8.9 (Constructive safe affine-map sampler). Fix public core data satisfying the feasibility and marked-color admissibility conditions of Section 8.5.3. The source-independent law Pfc has the following guarantees. (i) For every protected input (u, t), sampling from Pfc gives the residue-pair law L([X mod q]q , [Y mod q]q ) (1 − α)Ltrunc ζ−t,h + αδ(a∗ ,b∗ −t) , u = 0, trunc Lζ−t,h , u ̸= 0.
(
=
(1)
(ii) Every supported flag and map pair has c ̸= 0 and is safe at every protected input, with cancelling off-body carries. At each such input, an off-body residue lies in E∂,h if and only if Bmark = 1, a∗ ∈ E∂,h , and u = 0. The assembled attachment has zero carry under the additional hypotheses of Lemma C.2. (iii) The supports S and Sline are nonempty, and the calibration matrix GL of Section C.5.1 is nonsingular. The branch densities Qreg and Q∗ are rational, normalized probability densities relative to U (Ω). The regular density is at least 1/3 on S and zero outside it; the marked density is uniform on Sline . (iv) The exact branch tables are computable in time polynomial in the numerical values of q and rL and the bit lengths of the public rational inputs. For every εc ∈ Q ∩ (0, 1), a worstcase bounded fair-bit sampler approximates Pfc within statistical distance εc , preserves each branch support, and runs in time polynomial in the same parameters and log(1/εc ). These are marginal laws for the same joint public distribution; outputs at distinct protected inputs are not asserted to be independent. Proof sketch. Pairwise independence of unrestricted affine evaluations gives an exact reference response for additive color corrections. Deleting unsafe maps perturbs this response by at most 41
κaff ≤ 1/4. A finite linear solve restores the marginals and cancels the marked branch’s off-line bias. The regular target subtracts the marked branch’s color imbalances, so their positive part directly threatens nonnegativity. Before excluding zero scale or unsafe colors, each off-line color has exactly one scale preimage; deleting only a small fraction of scales bounds this excess. The inverse-response bound controls the further change caused by filtering. Together, Aloc ≤ 1/3 and κaff ≤ 1/4 keep the regular density at least 1/3 on its support. Appendix C.5 gives the complete calibration proof, and Section C.5.1 proves rational table computation and bounded sampling of the complete flag–map law. 8.5.5
Bounded Sampling and Leg Injection
At each fixed public core, Algorithms 1 and 2 in Appendix C.5.1 compute exact rational branch tables and use bounded fair bits to sample within the chosen support. Rounding and fallbacks preserve branch support, carry safety, and the theorem’s pointwise boundary-activation criterion. Their effect on activation probabilities is covered by the complete flag–map sampling error. For the concrete public family, q ≤ nB ≤ d, so the modulus contributes only polynomial cost in d. Definition 8.10 (Conditional line-mark leg injection). Under the conditions of Section 8.5.3, the leg’s conditional public-data kernel is Pfc for (Bmark , ω), given the core data of the shared baseline sampler in Section 8.7. The public draw is independent of xL ∼ DZ2 ,σ . Given these public data, the leg contributes the increment ∆loc L of Section 8.5.2; its complete local load is loc . ∆loc + ∆ BS,L L 8.5.6
Joint Law for Endpoint Assembly
For analysis, condition both independent Gaussian inputs of Definition 8.10 to be protected. Their marginals become µL , while the independent public kernel remains unchanged. Keep the two offbody residues together with the integer attachment increment to retain the dependence needed for charge cancellation. Section 8.8 bounds the full-source comparison and the bounded sampler’s error. Definition 8.11 (Protected reference experiment). Fix public core data satisfying the feasibility and marked-color admissibility conditions of Section 8.5.3. Draw u, t independently from µL , independently of (Bmark , ω) ∼ Pfc . Define the activation event by AL := {Bmark = 1, u = 0}. Independence of the flag and source inputs gives Pr[AL ] = γ, with the weight defined in Section 8.5.3. Definition 8.12 (Joint reference law). For the protected reference experiment, define the diffuse
42
and marked component laws and their mixture by QL :=
X
µL (t)Ltrunc ζ−t,h ⊗ δt ,
|t|<KL
QL,∗ :=
X
µL (t)δ(a∗ ,b∗ −t,t) ,
|t|<KL
Qζ,a∗ ,α,h := (1 − γ)QL + γQL,∗ . Averaging (1) over the two independent protected inputs gives L([X mod q]q , [Y mod q]q , t) = Qζ,a∗ ,α,h . The third coordinate is the integer attachment increment, before adding its baseline center. Markedcolor admissibility ensures that the prescribed companion in the marked component is already a canonical residue for every protected second input. The two components have the following meaning. • The marked component describes the activated contribution. The diffuse component describes the complement after averaging both flag branches. In particular, it includes marked-branch outcomes with u ̸= 0. • Each component has attachment-increment marginal µL , so their mixture does as well. Activation depends only on Bmark and u and therefore leaves the second input unrestricted. • The companion’s −t and the attachment’s +t always use the same input, including on activation. Keeping this input in the joint law preserves their cancellation.
8.6
Queue Injection
The column DQ from Section 8.2 adds one scalar to every queue vertex. The queue set is marginally uniform and is independent of the source and body permutation; its dependence on the attachments is fixed by Section 8.1. For a public cutoff KQ ∈ Z>0 , the analytical reference draws xQ ←- µQ := DZ,σ | {|xQ | < KQ } and sets ∆ref Q := xQ DQ . All queue vertices share this bounded increment, whose total charge is qxQ ≡ 0 (mod q). The actual injection ∆Q of Section 8.3 uses the untruncated source without padding. Its truncation error is exactly the single-scalar tail probability in Section 8.8, independently of the queue size. Conditioning on a placement-dependent core can bias the queue’s posterior law, so the joint averaging in Section 8.9 retains that dependence.
8.7
Shared Baseline Sampler: Admissible Joint Distributions
The shared sampler first chooses body centers, leg shifts, and marks. It then draws a complete flag–map pair for each leg and assembles one baseline vector. Assume the geometry and safety margins of Sections 8.1 and 8.3 and the leg feasibility conditions of Section 8.5.3. 8.7.1
Admissible Core Laws
Use the safe-center interval Isafe from Section 8.3.
43
Definition 8.13 (Admissible joint baseline law). A public law DBS on body centers b, leg shifts ζ, and marks m is admissible if it uses only permitted public parameters, is independent of the hidden Gaussian source and secret-dependent information, and has support satisfying nB b = (bv )v∈B ∈ Isafe ,
ζ = (ζ1 , . . . , ζg ) ∈ ([−BL , BL ] ∩ Z)g , X v∈B
bv +
g X
ζj ≡ g
(mod q).
j=1
For each leg, m records a target and mixing weight satisfying the marked-color admissibility conditions of Section 8.5.3. The common public truncation margin and all leg parameters satisfy the feasibility conditions of Section 8.5.3. The primary target may be a boundary color. Only its moving companion is required to stay in the interior at every protected second input. 8.7.2
Dependence and Sampling Requirements
Admissibility permits the following dependencies. • The centers, shifts, and marks may be arbitrarily correlated. In particular, the shifts may be randomized conditionally on the centers. • The core may depend on preceding public template or local placement data. In that case, DBS denotes the prescribed conditional law given those data. This sampling retains the joint disjoint placement law of Section 8.1. Conditioning on the resulting core may nevertheless bias the posterior law of this initial joint placement, even though the sampling procedure preserves its marginal. • The public cycle-closing Gaussian and the final common relabeling remain independent of the baseline choices. We separately require nonempty admissible support and a bounded, efficient public sampler preserving that support, as specified in Appendix D.1.1. Admissibility alone does not provide such a sampler. The direct-Fourier construction in Section 9 uses a more restricted subclass: • The joint placement ξ records only the labeled attachments and queue set. The core and rejection tests do not read the separate body-cycle permutation PB or the closure Gaussian. These are sampled independently after core acceptance, as specified in Section 9.2. • The sampler first constructs an uncharged auxiliary proposal, which is not yet admissible, then imposes positive public charge for each fixed placement. All rejection trials retain the same placement, so acceptance does not reweight its marginal law. These additional restrictions preserve the independence needed for the cycle density estimates. They are not consequences of admissibility. 8.7.3
Joint Public Sampling 44
Definition 8.14 (Complete baseline data). Draw (b, ζ, m) ←- DBS . Given this core, draw (Bmarkj , ωj ) conditionally independently for 1 ≤ j ≤ g from the corresponding kernels Pfc of Definition 8.10, using fresh public randomness independent of the hidden source. Define PBS as the joint law of (b, ζ, m, ((Bmarkj , ωj ))gj=1 ), conditional on the same preceding public data when applicable. The complete law retains every flag and map with its dependence on the core and uses the full twobranch kernel of Theorem 8.9; the regular branch alone generally has nonuniform off-line marginals. 8.7.4
Baseline Vector and Carry Safety
Assemble the complete data of Definition 8.14 using Definition 8.1, retaining the same maps for the baseline intercepts and leg mixers. Proposition 8.15 (Joint baseline realization). Every admissible core sample and its safe leg maps yield ∆BS ∈ L(T), with body entries in Isafe and off-body entries in {0, . . . , q − 1}. On the joint protected event, the body carries vanish and the off-body carries cancel pairwise. The sampling is source-independent. Appendix D.1 verifies this assembly. The support and sampling-error guarantees are in Section 8.8.
8.8
Joint Protection and Approximation
Assume the geometry, safe maps, and baseline support of Section 8.1 and Definitions 8.10 and 8.13. The public core and conditional maps are independent of the hidden source; the closure Gaussian is independent of both. The actual sampler uses untruncated Gaussian inputs. We introduce protected inputs only for the analysis. The protected reference in Section 8.8.3 clips the latent body edge scalars including the public closure, both inputs of every leg, and the single shared queue scalar. It retains the cycle, samesource leg triples, and shared queue correlations. This is the reference used for public calibration in Section 9. For an admissible positive core law, a successful source coupling also certifies carry safety. The source comparisons below also apply to a positive, uncharged core law with the same local safety support. Integer-lattice validity and the zero-fiber conclusion require the admissible charge constraint. 8.8.1
Protected Sources and Tail Bounds
Definition 8.16 (Joint protected event). Set KB − 1 He := . 2
The event Esafe requires all of the following:
45
(i) Every body edge scalar, including the public closure, has magnitude at most He . (ii) Both inputs of every leg have magnitude less than KL . (iii) The queue scalar has magnitude less than KQ . The latent-scalar bounds protect every cyclic difference and retain the cycle’s dependence and zero sum. Each leg contributes two scalar tails; the shared queue contributes one, with no factor q. The scalar budgets θB , θL , and θQ are defined and bounded in Lemma D.1 in Appendix D.2. Their sum, with one body term, two leg terms per leg, and one queue term, bounds the failure of Esafe . The proof controls latent scalars before taking differences, so no independence of endpoint increments is needed. 8.8.2
Baseline Support and Carry Safety
b , Under both the ideal baseline-data law PBS and its support-preserving implementation P BS h
i
nB Pr b ∈ / Isafe or ∆BS ∈ / L(T) ∩ {0, . . . , q − 1}d = 0.
Thus sampling approximation adds no baseline support failure, including on fallback branches. The joint protected event then gives the following carry guarantee. Proposition 8.17 (Carry safety of the matrix realization). Assume an admissible core, safe leg maps, and KB + KL + KQ ≤ KBS . For the natural-source load in Section 8.2, Esafe implies x′ = cT (w̄) ∈ FT,0 .
1⊺ k = 0,
For any positive source-independent sampling law with this support, ∆ L x′ , U (FT,0 ) ≤ ∆(L(w̄) , U (H0 )) + Pr[Esafe c ].
The baseline margin keeps body loads canonical, and each off-body pair has cancelling carries. The common relabeling preserves their total. Appendix D.3 proves the endpoint reduction and its invariance under the choice of source lift. 8.8.3
Protected References and Coupling
The fully protected reference uses the leg and queue laws of Definition 8.11 and Section 8.6 and protects the latent body scalars, including the public closure, as follows. Definition 8.18 (Protected body cycle). Define the protected edge law and its one-vertex residue marginal by Rprot := (µe ∗ µe ) mod q. B
µe := DZ,σ | {|x| ≤ He },
The protected body cycle consists of the cyclic differences of nB independent samples from µe . These differences sum to zero and satisfy the body cutoff pointwise. Clipping the latent scalars gives a different law from conditioning the full cycle on safe differences. 46
Appendix D.2 bounds the whole-cycle coupling budget εB,clip by θB and proves the component comparisons. The following joint bound is the interface used by the endpoint analysis. Joint coupling. For an exact positive, source-independent public-core law and exact conditional public sampling, the coupling in Appendix D.2 gives Pr[coupling failure] ≤ εB,clip + 2gθL + θQ . Coupling latent sources before assembly and sharing the complete public data preserves the body cycle, same-source leg triples, and shared queue scalar, with all prescribed public dependencies. On success the complete endpoint vectors agree. For an admissible core, success also implies Esafe and hence carry safety by Proposition 8.17. After charge conditioning and positive repair, Theorem 9.9 therefore pays this source cost once. 8.8.4
Public Sampling Errors
Couple the implemented core first, then each complete conditional flag–map pair. Uniform conditional error bounds give total error at most εBS,joint + gεc in the complete baseline data; these include the Bernoulli flags and are counted once. The formal statement and coupling proof are in Lemma D.2 in Appendix D.2.
8.9
Gadget Assembly and Realization
Use the source order of Section 8.2, with xL,j = (uj , tj )⊺ , and the joint baseline sampler of Section 8.7. We establish affine validity and bounded implementation under these sampling assumptions. Endpoint approximation uses the protected comparison of Section 8.8.3. 8.9.1
Integer Affine Validity
The body path and legs form one spanning tree. The queue column supplies the remaining direction, so the incidence construction applies to the matrix in Section 8.2. Proposition 8.19 (Integer affine realization). For an admissible public core and its complete safe leg maps, the affine data of Section 8.2 satisfy Q ∈ Zd×d ,
β ∈ Zd ,
det Q = ±
g Y
cej ̸≡ 0
(mod q).
j=1
These conclusions hold on every support-preserving fallback. Proof sketch. The tree columns span the zero-sum integer lattice, and the queue column has total charge q. The general incidence result therefore makes the inverse product integral. The admissible baseline makes the offset integral, and the triangular leg mixers contribute exactly their nonzero scales to the determinant. Appendix D.4 gives the complete verification using Corollary 6.8. Sampling assumptions and numerical budgets. Assume the geometry, safety margins, and local feasibility conditions above, with rational σ 2 ≥ 2 and nonempty admissible core support. The public template and core samplers must be source-independent, run in worst-case polynomial time in the dimension and public input and precision lengths, and preserve admissibility and polynomial 47
output length on every branch. Their conditional errors are uniform over the permitted preceding public data and histories. Appendix D.5 specifies the complete contract and separate core, map, closure, and permutation budgets. The carry-failure budget is εcarry := θB + νG + 2gθL + θQ . It bounds failure of the protected event in the actual experiment; support-preserving core, map, and permutation draws add no carry error. The final AFT analysis uses the single source coupling of Section 8.8.3, which covers endpoint disagreement and unsafe carries together, so it does not add this carry budget again. 8.9.2
Bounded Realization
All probabilities below average over the public sampler randomness and the independent Gaussian source. Lemma 8.20 (Gadget assembly and realization). Under the assumptions of Section D.5, there is a bounded public sampler of affine data (Q, β) with the following guarantees. (i) It runs in worst-case polynomial time in d, the binary public-input lengths, and the requested precision lengths. Every output is integral and source-independent, with Q mod q ∈ GLd (Fq ), and determinant as in Proposition 8.19. (ii) For x′ := Qe + β mod q, where e = x mod q, Pr[x′ ∈ / FT,0 ] ≤ εcarry . (iii) Each conditional per-leg flag–map draw is within statistical distance εc of Pfc , uniformly over admissible public histories. Every such output, including rounding and fallback, preserves its branch support and is safe with nonzero scale. Proof sketch. Each bounded sampler preserves its exact support, so finite-bit errors cannot invalidate the affine data or local safety. Couple its closure to an ideal Gaussian and apply the protected-event carry guarantee; the remaining sampling errors are charged to the public-data coupling. Exact rational assembly then gives the stated matrix and running time. Appendix D.5 supplies the full implementation and error accounting. The public calibration in Section 9 controls the fully protected joint law before positive repair, source coupling, and numerical implementation.
9
Calibrating Public Randomness for Affine Fiber Transport
Section 8 supplies the affine construction and bounds carry failure. We must still choose a positive, source-independent law for the public randomness so that the joint endpoint law, averaged over both the public choices and the source, is close to uniform on H0 . Balancing individual endpoints 48
does not suffice: the protected body cycle, same-source leg triples, and shared queue scalar create dependencies between endpoints. We begin with a positive proposal that balances the expected endpoint histogram, temporarily leaving the public charge constraint aside. At each fixed placement, the proposal gives independent groups of public controls that we can reweight to correct correlations. The response bounds below place the calibration operator near the identity, so Theorem 7.1 yields a stable finite correction. After independent uniform final relabeling, this correction cancels all nonzero Fourier coefficients with support size at most the chosen fixed calibration order, but it may assign negative weights. We bound the total Fourier energy of the remaining modes to control the endpoint error, and use high moments to clip the weight to a bounded nonnegative function with negligible loss. Conditioning on public charge then returns the endpoints to H0 , amplifying the error by only a factor of order q. Rejection sampling keeps the placement fixed, and a single source coupling gives endpoint agreement and carry safety, completing the transport guarantee of Theorem 9.9.
9.1
The Joint Distribution Target
Once carries are safe, the endpoint-to-fiber correspondence of Section 6.2 reduces the transport problem to uniformity on H0 . Imposing charge now would couple the public controls, so we first work on the full ambient space Fdq under the uncharged proposal. The linear calibration may produce a signed endpoint law. We bound its ambient error before restoring nonnegativity and charge in Section 9.8. The parameters remain symbolic as in Section 8.1 until we choose their sizes in Section 9.9. For a mass-one real signed endpoint law P on Fdq and frequency a ∈ Fdq , we define the positivesign characters and Fourier transform by χa (Y) = e2πi⟨a,Y⟩/q ,
b P(a) = EP χa (Y).
Independent uniform final relabeling makes the uncharged protected endpoint law exchangeable. To control correlations at every support size, we collect the Fourier coefficients in one polynomial. Choosing a nonconstant character from exactly r endpoint factors records a frequency with support size r. The product form will let us bound all degrees together using the local endpoint blocks. Definition 9.1 (Weighted character-polynomial norm). For a mass-one real signed law P on by Fdq , define its character polynomial in the formal variables z = (za )a∈F× q Pchar (z) := EP
d Y v=1
X za χa (Yv ) , 1 + a∈F× q
using the same character convention for scalar arguments. Its ordered symmetric coefficient tensors Tr are specified by Pchar (z) =
d X
X
r=0 a1 ,...,ar ∈F× q
(Tr )a1 ,...,ar
r Y
zaj .
j=1
The tensor norm is Euclidean on ordered frequency tuples; repeated and distinct entries use this same convention, with no additional factorial in a tensor. In particular, T0 = 1. For an
49
analysis radius ρ > 0, define Fρ (P) := 2
d X r!ρ2r r=0
dr
∥Tr ∥22 .
2 For distinct a1 , a2 ∈ F× q , a coefficient of one on za1 is stored once, as (T2 )a1 ,a1 = 1. A coefficient of one on za1 za2 is split equally between the two ordered entries: (T2 )a1 ,a2 = (T2 )a2 ,a1 = 1/2. These contribute 1 and 1/2, respectively, to ∥T2 ∥22 ; the degree-two norm weight applies the same outer factor 2! to either contribution. Exchangeability ensures that this polynomial retains the full Fourier information: all choices of the support vertices give the same marginal coefficient tensor. The polynomial sums over dr such choices, whereas Fourier energy sums their squared magnitudes. The normalization r!/dr compensates for this counting difference with at most a factor er loss, uniformly over all degrees, as proved in Lemma E.2. Thus the norm at radius ρ controls the total Fourier energy with support √ √ weight (ρ/ e)2r . When ρ > e, higher support sizes receive larger weights. After low-support cancellation, a bounded norm therefore forces the entire remaining tail to be small. The constant term contributes exactly one, which explains the subtraction in the following criterion.
Lemma 9.2 (Fourier criterion for the joint distribution target). Let P be an exchangeable real √ signed law of mass one on Fdq . Let R be an integer with 0 ≤ R < d, and let ρ > e, with √ sF = ρ/ e. If b P(a) =0 whenever 1 ≤ | supp a| ≤ R, then
1/2
1 2 ∥P − U
Fdq ∥1 ≤ 12
X
2 b |P(a)|
a̸=0
≤
Fρ (P)2 − 1 2sR+1 F
1/2
.
For a probability law, the left-hand side is its statistical distance from the ambient uniform law. Proof sketch. Exchangeability relates the character-polynomial norm to the complete weighted Fourier energy. After cancellation, every surviving frequency has support size at least R + 1, so its 2(R+1) weight is at least sF . Parseval and Cauchy–Schwarz then give the distributional bound. The full proof, using Lemmas E.1 and E.2, appears in Appendix E.1.2.
9.2
Protected Cycle Reference and Independent Public Controls
To correct the joint endpoint law, we reweight public controls and measure their effect through the protected channel of Section 8.8.3. The root marginal Rprot determines the averaged profiles used B below. The channel itself retains the zero-sum cycle, the same-source leg triples of Definition 8.12, and one shared queue scalar. Placements and pools. We work at a fixed placement ξ in the geometry of Section 8.1, with labeled attachments Rj = vRj . The attachment set and the remaining free body vertices are Aatt = {Rj }gj=1 ,
Ffree = B \ (Aatt ∪ SQ ),
nF = nB − g − q. 50
Each leg supplies one primary control and will need its own compensator to offset the companion response. We order the free vertices by their public body labels and assign the first g, in that order, to the labeled legs as compensators. The remaining free vertices form the ordinary-body pool, so mP = g,
mB = nF − g = nB − q − 2g.
Disjointness couples the queue and attachment tuple. Their joint law comes from a uniform initial permutation, which gives equal numbers of preimages to every permitted queue set and ordered attachment tuple. Calibration at a positive integer order R requires selections of up to that many distinct controls. Such selections are available whenever both pool sizes are at least R. Lemma E.3 in Appendix E.2 gives the precise placement law, pool conditions, and bounded implementation. Public sampling contract. To keep calibration independent of the source, we restrict the information used by the weight and the charge test. The public core θ contains the centers, primary colors, anchors, and shifts prescribed below. The weight uses only the primary colors, their assigned compensator centers, the ordinary-body centers, and ξ; the charge test may also use all body centers and leg shifts. Neither uses hidden source coordinates, actual roots, the shared queue scalar, closure randomness, body or final permutations, or completed flag–affine-map draws. Normalization and every rejection trial keep ξ fixed, preserving its marginal. Once a core is accepted, we sample complete flag–affine-map pairs conditional on that core, and independently draw the closure Gaussian, body-cycle permutation, and final global permutation. These latter draws and the hidden sources are independent of ξ. The body and final permutations are separate from the initial permutation that chooses the joint placement. At each fixed placement, the uncharged proposal has independent primary and body controls. Pairing each primary with a distinct compensator therefore gives the independent groups used to form canonical coefficients. Signed correction and charge conditioning can subsequently correlate these controls. We estimate the finite response matrices using Theorem E.4. Finite support bounds the likelihood along each selected path, while centering eliminates configurations with an isolated selected site. Under the independent body permutation, the remaining path configurations are rare. This gives the fixed-order bound proved in Appendix E.3. The later estimate of the complete Fourier energy still uses the entire protected cycle.
9.3
An Explicit Positive Uncharged Proposal
Our first goal is to balance the expected endpoint histogram, averaging over the protected sources. Since a primary affects both its own endpoint and its companion, we choose the primary and freecenter laws together at each fixed disjoint placement. Throughout this construction, convolutions are cyclic on Fq , and support assertions use canonical integer lifts. We impose the structural relations KB = KL = KQ , KBS = 3KL . The common cutoff and all other parameter sizes remain free until Section 9.9. We use the reference laws and activation factor usafe = U (Isafe ) ,
u = U (Fq ) ,
The queue and leg clipped scalar laws therefore coincide. 51
γcal = 21 µL (0).
Convolution profiles. To express the averaged endpoint profiles, let CB and CL denote convolution with Rprot and µL , respectively, acting on mass profiles. The two body profiles we need B are bi = CB CiL usafe (i = 0, 1). Body inputs are extended by zero outside their safe support. Section F.1.1 gives the matrix-entry conventions. Inward anchors and the independent blur. The companion must remain interior for every protected second input. We obtain its anchor by reflecting the primary color and shifting the result inward. We then add an independent public blur with law Rprot and choose the leg shift to preserve B the required pair sum, with mixing weight α = 1/2. The blur is a fresh draw from this law and uses no actual root or closure value. We impose the anchor and general leg-feasibility conditions specified in Appendix F.1.1, which also gives the exact anchor kernel, blur assignments, and diffuse e for the anchor kernel followed by convolution with µ , as defined there. profiles. We write A L Balancing the primary and companion together. The companion contribution and the free-center contribution pass through the same body convolution. We can therefore adjust the freecenter law to cancel the companion mean, then choose the primary law to balance the remaining profiles. The resulting target hbase is obtained from du by subtracting the body and diffuse off-body means after this cancellation. Appendix F.1.1 gives its full profile expansion. The compensation factor is gγcal εanc = . nF The two proposal laws are specified by gγcal π0 = hbase , e 0. p0 = (1 + εanc )usafe − εanc Aπ
(2)
The proposal samples free centers independently from p0 , all other body centers independently from usafe , and all leg primaries independently from π0 . It then samples the anchors and public blurs using the kernel specified in Appendix F.1.1. Theorem 9.3 (Positive proposal and exact averaged mean). For the public family of Section 9.9 and all sufficiently large L, uniformly over disjoint placements, the proposal laws above are reflection-symmetric probability laws and π0 ≥ (2q)−1 , 1 2 usafe ≤ p0 ≤ (1 + εanc )usafe ≤ 4/q
on Isafe ,
The center law vanishes off Isafe . In the auxiliary protected experiment, the expected histogram is exactly du. Proof sketch. The inward anchors keep every sampled core on the safe local support. The numerator defining the primary law has mass gγcal , and the profile losses are small enough to leave the stated positive margin. The free-center adjustment cancels the companion mean, so the primary equation balances the remaining histogram. Lemma F.1 gives the general loss conditions and quantitative bounds; its proof also verifies this public family. 52
This proposal has not yet imposed public charge. Once a positive charge-correct core law has been obtained, conditional completion by Definition 8.10 gives affine validity through Proposition 8.15.
9.4
The First Response
To correct higher correlations, we need to understand how reweighting one primary changes the expected endpoint histogram. Its companion also responds, so we pair the centered primary score with a score on its distinct free compensator. Their common body convolution allows the compensator score to cancel the marked companion response. For the fixed proposal, let Dπ = diag(π0 ). For a centered primary density score f, write vin = Dπ f for its mass-zero profile. The resulting paired lift is (Jin f)(c, a) = f(c) − γcal
e π f)(a) (AD . p0 (a)
The primary and compensator inputs have independent laws π0 and p0 , respectively. The ratio is used only on the safe support. After companion cancellation, the remaining perturbation comes from the diffuse target’s dependence on the marked color. The reflected anchor cancels that color from the pair sum, leaving only the choice of side of the midpoint; at the midpoint the two choices are averaged. Thus there are only two diffuse profiles, as specified in Appendix F.1.1. Using these profiles and the anchor sign, let e be the mass-coordinate column of E = (1 − γcal )(v+1 − v−1 ), and let χ be the column with entries χsign (c). For the mass-zero adjustment vin , the scalar χT vin is the change in mass above the midpoint minus the change below it. Multiplying this scalar by the fixed profile e gives the diffuse residual. After division by the source-averaged activation probability, the response is T1 = I + γcal −1 eχT .
Lemma 9.4 (Exact and stable first response). For the public family of Section 9.9 and all sufficiently large L, uniformly over disjoint placements, the paired lift of every centered primary score is centered under its independent proposal inputs. Its complete first histogram response, averaging the protected roots and the leg inputs, is γcal T1 vin . The operator T1 preserves masszero profiles. In the norm X ∥vin ∥2π−1 = vin (c)2 /π0 (c), 0
it satisfies
c
∥T1 − Id∥ = O(L−5 ),
∥T−1 1 ∥ ≤ 2.
Proof sketch. The compensator score cancels the companion response, leaving the primary pointmass contribution and the diffuse sign term. Dividing by the activation factor makes the former the identity. The sign term has rank one and is small in the primary-reference norm, which gives the inverse bound. The attachment has zero first response, although its higher joint responses remain in the leg triple. Lemma F.2 gives the general bound and exact inverse; Section F.1.2 proves the claims. The joint calibration applies this inverse separately in each primary slot, using the graded coefficient norm of Section 9.5. Lemma F.4 relates this norm control to the point evaluations needed for numerical implementation. 53
9.5
Hoeffding-Type Coordinates and Response Matrices
To correct joint correlations, we reweight groups of independent public controls at a fixed placement. Fix a positive integer calibration order R, a labeled disjoint placement, and its positive uncharged proposal ν0 from Theorem 9.3. Each primary is paired with its assigned compensator, while ordinary-body centers form a separate pool; a compensator consumes no ordinary-body slot. As in a Hoeffding decomposition, the degree counts selected groups and each kernel is centered in every selected slot. The paired lift Jin of Section 9.4 adds the compensator score to a primary correction, and U averages over distinct indices in the two pools. The coefficient space V≤R records these corrections as a scalar part and centered, separately symmetric density kernels on the independent primary and body controls. Definition F.3 in Appendix F.2.1 gives the full definition and the coordinate map coord, whose constant-one vector is e0 . The bound mR ≤ (2q + R)R makes the system polynomial in size at every fixed order. All estimates below use the parameters of Section 9.9 and hold uniformly over placements at fixed R. Three maps and the calibration equation. Calibration must connect a coefficient vector to both a public weight and its endpoint response. The physical row ΨR (θ) maps input coefficients to a public weight: it sends e0 to one and sends coord(f) of positive degree to (UJin f)(θ). On the output side, leading evaluation ER converts coefficients to ordered Fourier tensors by Lemma F.5. The full response AR acts on the input space and records the protected channel’s effect before leading evaluation. For every coefficient vector z, Section F.2.5 gives WR = ΨR (θ)z,
[Pchar,WR ]≤R = ER AR z.
Here Pchar,WR is the unnormalized character polynomial of the protected endpoint experiment weighted by WR relative to the uncharged proposal ν0 . The response averages the hidden source conditional on public controls, without normalizing the weighted law, and treats the Fourier output as a real vector space. Since leading evaluation may be rectangular and noninjective, the Fourier equations need not determine the input coefficients. Calibration instead solves the full square system. The background coefficient separates the contribution of unselected controls. Products in the coefficient algebra use disjoint slots; physical multiplication also includes overlapping control indices. Appendix F.2.1 defines the product precisely. Let Bbg be the unit-constant background coefficient constructed in Section F.2.5, put b = coord(Bbg ), and let Mbg represent multiplication by it. Then e R = Mbg (I + UR + ZR ). AR = Mbg A
After removing the background, UR strictly raises degree, while ZR records protected-root effects and can mix types without lowering degree. Both annihilate e0 after the raw root constant column has been absorbed into the background. Each complete expression uses one common queue scalar; we average these expressions before normalization and inversion. Centering explains the triangular structure. Consider one summand in the distinct-index average, with protected roots fixed. If a selected group emits no output, integrating its centered score makes that summand vanish. Every surviving summand therefore has output degree at least its input degree. Averaging over selections and multiplying by the unit-constant background preserve this grading. The normalized and full responses are consequently block lower triangular, with common diagonal blocks Arr = I + (ZR )r,r . These blocks retain the degree-preserving protected-root effects, as verified in Section F.2.5.
54
A norm adapted to the controls. The graded weighted Hilbert norm ∥·∥simp,ρ of Appendix F.2.1 controls both response inversion and public weight moments. Its population weights match averaging over distinct control groups, while its body-radius weight matches the Fourier estimate. The induced operator norm measures the response perturbation, and canonical centering transfers coefficient control to physical moment bounds. Clipping will use these moments, since coefficient control alone gives no pointwise closeness of the weight to one.
9.6
Second Application: Joint Endpoint Calibration
We enforce low-order cancellation by choosing coefficients whose full response is the constantone vector. We apply Theorem 7.1 on V≤R , with the graded norm above, synthesis ΨR , the unnormalized truncated character response, and target evaluation ER . The reference coefficient operator is the identity and the actual operator is AR ; both the target and the reference coefficient vector are e0 . Theorem 9.5 (Finite-order joint endpoint calibration). For the family and radius of Section 9.9 and every fixed positive integer R, the following holds for all sufficiently large L, with a threshold depending only on the fixed order and uniformly over placements. Each labeled disjoint placement admits the unique full coefficient solution AR z = e0 ,
WR (θ) = ΨR (θ)z,
z = e0 + c.
Its scalar coordinate is one, the correction has scalar coordinate zero, and ∥c∥simp,ρ = OR (L−3 ),
Eν0 WR = 1.
For the signed, uncharged protected-cycle endpoint law weighted by WR , [Pchar,WR ]≤R = ER AR z = 1. After independent uniform final relabeling, every nonzero Fourier coefficient of support at most R vanishes. The vector c represents the canonical kernel fR . The calibrated weight may be signed; bounded clipping and public conditioning recover a positive sampling law in Section 9.8. Response estimates. Stability requires a quantitative bound on the full response. The background, raised-response, and protected-root estimates of Proposition F.9 and Lemmas F.10 and F.12 give ∥b − e0 ∥simp,ρ + ∥UR ∥simp,ρ + ∥ZR ∥simp,ρ ≤ CR L−3 . Combining these estimates after the common-queue assembly of Section F.2.5, submultiplicativity gives ∥AR − I∥simp,ρ = OR (L−3 ). The full proof is in Section F.2.6. Finite block solution. Lower triangularity lets us solve one degree at a time: subtract the response of previously determined coefficients, then invert the current diagonal block. The full perturbation bound makes each diagonal block stably invertible, so the recurrence remains controlled. Appendix F.2.2 gives the explicit recurrence and certified finite computation. The proposal already balances degree one before leading evaluation, so (b)1 = (c)1 = 0 by Sections F.2.5 and F.2.6. For 55
R ≥ 2, the first possible correction therefore lies in the degree-two block, where primary–primary, primary–body, and body–body kernels interact.
9.7
Fourier Tails and Weight Moments
The finite correction does not by itself bound the total energy of the remaining Fourier modes, and its weight may be negative. We therefore bound both that energy and the loss from clipping the weight. Both estimates concern the same uncharged weight at a fixed placement. The Fourier estimate averages the protected endpoint experiment, retaining the cycle, same-source leg inputs, shared queue scalar, and independent final relabeling. The moment estimate averages over the independent public controls under the uncharged proposal and will bound the clipping loss. Proposition 9.6 (Complete Fourier tails and weight moments). Use the public family of Section 9.9 and the analysis radius ρ = L1/4 , independent of the calibration and moment orders. For every fixed pair of positive integers R, p, there are positive constants CR and CR,p such that the following bounds hold for all sufficiently large L, depending only on these fixed orders, uniformly over disjoint placements. Let WR and PWR be the uncharged weight and protected b for endpoint law of Theorem 9.5, including independent uniform final relabeling, and write P this law’s Fourier transform. Then Fρ (PWR ) ≤ CR , X
2 b |P(a)| ≤ CR L−(R+1)/2 ,
a̸=0 1 2 ∥PWR − U
Fdq ∥1 ≤ CR L−(R+1)/4 ,
∥WR − 1∥2p ≤ CR,p L−3 . The moment norm uses the uncharged public proposal. For fixed R, the weight is the same for all moment orders. Proof sketch. After conditioning on the protected cycle and shared queue scalar, we bound the product of the local character polynomials across all degrees. Exact low-support cancellation then converts this bound into control of the remaining Fourier energy. For the weight moments, canonical centering uses the large pools of independent public controls to turn coefficient bounds into a bound on every fixed moment. The full proof, including the local estimates, is in Sections G and G.5.
9.8
Public Charge and Bounded Positive Sampling
We recover a probability law by clipping the signed weight and then imposing public charge. For a fixed placement ξ, the charge event is Eξ =
X
v∈B
bv +
g X
ζj ≡ g
j=1
(mod q) .
This test reads only the permitted core centers and leg shifts. For every choice of the remaining randomness, it is equivalent to the protected endpoint lying in H0 , as verified in Section H.1. With
56
VR = clip[0,2] (WR ) from Corollary 7.3, the desired public-core law is dνV,ξ (θ) =
VR (θ)1Eξ (θ) dν0,ξ (θ). Eν0,ξ VR 1Eξ
We normalize separately at each placement and keep that placement through every rejection trial. This prevents differences in acceptance rates from biasing the placement marginal. Passing the accepted core through the protected endpoint channel, including final relabeling, gives the probability law PV,ξ . In the estimates below, we suppress placement subscripts and write ν0 for the uncharged proposal and E for its charge event. Theorem 9.7 (Bounded clipping and public conditioning). Fix a disjoint placement and the calibrated real weight W = WR of Theorem 9.5, with Eν0 W = 1. Let P be its protected endpoint image, including independent uniform final relabeling, and put V = clip[0,2] (W ). Define
δamb = 12 ∥P − U Fdq ∥1 , ϵch = 2δamb + δclip , If ϵch ≤ 1/(2q), then
bch ≥ 1/(4q),
δclip = Eν0 |W − V |, bch = Eν0 V 1E .
∆(PV,ξ , U (H0 )) ≤ 2qϵch .
Proof sketch. Passing through the endpoint channel cannot increase the weight’s L1 clipping loss. The ambient uniform target assigns mass 1/q to the charge hyperplane, so restricting to that hyperplane and renormalizing amplifies the error by a factor proportional to q. The full proof is in Section H.2. Corollary 9.8 (Quantitative clipping loss). Use the public family of Section 9.9. For every fixed pair of positive integers R, p, there is a positive constant CR,p such that, for all sufficiently large L, the clipping loss of Theorem 9.7 satisfies δclip ≤ CR,p L−6p , uniformly over disjoint placements. For each fixed calibration order R, both δclip and qδclip are negligible in L. Proof sketch. Clipping changes the weight only where its deviation from one is at least one, so any fixed even moment bounds the clipping loss. Every such moment estimate applies to the same calibrated weight; increasing the moment order strengthens the analysis without changing the sampler. The full proof is in Section H.2. Realizing the bounded positive core. To sample this law, draw a fresh core from the uncharged proposal at the retained placement and accept with probability Pr[accept | θ] = 1Eξ (θ)
57
VR (θ) . 2
The clipped weight lies in [0, 2], giving a fixed rejection envelope. The high-moment bound controls the statistical cost of clipping, while finite-atom estimates control the numerical error in evaluating the acceptance probability. The ideal acceptance rate is at least 1/(8q). For a requested timeout bound 0 < ϵcap < 1, a cap of ⌈8q log(1/ϵcap )⌉ trials gives failure probability at most ϵcap . The same bounded envelope lets us account for proposal and weight errors before charge normalization, which amplifies their numerical contribution by only O(q). The geometric timeout estimate and normalization bounds are made precise in Lemma H.1, Appendix H.3, with the corresponding retry caps and numerical budgets. After acceptance, we complete the remaining public draws according to Section 9.2.
9.9
Choosing the Public Parameters
The estimates above require large control pools and small response defects. We choose one polynomial-size public family that meets these requirements for every fixed accuracy order. Its parameters are verified in Section H.4, and the resulting transport guarantee is stated in Theorem 9.9. One public choice. L = λ + 2,
t = L8 ,
N = λ,
σ = L,
q = the least prime at least 2 t , 16 8
nB = qt12 , KB = KL = KQ = L , 2
g = t16 ,
d = nB + 2g,
KBS = 3L ,
aanc = t ,
2
6
ℓ = 1, BL = 3aanc ,
h = 1.
In particular, q = Θ(L64 ) and d = Θ(L160 ). For the Fourier analysis, we take ρ = L1/4 . This ensures sF > 1 for sufficiently large L, as needed to control the uncanceled modes. The complete Fourier estimates remain valid up to radius 2ρ. These radii serve only the analysis and are independent of the calibration and moment orders. All public sizes are polynomial in λ. The family, including q, d, N , σ, and the rounding map, is independent of accuracy order, sample budget, and adversary. Outside the certified regime, the finite-prefix fallback of Section H.5 preserves affine validity; the stated accuracy holds for all sufficiently large λ.
9.10
Bounded Implementation and Fixed-Order Accuracy
With the public family fixed, we obtain the requested fixed positive accuracy order c by choosing a sufficiently large calibration order and a sufficiently small numerical budget: R ≥ 4c + 267,
ϵnum ≤ 41 L−(c+2) .
Write neglR (L) for the nonnegative negligible bound on charge-amplified clipping and sourceprotection errors established in Section H.6, uniformly over placements. The calibration order changes the weight but stays fixed as λ grows. Increasing the moment order only strengthens the clipping estimate for that same weight. The numerical budget, in turn, determines implementation precision and may shrink with λ. Thus every fixed accuracy order has its own polynomial-time sampler; the degree of its running-time polynomial may depend on that order, while the public family remains the same. The sampler draws one disjoint placement and constructs the finite calibration tables for it. It then draws fresh proposal cores at that placement until the clipped public-charge rule of Section 9.8 58
accepts or the retry cap is reached. After acceptance, it completes the conditional leg maps, independently samples the closure and the two subsequent permutations, and assembles the affine data. If certification fails or trials time out, the prescribed fallbacks still return integral affine data with modular invertibility. Every branch uses public data alone, preserving source independence. Implementation sketch. Table construction and weight evaluation use rational intervals with certified error bounds. Deterministic work limits and retry caps make the worst-case running time polynomial for each fixed calibration order. The precision is chosen so that charge amplification and all subsequent public draws fit the numerical budget. Algorithm 3 in Appendix H.5 gives the complete procedure, precision allocation, and support-preserving fallbacks. Theorem 9.9 (Constructive fixed-order Gaussian AFT). For the family in Section 9.9, each fixed positive integer c admits a uniform PPT sampler Samplec satisfying Definition 5.3. Every execution, including fallback, returns integral source-independent affine data with Q mod q ∈ GLd (Fq ). For the fixed calibration order R chosen above and all sufficiently large λ, its accuracy is bounded by ∆(L(Qe + β mod q) , U (FT,0 )) ≤ CR qL−(R+1)/4 + neglR (L) + ϵnum ,
e ←- DZd ,σ .
The budget ϵnum accounts for errors in drawing the joint placement, numerically sampling the charged core, capping rejection, completing the flag–affine-map pairs, sampling the closure, and drawing the two subsequent independent permutations. The charged-core contribution includes the amplification from normalization. Proof sketch. The Fourier and clipping bounds first give a positive protected endpoint law close to uniform after charge conditioning. We then apply one source coupling to the underlying positive, source-independent public-core law. On a match, the protected and actual endpoints agree and carries are safe, so the endpoint-to-fiber correspondence gives the affine transport bound with a single source-protection cost. The numerical implementation preserves valid affine data on every branch, and its errors fit the stated budget. The full proof, including the accuracy-order calculation, is in Section H.6.
10
Applications
We give three consequences for the fixed parameter family of Section 9.9, with the rounding matrix and quotient encoding of Definition 6.3 and the transport of Theorem 9.9. All dimensions and moduli are polynomially bounded in λ. The transport is used in the security reduction; the functions evaluated in the applications are deterministic rounding functions.
10.1
Basing LAR on Worst-Case Lattice Problems
The direction of the computational reductions is n
GapSVPγ , SIVPγ
o
≤quantum Gaussian LWE ≤classical uniform-zero-fiber LWE ≤classical dLAR.
59
Thus worst-case lattice hardness implies decisional LAR hardness. The classical arrows describe the sample transformations: with a QPT downstream distinguisher, their compositions are QPT on classical sample tables, as in Section 3.1. Here GapSVPγ is the decision shortest-vector problem with approximation gap γ, and SIVPγ asks for N independent lattice vectors of length at most γ times the last successive minimum. The worst-case reduction uses continuous Gaussian errors, whereas our affine transport takes a discrete Gaussian source. Gaussian randomized rounding connects these interfaces while preserving the uniform experiment up to negligible implementation error, as verified in Section I.1. For this public family, the approximation factor is Nq e e γ=O = O(q).
σ
Corollary 10.1 (Worst-case foundation for decisional LAR). For the fixed public family and the approximation factor above, a uniform QPT decisional LAR distinguisher on polynomially many classical random examples with nonnegligible advantage yields uniform quantum polynomialtime algorithms for worst-case GapSVPγ and SIVPγ in dimension N . If the distinguishing advantage is guaranteed only on infinitely many security parameters, the resulting algorithms succeed on those parameters. Consequently, quantum worst-case hardness that excludes such solvers succeeding on infinitely many dimensions implies decisional LAR hardness against uniform QPT distinguishers for every polynomial classical sample count. The proof in Section I.1 chooses the transport accuracy after the adversary’s sample and advantage bounds, then composes with the Gaussian rounding interface. This order of choices supports every polynomial sample count within one fixed public family.
10.2
Direct Field-Valued Weak PRFs in Constant-Depth Threshold Circuits
Deterministic rounding as a source of weak pseudorandom functions, including TC0 evaluation, has a substantial history [BPR12, AKPW13]. Here we obtain a direct field-valued construction whose fixed polynomial parameters support every polynomial random-example budget. Its input law is exactly uniform on the full field-matrix space, and its evaluation is the explicit quotient-rounding map; the affine transport is needed only to prove security. Let K := FN q \ {0}. Sample a key s ←- U (K) and define Fs : Fd×N −→ Fq , q
Fs (M) := fT (Ms).
Excluding the zero key makes each single output exactly uniform for every fixed key under uniform inputs. Security concerns the joint law of examples sharing that key. This marginal property differs from the key-uniformity condition of Ding, Jain, and Komargodski [DJK26, Definition 15], which fixes an input and randomizes the key. For implementation, use a bounded polynomial-time key sampler supported on K whose law is within 2−λ in SD of U (K). Its sampling error and the effect of repeated inputs are negligible for every polynomial sample count. The joint key-and-input evaluation circuits are polynomial-time constructible. Security is against uniform QPT adversaries receiving any polynomial number of independent classical random examples from one fixed key, in the access model of Section 3.1.
60
Proposition 10.2 (A field-valued weak PRF in TC0 ). Under the worst-case hardness condition of Corollary 10.1, the bounded implementation above has post-quantum weak pseudorandomness against uniform QPT random-example distinguishers receiving polynomially many classical examples. Its joint key-and-input evaluation is in TC0 , and its single-output marginals are exactly uniform for every fixed key under uniform field-matrix inputs. The evaluation circuit uses a fixed sequence of arithmetic stages: inner products, coordinatewise floors, and the quotient sum. Their polynomially bounded ranges permit parallel threshold comparisons. Section I.2 verifies key sampling, circuit construction, and security against a uniformly random function.
10.3
Noise-Free Learning on a Uniform Finite Grid
The weak PRF of Proposition 10.2 supplies a family of noise-free learning targets: each label is a deterministic function of a uniform input and a fixed unknown key. A learner that predicts fresh field labels with an inverse-polynomial advantage over the uniform-guess baseline 1/q yields a decisional LAR distinguisher, also when training is QPT. Thus the same worst-case lattice hardness condition rules out such efficient prediction for these polynomial-size TC0 functions under uniform . The learner may be improper, provided it outputs a classical hypothesis with inputs in Fd×N q efficient deterministic classical evaluation, as specified below. This is the standard learning-todistinguishing argument used for rounding-based targets; see [CGKM22, Theorem 4.1] and the verification in Section I.3. For the ReLU representation, set D := dN and X := {0, . . . , q − 1}D , identify each input matrix with its canonical entries in X , and define gs (M) :=
[Fs (M)]q . q
Grid coordinates are encoded as binary integers and labels as exact rational numerator and denominator pairs. Network depth counts ReLU hidden layers, excluding the final affine scalar output. For our public family, q ≤ d ≤ D = poly(λ), so time polynomial in the learning dimension is also polynomial in the security parameter. Lemma 10.3 (Two-hidden-layer representation on a finite grid). For every s ∈ K, the function gs on X is representable by a two-hidden-layer ReLU network of size polynomial in D, with rational weights and biases of polynomially bounded magnitude and bit length. The first layer implements the coordinatewise floors, whose sum gives an integer score. The second implements reduction modulo q and normalization on the score’s bounded integer range. The construction is polynomial-time in D given the key and yields a [0, 1]-valued extension to all real inputs. Section I.4 gives the complete construction, including the O(Dq 2 ) unit bound and O(log D) parameter bit length. Learning model. A learner is a uniform QPT algorithm whose running time is polynomial in D on every input transcript. It receives independent classical noiseless examples under U (X ) and outputs a classical description of a possibly improper hypothesis gb. A uniform deterministic classical evaluator must, for every output hypothesis and every grid point, approximate its prediction clipped 61
to [0, 1] by a rational number to additive error 1/1000 in time polynomial in D. No quantum state is part of the hypothesis or supplied to its evaluator. For a target gs , squared loss means 2
EM←-U(X ) gb(M) − gs (M) , where the input is fresh and independent of training. Success probability is over the training examples and the learner’s internal randomness and measurement outcomes. Corollary 10.4 (Learning hardness on a uniform finite grid). Under the preceding learning model, a learner attaining squared loss at most 1/100 with success probability at least 2/3 for every target of Lemma 10.3 yields a uniform QPT decisional LAR distinguisher on classical samples with advantage at least 1/2 for all sufficiently large λ. Independent validation separates the learner’s small squared loss from the constant variance of an independent uniform label. Section I.3 gives the quantitative argument, including the evaluation error and the zero-secret event. Together with Corollary 10.1, the corollary rules out such a QPT learner under the stated quantum worst-case lattice hardness condition. In particular, it rules out learning all polynomialsize two-hidden-layer ReLU networks with polynomially bounded rational weights and biases of polynomial bit length under the same classical sampling and hypothesis-evaluation conventions. In contrast, Lemma 3.8 gives exact identification from O(N ) classical examples at fixed confidence by computationally inefficient exhaustive search. The hardness concerns efficient learning in the stated classical-example model; it does not cover coherent quantum examples or quantum membership queries.
AI Disclosure We used ChatGPT in preparing this paper. It assisted with developing and checking the algorithm as well as drafting parts of the text and proofs, reviewing the manuscript for correctness, consistency and presentation, and LaTeX typesetting. The author checked all statements and proofs and take full responsibility for the content.
References [AGS21]
Srinivasan Arunachalam, Alex Bredariol Grilo, and Aarthi Sundaram. Quantum hardness of learning shallow classical circuits. SIAM Journal on Computing, 50(3):972–1013, 2021. 2
[AKPW13] Joël Alwen, Stephan Krenn, Krzysztof Pietrzak, and Daniel Wichs. Learning with rounding, revisited - new reduction, properties and applications. In Ran Canetti and Juan A. Garay, editors, Advances in Cryptology – CRYPTO 2013, Part I, volume 8042 of Lecture Notes in Computer Science, pages 57–74, Santa Barbara, CA, USA, August 18–22, 2013. Springer Berlin Heidelberg, Germany. 1, 12, 60 [Bar68]
Erwin H. Bareiss. Sylvester’s identity and multistep integer-preserving Gaussian elimination. Mathematics of Computation, 22(103):565–578, 1968. 85
62
[BBLM05] Stéphane Boucheron, Olivier Bousquet, Gábor Lugosi, and Pascal Massart. Moment inequalities for functions of independent random variables. The Annals of Probability, 33(2):514–560, 2005. 117 [BLMR13] Dan Boneh, Kevin Lewi, Hart William Montgomery, and Ananth Raghunathan. Key homomorphic PRFs and their applications. In Ran Canetti and Juan A. Garay, editors, Advances in Cryptology – CRYPTO 2013, Part I, volume 8042 of Lecture Notes in Computer Science, pages 410–428, Santa Barbara, CA, USA, August 18–22, 2013. Springer Berlin Heidelberg, Germany. 1 [BP14]
Abhishek Banerjee and Chris Peikert. New and improved key-homomorphic pseudorandom functions. In Juan A. Garay and Rosario Gennaro, editors, Advances in Cryptology – CRYPTO 2014, Part I, volume 8616 of Lecture Notes in Computer Science, pages 353–370, Santa Barbara, CA, USA, August 17–21, 2014. Springer Berlin Heidelberg, Germany. 1
[BPR12]
Abhishek Banerjee, Chris Peikert, and Alon Rosen. Pseudorandom functions and lattices. In David Pointcheval and Thomas Johansson, editors, Advances in Cryptology – EUROCRYPT 2012, volume 7237 of Lecture Notes in Computer Science, pages 719– 737, Cambridge, UK, April 15–19, 2012. Springer Berlin Heidelberg, Germany. 1, 12, 60
[BV15]
Zvika Brakerski and Vinod Vaikuntanathan. Constrained key-homomorphic PRFs from standard lattice assumptions - or: How to secretly embed a circuit in your PRF. In Yevgeniy Dodis and Jesper Buus Nielsen, editors, TCC 2015: 12th Theory of Cryptography Conference, Part II, volume 9015 of Lecture Notes in Computer Science, pages 1–30, Warsaw, Poland, March 23–25, 2015. Springer Berlin Heidelberg, Germany. 1
[CGKM22] Sitan Chen, Aravind Gollakota, Adam Klivans, and Raghu Meka. Hardness of noise-free learning for two-hidden-layer neural networks. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 10709–10724. Curran Associates, Inc., 2022. 2, 12, 61, 134 [Dev86]
Luc Devroye. Non-Uniform Random Variate Generation. Springer, New York, 1986. 72
[DJK25]
Youlong Ding, Aayush Jain, and Ilan Komargodski. A new approach for LPN-based pseudorandom functions: Low-depth and key-homomorphic. In Michal Koucký and Nikhil Bansal, editors, 57th Annual ACM Symposium on Theory of Computing, pages 1898–1909, Prague, Czechia, June 23–27, 2025. ACM Press. 1
[DJK26]
Youlong Ding, Aayush Jain, and Ilan Komargodski. Pseudorandom functions in NC1 from LWE/LPN/CDH (or: How to build PRFs in NC1 , generically), 2026. arXiv:2608.25213. 1, 12, 60
[DLSS14]
Amit Daniely, Nati Linial, and Shai Shalev-Shwartz. From average case complexity to improper learning complexity. In David B. Shmoys, editor, 46th Annual ACM Symposium on Theory of Computing, pages 441–448, New York, NY, USA, May 31 – June 3, 2014. ACM Press. 12
63
[DPS23]
Julien Devevey, Alain Passelègue, and Damien Stehlé. G+G: A Fiat-Shamir lattice signature based on convolved gaussians. In Jian Guo and Ron Steinfeld, editors, Advances in Cryptology – ASIACRYPT 2023, Part VII, volume 14444 of Lecture Notes in Computer Science, pages 37–64, Guangzhou, China, December 4–8, 2023. Springer, Singapore, Singapore. 34
[DV21]
Amit Daniely and Gal Vardi. From local pseudorandom generators to hardness of learning. In Mikhail Belkin and Samory Kpotufe, editors, Proceedings of Thirty Fourth Conference on Learning Theory, volume 134 of Proceedings of Machine Learning Research, pages 1358–1394. PMLR, 2021. 2
[GGM86]
Oded Goldreich, Shafi Goldwasser, and Silvio Micali. How to construct random functions. Journal of the ACM, 33(4):792–807, October 1986. 1
[GLPN93] Giorgio Gallo, Giustino Longo, Stefano Pallottino, and Sang Nguyen. Directed hypergraphs and applications. Discrete Applied Mathematics, 42(2–3):177–201, 1993. 75 [GPV08]
Craig Gentry, Chris Peikert, and Vinod Vaikuntanathan. Trapdoors for hard lattices and new cryptographic constructions. In Richard E. Ladner and Cynthia Dwork, editors, 40th Annual ACM Symposium on Theory of Computing, pages 197–206, Victoria, BC, Canada, May 17–20, 2008. ACM Press. 16, 78
[HAB02]
William Hesse, Eric Allender, and David A. Mix Barrington. Uniform constant-depth threshold circuits for division and iterated multiplication. Journal of Computer and System Sciences, 65(4):695–716, 2002. 133
[Hoe63]
Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963. 134
[JKP18]
Tibor Jager, Rafael Kurek, and Jiaxin Pan. Simple and more efficient PRFs with tight security from LWE and matrix-DDH. In Thomas Peyrin and Steven Galbraith, editors, Advances in Cryptology – ASIACRYPT 2018, Part III, volume 11274 of Lecture Notes in Computer Science, pages 490–518, Brisbane, Queensland, Australia, December 2–6, 2018. Springer, Cham, Switzerland. 1
[Kha95]
Michael Kharitonov. Cryptographic lower bounds for learnability of Boolean functions on the uniform distribution. Journal of Computer and System Sciences, 50(3):600–610, 1995. 2
[Kim20]
Sam Kim. Key-homomorphic pseudorandom functions from LWE with small modulus. In Anne Canteaut and Yuval Ishai, editors, Advances in Cryptology – EUROCRYPT 2020, Part II, volume 12106 of Lecture Notes in Computer Science, pages 576–607, Zagreb, Croatia, May 10–14, 2020. Springer, Cham, Switzerland. 1
[KS09]
Adam R. Klivans and Alexander A. Sherstov. Cryptographic hardness for learning intersections of halfspaces. Journal of Computer and System Sciences, 75(1):2–12, 2009. 2
[KV94]
Michael Kearns and Leslie G. Valiant. Cryptographic limitations on learning Boolean formulae and finite automata. Journal of the ACM, 41(1):67–95, 1994. 2
[LMN93]
Nathan Linial, Yishay Mansour, and Noam Nisan. Constant depth circuits, Fourier transform, and learnability. Journal of the ACM, 40(3):607–620, 1993. 2 64
[LP17]
David A. Levin and Yuval Peres. Markov Chains and Mixing Times. American Mathematical Society, 2 edition, 2017. With contributions by Elizabeth L. Wilmer. 15, 67, 73
[LZZ25]
Shuchen Li, Ilias Zadik, and Manolis Zampetakis. On the hardness of learning one hidden layer neural networks. In Gautam Kamath and Po-Ling Loh, editors, Proceedings of The 36th International Conference on Algorithmic Learning Theory, volume 272 of Proceedings of Machine Learning Research, pages 700–701. PMLR, 2025. 12
[McD89]
Colin McDiarmid. On the method of bounded differences. In J. Siemons, editor, Surveys in Combinatorics, 1989, volume 141 of London Mathematical Society Lecture Note Series, pages 148–188. Cambridge University Press, 1989. 117
[Mon18a]
Hart Montgomery. More efficient lattice PRFs from keyed pseudorandom synthesizers. In Debrup Chakraborty and Tetsu Iwata, editors, Progress in Cryptology - INDOCRYPT 2018: 19th International Conference in Cryptology in India, volume 11356 of Lecture Notes in Computer Science, pages 190–211, New Delhi, India, December 9– 12, 2018. Springer, Cham, Switzerland. 1
[Mon18b]
Hart Montgomery. A nonstandard variant of learning with rounding with polynomial modulus and unbounded samples. In Tanja Lange and Rainer Steinwandt, editors, Post-Quantum Cryptography - 9th International Conference, PQCrypto 2018, pages 312–330, Fort Lauderdale, Florida, United States, April 9–11, 2018. Springer, Cham, Switzerland. 11
[MP12]
Daniele Micciancio and Chris Peikert. Trapdoors for lattices: Simpler, tighter, faster, smaller. In David Pointcheval and Thomas Johansson, editors, Advances in Cryptology – EUROCRYPT 2012, volume 7237 of Lecture Notes in Computer Science, pages 700– 718, Cambridge, UK, April 15–19, 2012. Springer Berlin Heidelberg, Germany. 16, 34
[NR04]
Moni Naor and Omer Reingold. Number-theoretic constructions of efficient pseudorandom functions. Journal of the ACM, 51(2):231–262, March 2004. 1
[NR23]
Parker Newton and Silas Richelson. A lower bound for proving hardness of learning with rounding with polynomial modulus. In Helena Handschuh and Anna Lysyanskaya, editors, Advances in Cryptology – CRYPTO 2023, Part V, volume 14085 of Lecture Notes in Computer Science, pages 805–835, Santa Barbara, CA, USA, August 20–24, 2023. Springer, Cham, Switzerland. 1, 12
[Pei10]
Chris Peikert. An efficient and parallel Gaussian sampler for lattices. In Tal Rabin, editor, Advances in Cryptology – CRYPTO 2010, volume 6223 of Lecture Notes in Computer Science, pages 80–97, Santa Barbara, CA, USA, August 15–19, 2010. Springer Berlin Heidelberg, Germany. 132
[Pei15]
Chris Peikert. A decade of lattice cryptography. Cryptology ePrint Archive, Report 2015/939, 2015. 13, 16, 17
[Reg05]
Oded Regev. On lattices, learning with errors, random linear codes, and cryptography. In Harold N. Gabow and Ronald Fagin, editors, 37th Annual ACM Symposium on Theory of Computing, pages 84–93, Baltimore, MA, USA, May 22–24, 2005. ACM Press. 4, 17, 132 65
[Sho94]
Peter W. Shor. Algorithms for quantum computation: Discrete logarithms and factoring. In 35th Annual Symposium on Foundations of Computer Science, pages 124–134, Santa Fe, NM, USA, November 20–22, 1994. IEEE Computer Society Press. 1
[Sho04]
Victor Shoup. Sequences of games: a tool for taming complexity in security proofs. Cryptology ePrint Archive, Report 2004/332, 2004. 69, 72, 133
[Sta16]
Richard P. Stanley. Smith normal form in combinatorics, 2016. arXiv:1602.00166. 13
[Val84]
Leslie G. Valiant. A theory of the learnable. In 16th Annual ACM Symposium on Theory of Computing, pages 436–445, Washington, DC, USA, 1984. ACM Press. 1
[Zas91]
Thomas Zaslavsky. Orientation of signed graphs. European Journal of Combinatorics, 12(4):361–375, 1991. 75
A
Foundations and the Main Reduction
We complete the main reduction, then verify the lattice, probability, rounding, and calibration facts used in the main text.
A.1
The main reduction
Proof of Theorem 1.1. Fix the public family of Section 9.9 and the rounding matrix of Definition 6.3 before choosing an accuracy order, sample count, or distinguisher. Given a uniform QPT distinguisher with nonnegligible advantage on polynomially many classical examples, choose a fixed accuracy order as in Corollary 5.5. Theorem 9.9 supplies its source-independent uniform PPT sampler. It preserves integral affine validity and modular invertibility at every security parameter, with the approximation guarantee holding eventually. The composition corollary therefore gives a uniform QPT Gaussian LWE distinguisher with nonnegligible advantage. This sample-table composition preserves the block count, uses td scalar samples, and invokes the original distinguisher once after classical preprocessing. Applying Corollary 10.1 gives the claimed uniform QPT algorithms for worst-case GapSVPγ and e SIVPγ , with γ = O(q). Its proof in Section I.1 supplies the Gaussian interface and the quantum subroutine implementation. If the distinguishing advantage is guaranteed only infinitely often, the lattice guarantees hold on the corresponding dimensions. The running-time polynomial and accuracy threshold may depend on the fixed order and adversary bounds; the public family and source law remain unchanged.
A.2
Smith coordinates and the image lattice
Proof of Lemma 2.4. Fix a rounding matrix T together with matrices U, V as in Definition 2.3. The reductions of U and V modulo q are invertible over Fq . Hence the same identity modulo q transforms T mod q into diag(Ir , 0ℓ×ℓ ). Consequently, rankFq (T mod q) = r,
dimFq ker(T mod q) = ℓ.
Taking determinants gives | det T| = q ℓ > 0, so T has full rank d over Q. Since VZd = Zd , the lattice generated by the columns of T satisfies UL(T) = Zr × qZℓ . 66
The unimodular map U preserves both Zd and qZd , so qZd ⊆ L(T) ⊆ Zd . Its quotient is ∼ Zd /(Zr × qZℓ ) ∼ Zd /L(T) = = Fℓq . For a fixed choice of U, this isomorphism sends the coset of z ∈ Zd to the last ℓ coordinates of Uz, reduced modulo q. Thus the quotient has q ℓ cosets. If r = 0, then T mod q = 0, L(T) = qZd , and the quotient is Fdq . If r = d, then T is unimodular, L(T) = Zd , and the quotient has one element. For 0 < r < d, the modular image and the quotient both have positive dimension strictly less than d. The condition ℓ ≥ 1 is exactly the requirement that the quotient contain more than one coset.
A.3
Conditioning and statistical distance
Proof of the conditioning identities in Section 2.3. On A, conditioning rescales each probability by 1/P(A), and off the event it sets that probability to zero. Thus 1 − 1 + P(Ac ) P(ω) 2∆(P, P(· | A)) = P(A) ω∈A
X
= 2P(Ac ). For independent variables restricted separately to coordinate events, both the joint point probability and the probability of the restriction factor. Dividing the former by the latter proves the product conditional law and hence preservation of independence. The contraction, coupling, and product bounds in Section 2.3 are standard finite-state inequalities [LP17, Chapter 4]. Their proofs extend to countable spaces by absolute summability.
A.4
Gaussian exponential moments
Proof of Lemma 2.9. Completing the square expresses the expectation as the right-hand exponential times ρσ,0 (Λ − σ 2 tutest /(2π)) . ρσ,0 (Λ) For rank zero, both sides of the claimed inequality equal one. For positive rank, regard Λ as a fullrank lattice in its Euclidean span. Poisson summation within SpanR (Λ) expresses the translated Gaussian mass as a sum of positive dual Gaussian coefficients multiplied by cosines. Each cosine is at most one, and all are one at zero shift, so the ratio is at most one.
A.5
Quotient labels and translation equivariance
Proof of Lemma 3.5. Well-defined quotient encoding. For integer vectors x, z, the identity ⌊Tx/q + Tz⌋ = ⌊Tx/q⌋ + Tz proves the stated translation formula. By Lemma 2.4, the quotient projection has kernel L(T) and is surjective. The change Tz lies in this kernel, proving independence of the integer lift.
67
Translation equivariance. Since V is unimodular, its reduction modulo q is invertible, so J has full column rank. Moreover, TJint = qU−1 E. Thus (T mod q)J = 0 over Fq . Since the modular kernel has dimension ℓ by Section 2.2, the columns of J form a basis of that kernel. Applying coordinatewise floor to integer lifts therefore gives ART [x]q + Jint [a]q = ART ([x]q ) + U−1 E[a]q . By the first property, reducing the shifted input to its canonical lift does not change the encoded label. Applying P modulo q proves the translation-equivariance claim of Lemma 3.5. Balanced fibers. The image of J is an ℓ-dimensional subspace of Fdq . For each fixed x ∈ Fdq , the map a 7→ x + Ja is a bijection from Fℓq onto the coset x + im(J). By translation equivariance in Lemma 3.5, its label is fT (x) + a, so each label occurs exactly once on that coset. There are q d−ℓ = q r such cosets, so each label has exactly that many preimages.
A.6
Information-theoretic identifiability
N , and fix distinct secrets s, s′ ∈ FN Proof of Lemma 3.8. Let M be uniform on Fd×N q . Choose a ∈ Fq q with a⊺ (s − s′ ) = 1; such a vector exists because s − s′ ̸= 0. For any fixed u ∈ Fℓq , the matrix M′ := M + (Ju)a⊺ is also uniform. Translation equivariance from Lemma 3.5 gives
fT (M′ s) − fT (M′ s′ ) = fT (Ms) + u(a⊺ s) − fT (Ms′ ) − u(a⊺ s′ ) = fT (Ms) − fT (Ms′ ) + u. The difference law is translation-invariant on the finite label space, hence uniform. The two labels therefore coincide with probability q −ℓ . Fix the true secret and one incorrect candidate. By this uniform difference law and independence of the matrices, the candidate matches all labels with probability q −ℓt . A union bound over the q N − 1 incorrect candidates proves the stated recovery bound. Exhaustive search recovers the secret whenever it is the unique candidate explaining every label. For ℓ = 1, take t = N + k with an integer k ≥ 0. The recovery failure probability is at most (1 − q −N )q −k < q −k . For fixed output dimension and confidence, O(N ) examples therefore suffice for exact recovery, which implies information-theoretic probably approximately correct (PAC) learnability under uniform inputs. The consistency test accepts exactly when some secret explains every label. The sampled common secret always explains a real table, so the test accepts RealLAR with probability one. In the t ideal experiment, condition on any public matrix table and fix a candidate secret. The independent uniform labels match its outputs with probability q −ℓt . A union bound over all q N candidates bounds the acceptance probability on IdealLAR by q N −ℓt . Thus the distinguishing advantage is at t N −ℓt least 1 − q when ℓt > N . Both procedures enumerate q N secrets and generally take exponential time, so neither contradicts Definition 3.7 or the later conditional hardness results for efficient learning.
68
A.7
From uniform-zero-fiber LWE to decisional LAR
Proof of Theorem 4.2. Fix D and t. We use the following sequence of games, using the standard indistinguishability and failure-event transitions described in [Sho04, Section 1.1]. Each game constructs the indexed family {(Mi , yi )}ti=1 , retaining repeated entries, gives it to D together with (1λ , pp), and outputs its decision bit. The displays below specify how this family is generated. The view of D means this input family; its public parameters are fixed throughout the games. We suppress these common public inputs in the acceptance probabilities below. Auxiliary random choices are kept internal to the game. Every sampling instruction uses fresh independent randomness; variables sampled before a loop are shared across its iterations. Vector and matrix arithmetic is over Fq . The games specify probability experiments with exact uniform draws; a worst-case polynomial-time implementation is constructed at the end of the proof. All views are classical, so their distributional identities and mixture formulas are independent of the implementation of D. The contraction bound in Section 2.3 applies throughout. The reduction generates the complete table classically, invokes D once, and returns its measured output bit without inspecting or rewinding its quantum state. Game G0 : This is the real LAR experiment:
s ←- U FN q t {(Mi , yi )}i=1 : for i = 1, . .. , t do Mi ←- U Fd×N ; yi := fT (Mi s) q
Difference. This is the starting game, with no modification to the real experiment: the view of D has law RealLAR . Thus t Pr[G0 = 1] − Pr[D(RealLAR ) = 1] = 0. t Game G1 : We modify G0 by defining the event E0 := {s = 0}. On this event, replace the labels by independent uniform vectors in Fℓq :
; E0 := {s = 0} s ←- U FN q for i = 1, . .. , t do t d×N {(Mi , yi )}i=1 : Mi ←- U Fq if ¬E0 then yi := f (M s) T i ℓ else yi ←- U Fq Difference. Couple the two games to use the same classical secret and matrices. Their input =0 views agree whenever E0 does not occur. Let RealLAR,̸ denote the law of the output family in the t real LAR experiment conditioned on its sampled secret being nonzero. The conditional view in G1 has this law on E0 and has law IdealLAR on E0 . Its unconditional law is therefore t =0 (1 − q −N )RealLAR,̸ + q −N IdealLAR . t t
On E0 , the labels in G0 are all zero because fT (0) = 0; in G1 they are independent and uniform. The SD between the conditional laws of the two views on this event is exactly 1 − q −ℓt . Since the secret is uniform, the difference in acceptance probabilities satisfies Pr[G0 = 1] − Pr[G1 = 1] ≤ q −N 1 − q −ℓt .
69
(3)
Game G2 : Independently sample a0 ←- U FN q
and define
E := {a0⊺ s ̸= 1}. Modify G1 by using independent uniform labels whenever E occurs, and real labels otherwise. Since a0⊺ 0 = 0 ̸= 1, we have E0 ⊆ E. Thus the zero-secret case still uses uniform labels:
s ←- U FN ; a0 ←- U FN ; E := {a0⊺ s ̸= 1} q q for i = 1, . .. , t do t d×N {(Mi , yi )}i=1 : Mi ←- U Fq if ¬E then yi := fT (Mi s) ℓ else yi ←- U Fq
Difference. For each nonzero s, exactly a 1/q fraction of the choices of a0 satisfy a0⊺ s = 1: the nonzero linear functional a0 7→ a0⊺ s has exactly q N −1 preimages of each field element. Thus Pr[E] =
1 − q −N Pr[E0 ] = , q q
LAR,̸=0 and s conditioned on E is uniform over FN q \ {0}. The conditional view in G2 has law Realt on E and law IdealLAR on E. Its unconditional law is t
1 − q −N 1 − q −N =0 RealLAR,̸ + 1 − t q q
!
IdealLAR . t
Game G3 : We replace the direct sampling and event-dependent label rule in G2 by a transformation of real uniform-zero-fiber LWE blocks:
s ←- U FN ; a0 ←- U FN q q for i = 1, . . . , t do t {(Mi , yi )}i=1 : Ai ←- U Fd×N ; ei ←- U (FT,0 ) ; yi ←- U Fℓq q ⊺ bi := Ai s + ei ; Mi := −Ai + (bi + Jyi )a0
Here the secret, input matrices, and errors are drawn by the real LWE experiment. A procedure given only the blocks {(Ai , bi )}ti=1 can produce the displayed output matrices by sampling a0 and the labels and applying the last assignment. It does not need the secret or errors. Difference. This modification preserves the output distribution. To prove this, define xi := ei +Jyi . By Lemma 4.1, these vectors are independent and uniform over Fdq , independent of all input matrices Ai , the secret, and a0 , with yi = fT (xi ). The matrices in the rank-one transformation above satisfy Mi = −Ai IN − sa0⊺ + xi a0⊺ . Fix s and a0 such that E does not occur. Multiplying this identity by s gives Mi s = xi ,
fT (Mi s) = yi .
The linear map from (Ai , xi ) to Mi is surjective: any prescribed Mi is obtained by taking Ai = −Mi and xi = Mi s. Each fiber of this surjective linear map is a translate of its kernel and hence has the same cardinality. The map therefore sends the uniform input pair to a uniform matrix. The blocks remain independent for these fixed choices of s and a0 , exactly as in G2 . 70
Now fix s and a0 such that E occurs. Then det IN − sa0⊺ = 1 − a0⊺ s ̸= 0.
For these fixed values, conditional on all xi , the transformed-matrix expression above defines an affine bijection in each input matrix Ai . Hence the output matrices are independent and uniform, independently of the vectors xi and their labels. These labels are themselves independent and uniform. This conditional output law is IdealLAR for every such fixed secret and auxiliary vector, so t it remains the same after averaging over their conditional law. On E the previous argument gives the real branch of G2 . The secret and auxiliary vector have the same joint law in both games, proving equality of the output laws. Therefore, Pr[G2 = 1] − Pr[G3 = 1] = 0. Game G4 : We replace the real uniform-zero-fiber LWE blocks in G3 by ideal LWE blocks, keeping the transformation unchanged:
a0 ←- U FN q for i = 1, . . . , t do t {(Mi , yi )}i=1 : Ai ←- U Fd×N ; bi ←- U Fdq ; yi ←- U Fℓq q ⊺ Mi := −Ai + (bi + Jyi )a0
Difference. The gap between G3 and G4 is exactly the advantage of the following procedure B id , defined using exact uniform auxiliary choices. On input {(Ai , bi )}ti=1 , it samples a0 ←- U FN q
and yi ←- U Fℓq independently of the input and one another, computes Mi := −Ai + (bi + Jyi )a0⊺ , and gives the resulting indexed family of matrices and labels, together with (1λ , pp), to D. It returns the distinguisher’s output bit. It simulates G3 on real input and G4 on ideal input. This procedure performs polynomially many field operations and one call to D. It does not test either bad event or reveal a0 . Hence Pr[G3 = 1] − Pr[G4 = 1] = AdvLWE Bid (λ, t).
(4)
Game G5 : We replace the affine construction in G4 by direct sampling of independent uniform matrices and labels: (
{(Mi , yi )}ti=1
for i = 1, . .. , t do : Mi ←- U Fd×N ; y ←U Fℓq i q
)
Difference. This modification preserves the output distribution. To see this, condition in G4 on a0 , all bi , and all yi . The rank-one matrix transformation defined above is an affine bijection in each independent uniform Ai . Thus the output matrices are independent and uniform, independently of the labels, as in G5 . By its sampling rule, G5 is exactly the ideal LAR experiment. Consequently, Pr[G4 = 1] − Pr[G5 = 1] = 0.
71
Combining the games.
The initial and final games satisfy AdvdLAR (λ, t) = Pr[G0 = 1] − Pr[G5 = 1] . D
Since G2 and G3 have the same output law, as do G4 and G5 , Equation (4) gives Pr[G2 = 1] − Pr[G5 = 1] = AdvLWE Bid (λ, t). =0 The laws of the views in G1 and G2 are mixtures of the same two distributions, RealLAR,̸ and t LAR Idealt , with respective real-branch weights Pr[E0 ] and Pr[E0 ]/q. Subtracting the ideal acceptance probability and taking absolute values gives
Pr[G1 = 1] − Pr[G5 = 1] = q Pr[G2 = 1] − Pr[G5 = 1] = q AdvLWE Bid (λ, t). The triangle inequality and (3) yield AdvdLAR (λ, t) ≤ Pr[G0 = 1] − Pr[G1 = 1] + Pr[G1 = 1] − Pr[G5 = 1] D −N 1 − q −ℓt . ≤ q AdvLWE Bid (λ, t) + q
(5)
Implement the N + ℓt auxiliary field choices of Bid by standard capped rejection sampling [Dev86, Section III.5.1], independently of the input blocks, with joint statistical error at most εfield := 12 q −(N +ℓt+1) . Both the number of choices and log(1/εfield ) are polynomially bounded in λ, so the resulting B is uniform QPT with a worst-case polynomial running-time bound, using the same input blocks and distinguisher call. The standard failure-event bound [Sho04, Section 1.1], applied in each LWE experiment, changes the advantage by at most 2εfield . Thus the additional loss 2qεfield = q −N −ℓt is absorbed by the unused zero-secret allowance in (5), proving the bound in Theorem 4.2.
A.8
From Gaussian LWE to uniform-zero-fiber LWE
Proof of Theorem 5.4. Fix a positive integer c, a distinguisher D, and a block count t. Use the sampler Samplec from Definition 5.3. The reduction below is defined at every security parameter; we prove its advantage bound for λ ≥ λ0 (c). We use the sequence-of-games method [Sho04, Section 1.1]. Each game gives {(A′i , b′i )}ti=1 to D, together with (1λ , pp), and outputs its decision bit. We suppress these common public inputs in the acceptance probabilities below. Every sampling instruction uses fresh independent randomness; variables sampled before a loop are shared across its iterations. The transport pairs remain internal to the games. All arithmetic is over Fq . The sampler and all table transformations are classical. Equality of table laws is preserved by the quantum distinguisher, and the contraction bound in Section 2.3 controls the approximate transition. Game G0 : This is the real uniform-zero-fiber LWE experiment:
s ←- U FN q for i = 1, . . . , t do ′ ′ t (Ai , bi ) i=1 : A′i ←- U Fd×N ; e′i ←- U (FT,0 ) q ′ ′ ′ bi := Ai s + ei
72
Difference. This is the starting game, whose sample distribution is exactly RealLWE U(F
T,0
Pr[G0 = 1] − Pr[D(RealLWE U( F
T,0
),t . Hence
),t ) = 1] = 0.
Game G1 : We modify G0 by replacing each uniform zero-fiber error with an independently transported Gaussian error:
s ←- U FN q for i = 1, . . . , t do ′ d×N A ←U F ; e ←χ ′ ′ t i G q i (Ai , bi ) i=1 : (Qi , βi ) ←- Samplec (1λ , pp) ′ e := Eval(Q , β , e ) i i i i ′ ′ ′ bi := Ai s + ei
Difference. By Definition 5.3, the law of each e′i , averaged over both its Gaussian source error and its transport pair, is within λ−c of U (FT,0 ). The transported errors are independent across blocks, so the product bound for statistical distance [LP17, Exercise 4.4] gives t e′
∆ L
, U (FT,0 )⊗t ≤ tλ−c .
i i=1
The entire public-matrix table and the shared secret are independent of these errors. Appending them and forming the responses cannot increase statistical distance, nor can quantum postprocessing distinguish the resulting classical tables with a larger gap. Therefore, Pr[G0 = 1] − Pr[G1 = 1] ≤ tλ−c . Game G2 : We replace the direct sampling of the public matrices in G1 by a transformation of real Gaussian LWE blocks:
s ←- U FN q for i = 1, . . . , t do d×N A ←U F ; e ←χ ′ ′ t i i G q (Ai , bi ) i=1 : (Qi , βi ) ←- Samplec (1λ , pp) b := A s + e i i i ′ ′ Ai := Qi Ai ; bi := Eval(Qi , βi , bi )
Difference. The affine evaluation rule gives b′i = A′i s + e′i ,
e′i := Qi ei + βi .
Fix the shared secret and apply Lemma 5.2 independently in each block. The entire transformed matrix table is exactly uniform and independent of the table of transported errors; these joint laws do not depend on the fixed secret. The errors have exactly the joint law used in G1 , with the same shared secret preserved. Thus Pr[G1 = 1] − Pr[G2 = 1] = 0. Game G3 : We replace the real Gaussian LWE blocks in G2 by ideal LWE blocks, keeping the affine transformation unchanged: for i = 1, . . . , t do d×N Ai ←- U Fq ; bi ←- U Fdq ′ ′ t (Ai , bi ) i=1 : (Qi , βi ) ←- Samplec (1λ , pp) ′ ′ Ai := Qi Ai ; bi := Eval(Qi , βi , bi )
73
Difference. Define the Gaussian LWE distinguisher Bc as follows. On receiving its input blocks, it samples a fresh transport pair for each block using Samplec (1λ , pp), independently of the entire input experiment, and applies the matrix and response transformation in G2 . It gives only the transformed classical table to D and returns its measured output bit, without inspecting or rewinding its quantum state. For fixed c, the sampler runs in worst-case polynomial time at every security parameter, so the classical preprocessing followed by the QPT call makes Bc uniform QPT. It uses t input blocks and one call to D, without needing to compute λ0 (c). It simulates G2 on real Gaussian input and G3 on ideal input. Consequently, (λ, t). Pr[G2 = 1] − Pr[G3 = 1] = AdvGauss-LWE Bc Game G4 : We replace the affine construction in G3 by direct sampling of independent uniform matrices and responses: (
(A′i , b′i )
t i=1
for i = 1, . . . , t do : A′i ←- U Fd×N ; b′i ←- U Fdq q
)
Difference. Condition in G3 on all transport pairs. By Lemma 5.2, each transformed pair consists of an independent uniform matrix and response, and these pairs remain independent across blocks. This product law does not depend on the conditioned values, so averaging gives exactly IdealLWE , the distribution in G4 . Hence t Pr[G3 = 1] − Pr[G4 = 1] = 0. Combining the games. The initial and final games are the real and ideal uniform-zero-fiber LWE experiments, respectively. The triangle inequality and the bounds above give AdvUZF-LWE (λ, t) = Pr[G0 = 1] − Pr[G4 = 1] D ≤ Pr[G0 = 1] − Pr[G1 = 1] + Pr[G2 = 1] − Pr[G3 = 1] ≤ tλ−c + AdvGauss-LWE (λ, t). Bc For the hardness implication, suppose that some uniform QPT distinguisher D, polynomially bounded t, and positive polynomial p satisfy AdvUZF-LWE (λ, t) ≥ 1/p(λ) for infinitely many λ. D Choose fixed positive integers b, cadv such that, for all sufficiently large λ, t(λ) ≤ λb ,
p(λ) ≤ λcadv .
Fix one integer c > b + cadv + 2. For all sufficiently large λ, t(λ)λ−c ≤ λb−c ≤
1 1 ≤ . 2λcadv 2p(λ)
Apply the quantitative bound just proved with the fixed sampler Samplec . For infinitely many sufficiently large λ, it gives 1 AdvGauss-LWE (λ, t) ≥ . Bc 2p(λ) Since c is fixed, Bc is uniform QPT, contradicting Gaussian decisional LWE hardness. This order depends on the fixed distinguisher and its polynomial bounds; the public parameter family and Gaussian source remain unchanged. 74
A.9
Finite-dimensional calibration
Proof of Theorem 7.1. The defect of Section 7 satisfies ∥Kk ∥ ≤ κk , so its Neumann series converges in operator norm. Multiplying the partial sum through power k by A = I − K on either side gives I − Kk+1 , which tends to the identity. Thus the series is the inverse, with norm at most P k −1 −1 k≥0 κ = (1 − κ) . Take z = A τ , use the response identity, and apply the inverse bound to −1 z − z0 = A (τ − Az0 ). The mass constraint gives the final claim. Proof of Corollary 7.2. Apply Theorem 7.1 with reference z0 = τ ; its residual has norm at most κ∥τ ∥∞ . For the second claim use inf τ ≥ 1 − a and ∥τ ∥∞ ≤ 1 + b. Proof of Corollary 7.3. Inside [0, 2] the clipping error is zero; outside it, |W − 1| ≥ 1 and the clipping error is at most |W − 1|. Integration gives the stated loss bound.
B
Incidence Geometry and Affine Transport Proofs
This appendix fixes the incidence conventions and verifies the geometric and algebraic statements of Section 6. In the construction, DT maps tree-edge coefficients to vertex loads; the product DT R includes the source-coordinate mixing and the separate charge-injection column of Corollary 6.8. Definition B.1 (Hypergraph). Let d ≥ 1 and use the vertex set V fixed in Section 6.1. A finite hypergraph G = (V, E) consists of the vertex set V , a finite set E of edge labels, and a nonempty support supp(e) ⊆ V for each e ∈ E. Distinct labels may have the same support. A vertex v is incident to e if v ∈ supp(e); its degree is the number of incident hyperedges. An ordinary loopless graph is a hypergraph with | supp(e)| = 2 for every e ∈ E; parallel edges are allowed. Orienting individual vertex–edge incidences is standard in bidirected graph theory [Zas91, Section 2]. For hyperedges, we use the head–tail representation and signed incidence matrix of Gallo et al. [GLPN93, Section 2], with the opposite global sign convention: +1 at tails and −1 at heads. Definition B.2 (Oriented hypergraph and signed incidence matrix). An orientation of a hypergraph G assigns to each e ∈ E a partition tail(e) ∪˙ head(e) = supp(e) into disjoint tail and head sets. Either set may be empty. The hypergraph together with these choices is an oriented hypergraph. Its signed incidence matrix is d×|E|
DG ∈ {−1, 0, 1}
,
(DG )v,e :=
+1
−1
0
if v ∈ tail(e), if v ∈ head(e), otherwise.
An ordinary directed graph is the special case with | tail(e)| = | head(e)| = 1 for every edge. An ordinary edge column is the tail basis vector minus the head basis vector; reversing orientation negates it. Mixing tree-edge coefficients changes the source-to-load matrix while retaining this incidence convention.
75
Definition B.3 (Integer-weighted incidence matrix). Let G be an oriented hypergraph. An integer-weighted incidence matrix of G is a matrix DG,wt ∈ Zd×|E| satisfying, for every vertex v and hyperedge e, Z>0 if v ∈ tail(e), (DG,wt )v,e ∈ Z<0 if v ∈ head(e), {0} otherwise. The absolute value of a nonzero entry is its incidence weight; weights may differ within a hyperedge.
Definition B.4 (Paths, trees, and spanning trees). Let G be an ordinary loopless graph. Path. A path is an alternating sequence of vertices and edges in which each edge joins its two neighboring vertices and no vertex is repeated. Cycle. A cycle is a closed alternating sequence of vertices and edges satisfying the same incidence condition, with at least two edges, no repeated edge, and no repeated vertex other than the coincident endpoints. Connected graph. A graph is connected if every two vertices are joined by a path. Tree. A graph is a tree if it is connected and contains no cycle. Spanning tree. A spanning tree of G is a subgraph that is a tree and contains all of V . For directed graphs these notions refer to the underlying graph obtained by forgetting edge orientations.
B.1
Proof of the tree incidence basis
Proof of Lemma 6.2. For d = 1, the empty incidence matrix generates the trivial lattice. For d > 1, a tree has a leaf, and deleting the leaf and its unique incident edge leaves a tree. Induction therefore gives d − 1 edges. Every incidence column has zero sum, so its integer span is contained in Ad−1 . Conversely, let z ∈ Ad−1 . At a leaf, the prescribed vertex value determines the unique incident edge coefficient up to its orientation sign. Subtract that multiple of the incidence column and delete the leaf. The remaining vector still has zero sum, so induction determines all remaining edge coefficients uniquely. The final vertex equation is automatic. Thus every vector in Ad−1 has a unique integral expansion in the tree columns, proving the basis and rank assertions.
B.2
Image lattice and quotient coordinates
Proof of Lemma 6.4. Every path column has coordinate sum zero, and v0 has coordinate sum q. Hence every vector in L(T) has coordinate sum divisible by q. Conversely, let z ∈ Zd satisfy this divisibility condition and set k := 1⊺ z/q ∈ Z. Then z − kv0 ∈ Ad−1 = Dd Zd−1 , where the equality follows from Lemma 6.2. Thus z ∈ L(T), proving the characterization. 76
The coordinate-sum homomorphism z 7→ 1⊺ z mod q from Zd onto Fq has kernel L(T). Its quotient is therefore cyclic of order q, which gives the index and the claimed Smith normal form. The induced quotient coordinate map is the one specified in Definition 6.3. The rounding-matrix parameters follow from Definition 2.3.
B.3
Canonical endpoint parametrization
Proof of Lemma 6.5. For w̄ ∈ H0 , the integer vector T−1 [w̄]q is a lift of cT (w̄). Using lift independence from Lemma 3.5, we obtain [w̄]q mod q = 0. q Thus the pullback indeed takes values in FT,0 . Multiplying its defining congruence by the integer matrix T gives T[cT (w̄)]q ≡ [w̄]q (mod q).
fT cT (w̄) = P
Hence the proposed inverse recovers w̄, proving injectivity. The hyperplane H0 has q d−1 elements. By Lemma 6.4, r = d − 1; the balanced fibers of Lemma 3.5 therefore give |FT,0 | = q d−1 . The injection is consequently a bijection between these finite sets, and the preceding congruence gives the stated inverse on all of FT,0 .
B.4
Endpoint and carry criterion
Proof of Lemma 6.6. The endpoint w̄ lies in H0 because 1⊺ T ≡ 0⊺ (mod q). Substituting the definitions of the affine output and canonical pullback gives the following difference in Fdq , with all products involving T−1 evaluated over Q before reduction modulo q: x′ − cT (w̄) = Q[x]q + β − T−1 [w̄]q mod q
= T−1 T(Q[x]q + β) − [w̄]q mod q
= T−1 w − [w̄]q mod q
= qT−1 k mod q In particular, qT−1 k is an integer vector. Its reduction modulo q vanishes exactly when T−1 k ∈
Zd , or equivalently k ∈ L(T). Combining this with the lattice characterization of Lemma 6.4 proves
the carry criterion of Lemma 6.6. Couple x′ and cT (w̄) using the same transport data and source input. The carry criterion just proved and the coupling inequality give ∆ L x′ , L(cT (w̄)) ≤ Pr[k ∈ / L(T)].
By Lemma 6.5, the map cT is a bijection from H0 onto FT,0 , so ∆(L(cT (w̄)) , U (FT,0 )) = ∆(L(w̄) , U (H0 )) . The claim follows from the triangle inequality.
B.5
Extended incidence determinants
Proof of Lemma 6.7. The tree columns are an integer basis of Ad−1 by Lemma 6.2. Summing coordinates identifies Zd /Ad−1 with Z. If 1⊺ v = 0, the appended column lies in Ad−1 , so the determinant vanishes. Otherwise, the image of the lattice generated by the appended matrix in this quotient is (1⊺ v)Z. Hence its index in Zd is |1⊺ v|. This finite index equals the absolute determinant of the appended square matrix, proving the claim. 77
B.6
Integral transport from an incidence basis
Proof of Corollary 6.8. Every column of DT Redge has integer sum zero, and the appended column has sum q. By Lemma 6.4, these columns and the admissible initial load lie in L(T). Their Tpreimages are therefore integral, and every integer input yields a load in that lattice and an endpoint in H0 . Lemma 6.7 gives | det DT | = q. Taking determinants in the defining product and dividing by det T, whose absolute value is q by Lemma 6.4, gives the determinant identities of Corollary 6.8. A nonzero determinant modulo the prime q gives the asserted modular invertibility.
C
Local Kernels and Bounded Sampling
This appendix verifies the body and leg laws of Section 8 and their bounded public samplers. It defines the color-fiber operators used for local invertibility and positivity, followed by the rational calibration system and its implementation.
C.1
The cycle body law
The coordinate identity in Definition 8.2 follows by multiplying the path block of Section 8.2 and inserting the two closure entries specified in that definition. Summing its coordinates telescopes to zero. With an ideal draw of xcl , the nB −1 independent body source coordinates and this one independent public Gaussian are nB independent samples from DZ,σ . Their consecutive cyclic differences are exactly the body increment ∆loc B of Definition 8.2, without convolution or smoothing loss. This joint-law identity remains valid after the prescribed body placement and conditional on public data sampled independently of the closure and hidden source. It retains all shared-coordinate dependencies. The identity is not conditioned on the realized closure or affine offset. C.1.1
Bounded Sampling of the Public Cycle-Closing Gaussian
The body sampler draws only the public closure xcl ←- DZ,σ of Definition 8.2, retaining the hidden body coordinates. We implement the scalar Gaussian rejection rule of [GPV08, full version, Section 4.1] with bounded running time, accounting for truncation and finite precision. Assume σ 2 ∈ Q and σ 2 ≥ 2, as in Lemma 8.20, and fix a rational 0 < νG < 1. Use the integer parameters
Truncation and trial cap. RG :=
q
⌈log2 (8/νG )⌉ , HG := RG ⌈σ⌉,
MG := 2HG + 1,
TG := ⌈120RG ⌈log2 (4/νG )⌉⌉ .
The ideal trial proposes an integer zG uniformly from [−HG , HG ]∩Z and accepts it with probability 2 2 e−πzG /σ . The first accepted proposal has the Gaussian law conditioned on that interval. By Lemma 2.9 and Chernoff’s bound, 2
2
2
Pr [|x| > HG ] ≤ 2e−π(HG +1) /σ ≤ 2e−πRG ≤ νG /4.
x←-DZ,σ
This uses the integer threshold HG + 1; no smoothing assumption is required. The interval [−σ, σ] contains at least σ integers, all with acceptance weight at least e−π . Since σ ≥ 1 and RG ≥ 1, MG ≤ 5RG σ. Consequently every ideal trial succeeds with probability at least 78
e−π /(5RG ) > 1/(120RG ). Stop after at most TG trials and return xcl = 0 if none succeeds. The failure probability is at most exp −TG /(120RG ) ≤ νG /4. The zero fallback preserves exact integer affine validity. Finite precision.
Choose the fixed bit counts bG,prop := ⌈log2 (8MG TG /νG )⌉ , bG,acc := ⌈log2 (16TG /νG )⌉ .
Reduce a uniform bG,prop -bit integer modulo MG and subtract HG to obtain the proposal. Its statistical distance from uniform is at most MG 2−bG,prop ≤ νG /(8TG ). Evaluate the Gaussian acceptance weight with absolute error at most 2−bG,acc , clamp the approximation to [0, 1], and round down to a multiple of 2−bG,acc . A fresh uniform bG,acc -bit integer implements this coin exactly. The acceptance probability differs from its ideal value by at most 21−bG,acc ≤ νG /(8TG ). Coupling all proposals and coins adds at most νG /4 over the capped execution. Together with truncation and the failure branch, this proves ∆(L(xcl ) , DZ,σ ) ≤ νG . All random bits are fresh and independent of the hidden source and all other sampling blocks. Worst-case complexity. Exact integer and rational comparisons on the binary inputs determine ⌈σ⌉ and all parameter and precision ceilings. No proposal-interval enumeration is needed. Each candidate and output has O(log⌈σ⌉ + log(RG + 1)) bits. On this interval the absolute Gaussian 2 , so standard rational approximations to π and the exponential evaluate exponent is at most 4πRG the acceptance weight to the stated absolute precision in polynomial time. The cap TG and both bit counts are polynomial in the binary input lengths and log(1/νG ). Thus every execution has polynomial running time and output length. The sampler never observes, conditions on, or rejects a hidden source coordinate.
C.2
Safe color slices
Under their respective parameter conditions, the slices have the following interval forms and positive sizes: Iξ = {max(0, ξ), . . . , min(q − 1, q − 1 + ξ)}, |Iξ | = q − |ξ| > 0, Jξ,h = {h + max(0, ξ), . . . , q − 1 − h + min(0, ξ)}, |Jξ,h | = q − 2h − |ξ| > 0. Proof of the slice identities following Definitions 8.3 and 8.4. For an ordered pair with sum q −1+ ξ, requiring both coordinates to lie between zero and q − 1 imposes 0 ≤ b ≤ q − 1,
ξ ≤ b ≤ q − 1 + ξ.
Intersecting the intervals gives the safe slice of Definition 8.3; counting its integer points gives q−|ξ|. Requiring both coordinates instead to lie in Ch adds h to both lower bounds and subtracts it from both upper bounds. Their intersection gives the trimmed slice of Definition 8.4, with q − 2h − |ξ| integer points. The stated hypotheses make these counts positive. 79
For a protected second input, |ζ − t| ≤ |ζ| + KL − 1 < q. Thus every slice in Definition 8.8 is defined and nonempty. The stronger trimmed bound gives the same conclusion after deleting h colors at each endpoint. Membership ensures that the evaluated primary and its prescribed integer companion are both colors. Finally c ̸= 0 makes the affine function of the first field input a bijection for each fixed second input.
C.3
Off-body carry cancellation
For every integer input (u, t) ∈ Z2 , the load formulas give the charge identities X + Y = q − 1 + ζ − t, X + Y + Z = q − 1 + ζ + zR . We restrict the sampling support to maps ω for which the pair sum satisfies [X mod q]q ≤ X + Y = q − 1 + ζ − t < [X mod q]q + q simultaneously for every protected input (u, t) with |u|, |t| < KL . Lemma C.1 (Off-body carry cancellation). Fix a public map ω with c ̸= 0. If the off-body carry condition above holds for every protected input, then for every such input, ⌊X/q⌋ + ⌊Y /q⌋ = 0. Proof of Lemma C.1. Multiplying the local incidence and mixer blocks reproduces the increment of Definition 8.10. Adding the restriction of the shared baseline gives its complete local load. Summing the first two, or all three, coordinates gives the pair and triple charge identities above. By the stated off-body support condition, the integer X + Y − [X mod q]q lies in {0, . . . , q − 1} and is congruent to Y modulo q. It therefore equals [Y mod q]q . Subtracting the two canonical residues from the pair sum and dividing by q gives the claimed cancellation.
C.4
Attachment safety
Attachment safety is controlled by the shared baseline margin. We require KBS ≤ zR ≤ q − 1 − KBS ,
KB + KL + KQ ≤ KBS ,
|(∆B )vR | < KB ,
|(∆Q )vR | < KQ ,
Lemma C.2 (Attachment safety). For every protected leg input and any body and queue contributions satisfying the attachment margin and contribution bounds above, 0 ≤ Z + (∆B )vR + (∆Q )vR < q. In particular, the assembled attachment has zero carry:
Z + (∆B )vR + (∆Q )vR q
80
= 0.
Proof of Lemma C.2. By the local-load construction of Definition 8.10, Z = zR + t. Since |t| < KL , the triangle inequality gives |t + (∆B )vR + (∆Q )vR | < KL + KB + KQ ≤ KBS . Combining this bound with KBS ≤ zR ≤ q − 1 − KBS places the assembled attachment load in [0, q), so its carry is zero.
C.5
Finite calibration of the line-mark law
We first specify the finite coefficient model and the complete public law used in Theorem 8.9. Definition C.3 (Finite affine-map model). Equip Ω := F3q with its uniform law. Enumerate L the protected inputs as {(ui , ti )}ri=1 , and set Ji := Jζ−ti ,h .
ℓi := ℓui ,ti ,
Let I0 index the inputs with ui = 0, and let I̸=0 index the remaining inputs.
Definition C.4 (Regular and marked supports). Define the regular support and marked support by S := {ω ∈ Ω : c ̸= 0, ℓi (ω) ∈ Ji for every 1 ≤ i ≤ rL }, (a∗ , c, 0) ∈ Ω : c ̸= 0,
(
Sline :=
ℓi (a∗ , c, 0) ∈ Ji for every i ∈ I̸=0
)
.
Regular maps keep both colors interior. Marked maps do so off the line; on the line their primary is a∗ and their companion is interior by marked-color admissibility. Every protected second input remains available, as required by the joint law in Section 8.5.6. The complete public law. Fix public data satisfying Section 8.5.3. All densities below are relative to U (Ω). Let Qreg be the regular-branch density constructed below, with exact rational coordinates in Section C.5.1. Define the uniform marked-branch density by Q∗ (ω) :=
q 3 1Sline (ω) . |Sline |
The flag Bmark equals 0 on the regular branch and 1 on the marked branch. The joint flag and map law is (1 − α)Qreg (ω) Pfc (0, ω) := , q3 αQ∗ (ω) Pfc (1, ω) := . q3 Its flag marginal is Bernoulli (α); write Πiso for its map marginal. We construct the regular-branch density and prove the pair law in Theorem 8.9, using the finite model, supports, and marked density specified above. Fix public data satisfying Section 8.5.3; Section C.5.1 gives the rational coordinates. Expectations over coefficient triples use the unrestricted uniform law unless otherwise specified. 81
Affine two-point counts. Under the unrestricted uniform law on coefficient triples, for distinct indices i, i′ and any colors b, b′ , Pr[ℓi = b, ℓi′ = b′ ] = q −2 . Indeed, the two equations over Fq are a0 + cui + Cti = b, a0 + cui′ + Cti′ = b′ . Subtracting them gives one nonzero linear equation in (c, C): distinct protected inputs remain distinct modulo q by the input-separation condition of Section 8.5. It has exactly q solutions, each determining a0 uniquely. A single evaluation equation has q 2 solutions. If the scale c is also fixed, each of the q choices of shear again determines one intercept. Hence each evaluation is uniform and independent of the scale, and distinct evaluations are pairwise independent. These assertions apply only before excluding zero scale or imposing either safe support; the deletion bounds below account for all such restrictions. Lemma C.5 (Safe supports and deletion bounds). Under the feasibility and marked-color admissibility conditions of Section 8.5, both supports are nonempty and consist of safe maps. For b ∈ Ji , Pr(S c ), Pr(S c | ℓi = b) ≤ δaff , |Sline | p∗ := Pr(Sline | a0 = a∗ , C = 0) = ≥ 1 − δaff . q Proof. Each input excludes at most BL + KL − 1 + 2h colors. The unrestricted counts above and the zero-scale probability 1/q give the unconditional union bound. Conditional on an allowed color at input i, its own color constraint cannot fail; each other evaluation and the scale remain uniform. The same union bound therefore proves the conditional estimate. On the unfiltered marked fiber a0 = a∗ , C = 0, each off-line evaluation is uniform as c ranges over all of Fq . A union bound over its color exclusions and the event c = 0 proves the survival estimate; no joint independence on this fiber is needed. Since δaff < 1, both supports are nonempty. Regular maps and off-line marked evaluations use trimmed slices. On the marked line, the primary is a canonical color and the companion is interior by the marked-color admissibility condition of Section 8.5. Thus every supported map is safe.
Definition C.6 (Additive color-function space). Equip the real function space H := R1 ⊕
supp(g i ) ⊆ Ji , X gi ◦ ℓi : gi (b) = 0
rL M i=1
b∈Ji
with the function supremum norm on Ω. Proof of Theorem 8.9. For a real function h on coefficient triples, define its color-fiber averages and
82
centered color imbalances by mhi (b) := q −2
X
h(ω),
ω∈Ω ℓi (ω)=b
1 X h (Ci h)(ω) := 1{ℓi (ω)∈Ji } mhi (ℓi (ω)) − m (b) , |Ji | b∈J i
(6)
i
Ch := q −3
X
h(ω) +
rL X
Ci h.
i=1
ω∈Ω
In the unrestricted uniform L2 space, Ci is the orthogonal projection onto the corresponding centered summand of H: first condition on the evaluation, then subtract the average over allowed colors and set the remaining colors to zero. The two-point counts make these summands mutually orthogonal and orthogonal to constants. Thus C is the orthogonal projection onto H. It preserves mass and centered color moments and restricts to the identity there. For f ∈ H, define the masked synthesis and deletion operator by Ψleg f := 1S f, Df := C(1S c f ). The actual coefficient response on H is therefore Aleg := CΨleg = I − D. For h = 1S c f , Lemma C.5 bounds |Eh| and every |mhi (b)| at an allowed color by δaff ∥f ∥∞ . Bounding the mean and the two terms per centered component gives ∥D∥∞→∞ ≤ (2rL + 1)δaff = κaff ≤ 14 . Define the branch-selection odds and marked off-line defect by sα :=
α , 1−α
Dmark :=
X
Ci Q∗ .
i∈I̸=0
The defect is the sum of projections of Q∗ onto the off-line summands. Its mass and its colordifference moments at line inputs vanish; at each off-line input those moments equal those of Q∗ . To cancel these moments, set τleg := 1 − sα Dmark and solve Aleg f = τleg . By Theorem 7.1, this equation has a unique solution f ∈ H. Define the regular-branch density by Qreg := Ψleg f = 1S f. For positivity, fix an off-line input. Before excluding c = 0 or filtering unsafe colors on the marked fiber, each color has exactly one scale preimage. Thus −1 −1 ∗ 0 ≤ mQ i (b) = q Pr [ℓi = b] ≤ p∗ ≤ (1 − δaff ) . mark
This mean vanishes outside Ji , and its average on that set is q/|Ji | ∈ [1, p−1 ∗ ]; the upper bound also follows from |Sline | ≤ |Ji |. Subtracting the average in (6) and summing gives sup Dmark ≤
rL δaff , 1 − δaff
∥Dmark ∥∞ ≤ 83
rL . 1 − δaff
Apply Corollary 7.2 to τleg = 1 − sα Dmark . Using the respective one-sided and absolute bounds gives κaff − sα Aloc ≥ 13 , f ≥1− 1 − κaff by sα ≤ 1 and the feasibility bounds in Section 8.5.3. Reconstruction preserves mass and EDmark = 0, so E[1S f ] = 1. This normalizes the masked density; f itself need not have mean one. The marked density is normalized by definition. The equivalent rational coordinate system in Section C.5.1 gives rational solution and branch tables, together with the stated Gram nonsingularity. Its bounded implementation is proved in Section C.5.1. The color-difference equations, normalization, and support give the regular color probabilities: (
Pr[ℓi = b] = reg
|Ji |−1 , |Ji |−1 − sα Prmark [ℓi = b] − |Ji |−1 ,
i ∈ I0 , i ∈ I̸=0 ,
for b ∈ Ji . Since (1 − α)sα = α, the off-line mixture is uniform on this set. On the line, the regular primary is uniform there, whereas the marked branch gives the integer loads X = a∗ and Y = b∗ − t. For every supported map, safety determines the second residue uniquely from the first and the prescribed integer pair sum. This proves the exact pair law. All regular colors and all off-line marked colors are interior, as is every marked companion, proving the boundary-activation claim. Off-body carry cancellation follows from Lemma C.1, and attachment safety follows from Lemma C.2 under its stated margin and contribution bounds. Normalization of the branches gives the Bernoulli flag law. All table entries depend only on public data; sampling uses no rejection or correction conditioned on the hidden inputs. If KL = 1, then I̸=0 = ∅ and Dmark = 0, and the same argument applies. C.5.1
Sampling the Sharp Line-Mark Flag and Affine Map
We prove the table-computation and bounded-sampling claims of Theorem 8.9 for Pfc . All parameters are public and satisfy the feasibility and marked-color admissibility conditions of Section 8.5. Use the supports of Definition C.4, enumerating the marked support separately on the fiber a0 = a∗ , C = 0. Only the u ̸= 0 inputs impose trimmed color constraints there. The companion safety test holds on every point of the marked line. Public support enumeration. Enumerate the q 3 coefficient triples in Ω = F3q and compute ℓi (ω) at every protected input to construct both supports. This takes O(q 3 rL ) field operations and membership tests. These are evaluations at publicly listed protected inputs, not at the hidden source. By Lemma C.5, both supports are nonempty, so one affine map in each may be stored as a certified representative. The finite rational calibration system. For each protected input, choose the least allowed canonical color bref i := min Ji as reference, and define φ0 (ω) := 1, n
φi,b (ω) := 1{ℓi (ω)=b} − 1{ℓi (ω)=bref } , i
o
for b ∈ Ji \ bref . Let J index the constant and these real-valued indicator differences. Their i number is r |J | = 1 +
L X
(|Ji | − 1) ≤ 1 + rL (q − 1).
i=1
84
For j, k ∈ J , define the rational matrix and right-hand side by (GL )j,k := q −3
X
φj (ω)φk (ω),
(dL )0 := 1,
ω∈S
(dL )i,b := −
sα 1{ui ̸=0} X φi,b (ω). |Sline | ω∈S line
The coefficient vector zL is determined by GL zL = dL .
(7)
The constant and indicator differences form a basis of H. Write f=
X
(zL )j φj .
j∈J
In the unrestricted uniform L2 inner product, the orthogonal projection property of Section C.5 gives ⟨φj , Aleg f ⟩ = ⟨φj , 1S f ⟩ = (GL zL )j . The marked color-moment identities there give ⟨φj , τleg ⟩ = (dL )j . Both sides of the function response equation lie in H, so testing against its basis makes that equation equivalent to (7). The proved invertibility of the function response therefore makes GL nonsingular. The regular density is then evaluated using its masked-function definition in Section C.5. The contraction uses the function supremum norm, not coordinate ℓ∞ or closeness of GL to the identity. Direct assembly uses at most O(q 3 |J |2 ) arithmetic operations. Every Gram entry is an integer of absolute value at most q 3 , divided by q 3 . Every nonconstant right-hand-side entry is −sα times an integer average over Sline , or zero. Here sα = α/(1 − α) has polynomial bit length in the rational input, and 1 ≤ |Sline | ≤ q. Thus all entries are rational with polynomial bit length. Fraction-free elimination with row interchanges to select nonzero pivots computes the unique solution [Bar68, Section V]; the original leading principal minors need not be nonzero. Clearing denominators in the polynomial-size matrix and right-hand side gives integer entries of polynomial bit length. Minors of the augmented matrix, including after row permutations, control the intermediate integers. The determinant bound therefore gives polynomial bit lengths for these integers and every solution numerator and denominator. Polynomially many arithmetic operations and exact divisions give polynomial bit time, and the branch-density formulas of Sections C.5 and 8.5.4 have polynomial bit length at every map. Their nonnegativity and normalization were established in Section C.5; no numerical positivity test or clipping is used. The normalized branch tables have probabilities Qreg (ω)/q 3 and Q∗ (ω)/q 3 on their respective supports. Multiplying these by 1 − α and α gives a finite rational table for the complete flag–affinemap law, for any admissible rational 0 ≤ α ≤ 1/2. These probabilities need not be dyadic; bounded fair-bit sampling therefore approximates the exact rational table. Fixed random bits and branch-preserving rounding. For 0 < εc < 1, choose an integer bs such that (1 + |S| + |Sline |)2−bs ≤ εc . For the flag draw, replace α by
b = 2−bs ⌊2bs α⌋. α
85
Both branch tables remain those computed at the original rational α. Round each probability of each normalized branch table down to a multiple of 2−bs , and assign all remaining mass to the stored representative of that same branch support. Each rounded table remains normalized and nonnegative. Its SD from the exact table is at most its support size times 2−bs : the total mass rounded down is at most that amount, and only this mass is moved to the representative. The construction never clips a negative exact table entry. b and draw the selected table with exactly Use bs unbiased bits to draw the flag with probability α, bs further unbiased bits, using its integer cumulative probabilities. Both bit blocks are drawn even for a deterministic branch. Coupling the flag and then the selected table bounds the complete flag– map error by the prescribed rounding budget of Section C.5.1, and hence by εc . Every output in either branch remains in its certified support, including all rounding-remainder outcomes. Nonzero scale, protected carry cancellation, and the boundary-activation identity therefore hold exactly for the bounded implementation. The exact marginal identities hold for the ideal rational law; their numerical perturbation is covered by this complete-pair SD allowance. Sharp-strength implementation. For α = 1/2, one unbiased bit samples the flag exactly. The complete-pair error is then at most 12 (|S| + |Sline |)2−bs , so the extra flag-rounding allowance can be omitted. The bounds are uniform over admissible public histories. Enumeration, exact elimination, table construction, and sampling take time polynomial in the numerical values of q and rL , the public rational input bit lengths, and log(1/εc ). The enumeration depends polynomially on q, rather than log q. In the assembly, q ≤ nB ≤ d and 2(KL − 1) < q imply rL = O(q 2 ); hence these bounds are polynomial in the overall public dimension and precision lengths. All computations and random bits are independent of the hidden source. Computing the public leg parameters. Given the core, including the attachment center zR , Algorithm 1 computes and samples one leg’s public affine data. It calls Algorithm 2 for the exact branch laws and keeps all finite-bit outputs in their supports, preserving safety on protected inputs. If the specification instead gives a Gaussian width σ > 0 and a desired local error εleg ∈ Q ∩ (0, 1), a sufficient allocation is εc :=
εleg , 2
s
σ KL := max 1,
log(8/εleg ) . π
Any integer at least this cutoff gives the same error bound, provided the feasibility tests of Algorithm 1 pass; a preassigned cutoff and sampling budget may instead be supplied directly. The shift bound BL can be set to |ζ| for one fixed shift, or kept as a common bound for a family of legs. Within the two algorithms, UniformBits(bs ) is the integer encoded by bs fresh independent fair bits, and RationalSolve solves a rational linear system exactly. Lexicographic order on affine maps is taken in their canonical coordinates.
86
Algorithm 1 Public leg parameters Require: q ∈ Z≥3 , IsPrime(q); KL ∈ Z>0 , h, BL ∈ Z≥0 , ζ, zR ∈ Z, |ζ| ≤ BL ; a∗ ∈ {0, . . . , q − 1}; α ∈ Q ∩ [0, 1/2], εc ∈ Q ∩ (0, 1). 1: rL := (2KL − 1)2 ; b∗ := q − 1 + ζ − a∗ 2: δaff := [rL (BL + KL − 1 + 2h) + 1]/q; κaff := (2rL + 1)δaff 3: if 2(KL − 1) ≥ q ∨ BL + KL − 1 + 2h ≥ q ∨ κaff > 1/4 then 4: return ⊥ 5: end if rL κaff 6: Aloc := δaff + 1 − δaff 1 − κaff 7: if Aloc > 1/3 ∨ b∗ ∈ / [h + KL − 1, q − h − KL ] then 8: return ⊥ 9: end if 10: (S, Qreg , Sline , Q∗ ) := LegTables(q, KL , h, ζ, a∗ , α) 11: bs := log2 (1 + |S| + |Sline |)/εc ; Jsamp := UniformBits(bs ) 12: Bmark := 1{J b samp <⌊2 s α⌋} 13: if Bmark = 0 then 14: ω := DyadicSample(S, Qreg /q 3 , bs ) 15: else 16: ω := DyadicSample(Sline , Q∗ /q 3 , bs ) 17: end if e := ([a0 ]q , [c]q , [C]q ) e, C) 18: (a0 , c, C) := ω; (a, c 19: Form RL,ω , ML,ω , and ∆loc BS,L using Sections 8.2 and 8.5, with attachment entry zR in Section 8.7. 20: return (Bmark , ω, RL,ω , ML,ω , ∆loc BS,L ) 21: function DyadicSample(T, p, bs ) 22: 23: 24: 25: 26: 27: 28:
Qsamp := 2bs ; ω∗ := minlex T for all ω ∈ T do ns (ω) := ⌊Qsamp p(ω)⌋ end for P ns (ω∗ ) := ns (ω∗ ) + Qsamp − ω∈T ns (ω) Jsamp := UniformBits(b s) ( return minlex ω ∈ T : Jsamp <
P
)
ω ′ ∈T ω ′ ≤lex ω
ns (ω ′ )
29: end function
87
Algorithm 2 Exact leg tables 1: function LegTables(q, KL , h, ζ, a∗ , α) 2: Enumerate Ω and the protected inputs lexicographically; form both supports of Definition C.4. 3: Choose the least allowed color as each reference color and form the indicator differences in Section C.5.1. 4: Assemble GL and dL by the finite sums in Section C.5.1. 5: zL := RationalSolve(GL , dL ). 6: Recover f in the chosen basis and evaluate the branch densities of Sections C.5 and 8.5.4. 7: return (S, Qreg , Sline , Q∗ ) 8: end function The interval test on b∗ is equivalent to the companion condition in Section 8.5, because the second protected input ranges from −(KL − 1) to KL − 1. On success, Theorem 8.9 gives complete flag–map error at most εc , while preserving exact carry cancellation and the pointwise boundaryactivation criterion on protected inputs. Together, the error-budget choice above and the comparison of Section 8.8 bound the local output SD from Qζ,a∗ ,α,h by εleg . A return value of ⊥ records only that one of the sufficient tests has failed. The algorithm performs one exact linear solve and has the polynomial bit complexity established above. All computations and random bits are source-independent. The baseline and mixer use the same sampled map, and assembly counts the shared attachment center once. Its zero-carry guarantee follows from Lemma C.2 under its stated margin and contribution bounds.
D
Shared Baseline and Joint Realization
We verify the shared baseline, source comparisons, carry safety, and integer affine realization using the local samplers of Sections C.1.1 and C.5.1 and the placement sampler of Section E.2.
D.1
Shared baseline realization
Proof of Proposition 8.15. By admissibility and the off-body pair sums, 1 ∆BS = ⊺
X v∈B
=
X
bv +
g X
(q − 1 + ζj )
j=1
bv + g(q − 1) +
g X
ζj ≡ 0
(mod q).
j=1
v∈B
Hence Lemma 6.4 gives lattice membership. Body support is part of admissibility; off-body support follows from Definition 8.8 at zero input. The carry statement is Proposition 8.17, whose proof below uses exactly this safe-center support and local carry lemmas. All draws use public data and fresh randomness without inspecting, conditioning on, or rejecting the hidden source. D.1.1
Baseline Data
b Let D BS be the law returned by the public-core implementation assumed in Section D.5, with ideal target DBS from Section 8.7. That contract requires uniform conditional error εBS,joint , bounded running time, and exact admissibility on every execution. Marking probabilities are rational. Any
88
timeout fallback must run within the same bound, return an admissible tuple for the current public context, and charge its probability to εBS,joint ; nonempty support alone does not provide a fallback. After the core draw, use fresh independent public randomness for each complete flag–affine-map pair (Bmarkj , ωj ), using Appendix C.5.1. Its conditional error is at most εc relative to the full joint law Pfc of Definition 8.10, uniformly over admissible public histories, including the sampled shift and mark. This error includes the finite-bit Bernoulli draw. Branch zero always returns an affine map in S, and branch one always returns an affine map in Sline ; in particular every output satisfies b Definition 8.8. The complete implemented law P BS is on the same tuple of core data and complete flag–map pairs as its ideal target PBS in Definition 8.14. The resulting baseline is the deterministic image specified in Definition 8.1. The g conditional pair errors are separate from the core error and counted once each in Section 8.8. All steps are independent of hidden source and secret-dependent information; none inspects, conditions on, or rejects that information.
D.2
Protected sources and comparison bounds
For the source comparisons, fix only preceding public template and placement data permitted by Section 8.7.2. Share the exact positive, source-independent core law and all complete conditional flag–map draws, retaining their prescribed dependencies. The closure Gaussian and final relabeling remain independent of the core. The initial placement and conditional core retain their prescribed dependence, so conditioning on the core may bias that placement. In the direct-Fourier sampler, the separate body-cycle permutation PB is independent of the placement, core, and latent cycle, as required by Section 9.2. The cycle comparison averages over the closure. Lemma D.1 (Source tail bounds). For the ideal Gaussian inputs and public closure, Pr[ ∆loc B
∞
≥ KB ] ≤ θB := nB Pr [|x| > He ] x∼µσ
π⌈KB /2⌉2 ≤ 2nB exp − σ2
!
.
The leg and queue scalar tails satisfy πK 2 θL := Pr [|u| ≥ KL ] ≤ 2 exp − 2L u∼DZ,σ σ
!
,
2 πKQ θQ := Pr [|xQ | ≥ KQ ] ≤ min 1, 2 exp − 2 xQ ∼DZ,σ σ
(
Consequently,
!)
.
Pr[Esafe c ] ≤ θB + 2gθL + θQ .
Here θB is a union-bound budget, rather than the body’s exact failure probability. All bounds hold under every permitted placement and final relabeling. If the implemented closure law has statistical error at most νG , add that amount to the body bound and the joint event bound. Proof of the scalar tail bounds. The two-sided Chernoff estimate from Lemma 2.9, applied at an integer threshold, gives the leg and queue bounds in Lemma D.1; the queue estimate is also bounded by one. For the body, there are nB independent Gaussian edge scalars, including the public closure. If every scalar has magnitude at most He , each cyclic difference has magnitude 89
at most 2He < KB . The union bound and He + 1 = ⌈KB /2⌉ prove the body tail bound in Lemma D.1. Taking the union over these edge scalars, the two coordinates of every leg, and the single queue scalar proves the joint protected-event bound. These events concern source coordinates, so supported placements and relabelings preserve the bounds. A maximal coupling of the public closure to its ideal Gaussian adds at most νG to either body-containing bound. The three source blocks admit the following comparisons. Body. Coupling the edge scalars gives a coupling of the entire body cycle, with failure bound εB,clip satisfying (8) εB,clip ≤ nB Pr [|x| > He ] = θB . x∼µσ
This comparison retains all correlations among the cyclic differences. Legs. For each fixed admissible core, keep the complete public map and the same second input for the companion and attachment. The implemented local law satisfies ∆(L(([X mod q]q , [Y mod q]q , t)) , Qζ,a∗ ,α,h ) ≤ εc + 1 − (1 − θL )2 ≤ εc + 2θL . The bound remains valid after translating and reducing the attachment coordinate, or taking a histogram. Map-sampling error adds no carry failure because each branch support is preserved. Queue. For a fixed queue subset, and after averaging any common source-independent placement law, ∆ L(∆Q ) , L ∆ref = θQ . Q This equality concerns the integer increment. Reduction modulo q and passage to a histogram can only decrease the distance. Proof of the component comparisons. Independently couple each latent edge scalar, including the public closure, maximally to its protected law: x ∼ DZ,σ ,
z ∼ µe .
The couplings fail with probability at most the sum of their tail probabilities. On a match every cyclic difference agrees, proving the stated whole-cycle comparison. The protected cycle retains its telescoping sum zero and the dependence among its vertex differences. Legs and the shared queue. The two independent inputs of a leg both lie in their protected interval with probability (1 − θL )2 . Their joint conditional law is µ⊗2 L , so conditioning has exact statistical distance at the input level 1 − (1 − θL )2 ≤ 2θL . Keep the same complete flag–map pair on a match, and use the same second input for the companion and attachment. The exact law of Theorem 8.9 and a coupling of the implemented pair at cost at most εc give the stated leg comparison. Data processing preserves it under translation, reduction, or taking a histogram. Exact map support preserves carry safety even if this coupling fails. Conditioning the single queue scalar costs exactly θQ . For each queue subset, the increment determines its scalar by dividing its total integer charge by q. This recovery also works after averaging any common source-independent placement law. Data processing in both directions therefore gives the exact queue clipping distance stated above, retaining the shared scalar and the dependence between queue and attachments. 90
Joint comparison and public sampling. Under the exact positive public-core law fixed above, the union bound over the source couplings proves the joint comparison bound of Section 8.8.3. On a match, the entire integer load agrees. Assembly, modular reduction, and the shared final permutation therefore give agreement of the complete endpoint vectors, with all cycle, leg, and queue dependencies retained. A match also places the actual source in Esafe ; for an admissible core, Proposition 8.17 then supplies carry safety. This single source cost covers both conclusions. Positivity is required for the probability coupling, and admissibility for the carry and zero-fiber conclusions. Clipping is an analytical comparison and never tests or rejects a hidden source value. Lemma D.2 (Complete baseline-data sampling error). For the same preceding public data, suppose the implemented core law has statistical error at most εBS,joint , and each conditional complete flag–map law has error at most εc , uniformly over admissible preceding public template and placement data and public histories, respectively. Then
b ,P ∆ P BS BS ≤ εBS,joint + gεc .
Proof of the public sampling bound. Couple the implemented core to its target, conditional on the same preceding public data. On a match couple each complete conditional flag–map pair using its uniform error guarantee. The union bound proves the bound of Lemma D.2. The leg comparison uses these same map errors, charged once in assembly. Support preservation leaves the zero baseline failure probability exact, including every fallback.
D.3
Carry safety and source representatives
Proof of Proposition 8.17. Every body vertex satisfies ∆B + ∆L + ∆Q v ≤ KB + KL + KQ ≤ KBS .
Its baseline is in Isafe , so its total load stays in [0, q) and its carry is zero. For each off-body pair, Lemma C.1 gives cancellation of the two carries, using the same complete safe map and its shared second source coordinate. Body and queue increments vanish off the body. Summing these contributions proves the integer equality for the total carry, which survives the final common permutation. By Lemma 6.4, the carry lies in L(T). For the natural and canonical source lifts, write [x mod q]q = x + qzlift , zlift ∈ Zd . Their loads differ by qDT zlift , so their canonical carries differ by DT zlift ∈ L(T). Hence changing the lift preserves the carry-membership criterion of Lemma 6.6. The zero-fiber assertion and statistical bound therefore follow from Lemma 6.6.
D.4
Integer affine realization
The following table records the dimensions and public dependencies of the realization objects defined in Section 8.2. Proof of Proposition 8.19. The first d−1 columns of Dξ (PB ) form a spanning-tree incidence matrix: the placed body path spans the body, and each leg joins two new vertices to its specified attachment.
91
Object EB , E j
Domain and codomain ZnB → Zd , Z3 → Zd
Dξ (PB )
Zd → Zd
Rsrc
Zd → Zd
zpre 0
An element of Zd
Q, β
Zd → Zd , an element of Zd
Public dependence and construction Body labels and ξ; explicit sparse embeddings. Placement and body permutation; explicit incidence columns. Complete public leg maps; explicit block diagonal matrix. Baseline, closure, and body permutation; explicit vector. All preceding data and final permutation; explicitly formed for an admissible core.
Table 1: Integer realization objects. Matrix dimensions are codomain dimension by domain dimension. The probability-response matrices in Section 9 act on different, real coefficient spaces. Hence the general objects of Corollary 6.8 specialize to DT = [DT | DQ ] = Dξ (PB ), Redge = diag(InB −1 , RL,ω1 , . . . , RL,ωg ), R = diag(Redge , 1) = Rsrc , pre DT = Dξ (PB )Rsrc , DT = Pglob Dpre T . Multiplying the source blocks gives, respectively, the zero extension of PB DB xB , the increments Ej DL RL,ωj xL,j from the leg construction of Definition 8.10, and DQ xQ . The closure term in the matrix assembly of Section 8.2 is exactly the zero extension of PB aB from Definition 8.2. The assembly definition in Section 8.2 therefore gives z0 = Pglob ∆pre BS + EB PB aB .
The assembled load adds the three increments to the shared baseline before the common relabeling. The queue column has total charge q. The shared baseline satisfies the charge condition of Definition 8.13, and the closure offset has zero charge. These are precisely the lattice hypotheses of Corollary 6.8; the final permutation preserves them because it preserves coordinate sums. That corollary therefore gives integral matrix and offset with the dimensions in Table 1, and determinant ± det Redge . The block diagonal form above and the triangular local mixers give the scale product in the determinant formula of Proposition 8.19. Each scale is nonzero modulo q; the final permutation contributes only a sign. All inverse products are evaluated over Q, as required by the general incidence construction.
D.5
Gadget Assembly and Realization
We prove Lemma 8.20 for the affine data and sampling assumptions of Section 8.9, using the bounded implementations in Sections C.1.1, C.5.1, D.1.1 and E.2. Sampling assumptions and numerical budgets. Assume the geometry and safety margins of Sections 8.1 and 8.3, the feasibility and marked-color admissibility conditions of Section 8.5.3 for 92
every leg, and an admissible core law DBS with nonempty support as in Definition 8.13. Require q odd prime,
nB ≥ q,
σ 2 ∈ Q,
σ 2 ≥ 2.
The public template and core samplers must satisfy two conditions. (i) They are source-independent and run in worst-case polynomial time in d, the binary publicinput lengths, and the requested precision lengths. (ii) The core sampler has statistical error at most εBS,joint relative to DBS , uniformly over admissible preceding public template and placement data. Every output, including any fallback, has polynomial encoding length and satisfies all admissibility constraints exactly. Fix νnum ∈ Q ∩ (0, 1), rational νG , νperm ∈ (0, 1), and εc ∈ Q ∩ (0, 1), with νG + νperm ≤ νnum . Here νG bounds the total variation error of the public closure Gaussian sampler. The quantity νperm bounds the joint error of the two local permutations and the common relabeling. The carry-failure budget is defined in Section 8.9; the core and map errors are charged separately from the source comparison. Finite-sampling interface. Use the prescribed public template and admissible core baseline laws of Sections 8.1 and 8.7, retaining all their permitted dependence on preceding public data. The bounded samplers of Sections C.1.1 and E.2 return an integer closure within νG of DZ,σ and valid permutations with joint error at most νperm from the three independent uniform laws. The closure’s zero fallback is integral, and placement preserves the disjointness of Lemma E.3. These draws use fresh independent randomness, independent of the hidden source, with the independence prescribed in Sections 8.1 and 8.7.2. The core retains its prescribed conditional law given preceding template and placement data, and its tests never read the body-cycle or final permutation. Section D.1.1 supplies the complete conditional flag–map extension with per-leg error at most εc , uniformly over admissible public histories, and exact branch support. The core error remains εBS,joint under Section D.5. Proof of Lemma 8.20. Exact affine validity. Every supported placement is valid, every returned leg map has nonzero scale, and every returned core is admissible. The closure sampler returns an integer, including on its zero fallback. Hence Proposition 8.19 gives integral affine data with the stated determinant on every execution. The public sampling contract above makes the complete matrix and offset source-independent; their assembly is exactly that of Section 8.2. Protected carry. By Proposition 8.17, failure of the zero-fiber conclusion is contained in the complement of the protected event. Coupling the implemented public closure to its ideal law adds νG to the joint protected-event bound of Section 8.8, which is exactly the carry budget in Section 8.9. Baseline and flag–map sampling preserve safe support, and valid permutations preserve the protected bounds even for biased finite-bit draws. Their errors add no carry-failure term, proving the stated zero-fiber failure bound. Bounded implementation and numerical errors. The cited local samplers have deterministic work and bit caps and polynomial output length. Their exact leg-table counting and linear algebra are polynomial in the numerical modulus, protected-input count, and public rational bit lengths; since q ≤ nB ≤ d and the leg-feasibility conditions of Section 8.5 bound KL by O(q), this is polynomial in the overall dimension. The core contract and permutation sampler give the 93
same bounded-time guarantees for the remaining draws. Exact integer and rational linear algebra compute the realization of Section 8.2 in polynomial time and bit length. Every branch returns valid affine data without reading the hidden source. Couple the closure and the three permutations to their ideal laws at cost at most νG + νperm . Conditional on matching placements and the same preceding public data, Lemma D.2 couples the core and complete flag–map pairs at cost at most εBS,joint + gεc . Thus the numerical error in the complete public data is at most νnum + εBS,joint + gεc . This coupling retains the prescribed dependencies and does not require placements to remain uniform conditional on the core. Applying the same independent source and affine assembly cannot increase its error. Source truncation is accounted for separately by the protected comparison of Section 8.8.3. For every fixed accuracy order c, all these numerical tolerances can be chosen inverse-polynomially while retaining a uniform worst-case polynomial implementation. The public q, d, N, σ, T and the d hidden source coordinates remain fixed. The selected parameters and protected cutoffs. For the fixed family of Section 9.9, Section H.4 verifies feasibility and negligible source tails for sufficiently large λ. The calibrated sampler of Algorithm 3 meets the admissible-sampling hypotheses in its certified regime and preserves exact affine validity on the remaining finite prefix, without computing an asymptotic accuracy threshold. Its fiber bound in Theorem 9.9 uses the fully protected reference: one source-coupling cost covers both endpoint disagreement and unsafe carries, so the separate carry budget above is not added again.
E
Fourier Targets and Protected Reference Tools
E.1
Direct Fourier Targets and Energy Identities
Use the characters and mass-one real signed laws of Section 9.1. E.1.1
The ambient uniform target
Lemma E.1 (Ambient Fourier energy and distributional error). Let P be a mass-one real d signed law on Fq , and let f = P/U Fdq . Then ∥f − 1∥2L2 (U(Fd )) = q
X
2 b |P(a)| ,
a̸=0
1/2
1 1 2 b ∥P − U Fdq ∥1 ≤ |P(a)| 2 2 a̸=0
X
.
For a probability law, the second inequality bounds statistical distance.
Proof of Lemma E.1. The ambient characters form an orthonormal basis under U Fdq . Mass one gives zero-frequency coefficient one. Parseval with this coefficient removed proves the energy identity, and Cauchy–Schwarz gives the distance bound.
94
E.1.2
The exact support-energy identity
Use the character polynomial, ordered coefficient tensors, and norm of Definition 9.1. For sF > 0, define the weighted support energy by EsF (P) :=
X 2| supp a| b
|P(a)|2 .
sF
a̸=0
Lemma E.2 (Character polynomial and support energy). Let P be an exchangeable real signed law of mass one on Fdq . For every 0 ≤ r ≤ d, 2 b |P(a)| =
X | supp a|=r
r! ∥Tr ∥22 . (d)r
(9)
√ For every ρ > 0, with sF = ρ/ e, EsF (P) ≤ Fρ (P)2 − 1. Proof of Lemma E.2. For a fixed ordered nonzero frequency tuple, exchangeability makes the corresponding marginal Fourier coefficient independent of the chosen ordered distinct vertices. The coefficient tensor is therefore dr times that marginal tensor. The support energy in Lemma E.2 is dr times the squared norm of the marginal tensor. Dividing by the square of the binomial coefficient proves the identity, including degrees zero and d. For the all-degree comparison, the geometric mean of the largest r elements of {1, . . . , d} is at least that of the entire set. Also log(d!) =
d X
log j ≥
Z d
j=1
1
log x dx ≥ d log d − d.
Consequently (d)r ≥ (d/e)r . Substitute this inequality into (9), multiply by s2r F , and sum the positive degrees. This bound holds at every degree. Proof of Lemma 9.2. Low-support cancellation removes all nonzero frequencies of support size at most R. Since sF > 1, Lemma E.2 gives X
−2(R+1)
EsF (P)
−2(R+1)
Fρ (P)2 − 1 .
2 b |P(a)| ≤ sF
a̸=0
≤ sF
Lemma E.1 supplies the first inequality in the claimed conclusion. Substituting this energy bound and taking square roots gives the second. For a probability law, half the ℓ1 distance is statistical distance. Complex coefficient convention. Our complex Hilbert inner product is conjugate linear in the first argument and linear in the second. The character-polynomial expansion in Definition 9.1 uses a bilinear coefficient contraction, equivalently the Hilbert pairing of Tr with z⊗r . Real channels b b obey P(−a) = P(a). All subsequent inverses act on real probability or signed profile tables, so their physical weights are real. 95
E.2
Placements and Relabeling
Use the placement, free vertices, and control pools of Section 9.2. Lemma E.3 (Disjoint placement and control pools). Every sampled placement satisfies Aatt ∩ SQ = ∅ and the pool counts of Section 9.2. Under the ideal joint placement law, the queue is a uniform q-subset, and the ordered attachments are conditionally uniform without replacement in its complement. The attachment tuple also has a uniform-without-replacement unconditional marginal. For every positive integer R, any selection requiring at most R distinct controls from either pool is available when g ≥ R and nB − q − 2g ≥ R. The placement and compensators admit bounded implementations whose running time is polynomial in the public dimension and the requested precision length. Proof of the placement law and pool claims. We verify Lemma E.3 for the joint permutation (0) of Section 8.1. Fix the public order on the body. For rank decoding, write SQ for the last q reference (0)
n
o (0) g
vertices and Aatt = Rj
j=1
for the first g, in labeled order. Their images are (0)
(0)
SQ = Pplace (SQ ),
vRj = Pplace (Rj ).
The reference sets are disjoint by the geometric requirements, and permutations preserve their disjointness. For a queue set S of size q and an ordered distinct attachment tuple (a1 , . . . , ag ) in its complement, the exact placement probability is "
Pr
SQ = S,
#
(Rj )gj=1 = (aj )gj=1
=
1
. nB q (nB − q)g
Indeed, there are q!(nB − q − g)! permutations realizing those images, out of nB ! permutations. Summing over the (nB −q)g permitted attachment tuples gives a uniform queue subset. Conversely, a fixed attachment tuple permits nBq−g queue sets, so its unconditional probability is 1/(nB )g . The conditional attachment law is uniform in the queue complement; the queue and attachments are dependent because they are disjoint. Removing the queue and attachments leaves the free vertices defined in Section 9.2. Assigning the first g of them to the labeled legs leaves the ordinary-body pool in Section 9.2. The geometry inequality in Section 8.1 provides distinct compensators and a nonempty ordinary-body pool. Each pool supports every selection of at most R distinct controls under the two size inequalities in Lemma E.3. The independent body-cycle permutation moves the path columns and closure together, and the independent final permutation relabels the whole load. Both obey Section 9.2. Distributional averages use Lemma E.3 with the prescribed conditional core law; conditioning on the core need not preserve queue uniformity. Bounded implementation. Approximate the three independent uniform permutation laws using independent fixed-length random bit strings. Choose bperm := ⌈log2 (3d!/νperm )⌉ .
96
For each of the two local permutations and the final common relabeling, reduce a uniform bperm bit integer modulo the number of permutations of the relevant vertex set, and decode this rank into a permutation. Each rank probability differs from uniform by less than 2−bperm , so each permutation has statistical error at most νperm /3 and their joint error is at most νperm . Factorials and permutation ranks have O(d log d) bits; ranking inversion and the fixed bit count are polynomial in d and log(1/νperm ). Every output is a valid permutation preserving disjointness of the reference sets. Scanning the free vertices in public order assigns all compensators in O(nB + g) operations. All exact affine and carry properties are preserved. Core sampling and rejection retain the resulting placement; the body-cycle and final permutations may be drawn after acceptance. Rank decoding enumerates neither permutations nor placements.
E.3
Finite-Support Path Likelihoods and Protected Cycle Correlations
The protected latent edges of Definition 8.18 are independent and supported on [−He , He ] ∩ Z. These two properties suffice for the fixed-order likelihood bounds below. Constants may depend on the fixed order. Likelihoods are taken over integer differences until reduction modulo q and are set to zero outside their reference support. E.3.1
Fixed-order root kernels
Put νH = µe ∗ µe , the integer difference marginal by symmetry, and define s
ηR :=
4He + 1 . nB
Fix r different labeled body positions after an independent uniform body permutation. Let PR be their protected integer joint law, define its likelihood kR = PR /ν⊗r H , and define Hr =
r Y
(Id − EνH ,i )kR .
i=1
Here the coordinate expectations integrate only the indicated coordinate under the product reference. Theorem E.4 (Centered finite-support cycle density). For each fixed positive integer r, assume nB ≥ 2r. Then H1 = 0, −⌈r/2⌉
∥Hr ∥L2 (ν⊗r ) ≤ Cr (4He + 1)r/2 nB
,
H
r ≤ Cr ηR . ⊗r The same bounds hold after coordinatewise reduction modulo q, relative to (Rprot B ) . They hold conditionally on any data independent of the body permutation and all latent edge variables.
The proof combines a finite-support path bound with the probability that the selected sites have no isolated vertex.
97
E.3.2
A finite-support path bound
Lemma E.5 (Finite-support path likelihood). For every positive integer k, let ppath,H be the law of k successive differences of k + 1 independent samples from µe . Then ppath,H ν⊗k H
≤ (4He + 1)k/2 . L2 (ν⊗k H )
Proof. Index a vector and a family of matrices by integer latent values x, z ∈ [−He , He ]. Set (upath )x :=
q
(Kpath (y))x,z :=
q
µe (x), µe (x)µe (z)1{z−x=y} .
The vector has Euclidean norm one, and ∥Kpath (y)∥2F = νH (y), where ∥ · ∥F is the Frobenius norm. Expanding the matrix product, ordered by increasing i, counts each latent probability exactly once. Thus, for every y ∈ Zk , ⊺ ppath,H (y) = upath
k Y
!
Kpath (yi ) upath
i=1
≤
k Y
∥Kpath (yi )∥F =
i=1
k Y
νH (yi )1/2 .
i=1
On the product reference support, the squared path probability divided by the product marginal is therefore at most one. Each difference has at most 4He + 1 possible values. Summing over all such tuples bounds the squared likelihood norm by (4He + 1)k . E.3.3
Random placement and centering
Proof of Theorem E.4. Condition first on the selected positions in the underlying cycle. Their induced graph is a disjoint union of paths, since fewer than all cycle vertices were selected. A path of k vertices uses k+1 consecutive latent variables. Distinct components use disjoint latent variables, so the conditional likelihood is the tensor product of their path likelihoods. By Lemma E.5, its norm is at most (4He + 1)r/2 , uniformly over the selected positions. If a selected vertex is isolated, its difference is independent of all other selected differences and has marginal νH . Centering in that slot makes the whole conditional likelihood zero. A forest on r vertices with no isolated vertices has at most ⌊r/2⌋ components and hence at least ⌈r/2⌉ edges. For any specified labeled path forest with h edges, expose one vertex per component freely and then expose each adjacent vertex. There are at most two possible cycle neighbors at each such exposure, among at least nB − r remaining positions. Thus its embedding probability is at most (4/nB )h . There are only a number depending on r of possible labeled induced forests. A union bound gives −⌈r/2⌉ probability at most Cr nB of having no isolated vertex. As an orthogonal projection, coordinate centering contracts product L2 . Minkowski’s inequality multiplies the path likelihood bound by the probability of having no isolated vertex, without a square root. This gives the first bound and also H1 = 0. The second bound uses ⌈r/2⌉ ≥ r/2 and the root-tag definition. For a deterministic coordinatewise map ϕ, the pushforward likelihood is the conditional expectation of the original likelihood given the mapped coordinates, under the product reference. 98
This conditional expectation contracts L2 and commutes with coordinate centering. Applying it to reduction modulo q proves the residue bound. Conditioning on the independent data in the statement preserves the argument. An unchanged placement marginal does not suffice for the conditional clause. A core depending on the body permutation or an acceptance event reading the actual closure Gaussian need not satisfy its independence condition.
F
Positive Proposal and Response Calibration
F.1
Positive Proposal and First-Response Proofs
We specify the proposal data and verify the positive proposal and first-response estimates of Section 9. F.1.1
Anchor support and positive proposal laws
Inward anchors and the independent blur. Let cmid = (q−1)/2 and let χsign (c) equal −1, 0, 1 below, at, and above cmid . Draw janc uniformly from {aanc , . . . , 2aanc − 1}. Given c, set ς = χsign (c) off the midpoint, and choose ς fairly from {−1, 1} at the midpoint. Define the Markov kernel A by Ac = q − 1 − c + ςjanc . Writing Aanc for this kernel in mass coordinates, its smoothed version is e = C Aanc . A L
Draw zpub ∼ Rprot independently, using its supported integer lift, and set B a∗ = c,
b∗ = Ac + zpub ,
ζ = ςjanc + zpub ,
α = 21 .
The blur copies a distribution, not any actual root or closure value. Require q ≥ 6aanc + 1,
aanc ≥ 4KL ,
aanc ≥ h + 2KL ,
BL ≥ 2aanc + KL .
Here aanc is a positive integer, and the general leg feasibility conditions of Section 8.5 remain in force. A diffuse profile defined before the primary law. endpoint marginal of Ejanc ,zpub ,t Ltrunc ςjanc +zpub −t,h ,
For each fixed ς ∈ {−1, 1}, let vς be either
t ∼ µL ,
v = 12 (v+1 + v−1 ).
These profiles use only the anchor and scalar laws. Write ι(c) = q − 1 − c for reflection. The balancing target.
The profile used in Section 9.3 is hbase = du − (nF + gγcal )b0 − (g + q)b1 − 2g(1 − γcal )v.
99
Matrix coordinates. Mass profiles are columns; matrix rows index outputs and columns index inputs. The convolution and anchor operators have entries (CB )a,c = Rprot B (a − c),
(CL )a,c = µL (a − c),
(Aanc )a,c = Pr[Ac = a | c]. e act on Rq and are column-stochastic. These matrices and A Before choosing parameter sizes, define the losses
Dsl := 2h + 2aanc + 2KL , (nB + gγcal )2KBS 2(1 − γcal )Dsl δbase := + , gγcal (q − 2KBS ) γcal (q − Dsl ) εanc (q − 2KBS ) , δctr := aanc 4(nB + gγcal )KBS 4(1 − γcal )Dsl δprim := + . gγcal q γcal q The denominators are positive under the anchor-feasibility conditions above. Lemma F.1 (Symbolic positive-proposal bounds). Assume the structural relations, anchorfeasibility conditions, and general leg-feasibility conditions of Section 9.3. If εanc ≤ 1,
δbase , δctr ≤ 12 ,
then the proposal has the symmetry, atom, support, and averaged-mean guarantees of Theorem 9.3, uniformly over disjoint placements. Every sampled core satisfies the leg-feasibility conditions. Moreover, ∥π0 ∥∞ ≤
d , gγcal q
∥π0 − u∥1 ≤ δprim ,
4 δprim + , q aanc ∥p0 − u∥u−1 + ∥usafe − u∥u−1
e 0 ∥∞ ≤ γ γcal ∥Aπ cal
s
≤ (2 + εanc )
s
2KBS qδprim + εanc 3 + . q − 2KBS aanc
Proof of Lemma F.1 and Theorem 9.3. Every anchor lies in [aanc , q − 1 − aanc ]: below the midpoint its lower endpoint is at least cmid − 2aanc + 2 ≥ aanc , and its upper endpoint is at most q − 1 − aanc ; reflection handles the other side. At the midpoint, either sign gives an anchor in [cmid − 2aanc + e is 1, cmid + 2aanc − 1], which lies in the same safe interval because cmid ≥ 3aanc . Consequently A supported on Isafe , and b∗ − t ∈ Ch for every protected second input. Also |ζ| < 2aanc + KL ≤ BL . The primary and moving companion have the prescribed ordinary pair sum, so the primary belongs to the untrimmed safe slice required by Definition 8.10. Thus every chosen core satisfies the legfeasibility conditions of Section 8.5. The anchor and smoothed anchor kernels have height at most 1/aanc . The exact populations satisfy nF +g+q = nB . Consequently the body coefficients in the primary numerator sum to nF + gγcal + g + q = nB + gγcal . Adding the diffuse coefficient gives d − gγcal , 100
so the primary has mass one. The center has mass one because the anchor is Markov. Exchange symmetry makes the two endpoint marginals of each diffuse slice equal. Reflection exchanges the two sign profiles and preserves the body profiles and v, hence the primary. The anchor intertwines reflection and symmetric scalar convolution preserves it, so the center is symmetric. The symmetric primary law and fair midpoint convention give equal sign probabilities, so the diffuse profile is the prescribed mixture v. Convolution bounds each body height by (q − 2KBS )−1 . Each diffuse slice deletes at most Dsl colors, so its height is at most (q −Dsl )−1 . Dividing the first equation of (2) by gγcal and subtracting the expression with every profile replaced by uniform gives qπ0 ≥ 1 − δbase . Anchor height and support imply (1 − δctr )usafe ≤ p0 ≤ (1 + εanc )usafe . The assumed loss bounds prove the asserted positivity; its upper height bound also uses q − 2KBS ≥ q/2 and εanc ≤ 1. The total variation distance of the safe uniform from full uniform is 2KBS /q; for each diffuse slice it is at most Dsl /q. Convolution contracts this distance. Inserting the corresponding ℓ1 bounds into the first equation of (2) proves ∥π0 − u∥1 ≤ δprim . Positivity of the subtracted profiles gives height at most d/(gγcal q). At most 2aanc + 2 primary colors can contribute to one anchor output, e ∞ ≤ 4/q. Adding δprim /aanc yields and each conditional probability is at most 1/aanc . Thus ∥Au∥ e 0 ∥∞ ≤ 4/q + δprim /aanc , ∥Aπ
Also, ∥usafe − u∥2u−1 = 2KBS /(q − 2KBS ). For any probability vector, its squared distance from uniform in the uniform-reference norm is at most q times its height minus one. Applying this to e 0 and using the second equation of (2) with the triangle inequality proves the remaining center Aπ bound. The nF free body vertices have marginal CB p0 ; the g attachment-only and q queue-only vertices have marginal b1 . The latter equality uses the common widths and cutoffs of the clipped second leg input and the shared queue scalar. By the exact leg kernel, the two off-body coordinates per leg have total mean e 0 + 2(1 − γ )v. γcal π0 + γcal CB Aπ cal Multiplying the second equation of (2) by nF CB gives the companion cancellation described in Section 9.3, since nF εanc = gγcal . Summing the remaining profiles gives the primary-law numerator, which proves the mean claim after averaging the protected source. This proves the symbolic lemma. The direct substitutions in Section H.4 verify its structural and feasibility conditions for the public family, and show that δbase , δctr , δprim and εanc tend to zero. Its hypotheses therefore hold for all sufficiently large L, proving Theorem 9.3. F.1.2
The first response
Lemma F.2 (Symbolic first-response bounds). Under the hypotheses of Lemma F.1, the paired lift of every centered primary score is centered and its complete first histogram response is γcal T1 vin . The operator T1 preserves mass-zero profiles and, in the primary-reference norm of Lemma 9.4, q ∥T1 − Id∥ = O(γcal −1 aanc /q).
101
For any such parameter family satisfying γcal −1 aanc /q = o(1), eventually p
T−1 1 = Id −
eχT , γcal + χT e
∥T−1 1 ∥ ≤ 2.
Proof of Lemmas F.2 and 9.4. The primary score is centered by assumption. The compensator e is column-stochastic and vin has mass zero. Independence of the two score is centered because A proposal inputs then gives a centered paired lift. The sign profile also has mass zero, so T1 preserves centering. At fixed primary color the two off-body mean profiles sum to e ·,c + 2(1 − γ )v + Eχsign (c). γcal δc + γcal CB (A) cal
The primary score gives the corresponding signed combination. The attachment marginal is independent of the primary color, so its first response is zero. The compensator contributes e in . The centered public score integrates all other coordinate responses to zero even −γcal CB Av with correlated roots, leaving exact companion cancellation. By the anchor-feasibility conditions of Section 9.3, Dsl = O(aanc ) and q − Dsl ≥ q/3. Each sign slice differs from uniform in ℓ1 by O(aanc /q) and has height O(q −1 ). Hence ∥E∥1 = O(aanc /q),
∥E∥∞ = O(q −1 ),
q
∥E∥π−1 = O( aanc /q). 0
The dual norm of the p sign functional is at most one by Cauchy–Schwarz. The perturbation norm is −1 therefore O(γcal aanc /q). Under the lemma’s smallness hypothesis, the denominator correction has absolute value at most ∥E∥π−1 = o(γcal ). Multiplying the two rank-one formulas proves the 0 inverse formula of Lemma F.2; the perturbation bound gives inverse norm at most two eventup ally. For the public family, Section H.4 gives γcal −1 aanc /q = O(L/t) = O(L−5 ). Together with Theorem 9.3, this proves Lemma 9.4.
F.2
Construction and Bounds for the Graded Response Matrices
Use the parameters and radius of Section 9.9, including t, and fix a labeled disjoint placement from Theorem 9.3. We construct coefficients in V≤R as product-reference density kernels, following the coordinate convention of Definition F.3. All expectations are uncharged. The independent-root comparison retains the protected marginal Rprot B , the complete same-source leg channel, and one common queue scalar. The protected-cycle response retains the dependent cycle law. Use the sampling contract of Section 9.2 and the populations and pairings of Section 9.2. Constants may depend on fixed R, but not on placement. F.2.1
Canonical coefficient algebra and its Hilbert norm
102
Definition F.3 (Canonical public-control coordinates). Let VP = {f : Fq → R : Eπ0 f = 0}, VB = {f : Isafe → R : Ep0 f = 0}, Vr =
M
SymaP (VP ) ⊗ SymbB (VB ),
aP +bB =r
V≤R = R ⊕
R M
Vr .
r=1
Let coord : V≤R → RmR be the coordinate isomorphism constructed in Section F.2.1, and put e0 = coord(1). P ⊗bB Positive-degree coefficients are separately symmetric density kernels relative to π⊗a p0 , cen0 tered in every input slot. The coordinate dimension satisfies mR ≤ (2q + R)R ; Section F.2.1 supplies the basis and conversion bounds. All estimates use Section 9.9, at fixed R, uniformly over placements. Throughout, coord identifies coefficient kernels with their vectors and coefficient-space endomorphisms with their matrices. Vector and induced operator norms are transported through this same isomorphism.
The disjoint-slot product. The formal product ⋄ tensors disjoint slots, symmetrizes each type and truncates above degree R. It differs from physical multiplication, which includes overlaps. A graded weighted Hilbert norm. For a coefficient vector f = coord(f), put ∥f ∥simp,ρ := Cρ (f), where X Cρ (f) := ρbB mP −aP /2 mB −bB /2 ∥faP ,bB ∥L2 (π⊗aP ⊗p⊗bB ) . 0
aP +bB ≤R
0
Add contributions of the same arity before taking their Hilbert norm. The population factors match distinct-index averaging; the body-radius factor matches the Fourier estimate. Lemmas F.4 and F.5 establish submultiplicativity and the retained-input fiber estimates used below. Operator norms below are induced by this norm. It controls physical moments but does not imply pointwise closeness of the weight to one. Lemma F.4 (Finite-atom comparison). For a kernel of type (aP , bB ), possibly taking values in a Hilbert space, fixing input subsets IP , IB gives sup
fixed IP ,IB
∥faP ,bB ∥L2 (remaining) ≤ (2q)(|IP |+|IB |)/2 ∥faP ,bB ∥2 .
Proof. In the squared product-reference norm, the summand for any fixed input tuple has probability at least (2q)−|IP |−|IB | by Theorem 9.3. Dropping the other nonnegative summands proves the fiber bound, also for a Hilbert-valued kernel. Coordinate construction. Coordinates are ordered by total degree and then by hybrid type, with columns indexing inputs and rows outputs. Choose reference colors c∗ ∈ Fq and a∗ ∈ Isafe .
103
For each nonreference color use the centered point-mass density bases δc δc∗ − , π0 (c) π0 (c∗ ) δa δa∗ φB − . a = p0 (a) p0 (a∗ ) φP c =
For each nondecreasing tuple of basis indices, average the tensor product over all permutations within the primary slots and, separately, all permutations within the body slots, including repeated permutations. These averaged tensors, together with the scalar unit, form the chosen basis. This defines the coordinate isomorphism coord declared in Definition F.3. In degree one, the coefficient of φP c in f is π0 (c)f(c); centering recovers its value at the reference color. The body formula uses p0 . In several slots, evaluate at nonreference colors and multiply by their product reference probability. These are the ordered tensor coefficients. Multiply by the orbit size osym of distinct separate permutations to obtain the averaged symmetric coefficients; divide by it to recover the ordered expansion. Iterated centering recovers tuples containing reference colors. A basis tensor is specified by a multiset of at most R labels from the two basis types, which together have at most 2q labels. Order these labels and pad with a distinct symbol to obtain a tuple of length R. This injective encoding gives mR ≤ (2q + 1)R ≤ (2q + R)R for R ≥ 1, proving the stated dimension bound. The lower atom bounds in Theorem 9.3 make both basis transformations polynomially bounded at fixed order: each uses at most R reference probabilities or their inverses and permutation factors at most R!. The Fourier output of ER stores the ordered symmetric coefficient tensors of Section 9.1, including degree zero; Lemma F.5 specifies the evaluation maps. Multiplication entries.
For f = coord(f) and g = coord(faux ), define MR (f )g = coord(f ⋄ faux ),
Mbg = MR (b).
Let φibas range over the chosen basis, including the unit. Its structure constants are defined by φibas ⋄ φjbas =
X alg
skbas ,ibas ,jbas φkbas .
kbas
The resulting matrix entries are (MR (f ))kbas ,jbas =
X alg
skbas ,ibas ,jbas (f )ibas .
ibas
Lemma F.5 (Algebra and leading evaluation). The finite coefficient algebra is commutative and associative, and Cρ (f ⋄ faux ) ≤ Cρ (f)Cρ (faux ). Define its leading evaluation by first multiplying a density by its product reference measure, then applying h i ⊗bB EaP ,bB = Sym (γcal T1 )⊗aP ⊗ (Rprot ∗) . B Here Sym averages over all permutations of the output slots. Evaluation gives symmetric tensors of mass-zero profiles in positive degree and is a unital algebra homomorphism, not necessarily
104
injective. Its Fourier transform is ER . In coordinates, MR (f )MR (g) = MR coord(f ⋄ faux ) ,
MR (e0 ) = I. For a positive-degree coefficient define the finite formal operations exp⋄ (f) =
R k X f
k! k=0
,
log⋄ (1 + f) =
R X (−1)k+1 k=1
k
fk.
All powers use ⋄. These operations are mutually inverse, and the logarithm takes products of unit-constant coefficients to sums. Multiplication by a unit-constant coefficient is unit block lower triangular. Its reciprocal and inverse bound are in Proposition F.6. These formal identities do not assert pointwise identities for physical weights: UJin (f ⋄ faux ) ̸= (UJin f)(UJin faux )
in general,
because the product on the right includes overlapping indices. Proof. Before symmetrization, the product-reference Hilbert norm of a tensor product is the product of its two norms. The population and radius weights multiply because their exponents add. Separate symmetrization averages isometries and therefore contracts the Hilbert norm. Summing over arities proves submultiplicativity; truncation only drops nonnegative terms from the bound. Associativity follows either by averaging all permutations once or by viewing these tensors as symmetric polynomial coefficients. The density-to-profile multiplication also factors over disjoint slots. The slotwise linear maps commute with averaged symmetrization, proving multiplicativity on the full coefficient algebra. In coordinates, associativity gives the multiplication-matrix homomorphism and multiplication by the scalar unit gives the identity. Every product of more than R positive-degree coefficients vanishes. The logarithm and exponential identities thus follow from the corresponding formal power-series identities modulo degree R+1, with only finitely many terms per coefficient. Multiplication by a positive-degree coefficient strictly raises degree, giving the asserted triangular form. Equalities with character polynomials below implicitly Fourier-transform the evaluated profiles. Evaluation followed by this transform is ER coord, with the coefficient convention of Definition F.3. F.2.2
Finite computation in the coefficient algebra
Finite algebra implements the coefficient solve; stability uses Theorem 7.1. The background reciprocal is formed before solving the response system. Proposition F.6 (Finite coefficient computation). Use the algebra and graded Hilbert norm of Lemma F.5, with coordinates respecting degree. For any unit-constant coefficient Bbg , let Mbg denote multiplication by it. The formal reciprocal and multiplication inverse are Bbg −1 =
R X
−1 M−1 bg e0 = coord(Bbg ),
(1 − Bbg )k ,
k=0
105
where every power uses ⋄. No smallness assumption is needed for these finite identities. If Cρ (Bbg − 1) ≤ εbg < 1, then Cρ (Bbg −1 − 1) ≤
εbg , 1 − εbg
∥M−1 bg ∥simp,ρ ≤
1 . 1 − εbg
e R = I + UR + ZR , where UR strictly raises degree, ZR does not decrease degree, Suppose A both annihilate e0 , and ∥UR ∥simp,ρ + ∥ZR ∥simp,ρ ≤ ηresp < 1.
The scalar block is the identity, with no coupling to positive degrees. On positive degrees, solve in increasing degree: subtract the response of the already determined lower-degree coefficients, then solve with the current diagonal block. The same small-perturbation bound makes every diagonal block invertible. Under both displayed smallness hypotheses, the solution to e R z = e0 is unique and is computed using the background reciprocal followed by these Mbg A degree-block solves. The correction bound and its scalar and degree-one structure for the constructed response are proved in Section F.2.6. At fixed R, computation uses polynomially many arithmetic operations in the matrix dimension. Section H.5 certifies the data approximations, coordinate conditioning, precision and work bounds for the public family, preserving structural zero blocks and the scalar identity. Nonrational data are approximated rather than computed exactly in finite bits. Proof. Multiplication by Bbg −1 is nilpotent, giving the finite reciprocal. Submultiplicativity bounds ∥Mbg − I∥ by εbg ; applying Theorem 7.1 to Mbg gives the stated inverse bounds. The referenceresidual estimate with reference e0 also gives the background reciprocal bound. Homogeneous projections contract the norm, so the same response bound makes each diagonal block invertible. The response does not lower degree, so each block equation involves only the current and already solved degrees. Unit-constant background and invertible diagonal blocks suffice for the finite solve; smallness certifies invertibility and stability. Finite products and block elimination use polynomially many arithmetic operations in the matrix dimension. Finite block solution. The finite solve of Proposition F.6 starts with scalar correction zero and proceeds in increasing degree 1 ≤ r ≤ R by (c)r = −A−1 rr
(b)r +
r−1 X
!
(AR )r,k (c)k .
k=1
F.2.3
Concrete background and local transfer estimates
Lemma F.7 (Weighted Hilbert transfer). A local linear operator consumes u primary and v body slots and emits m centered primary output profiles. Suppose its raw density operator has Hilbert norm at most B2 , with the same bound for Hilbert-valued retained inputs. After lifting the new output profiles by γcal −1 T−1 1 and storing the resulting densities, its graded operator norm is at most CR ρ−v mB v/2 mP (u−m)/2 γcal −m B2 . The same assertion holds before separate symmetrization. Proof. The output/input weight ratio in Cρ gives the radius and pool factors. Each first inverse costs at most two by Lemma 9.4; activation inverses give the remaining factors. Symmetrization 106
contracts, and retained joint Hilbert arguments are covered by the assumed local operator bound. For the public family, the two new-slot factors are γcal −1 mP −1/2 = O(Lt−8 ),
ρmB −1/2 = O(L1/4 t−10 ).
Consuming a primary slot costs O(t8 ); consuming an ordinary slot costs at most O(t10 ). These factors also apply to retained joint inputs. Independent-root background certificates. For a probability profile µ, write Cµ for the slotwise projection subtracting total mass times µ. A profile certificate is a specified canonical density coefficient with that leading evaluation. Primary lifts use the first inverse; safe body seeds remain body slots without inverting their convolution. Fringe and translated safe seeds. Set hsafe = (q − 2KBS )−1 and F∂ = hsafe − b0 , using the body profile of Section 9.3. The positive-baseline formula and the pointwise height bounds used in Theorem 9.3, specialized as in Section 9.9, give 0 ≤ F∂ ≤ εanc π0 ,
X
F∂ = O(KL /q).
In the baseline formula, the coefficient of F∂ is nF + gγcal . The remaining positive constant is gγcal hsafe ; its safe-interval and diffuse-slice losses are each O(L−1 ) relative to this constant by Section F.1.1. Dividing by the fringe coefficient gives the displayed bound for sufficiently large P parameters. Since b0 − u = ( F∂ )u − F∂ , ∥b0 − u∥π−1 = O(L1/2 t−6 ). 0
The squared Hilbert estimate uses F∂ 2 /π0 ≤ εanc F∂ . The safe projection Bsafe keeps safe colors and replaces every unsafe color by an independent usafe . For an integer shift t, define cyclic translation of a mass profile µ by P
P
(Tt µ)(c) := µ(c − t). For |t| < 2KL , define dsh = Tt usafe − usafe ,
c esh = 1Isafe Tt usafe ,
βsh =
ksh = dsh − esh + βsh usafe ,
X
esh ,
rsh = Rprot ∗ esh − βsh b0 . B These give the exact mass-zero identity Rprot ∗ Tt usafe − u = b0 − u + Rprot ∗ ksh + rsh . B B Only O(KL ) boundary colors change, so ∥ksh ∥p−1 = O(Lt−4 ). Moreover Rprot ∗ esh ≤ F∂ ; hence B 0 the residual has the Hilbert bound in the fringe estimate established above. The new-slot costs show that the certificate Jt defined by this recipe has norm O(L3/2 t−14 ). For the public family, aanc ≥ 5KL for L ≥ 2. Hence every translated anchor column used below stays on Isafe whenever |t| < 2KL . Two further useful safe/profile estimates are ∥T−t Aπ0 − usafe ∥p−1 = O(Lt−1 ), 0
107
∥π0 − u∥π−1 = O(L1/2 t−1 ). 0
For the first, the anchor applied to uniform input differs only on O(aanc ) endpoint or midpoint p transition colors; the remaining change Protected p is at most C q/aanc ∥π0 − u∥1 by Minkowski. P translation and safe trimming add O( KL /q). For the second use u/π0 ≤ 2 and (π0 − u)2 /π0 ≤ C∥π0 − u∥1 . The first is retained as a safe body seed; the second has a primary certificate of norm O(L3/2 t−9 ). The first estimate also holds after averaging the protected translate, so the balancing formula of Section 9.3 gives e 0 − u ∥ −1 = O(t−5 ). ∥p0 − usafe ∥p−1 = εanc ∥Aπ safe p 0
0
Its body certificate costs O(L1/2 t−15 ).
Together with the fringe primary certificate this defines a certificate F of norm O(L3/2 t−14 ) for Rprot B ∗p0 −u. The same profile has raw primary-reference norm −5 O(t ): convolution from the center reference is bounded by conditional Jensen and sup(Rprot ∗ B p0 )/π0 ≤ 8, and its fringe part is smaller. Lemma F.8 (Diffuse and marked pair certificates). At fixed protected leg scalar t, let Pdiff t be the actual diffuse pair, including its random anchor sign, length-aanc interval, and independent public blur. Define Sdiff t = C⊗2 p0 (Bsafe ⊗ Bsafe )Pdiff t , prot Ediff t = C⊗2 ∗ ⊗Rprot u Pdiff t − (RB B ∗)Sdiff t .
Their profile norms in the respective two-slot references are O(t) and O(Lt−2 ). For Ash = T−t A, put Pmarkt (c, a) = π0 (c)(Rprot ∗ Ashc )(a), Kmarkt = (Cu ⊗ Cp0 )[π0 (c)Ashc (a)]. B −1 Then Kmarkt is supported safely in its second slot, has norm O(t) in π−1 0 ⊗ p0 , and prot C⊗2 u Pmarkt = (I ⊗ RB ∗)Kmarkt
+ (π0 − u) ⊗ (Rprot ∗ p0 − u). B Proof. Conditioning on sign and public blur puts the diffuse pair in a band p of O(qaanc ) cells, each of mass at most O((qaanc )−1 ). Its uniform-profile norm is therefore O( q/aanc ). Safe projection has column sums one and row sums at most two; its marginals have height O(q −1 ). Projection and centering are bounded in this profile norm, and p0 ≥ usafe /2 on safe support. This proves the safe-seed bound. Protected translations shift the length-aanc sum-offset interval by O(KL ), costing O(KL /aanc ) in total variation. At a matched sum ξ, the slice Jξ−z1 −z2 ,h + z1 and Jξ,h have endpoints within O(KL ) and lengths Θ(q). Their uniform laws, including denominator changes, cost O(KL /q) to couple. Safe projection has the same cost by the marginal heights. Modulo reduction and convolution contract ℓ1 , while translation and convolution preserve the height bound. Thus the uncentered difference from the convolved projected pair has ℓ1 norm O(KL /aanc + KL /q) and maximum entry O((qaanc )−1 ). Interpolation, also after averaging sign and blur, gives √ C Since
qKL + aanc
s
KL aanc
!
= O(Lt−2 ).
CB Cp0 = CCB p0 CB , 108
the convolved seed is centered at CB p0 . Expanding the two centering differences uses only bounded one-coordinate marginal norms, so recentering at u costs at most C∥p0 − u∥u−1 = O(Lt−4 ) by convolution contraction and Section F.1.1. Combining the errors and using π0 ≥ u/2 proves the residual bound. For the marked seed, the uncentered squared norm is at most Cq/aanc , by the anchor-column height and unit column mass. Each centering is bounded in the indicated profile norm: u/π0 ≤ 2 and the second reference is its own centering measure. This proves its bound. Convolution commutes with total mass, so applying it to the seed centers the second output at Rprot ∗ p0 . Changing this B centering to u gives exactly the product in the marked mixed identity of Lemma F.8. The diffuse safe seed uses two body slots, its residual two primary slots, and the marked seed one slot of each type. Including all g legs and the marked activation, their weighted costs are respectively O(Lt−3 ), O(L3 t−2 ), O(L1/2 t−1 ). All are O(t−1/2 ). The marked product residual is smaller: the primary and free certificates above give population-weighted cost O(L2 t−7 ). For either diffuse marginal vt , use the exact decomposition vt − u = Rprot ∗ (Bsafe vt − p0 ) + (vt − Rprot ∗ Bsafe vt ) + (Rprot ∗ p0 − u). B B B The first parenthesis is a mass-zero safe seed with bounded center norm, since its marginal height is O(q −1 ). The second is a mass-zero primary residual. Marginalizing the translation/projection comparison in Lemma F.8 contracts its uniform-profile norm, giving O(Lt−2 ) also in the primary reference. Lift these two terms by their respective slot maps and use F for the third. This specifies the diffuse marginal certificate, of norm O(L2 t−10 ). One scalar per whole triple. At fixed t the attachment has law Rprot ∗ Tt usafe . Disjoint B placement excludes queue injection at this attachment. The off-body pair and this attachment are conditionally independent in the independent-root comparison. Their triple is h
i
Et ((1 − γcal )Pdiff t + γcal Pmarkt ) ⊗ (Rprot ∗ Tt usafe ) . B The constant activation is justified by independence of the first leg input from t. Construct quadratic and cubic certificates by expanding this displayed tensor, substituting the specified marginal and pair certificates, multiplying at the same t, and only then averaging that scalar. Denote them by h20 and h30 . They do not depend on the queue scalar. The pair bounds and attachment certificate give gCρ (h20 ) = O(t−1/2 ),
gCρ (h30 ) = O(t−14 ).
Indeed, multiplying the attachment certificate by the marked and diffuse marginal certificates, including activation and summing legs, costs O(L2 t−7 + L7/2 t−8 ). The marked primary gives the first term; the marked companion is smaller. The third output adds the translation certificate to a pair. Define the canonical coefficient J1 = Et∼µL Jt . The subscript on this averaged certificate counts the one scalar injection; it does not denote translation by the integer 1. Choose the linear leg certificate to be q nF l0 = − F − J1 . g g Its evaluation is the true sum of the three leg marginal deviations: the averaged mean identity of Theorem 9.3 gives nF EF + qEJ1 plus g times that sum equal to zero. Since nF /g = O(t4 ) 109
and q/g = O(t−8 ), this linear certificate has norm O(L3/2 t−10 ). With these choices the complete fixed-queue linear coefficient is My = nF F + qJy + gl0
(10)
= q(Jy − J1 ).
This is an equality before evaluation. In the fixed public family, both µL and µQ are the same DZ,σ conditioned on |t| < KL = KQ . Consequently Ey∼µQ Jy = J1 as canonical coefficients and Ey My = 0. Its uniform norm is O(L3/2 t−6 ). Proposition F.9 (Complete background coefficients). There are explicit unit-constant canonical coefficients Qy such that EQy = [F0 y ]≤R ,
−3 sup Cρ (Qy − 1) + Cρ (Q−1 y − 1) = OR (L ).
y
Here F0 y is the character polynomial of the independent-root proposal at the fixed queue value, with nF free bodies, q queue-only bodies, and g complete leg triples. Proof. The free population includes the g compensators, each with an independent control and comparison root before scoring. Its positive factor multiplies the leg-triple factor; pairing them for the response leaves the vertex counts unchanged. Define Qy by the finite formal product (1 + F)nF (1 + Jy )q (1 + l0 + h20 + h30 )g . Each factor has the specified leading evaluation, so Lemma F.5 gives the complete independent-root polynomial. Its finite formal logarithm Hy is the sum of the three role logarithms by Lemma F.5. Its degree-one coefficient is exactly My by (10). The complete nonconstant leg factor has norm O(L3/2 t−10 ), dominated by its linear certificate. The free and queue factors have norm O(L3/2 t−14 ). There are no cross-role products in the logarithm. All powers of order at least two are therefore bounded by the corresponding squared norm times a fixed-order constant. Thus Cρ (Hy ) ≤ CR L3/2 t−6 + L3 t−8 + t−1/2 + L3 t−4
= OR (t−1/2 ). The four terms account respectively for the common-queue linear residual, higher free and queue powers, leg terms of degree at least two, and higher powers of the complete leg factor. The finite exponential identity of Lemma F.5 gives the same bound for Qy − 1. Since t = L8 , this is OR (L−4 ) and hence implies the stated bound. The background reciprocal estimate proved in Proposition F.6 gives it also for Q−1 y − 1, uniformly over the queue. F.2.4
Normalized response blocks and protected-cycle defects
For a canonical coefficient f, let Sy (f) be the protected-cycle endpoint character polynomial weighted by UJin f. This map is linear; its scalar input one gives the unweighted polynomial Fcyc y . Use a superscript 0 on the signed polynomial for independent roots. Omitting the queue subscript denotes averaging the complete fixed-queue polynomial under µQ . All polynomial products, reciprocals, and identities in the remainder of this appendix are truncated above R. Unit-constant reciprocals use the finite formal formula of Proposition F.6. We construct output coefficients as centered signed color profiles to apply the first inverse, then Fourier-transform them. 110
One local degree budget. Use the local scale Qloc from Lemma G.4. Positive paired coefficients and signed paired numerators of degree m have retained-Hilbert norm at most CR Qm loc . The same bound holds for each degree of a finite positive-factor reciprocal: degrees add in every product of its truncated geometric series. An ordinary positive body has bounded profile norm, so its finite reciprocal obeys the same bound because Qloc ≥ 1. All local polynomials retain the complete flag– map pair and same-source leg scalar. Define the new-primary-slot cost and the normalized output factor by τR := γcal −1 mP −1/2 , ωR := τR Qloc . For the public family, τR = O(Lt−8 ) and ωR = O(L1/2 t−6 ) = o(1). Lemma F.10 (Independent-root raised response). An explicit operator Uraise on canonical coefficients satisfies ∥Uraise ∥Cρ →Cρ = OR (L−3 ).
S0y (f)/F0 y = E(I + Uraise )f,
It strictly raises represented degree, creates no new body slot, and is independent of y. Proof. Divide each selected group’s complete signed polynomial by its positive polynomial, canceling unselected factors. A primary group contains its leg triple and distinct compensator; an ordinary group contains one body output. Independent comparison roots and the complete conditional flag–map law permit these local operators to act on arbitrary retained joint Hilbert inputs. The degree-one primary response is exactly γcal T1 ; represent it by the unchanged primary slot. A nonleading primary response emits m ≥ 2 profiles. The weighted transfer rule of Lemma F.7 and the common degree budget bound its cost by m CR mP 1/2 ωR .
For an ordinary group, retain the leading safe body slot without inverting its convolution. Each added reciprocal output costs at most ωR . Because this factor is eventually at most one, every nonleading local response gains at most 2 CR max{mP 1/2 ωR , ωR } = OR (Lt−4 ).
Tensor the local expansions with the exact distinct-index normalizers and symmetrize. Their leading responses are the identity; every nonleading fixed-order pattern contains a small factor just bounded and strictly raises represented degree, creating no body slot. Extra outputs only multiply by a nonincreasing factor. The number of degree patterns depends on the fixed order alone. This defines Uraise and proves its stated bound. Selected groups avoid the queue, whose unselected factors canceled before expansion, so the operator is queue-independent.
Lemma F.11 (Coarse transfer of centered root patterns). Let the source and public-control r reference laws be independent, and let the centered joint-root density satisfy ∥Hr ∥2 ≤ Cr ηR under the product root reference. Let f be a canonical public-control kernel and partition the consumed arguments into disjoint local groups, using each complete control once. Local maps may be restricted to the centered root and control subspaces. In an expansion through degree R,
111
with r ≤ R and the slot factors of Lemma F.7, each group hit by a root tag emits m ≥ 1 profiles. Let NR bound unselected choices per group and MR bound a selected group’s consumed-input weight. Assume an unselected single-output root map has retained-Hilbert norm at most δR ; all other degree-m numerators and finite reciprocal coefficients have norm at most CR Qm loc . Assume unhit unselected factors cancel, while unhit selected normalized responses and the number of incidence and degree patterns are bounded in terms of the fixed order. Suppose ωR ≤ 1,
2 εR := ηR max{1, NR τR δR , NR ωR , MR ωR } ≤ 1.
The full response from nonempty root patterns has norm at most CR εR . Proof. Source independence gives ∥Hr ⊗ f∥2 = ∥Hr ∥2 ∥f∥2 . Slotwise centering fixes this joint input. Apply the joint-root norm once and tensor the local maps on the disjoint groups; their retainedHilbert bounds apply without factoring the root density. Reserve one scalar factor ηR for each hit group. There are no more hit groups than tags, and every remaining tag factor is at most one since ηR ≤ εR ≤ 1. m for at By Lemma F.7, an unselected hit group costs NR times either τR δR for one output or ωR m least two outputs. A selected hit group costs MR ωR . After its reserved tag factor, each is bounded by the common budget CR εR ; extra outputs multiply by ωR ≤ 1. A multiply tagged group still consumes its complete control once. Every nonempty pattern has a hit group. Multiplying these common budgets and the bounded unhit responses costs at most CR εR , since εR ≤ 1. All population factors are already included; normalized selected-index averages and symmetrization contract. The remaining incidence and degree patterns depend only on the fixed order, so summing them proves the claim.
Lemma F.12 (Protected-cycle defects on joint input kernels). There are explicit canonical coefficients Vy and linear operators Brooty satisfying EVy = Fcyc y /F0 y − 1, EBrooty f = Sy (f)/F0 y − E(I + Uraise )f, Brooty 1 = Vy .
(11)
Uniformly over protected queue values, Cρ (Vy ) = OR (L−3 ),
∥Brooty ∥ = OR (L−3 ). [0]
[1]
The operators do not lower represented degree, and Vy = Vy = 0 as canonical coefficients. Proof. Fix a protected queue value y. The two experiments use the same public controls and local endpoint maps; only the joint law of the body roots changes. We isolate that change, construct its canonical coefficients, and then bound their norm. All polynomial operations below are truncated above R. 1. Dependent-root contribution. By Lemma F.10, the required weighted defect has leading evaluation Sy (f) − S0y (f) EBrooty f = . F0 y 112
To expand this difference, write the identity in each root coordinate as the sum of its mean projection and its centering projection under Rprot B . Expanding the joint root likelihood gives the constant term 1, which produces the independent-root experiment, and terms centered in nonempty sets of root coordinates. Call those coordinates tagged. A term with r tags has the joint density Hr of Theorem E.4. A root enters the local channel only by translating its own body endpoint. If that endpoint contributes no output to a polynomial term, the term is independent of the root, and integration against its centered tag gives zero. Thus every surviving tag requires its own body output, and at most R tags survive. The cycle-density theorem and the public parameter choice give r ∥Hr ∥L2 ((Rprot )⊗r ) ≤ Cr ηR , ηR = O(Lt−10 ). B
2. Canonical coefficient construction. Work first with one summand in the distinct-index control average. A selected primary group consists of its complete leg triple and assigned compensator; a selected ordinary group consists of one body. Call a group hit if it contains a tagged root. For each nonempty root pattern, form the complete local endpoint polynomials, multiplying the leg and attachment factors at the same leg scalar before averaging. A paired group uses its complete control once, including when both its attachment and compensator roots are tagged. Divide by the independent-root polynomial using its local finite reciprocals. Unhit unselected factors cancel. Unhit selected groups retain the normalized response of Lemma F.10, while hit groups act on the joint root and control kernel. Center the new output profiles, lift them by γcal −1 T−1 1 , and store the resulting primary densities; retain any unchanged safe body seeds as body slots. Average with the exact distinct-index normalizers and symmetrize the two input types. These finite linear operations define Brooty on canonical coefficients. Their evaluation is the difference in Step 1, term by term. For scalar input 1, the same construction defines Vy := Brooty 1. Since the two scalar responses are Fcyc y and F0 y , this proves all three response identities. 3. Local and global norm bounds. The root density need not factor across groups. Instead, source independence gives the single joint-input bound ∥Hr ⊗ f∥2 = ∥Hr ∥2 ∥f∥2 . We apply local maps to disjoint groups while retaining all other arguments in a Hilbert space. The retained-input bounds of Lemma G.4 therefore apply to this joint kernel. Integration over roots uses Cauchy–Schwarz under their probability reference, so no inverse root-atom probabilities are needed. The case requiring a sharper local bound is an unselected hit group with just one output. Its tagged root forces that output to be a body endpoint. Before the root translation, its profile µ is p0 for a free body or compensator, or a fixed translate of usafe for a queue or attachment. Root centering replaces the translated profile by its difference from the root average. Translation fixes the uniform law and preserves its profile norm, while convolution contracts that norm. Consequently, sup ∥Tz µ − Rprot ∗ µ∥u−1 ≤ 2∥µ − u∥u−1 . B z
113
√ Conversion to the primary reference costs at most 2. Thus Sections F.1.1 and H.4 provide the single-output bound √ δR := 2 2 ∥p0 − u∥u−1 + ∥usafe − u∥u−1 = O(Lt−4 ). All other local numerators and finite reciprocal coefficients obey the degree bound CR Qm loc established at the start of Section F.2.4. This includes ordinary-center scores: their fixed-root operator norm is O(1) because p0 ≤ 4/q and π0 ≥ 1/(2q). We can now apply Lemma F.11. Unselected hit groups have at most the body population many choices; selected indices are already averaged, so they incur only a consumed-input weight. Accordingly, take NR = nB = O(t20 ),
MR = max{mP 1/2 , mB 1/2 /ρ} = O(t10 ).
The slot factors in Section F.2.4 give the following three costs, before the root-tag factor: NR τR δR = O(L2 t8 ) 2 NR ωR = O(Lt8 ) MR ωR = O(L1/2 t4 )
(unselected, one output), (unselected, at least two outputs), (selected).
Extra outputs cost at most ωR = O(L1/2 t−6 ) ≤ 1 for sufficiently large parameters. Every hit group has a tag, so the transfer lemma supplies one factor ηR to offset its cost. Its common budget is therefore 2 εR = ηR max{1, NR τR δR , NR ωR , MR ωR }
= O(L3 t−2 ) = O(L−13 ), using t = L8 . Thus the budget is at most one for sufficiently large parameters. The lemma sums all nonempty root patterns, including patterns with several tags in one group, and yields ∥Brooty ∥ = OR (L−13 ). Since Cρ (1) = 1, the same bound holds for Vy . This is stronger than the claimed OR (L−3 ). All local estimates are uniform in the protected queue value, and the remaining incidence and degree counts depend only on the fixed truncation order. 4. Degree assertions. For scalar input, Theorem E.4 gives H1 = 0, so a nonzero correction has at least two tags on distinct body endpoints. Both endpoints must contribute outputs by Step 1, even if they lie in the same local group. The coefficient lifts preserve these outputs and finite reciprocals only add degree. Hence the constant and linear canonical coefficients of Vy vanish. For a general input kernel, fix the roots and all other controls. If a selected group contributes no output, integrating its centered paired or ordinary score gives zero. Every surviving selected group therefore contributes at least one output. Since input degree counts selected groups, and subsequent lifts, reciprocals, and symmetrization do not lower degree, neither defect lowers represented degree.
114
F.2.5
True-cycle response and common-queue assembly
Assembly of the response. We combine the background coefficients of Proposition F.9 with the raised response and joint root operators of Lemmas F.10 and F.12. In the fixed coordinates, let qy and vy represent Qy and Vy , respectively; let Broot,y and UR represent the operators Brooty and Uraise . Thus UR e0 = 0 and Broot,y e0 = vy . Absorb this scalar response into the complete background and normalize once: b = Ey [MR (qy )(e0 + vy )], Cy = Broot,y − MR (vy )(I + UR ), ZR = M−1 bg Ey [MR (qy )Cy ].
(12)
Here Mbg = MR (b), as in Section F.2.5; the corresponding canonical coefficient is Bbg . Every product inside an expectation uses one queue value. Only after averaging the complete products do we invert the background. Its constant coordinate is one, so its multiplication inverse exists by Proposition F.6. Convexity, submultiplicativity, and the background and root bounds give ∥b − e0 ∥simp,ρ + sup∥Cy ∥simp,ρ = OR (L−3 ). y
−3 The same proposition bounds M−1 bg by 1 + OR (L ). Consequently,
∥ZR ∥simp,ρ = OR (L−3 ),
ZR e0 = 0,
since Cy e0 = 0 before evaluation. For matrices these are induced graded operator norms. For a fixed queue value, the root identities (11) and multiplicativity of leading evaluation give the exact physical response [Sy (f)]≤R = ER MR (qy )(I + UR + Broot,y )f . Substitute Cy from (12) and average. Since UR is queue-independent and multiplication matrices respect the coefficient product, the result is [S(f)]≤R = ER Mbg (I + UR + ZR )f = ER AR f , [F
cyc
]≤R = ER b.
The scalar-input case gives the second identity. Both use the physical synthesis, averaged symmetrization, and exact distinct-index normalizers. Grading and the canonical degree-one term. The raw root operator does not lower degree, and its scalar image vy starts in degree two, by Lemma F.12. Hence Cy does not lower degree. Multiplication by the unit-constant background inverse and averaging preserve this property, so ZR does not lower degree either. Together with the strictly raising UR , this makes both the normalized and full response block lower triangular, with actual diagonal blocks I + (ZR )r,r . These blocks act on the full hybrid degree space, including all body-to-primary conversions. The protected-root diagonal is retained. For R ≥ 1, the background product in Proposition F.9 has canonical degree-one coefficient My . The coefficient identity (10) and the equality of the clipped leg and queue laws give Ey My = 0 before evaluation. Since the root defect starts in degree two, the definition of b therefore gives (b)1 = 0 as a canonical coefficient. 115
F.2.6
Application to the public correction
Proof of Theorem 9.5. By Section F.2.5, the full response is AR = Mbg (I + UR + ZR ) and AR e0 = b. Submultiplicativity in Lemma F.5 and the assembled bounds give, in the induced graded norm, ∥AR − I∥simp,ρ ≤ ∥b − e0 ∥simp,ρ + 1 + ∥b − e0 ∥simp,ρ ∥UR ∥simp,ρ + ∥ZR ∥simp,ρ
= OR (L−3 ). For fixed R and sufficiently large L, this is at most 1/2. Apply Theorem 7.1 with synthesis ΨR , evaluation ER , and target and reference e0 . Its reference-residual bound gives the unique solution with ∥z − e0 ∥simp,ρ ≤ 2∥b − e0 ∥simp,ρ = OR (L−3 ). The scalar row is the identity, so the correction has scalar zero. The degree-one equation then has zero right-hand side because (b)1 = 0. Homogeneous projections contract the norm, so the same small-perturbation bound makes the degree-one diagonal block invertible and gives (c)1 = 0. Paired lifting preserves canonical centering, so distinct-index averaging gives mean zero for the correction. Exact calibration yields Eν0 WR = 1,
[Pchar,WR ]≤R = ER e0 = 1.
Independent uniform relabeling makes the law exchangeable. Each homogeneous character coefficient is then a positive combinatorial multiple of its support-frequency coefficient, giving the claimed cancellation. The kernels and inverses are averaged public quantities, so evaluating the weight reads only the controls in Section 9.2.
G
Complete Fourier Tails and Public-Core Moments
Use the public family and radius of Section 9.9. For a finite polynomial P of degree at most d, write ∥P∥F ,ρ for the ordered-coefficient norm of Definition 9.1. Applied to a character polynomial, this is Fρ (P). Symmetrization is the orthogonal projection that averages tensor-slot permutations. Contractions and conjugation follow Section E.1.2. We apply the bounds below to the physical weight WR and its canonical public-control coefficient fR from Section 9.6. The real public input coefficients and scores give conjugate-symmetric character coefficients. Fix a disjoint placement, with the free population and control pools of Section 9.2. The protected latent cycle, its independent body permutation, and the single clipped queue scalar are retained under the uncharged experiment of Section 9.7.
G.1
A mean bound for the full protected cycle
Write zv for the protected cyclic difference at body vertex v after the fixed body permutation. Expectations in the following lemma average the latent edge samples of Definition 8.18. Lemma G.1 (Cycle mean exponential moment). Fix a disjoint placement, a body permutation sampled independently of the public core and latent cycle, and the shared queue scalar. At body vertex v, let pv be its center profile after averaging its leg input, if present, but before adding
116
its cycle root. These profiles are fixed independently of the latent edge samples. Suppose ρ2 δ02 = o(1),
∥pv − u∥u−1 ≤ δ0 , Fcyc = d−1/2
X
(Tzv pv − ETzv pv ) .
v∈B
For every fixed positive C and ρ = L1/4 ,
E exp Cρ2 ∥Fcyc ∥2u−1 = O(1). The bound is uniform in the fixed data. It also holds for the entire normalized conditional mean when its root-averaged drift has norm O(ρ−1 ). Proof. The latent edge variables are independent samples from µe by Definition 8.18. Replacing one by an independent copy changes two roots. Translation fixes u and is an isometry, so each affected summand changes in norm by at most 2δ0 . Consequently √ ′ ∥Fcyc − Fcyc ∥ ≤ cbd := 4δ0 / d, vbd := nB c2bd ≤ 16δ02 . All norms in this proof are in the profile Hilbert space. The case vbd = 0 is immediate. Otherwise apply the Efron–Stein inequality [BBLM05, Proposition 1] to each orthonormal coordinate and sum, obtaining E∥Fcyc ∥2 ≤ vbd /2. The scalar norm obeys the same coordinate difference bound, so its Doob martingale under successive edge exposure has conditional ranges of length at most cbd . The one-sided bounded-differences inequality [McD89, Theorem 6.7] therefore gives
Pr ∥Fcyc ∥ >
q
2
vbd /2 + tH ≤ e−2tH /vbd
(tH ≥ 0).
Tail integration gives, whenever 0 ≤ αmgf vbd < 1, 2
Eeαmgf ∥Fcyc ∥ ≤
eαmgf vbd . 1 − αmgf vbd
Take αmgf = Cρ2 . The smallness hypothesis gives an absolute bound. Add the drift and use ∥xaux + yaux ∥2 ≤ 2∥xaux ∥2 + 2∥yaux ∥2 to prove the last statement. For the proposal in Theorem 9.3, the body profiles before adding cycle roots are body role population pv free nF p0 attachment g µL ∗ usafe queue q Ty usafe . The attachment row averages its own leg’s second input; the queue row fixes the common value y. Translation is an isometry and convolution is a contraction in the uniform-reference norm. Thus the center estimate established in Section H.4 bounds every row by the same δ0 , uniformly in the placement. The off-body coordinates use independent public blurs with the protected marginal and have no actual-root dependence. Thus the entire histogram mean has exactly the body’s root fluctuation. The root/queue-averaged histogram mean equals du by Theorem 9.3. For fixed queue value its root-averaged excess is exactly qRprot ∗ Ty usafe − µQ ∗ usafe . B
117
Only the q queue vertices change when the queue average is removed; attachments lie outside that set. Both terms in parentheses are within δ0 of u. Hence the normalized drift is at most √ 2qδ0 / d. For the selected family, the center deviation is δ0 = O(Lt−4 ). Consequently ρ2 δ02 +
ρ2 q 2 δ02 = O(L5/2 t−8 ) = o(1). d
This verifies both hypotheses of Lemma G.1 at every fixed multiple of the radius, uniformly in the common queue value.
G.2
Gaussian orthogonality and the all-degree product bound
Lemma G.2 (Complex Gaussian orthogonality). Let P be a polynomial of degree at most d with the ordered symmetric coefficient convention of Definition 9.1, and let Z have independent circular complex Gaussian coordinates, with real and imaginary variances 1/2. Then √ E|P(ρZ/ d)|2 = ∥P∥2F ,ρ . The identity also holds for coefficients in a finite-dimensional Hilbert space, with its squared norm in place of absolute square. It requires neither an endpoint probability law nor independence among the endpoints represented by the polynomial. Proof. For nonnegative integers a, b, one-variable Gaussian integration gives b
EZjaslot Zjslot = 1{a=b} a!. Independence makes distinct monomials orthogonal. Within degree r, grouping ordered tuples with the same multiplicities contributes exactly r! √ times the squared Euclidean norm of the ordered symmetric coefficient tensor. Rescaling by ρ/ d gives the claimed norm at every degree. Sum over degrees and an orthonormal basis of the coefficient Hilbert space to obtain both assertions. For any homogeneous symmetric tensor of degree k, symmetrization contraction and (k + r)! ≤ 2k+r k!r! give √ !k √ 2ρ ⊗k (13) ⟨Tk , t ⟩P ≤ k! √ ∥Tk ∥2 ∥P∥F ,√2ρ . F ,ρ d This follows by squaring and summing the degree bounds, so applies to every finite degree and to Hilbert-valued input coefficient maps. Lemma G.3 (Finite products with one nonlinear radius enlargement). Let P be a product of blocks of size at most three, with block polynomials 1 + ℓv + hv,2 + hv,3 , with at most g
118
nonsingleton blocks. Define η = d−1
X
∥ℓv ∥22 ,
M = d−1/2
X
A2 = d−1
X
∥hv,2 ∥2 , A3 = d−3/2
,
ℓv
v
2
X
∥hv,3 ∥2 .
v
v
v
There are absolute positive constants c, C such that ρ2 A2 +
ρ2 η ≤ c, 2
√ 3 gρ A3 ≤ c
2
imply ∥P∥2F ,ρ ≤ CeCρ M . For a mixture, uniform conditional activity bounds and a bounded expectation of this exponential suffice. Proof. Apply Lemma G.2 to the full product. For the product of linear factors use |1 + zev |2 ≤ exp(2 Re zev + |zev |2 ). The resulting quadratic matrix has trace ρ2 η. Completing the square in the Gaussian integral gives a determinant det(I − ρ2 S)−1 and a mean factor bounded by exp(2ρ2 M 2 ), P where S = d−1 v ℓv ℓ∗v . If the trace is at most 1/2, then − log det(I − ρ2 S) ≤ 2ρ2 η, proving the linear claim. Expand the product by selecting a quadratic and b cubic terms, in disjoint blocks, and put j = a+b. Omitting their linear factors changes the squared normalized mean to at most 2M 2 +2jη, by Cauchy–Schwarz. Thus their remaining linear product costs at most
exp 2c + 4ρ2 M 2 + 4jc
√ at radius 2ρ, provided c ≤ 1/4. The factor e2c is retained also when no nonlinear block is selected and M = 0. Multiply all selected nonlinear tensors first and apply (13) once. Summing their norms and dropping disjointness gives the upper bound 2
e
(2a + 3b)! 2 (ρ A2 )a (ρ3 A3 )b a!b!
p
4jc (2a+3b)/2
times exp(2c + 4ρ2 M 2 ). The factorial quotient is at most 4j (3g)b/2 : use (2j)!/j! ≤ 2j , aj ≤ 2j , and bound the remaining b factorial factors by (3g)b before taking the square root. For c ≤ 1/4, these terms are bounded by the product of two geometric majorants whose ratios are absolute √ constant multiples of ρ2 A2 and gρ3 A3 , respectively. Choose c so both ratios are at most 1/2. The two geometric sums are then bounded by an absolute constant. Square the norm bound and enlarge C to obtain the claim. If there are no nonsingleton blocks, the linear estimate applies directly. The single radius enlargement is independent of the number of blocks and the total degree. Jensen in the finite Hilbert direct sum proves the mixture statement. p
G.3
Local polynomial operators and the weighted Fourier bound
For the paired lift of Section 9.4, write rcmp := γcal
e 0 fin ) A(π p0
for the compensator summand. Its denominator is used only on safe support. The two public inputs are independent under the proposal.
119
Lemma G.4 (Local polynomial operators and paired lifts). Use the public family of Section 9.9 and its positive proposal from Theorem 9.3, for all sufficiently large L. Conditional on the complete protected root vector, the body permutation, the placement, and the shared queue, the unweighted proposal is a product of nF + q singleton laws and g same-source triple laws. A triple contains the two off-body leg coordinates and its own attachment; the attachment has no queue shift. Put s γcal d Qloc := . g The positive triple, the positive four-coordinate factor obtained by adjoining its distinct compensator, and the corresponding signed paired group induced by a centered unit score in L2 (π0 ) have degree-r raw coefficient operator norm at most (1 ≤ r ≤ 4).
CQrloc
The triple has no degree-four term, and the signed paired factor has zero constant coefficient. An ordinary-center score has only a degree-one output, with operator norm O(1). The paired lift has Hilbert operator norm O(1) and evaluation-row norm O(q) on its paired reference support. These raw output bounds hold both in the uniform-reference profile norm and in the primaryreference profile norm, uniformly in fixed attachment and compensator roots. All operator statements allow arbitrary retained Hilbert-valued inputs. Proof. Each fixed-sign diffuse pair averages a uniform slice of length q − O(aanc + KL ) over an anchor interval of length aanc . For a specified pair, its pair sum fixes at most one anchor value after fixing the blur and p leg input. Its point mass is therefore at most C/(qaanc ), giving pair likelihood norm at most C q/aanc . Its marginals have height O(1/q). Convolution with the independent public blur preserves these bounds. For a marked pair with the same leg scalar fixed, its law is a translate of a kernel with first P 2 marginal π0 and conditional second-coordinate height 1/aanc . Since π0 ≤ ∥π0 ∥∞ , Cauchy– Schwarz bounds both the unweighted pair and its operator on unit primary scores by s
q
∥π0 ∥∞ . aanc
The analogous primary marginal bound is q∥π0 ∥∞ . Multiply these marked terms by γcal . For the diffuse part the primary enters only through its anchor sign. The absolute score coefficient of either sign-conditioned law is at most ∥fin ∥1 ≤ ∥fin ∥2 . This controls that part without division by a small sign probability. The same-source triple retains the leg scalar in both the companion and attachment, as in Section 8.5.6. Conditional on that scalar, the attachment has a fresh center of height O(1/q), independent of the anchor and public blur. Average the pair over the anchor and blur, tensor with the attachment law whose uniform-reference likelihood norm is O(1), and average over the same scalar. This gives the pair bounds for the triple. The actual root is fixed and only translates the attachment. Centering output coordinates is orthogonal projection, so it can only decrease those norms. For the linear coefficient, the other marginals are bounded by the height estimates. The same primary height thus controls both the unweighted product and the score operators. For the compensating term, the Markov-kernel Cauchy–Schwarz inequality gives p
∥rcmp ∥2L2 (p0 ) ≤ Cγcal ∥fin ∥22 . 120
e 0 ≤ C/q and p0 ≥ C −1 /q on its support. The compensator singleton’s linear Here use γcal Aπ deviation is o(1) by Section H.4. There are exactly g such four-coordinate paired groups, each containing one triple and a distinct free singleton. The other free singletons number nF − g = mB ; the q queue singletons are never controls. The signed compensator polynomial has zero √ constant coefficient and linear norm O( γcal ). Since γcal ≤ 1, multiplying it by an unweighted triple is bounded by the stated score-operator bounds. The signed-primary triple times the positive compensator obeys the same bounds, since the compensator has constant coefficient one and linear norm o(1). This controls every degree through four. p The preceding bounds give linear coefficient cost O(1 + γ q∥π0 ∥∞ ) and higher-degree cost cal p p O( q/aanc (1 + γcal q∥π0 ∥∞ )). The proposal height bound of Lemma F.1 gives q
γcal q∥π0 ∥∞ ≤ Qloc . For the public family, Qloc ≍ L−1/2 t2 ≥ 1 eventually, and q/aanc = O(Qloc ). Consequently the linear bounds above are O(Qloc ), while all higher-degree bounds are O(Q2loc ) and hence O(Qrloc ) in degree r ≥ 2. The positive compensator has constant coefficient one and linear deviation o(1), so adjoining it preserves this degree envelope. The bound π0 ≥ u/2 converts a degree-r uniformreference profile bound to the primary reference at cost at most 2r/2 . The two summands of the paired lift are centered and depend on independent public inputs. Orthogonality and the compensator bound give p
∥Jin fin ∥22 ≤ (1 + Cγcal )∥fin ∥22 . Every atom of the paired reference π0 ⊗ p0 on its support has mass at least (4q 2 )−1 . This atom lower bound gives evaluation operator norm at most 2q at every complete pair. Combined with the lift bound, this proves the evaluation-row claim, including Hilbert-valued retained arguments. Tensor extension applies to arbitrary joint kernels.
Theorem G.5 (Complete weighted Fourier bound). Fix a positive integer R. For all sufficiently large L, let f be a canonical public-control coefficient with positive degrees at most R. Let Cρ be its graded weighted L2 norm with body weight ρbB , where ρ = L1/4 . On the protected cycle proposal put W = 1 + UJin f. Then the direct character polynomial of the signed output law satisfies ∥PW ∥F ,ρ ≤ CR (1 + Cρ (f)). The result concerns the signed weight before charge and bounded clipping. Proof. The character polynomial depends linearly on the weight. We therefore bound the unweighted proposal and then the contribution of each arity of f. For a correction term, the selected control groups affect only a bounded number of endpoints; the remaining endpoints are handled together by the all-degree product bound. Throughout the proof, the normalization scale is the full endpoint count d, even when some groups are removed. The unweighted proposal. Fix the disjoint placement, the body permutation, the complete protected root vector, and the shared queue scalar. By Lemma G.4, the conditional character polynomial factors into g = t16 triple polynomials and nF + q = nB − g singleton polynomials. Each triple keeps the two leg endpoints together with their own attachment. All queue singletons use the same fixed translation. 121
We check the two inputs to Lemma G.3: small local activities and an exponential-moment bound for the normalized linear mean M . Each singleton has deviation δ0 = O(Lt−4 ), while the triple coefficients are bounded by Lemma G.4. Using gQ2loc /d = γcal in the activity definitions gives ρ2 η ≤ Cρ2 (γcal + δ02 ) = O(L−1/2 ), √
ρ2 A2 ≤ Cρ2 γcal = O(L−1/2 ), gρ3 A3 ≤ C(ρ2 γcal )3/2 = O(L−3/4 ).
These bounds are uniform in the conditioned data and still tend to zero at every fixed multiple of ρ. The cycle-mean estimate in Lemma G.1, with the fixed-queue drift verified immediately after that lemma, gives E exp(Cρ2 M 2 ) = O(1) for every fixed positive C, now averaging the protected latent cycle while keeping the placement, body permutation, and shared queue scalar fixed. Thus Lemma G.3 bounds the conditional product in mean square over the cycle. Jensen’s inequality allows averaging the cycle and then the body permutation and shared queue scalar, proving the claim for W = 1. The selected control groups. For the local estimates, condition again on the root vector, body permutation, and shared queue scalar. Fix an arity (aP , bB ) with 1 ≤ aP + bB ≤ R, and one choice of distinct groups in the corresponding U-statistic. Call these groups tagged. A tagged primary group consists of its triple and its assigned compensator singleton; a tagged ordinary group consists of one ordinary-body singleton. These endpoint sets are disjoint by Section 9.2. Canonical centering lets us apply the centered-score operators of Lemma G.4 in every input slot. A tagged primary group has zero constant coefficient and can emit degrees 1 ≤ r ≤ 4. After the radius and endpoint normalization, its degree-r operator costs at most
C
ρQloc √ d
r
=C
!r √ ρ γcal = O(mP −1/2 ). √ g
√ Here mP = g and ρ γcal = O(L−1/4 ); the absence of degree zero ensures at least one factor mP −1/2 . An ordinary group emits only degree one, with raw operator norm O(1), so its normalized cost is √ O(ρ/ mB ), using mB ≍ d from Section H.4. The Hilbert tensor product of these local operators acts on the joint kernel faP ,bB . Its norm is bounded by the product of the local operator norms, whether or not the kernel factors across slots. The total tagged output degree is at most 4aP + bB ≤ 4R. Consequently, summing its degree allocations, symmetrizing the output tensors, and including the degree factorials in the Fourier norm cost only a constant depending on R. Combining tagged and untagged outputs. To recover the full correction polynomial, multiply the tagged output by the unweighted product on the remaining endpoints. Delete each tagged triple together with its compensator, and each tagged ordinary singleton. Leave every unselected triple and singleton as a separate block, so the remaining product still has blocks of size at most three, as required by Lemma G.3. Deleting blocks decreases all three activities. Since at most R control groups were selected, √ it changes the normalized linear mean by at most CR Qloc / d. The radius-scaled square of this change is OR (ρ2 γcal /g) = o(1), so the remaining mean has the same bounded exponential moment over the cycle. The product lemma therefore also controls the remaining product in mean square. For each total tagged degree, combine all tagged √ coefficients into one tensor and apply (13) once. This uses the remaining product at radius 2ρ; the proof of Lemma G.3 uses at most 2ρ. 122
Both are fixed multiples covered by the activity and mean bounds above. Thus the radius does not grow with the number of untagged blocks. Average over the complete roots, the shared queue scalar, and the body permutation using Jensen’s inequality. In particular, multiply all queue factors before averaging their one common scalar. The resulting norm bound for this specified selection is CR mP
ρ √ mB
−aP /2
!bB
∥faP ,bB ∥2 .
The bound is uniform in the fixed disjoint placement, so it also survives averaging the joint placement law, including the dependence between attachment and queue positions. The physical U-statistic is a normalized average over these distinct-group selections. The triangle inequality preserves the displayed bound without an additional counting factor. Its right-hand side is precisely the contribution of this arity to CR Cρ (f), by Section F.2.1. Summing over arities and adding the unweighted bound proves the theorem.
G.4
Canonical moment transfer from independent control pools
Canonical means that integrating any one kernel argument against its reference law gives zero with all other arguments fixed. The public control pools are large enough relative to their smallest atoms that an elementary finite-alphabet estimate suffices. Lemma G.6 (Finite-alphabet canonical moments). Consider two independent pools of positive sizes mP and mB , each consisting of independent identically distributed variables on a finite space. Let their smallest positive atom probabilities be αP and αB . Let f be a real canonical, separately symmetric kernel of fixed arities (aP , bB ). Suppose the pool sizes are at least their respective arities and, for some fixed cat > 0, mP αP ≥ cat ,
mB αB ≥ cat .
Conditions on a zero-arity pool may be omitted. For every fixed positive integer p, the distinctmP mB index average normalized by aP bB over unordered subsets satisfies ∥Uf∥2p ≤ CaP ,bB ,p,cat mP −aP /2 mB −bB /2 ∥f∥2 . The kernel norm uses the product reference law. The constant is independent of alphabet and pool sizes and of the individual atom probabilities subject to the displayed lower bounds. Proof. First consider a single column of nslot independent samples Xj from a finite law with smallest P slot positive atom αat . For a centered function f , put T f = nslot −1 nj=1 f (Xj ). In its 2pth moment expansion, any sample index occurring once makes the expectation zero. A remaining term with −(p−keq ) keq ≤ p distinct indices has absolute expectation at most αat ∥f ∥2p 2 , since, on the reference −1/2 k eq support, ∥f ∥∞ ≤ αat ∥f ∥2 . Each pattern has at most nslot index assignments, and the number of patterns depends only on p. Hence 2p
E|T f |
≤ Cp nslot
−p
∥f ∥2p 2
p−1 X j=0
123
(nslot αat )−j .
Thus the column-average operator from centered L2 functions to L2p has norm Op,cat (nslot −1/2 ) whenever nslot αat ≥ cat . To tensorize over independent columns, apply the first bound for each fixed sample array of the second, use Minkowski’s inequality ∥ · ∥L2p (L2 ) ≤ ∥ · ∥L2 (L2p ) , then apply the second bound for each fixed reference input of the first. Iteration multiplies the bounds for any joint kernel, since averaging other columns preserves centering in the remaining slots. For each positive arity, divide its pool uniformly into that many labeled disjoint blocks of equal size, leaving any remainder unused. Each block size lies between the pool size divided by twice its arity and the pool size divided by its arity. The atom condition therefore persists with a lower bound depending only on the fixed arities and cat . Apply the tensorized bound to the rectangular average selecting one index per block. Its division-average is exactly the distinct-index average, since every ordered distinct tuple has the same inclusion probability. Jensen completes the proof. The zero-total-arity case is immediate.
Corollary G.7 (Moment transfer to physical corrections). For every fixed positive integer p and all sufficiently large L, the signed weight of Theorem G.5 satisfies ∥W − 1∥2p ≤ CR,p Cρ (f). The estimate holds before charge and clipping, uniformly in the fixed disjoint placement. Proof. Take L large enough that ρ ≥ 1 and both control pools have size at least R. At each fixed placement, the uncharged proposal has mP = g independent primary–compensator pairs with law π0 ⊗ p0 and an independent pool of mB ordinary centers with law p0 , by Section 9.2. Their smallest positive atoms satisfy αP ≥ (4q 2 )−1 , αB ≥ (2q)−1 by Theorem 9.3. The parameter bounds q 2 /mP = O(1) and q/mB = O(t−12 ) from Section H.4 supply a common fixed positive cat in Lemma G.6. The paired lift preserves centering in each complete pair and has Hilbert operator norm O(1) by Lemma G.4. Its tensor extension therefore sends any joint kernel of arities (aP , bB ) to a canonical kernel on these pools with L2 norm at most an order-dependent constant times ∥faP ,bB ∥2 . Applying Lemma G.6 to that lifted kernel gives ∥UJin faP ,bB ∥2p ≤ CR,p mP −aP /2 mB −bB /2 ∥faP ,bB ∥2 . Sum over arities and use ρ ≥ 1 to obtain the stated coefficient-norm bound, uniformly over placements. The moment order affects only the constant.
G.5
Bounds for the calibrated weight and its full Fourier tail
Proof of Proposition 9.6. For the calibrated coefficient, Cρ (fR ) = ∥c∥simp,ρ = OR (L−3 ). Substitution into Theorem G.5 and Corollary G.7 gives the complete Fourier norm bound and every fixed moment bound. The analysis radius of Section 9.9 is independent of either order. The constants and the sufficiently large parameter threshold are uniform over placements. By Theorem 9.5, the protected endpoint law has mass one and, after independent uniform final relabeling, is exchangeable with all nonzero support frequencies through R canceled. For sufficiently
124
√ large L, sF = ρ/ e > 1. Using the Fourier transform of this law and Lemma E.2 gives X
2 b |P(a)| =
a̸=0
X
2 b |P(a)|
| supp a|>R −2(R+1)
EsF (PWR )
−2(R+1)
≤ sF ≤ sF
Fρ (PWR )2 − 1
≤ CR L−(R+1)/2 . The sum includes every remaining frequency, up to full support. Applying Lemma E.1 and enlarging the order-dependent constant gives the stated ambient half-L1 bound.
H
Charge Conditioning and Bounded Positive Sampling
We prove the charge and clipping guarantees of Section 9.8, verify the parameters, and establish the bounded implementation and accuracy of Section 9.10. Signed expectations and variation distance follow the conventions of Section 9.1.
H.1
The public charge test
Each body cycle has integer sum zero. A leg’s two off-body residues have sum q − 1 + ζ − t modulo q, and its attachment adds t. The queue adds q times its scalar. Thus the public charge test of Section 9.8 depends only on core centers and leg shifts and is equivalent, pointwise in all remaining randomness, to the auxiliary endpoint lying in H0 .
H.2
Clipping and conditioning from ambient error
Proof of Theorem 9.7. Fix the placement. Let PV be the unnormalized endpoint image of the clipped core measure V ν0 . Pushing the signed and clipped core measures through the same protected endpoint channel, including final relabeling, contracts their ℓ1 difference. Thus ∥PV − P∥1 ≤ E|W − V | = δclip . The triangle inequality gives
∥PV − U Fdq ∥1 ≤ 2δamb + δclip = ϵch . The public charge test is pointwise equivalent to membership in H0 , by Section H.1. Hence PV (H0 ) = bch . The ambient uniform law assigns this hyperplane mass 1/q, so |bch − 1/q| ≤ ϵch ,
bch ≥
1 1 − ϵch ≥ . q 2q
This is stronger than the asserted mass lower bound. Restriction cannot increase ℓ1 error. Normalize the restricted clipped measure by bch and the restricted uniform measure by 1/q. Adding and subtracting the latter restriction divided by bch gives ϵch + |bch − 1/q| 2bch ϵch ≤ ≤ 2qϵch . bch
∆(PV,ξ , U (H0 )) ≤
125
Proof of Corollary 9.8. Fix the calibration order. For every fixed positive integer p, Corollary 7.3 and Proposition 9.6 give δclip ≤ E|W − 1|2p ≤ CR,p L−6p , uniformly over the disjoint placements. The calibrated weight and its proposal do not depend on the moment order. Taking a sufficiently large fixed moment order for each desired inversepolynomial bound proves that this same clipping loss is negligible, uniformly over placements. Since q = O(L64 ), its charge-amplified loss is negligible as well.
H.3
Bounded clipping for a fixed placement
Lemma H.1 (Bounded rejection and approximation budget). Under the hypotheses of Theorem 9.7, the ideal rule samples the clipped positive core law upon acceptance, with acceptance rate at least 1/(8q). For 0 < ϵcap < 1, a cap TR = ⌈8q log(1/ϵcap )⌉ fails with probability at most ϵcap . Let δunn bound the ℓ1 error in a numerical nonnegative charged measure, whose weight also lies in [0, 2]. If δunn ≤ 1/(8q), its normalized core law is within 4qδunn of the ideal clipped law in statistical distance. Its acceptance rate with denominator two is at least 1/(16q), so replacing 8 by 16 in the cap gives the same failure bound. For a proposal at statistical distance at most f − W ∥∞ ≤ δW , clipping and charge restriction permit δprop from ν0 and a weight satisfying ∥W the choice δunn = 4δprop + δW . Proof of Lemma H.1. For the fixed placement, the ideal acceptance rate is pacc = bch /2 ≥ 1/(8q). Independence of the trials gives Pr[timeout] = (1 − pacc )TR ≤ e−pacc TR . Conditional on acceptance, the core has the clipped charged law, proving the ideal cap and output claims. f − Suppose the rational proposal ν0,num is within δprop of ν0 in statistical distance, and ∥W W ∥∞ ≤ δW . Clip the rational weight by clip[0,2] . Changing the proposal costs at most 4δprop in ℓ1 because the ideal clipped weight lies in [0, 2]; changing the weight costs at most δW because clipping is 1-Lipschitz. Charge restriction cannot increase either error, so the unnormalized charged measures have ℓ1 discrepancy at most δunn := 4δprop + δW . Normalize these nonnegative measures as in the proof of Theorem 9.7. Its ideal mass bound 1/(4q) gives normalized statistical distance at most 4qδunn . If δunn ≤ 1/(8q), the numerical mass is at least 1/(8q), and acceptance with denominator two has probability at least 1/(16q). The same geometric estimate proves the numerical cap. Retaining the initial placement through retries and timeout fallback preserves its marginal despite placement-dependent acceptance rates. Conditional completion follows Section 9.2.
126
H.4
Verification of the public parameter family Use t = L8 from Section 9.9. The public sizes give
Geometry and local feasibility.
q + 2g = O(t−4 ), nB
mP = t16 ,
mB ≍ nB ≍ d ≍ t20 .
Thus disjoint placement and distinct compensators exist eventually. The finite-atom losses are absorbed by the pools: q 2 /mP = O(1) and q/mB = O(t−12 ). These bounds verify the full pairedalphabet moment estimate in Corollary G.7. The three source cutoffs sum to the safe-center margin, while L2 ≪ aanc = t6 ≪ q verifies the anchor support conditions. For local affine-map feasibility, the protected input count satisfies rL = (2L2 − 1)2 ∼ 4L4 . Substituting BL = 3t6 and q ≥ 216 t8 into the three loss quantities of Section 8.5.3 gives δaff = O(L4 t−2 ) = O(L−12 ), κaff = O(L8 t−2 ) = O(L−8 ), Aloc = O(L12 t−2 ) = O(L−4 ). All three losses tend to zero, so the local feasibility and positivity conditions hold for all sufficiently large L. Proposal and response bounds.
Substitution in the symbolic estimates of Section F.1.1 gives
γcal = Θ(L−1 ),
εanc = O(L−1 t−4 ),
δbase + δctr + δprim = O(Lt−2 ), d ∥π0 ∥∞ ≤ = O(Lt−4 ), gγcal q e 0 ∥∞ = O(q −1 ), γcal ∥Aπ
∥p0 − u∥u−1 + ∥usafe − u∥u−1 = O(Lt−4 ). These bounds imply proposal positivity. The first inverse is bounded because q
γcal −1 aanc /q = O(L/t) = o(1). The local estimates of Sections F.2 and G then give an OR (L−3 ) coefficient correction, the same decay for every fixed physical moment norm, and a bounded complete Fourier norm. Constants may depend on the fixed orders. With the common local scale of Lemma G.4, the three product activities at radius ρ = L1/4 are O(L−1/2 ), O(L−1/2 ), and O(L−3/4 ), respectively. They remain small at 2ρ, as required by Lemma G.3 and Theorem G.5. Source protection and the finite prefix. The ratio of each cutoff to σ grows linearly in L. Combining the body coupling bound in (8) with the tail estimates in Lemma D.1 therefore gives 2
θB + εB,clip + 2gθL + θQ ≤ poly(L)e−Ω(L ) . On any finite prefix excluded by analytic or numerical certification, use the fallback of Section H.5. It is integral and invertible, and carry-safe on protected inputs. No accuracy guarantee is asserted on that prefix. 127
H.5
Numerical verification and deterministic bounds
The sampler uses certified rational intervals and bounded finite-bit draws. For fixed R, the certificates below prove polynomial running time, exact safe support, and implementation error at most ϵnum . Algorithm 3 Bounded public-control matrix sampler Require: Fixed accuracy order c and the public parameters of Section 9.9. Ensure: Integral affine data independent of the hidden source. 1: Fix the order and budgets of Section 9.10, and the precision, table-size and work caps of Section H.5. 2: Draw one disjoint placement ξ, pair its labeled legs with distinct free compensators, and retain this placement. 3: Construct the proposal and finite response matrices; solve for the signed correction by the finite block computation of Proposition F.6, certifying the proposal, inverse gaps, and numerical bounds. If certification fails, return the deterministic carry-safe affine pair of Section H.5. 4: For at most 16q⌈log2 (5/ϵnum )⌉ trials, draw a fresh core at this placement and implement the f )/2 to the certified finite-bit precision. Retain the first accepted core. threshold 1Eξ clip[0,2] (W 5: If no core was accepted, use the charge-correct regular-only core of Section H.5. 6: Draw the complete conditional flag–affine-map pairs at the retained core, then independently draw the actual closure Gaussian, body permutation, and final global permutation with bounded samplers. 7: Assemble and return (Q, β) by Proposition 8.19. Certified precomputation. Certification in Algorithm 3 checks Lemma E.3 and Theorem 9.3 before using population normalizers or calibration inverses. It uses the rational reference laws below, averages complete fixed-queue expressions before inversion as in Section F.2.5, and checks the inverse gaps of Proposition F.6. The following bounds certify precision, work caps, and fallbacks. Finite coordinates, matrices, and arithmetic. For fixed R, the canonical public-control coordinates of Definition F.3, the multiplication structure constants, and the normalized response blocks are obtained from the same finite pattern contractions. Their total stored size satisfies SR ≤ (qnB KL aanc )CR . Each input or output pattern has O(R) slots. Enumerate its selected vertices, their role inO(R) tersections, and their relative positions on the cycle. There are nB possibilities. For each path cluster sum the finitely supported Gaussian masses on at most O(R) latent edges. This requires O(R) KL operations. Anchors, colors, public blurs, and the shared queue scalar add factors at most (qKL aanc )O(R) . The distinct-index weights are ratios of falling factorials. Multiplication matrices, finite logarithms and reciprocals, and the block solve in Proposition F.6 use polynomially many operations in this stored size, retaining the queue value until its prescribed average. The computation enumerates only these fixed-order patterns. Gaussian probabilities are computable reals, so the implementation uses certified rational approximations. Every nonzero protected edge mass has negative logarithm O(L2 + log L). A fixedorder joint mass has the same bound with an order-dependent constant. Source contractions can therefore use joint masses directly; if likelihood ratios are used, OR (L2 ) extra precision bits suffice to control these possibly exponentially small denominators. The primary-color and free-center proposal probabilities are at least 1/(2q) on their supports. 128
The diagonal inverse in Proposition F.6 is bounded in the graded coefficient norm. At each fixed order, the lower reference atoms and the finite-atom inequality of Lemma F.4 give, for every hybrid type, ∥faP ,bB ∥∞ ≤ (2q)(aP +bB )/2 ρ−bB · mP aP /2 mB bB /2 Cρ (f). Conversely, a supremum bound controls every product L2 norm. The coordinate basis changes of Section F.2.1 and these explicit population factors are polynomial at fixed order, so the induced coordinate inverse norm is polynomially bounded. These factors affect numerical point evaluation; the physical moment and complete Fourier bounds remain as stated. The finite-atom bound for a complete paired control, the integrated paired-lift estimate of Lemma G.4, and the normalized U-statistic average give polynomial uniform propagation of coefficient errors at fixed order. Evaluation of ΨR (θ)z enumerates distinct tuples of at most R controls and the finite anchor contractions in each paired lift. It takes (dq)O(R) arithmetic operations. Rational approximation with a law-level budget. Use outward-rounded rational intervals for Gaussian masses and all finite operations. Approximate positive masses on their exact supports and normalize the resulting rational vectors; the primary and center margins in Theorem 9.3 permit this while retaining, for example, lower bounds 1/(4q) and one quarter of the safe uniform. Under these rational reference laws, canonicalize every table by the exact commuting projections I − Eone input slot . The scalar component is retained separately. Use the same reference colors and ordered basis indices for the ideal and rational coordinate constructions. Rebuild the paired lift, response tables, and physical evaluation row using these same rational laws and normalized rational local kernels. In particular, let π0,num , p0,num be the two rational control laws, let Aanc,num be the rational smoothed anchor kernel, normalized column by column on its exact safe support, and let γnum approximate the activation. The rational paired lift is (Jin,num f)(c, a) = f(c) − γnum
(Aanc,num diag(π0,num )f)(a) . p0,num (a)
The denominator is positive on this support. Since the anchor columns sum exactly to one, Eπ0,num ⊗p0,num Jin,num f = (1 − γnum )Eπ0,num f = 0 for every rationally centered input. Slotwise tensoring and distinct-index averaging therefore preserve exact centering of the physical rational correction. Merely projecting the coefficient tables while retaining an inconsistent lift would not suffice. The uniform weight error below includes changes to reference laws, basis conversions, projections, and lifts. Exact Fourier cancellation is required only for the ideal weight. Propagate interval errors through the finite arithmetic circuit using the displayed operand and denominator bounds. For each degree-diagonal block, let κdiag bound its induced coordinate ℓ∞ inverse norm, and let δdiag bound the maximum entrywise approximation error. Require mR δdiag ≤
1 . 2κdiag
The factor mR converts entrywise error to operator error. Apply Theorem 7.1 after factoring out the ideal block: the approximate inverse has norm at most 2κdiag . The inverse-difference identity bounds its error by 2κ2diag mR δdiag . The polynomial coordinate dimension and inverse bound thus 129
certify an inverse tolerance for the fixed public family. The fixed-degree logarithms, multiplication matrices, finite reciprocals, and graded-inverse products have polynomial total degree; source ratios 2 have at most 2OR (L ) conditioning. These rules give an explicit upper bound κnum,R ≤ 2polyR (L) on the propagated error in any table entry or physical weight. Compute this bound from the circuit and positive margins. Precision O(log κnum,R + log(SR /δtab )) is polynomial in λ and log(1/δtab ) at fixed order. Rational Gaussian approximations can be produced by the convergent exponential power series with range reduction; its remainder bound certifies each endpoint interval. Choose the proposal and weight errors to satisfy δprop ≤
ϵnum , 320q
δW ≤
ϵnum . 80q
A product of at most O(d) conditional elementary draws is within the sum of their uniform conditional errors, which determines the local table tolerances. Consequently δunn ≤ ϵnum /(40q). For all sufficiently large security parameters, uniformly over placements, Theorem 9.7 gives bch ≥ 1/(4q). In this regime, Lemma H.1 bounds the normalized core error by ϵnum /10 and certifies the numerical mass and acceptance bounds for 0 < ϵnum < 1. Rational discrete sampling and acceptance are implemented by fixed-bit inverse-transform sampling. For a finite law of support size SR , cumulative dyadic rounding with O(log(SR /ϵ)) bits gives distance at most ϵ, while never selecting a forbidden support point. The acceptance threshold is f )/2. Round it within [0, 1], keeping it exactly zero outside the public charge event 1Eξ clip[0,2] (W and whenever the clipped value is zero. Budget these errors over the predetermined maximum number of draws and trials. In the same asymptotic regime, exact trials from the certified rational law satisfy the geometric timeout bound. Couple these capped trials with their finite-bit implementation: all rounding effects, including changes to acceptance or timeout, cost at most the sum of their conditional sampling errors. Reserve at most ϵnum /5 for them. Use the integer cap TR = 16q ⌈log2 (5/ϵnum )⌉ . Compute the ceiling by exact integer comparisons. Since log2 (5/ϵnum ) ≥ log(5/ϵnum ), Lemma H.1 bounds timeout by ϵnum /5 with O(q log(1/ϵnum )) trials. Reserve at most ϵnum /5 for the subsequent complete flag–map draws, closure Gaussian, body permutation, and final relabeling, using Sections C.1.1, C.5.1 and E.2. Reserve a separate ϵnum /10 for the initial joint placement permutation. This error is not charge-amplified: both ideal and approximate algorithms normalize separately for each retained placement, and total variation contracts under the common conditional output kernel. Unused budget covers the finite table and interval endpoints. This allocation includes charge-normalizer amplification. Fallbacks and deterministic caps. If certification exceeds the prescribed polynomial work or bit caps, return the deterministic data δfb := [−dKBS ]q , Q := I,
(bfb )v := KBS + 1{v≤δfb } ,
1 ≤ v ≤ d,
β := T−1 bfb .
Since 0 ≤ δfb < q ≤ d, the load sum dKBS + δfb is divisible by q; Lemma 6.4 gives an integral offset. The linear part is invertible modulo q. Each row of T has absolute sum at most three, and 130
a protected source satisfies ∥e∥∞ ≤ KL by Definitions 6.3 and 8.16. As KBS = 3KL , the signed load obeys 0 ≤ (bfb + Te)v ≤ 2KBS + 1 < q. Its carry is zero; passing to the canonical source lift changes it by an element of L(T), preserving Lemma 6.6’s criterion. Compute the last offset coordinate as (dKBS + δfb )/q and, for 1 ≤ j < d, set (β)j =
j X
(bfb )v − (β)d 1{v≤q} .
v=1
The computation uses public data with polynomial work and bit length and preserves protectedinput carry safety on the excluded prefix. The asymptotic bounds ensure eventual certification, using interval inequalities and rational inverse residuals. Charge-correct timeout. For rejection timeout in the certified regime, use a charge-correct regular-only graph core: every body center is KBS = 3KL , every leg shift is 1, every marking weight is zero, and the primary target is (q − 1)/2 with companion (q + 1)/2. These companion targets remain interior after every protected second input. The charge is correct because q divides nB : X X bv + ζj = 3nB KL + g ≡ g (mod q). v∈B
j
The regular complete-map law preserves safe support and nonzero leg scales. Together with the verified charge constraint, Proposition 8.19 therefore gives integral affine data and modular invertibility on this fallback. Its error is charged only to timeout. Complete this core with independent closure and final permutations; certification failure instead returns the deterministic affine pair directly. Both fallbacks use public data only.
H.6
Completion of fixed-order affine fiber transport
Proof of Theorem 9.9. Proposition 9.6 bounds the ambient error by OR (L−(R+1)/4 ). The chosen calibration order and q = O(L64 ) give qδamb = o(1). By Corollary 9.8, qδclip = o(1) as well, uniformly over placements. Thus qϵch = q(2δamb + δclip ) ≤ 1/2 for all sufficiently large L. Theorem 9.7 then bounds the positive protected endpoint error by OR (qL−(R+1)/4 ) + 2qδclip . For each fixed calibration order, Corollary 9.8 makes the second term negligible, uniformly over placements. Normalization is separate at each disjoint placement; averaging adds no error. Apply the joint coupling of Section D.2 to the positive source-independent core. On a match, the pointwise criterion of Lemma 6.6 identifies the affine output with the canonical pullback of the protected endpoint. By Lemma 6.5, the fiber error therefore incurs the single additional cost 2
εB,clip + 2gθL + θQ ≤ poly(L)e−Ω(L ) , as verified in Section H.4. Absorb this source-protection error and the charge-amplified clipping error into the negligible function neglR (L). The numerical budget of Section H.5 includes charged-core normalization, finite-bit trials, timeout, placement, and completion. Its precision and work caps give polynomial worst-case time for each fixed order. Bertrand’s bound gives q = O(L64 ). Find the least prime deterministically by scanning the defining interval and testing each integer by trial division. The interval length and 131
divisor bounds are polynomial in λ, so computing the public modulus takes polynomial time. The calibration order in Section 9.10 satisfies R ≥ 4c + 267, so 64 −
R+1 ≤ −c − 3. 4
Thus the Fourier term is OR (L−c−3 ). Together with the negligible remainder and numerical budget, the total error is eventually at most λ−c .
I
Proofs for the Applications
We prove the applications of Section 10 for the family in Section 9.9 and Definition 6.3.
I.1
The Gaussian interface and worst-case reduction
Proof of Corollary 10.1. For the fixed public family, N = λ, σ = λ + 2, and an odd prime √ √ q is √ polynomially bounded in N . Set α = σ/( 2q). Then 0 < α < 1 and αq = σ/ 2 > 2 N for λ ≥ 3, as required by Regev [Reg05, full version, Theorem 3.1]. Moreover, t blocks contain td scalar samples, still polynomially many. It remains to match the Gaussian and algorithmic interfaces. Regev’s theorem uses continuous Gaussian error on √ the torus. Scale each response by q, apply Gaussian randomized rounding to Z with width σ/ 2, and reduce modulo q. By [Pei10, full version, Theorem 3.1], the continuous and rounding squared widths, both σ 2 /2, yield error within exp(−Ω(σ 2 )) in SD of DZ,σ mod q. Integer-translation equivariance preserves the secret term and sends a uniform torus response to an exactly uniform residue. Truncation and polynomial-bit arithmetic give a bounded polynomial-time implementation with negligible additional error. Thus rounding supplies the source in Definition 2.11, with negligible loss over polynomially many samples even under QPT postprocessing, by the contraction bound in Section 2.3. Fix a uniform QPT LAR distinguisher and polynomial bounds on its sample count and inverse advantage. Corollary 5.5 then chooses one fixed transport accuracy order, without changing the public family, and provides a discrete Gaussian distinguisher with nonnegligible advantage. Regev’s secret-shift and decision-to-search reductions [Reg05, full version, Lemmas 4.1–4.2] apply to this error law; their probability estimates use fresh classical tables and independent QPT executions with measured output bits. Enumerate all positive table lengths within a computable polynomial bound. For each length, run the amplified coordinate-recovery acceptance-gap tests with fixed polynomial time bounds to obtain a candidate secret or report failure. Undo any secret shift and verify each candidate against λ fresh, independent scalar Gaussian LWE samples before accepting it: require every response minus its predicted inner product to have a centered integer lift of absolute value at most q/4. For the correct candidate, the Gaussian tail bound gives rejection probability at most λ exp(−Ω(q 2 /σ 2 )). For any incorrect candidate, conditioned on its construction, the fresh residuals are independent and uniform over Fq , so its acceptance probability is at most (1/2 + 1/q)λ . The length witnessing the distinguishing advantage occurs in the enumeration and yields the correct candidate with inverse-exponentially small failure. A union bound over polynomially many candidates preserves this failure bound for the verified search solver. Enumeration, amplification, and verification have polynomial overhead and preserve uniformity even when the sample-count function is not computable. Feeding the verified search solver rounded samples supplies the continuous-LWE solver. For the coherent decoding call in [Reg05, full version, Lemmas 3.11 and 3.14], defer measurements in the amplified uniform QPT decoder, compute the decoder, copy its output, and uncompute; the promised output is unique. The coherent error is at most twice the square root of the 132
decoding failure probability. The Gaussian query state is independent of the stored Gaussian sample pool, so averaging its amplitude-weighted failure also over that pool gives negligible error. Fresh ancillary registers and a hybrid over polynomially many steps preserve negligible total error with polynomial overhead. The composition therefore gives uniform QPT algorithms for GapSVP and e e q/σ), using only the distinguisher’s guarantees on SIVP with approximation factor O(N/α) = O(N classical random examples. Accuracy and amplification choices follow the adversary’s polynomial bounds; if its advantage holds only infinitely often, the algorithms succeed on the same subsequence of dimensions.
I.2
Key sampling, exact marginals, security, and evaluation
Proof of Proposition 10.2. For every fixed nonzero key, a uniform M gives Ms ∼ U Fdq . The balanced fibers of Lemma 3.5 therefore make each output n o exactly uniform in Fq . For bounded-time N key generation, sample a key index in 1, . . . , q − 1 by standard rejection sampling capped at λ attempts and use its base-q expansion as the key; on exhaustion return e1 . The resulting law is supported on K and is within δkey := 2−λ of U (K) in SD. Since the marginal property holds for every key in this support, it remains exact for the implemented sampler. For a uniform QPT adversary, let AdvwPRF denote its random-example advantage against a uniformly random function. Conditioning the LAR secret to be nonzero costs q −N , and implementing key sampling costs δkey . Independent uniform labels couple to a random function unless inputs collide, at cost at most 2t q −dN [Sho04, Lemma 1]. Thus, for a suitable LAR distinguisher, !
t −dN AdvwPRF ≤ AdvdLAR (λ, t) + q −N + δkey + q . D 2 The reduction invokes the adversary once on a classical table and is uniform QPT; the statistical bounds hold under quantum postprocessing by the contraction bound in Section 2.3. All three extra terms are negligible for every polynomial sample count, so Corollary 10.1 gives security. Standard TC0 circuits for multiplication, iterated addition, and division [HAB02] compute Ms mod q. For the matrix in Definition 6.3, each local floor depends on at most three canonical residues and is computable by a polynomial-size constant-depth lookup circuit. Summation and modular reduction, adding a sufficiently large public multiple of q to handle negative values, then give the quotient label. All intermediate integers have O(log λ) bits, and the polynomially many operations occur in a constant number of parallel stages. Since the public parameters and lookup tables are polynomial-time computable, the resulting joint key-and-input TC0 circuits are polynomial-time constructible.
I.3
Prediction and regression distinguishers
Independent validation turns an inverse-polynomial field-label prediction advantage over 1/q into distinguishing advantage using polynomially many classical examples. Proof of Corollary 10.4. Use the independent-label experiments of Definition 3.6, dividing canonical label representatives by q. Train the QPT learner on an initial sample block and measure its classical hypothesis. Let ge be the evaluator’s rational approximation to the clipped hypothesis, clipped once more to [0, 1]. Clipping does not increase squared loss, and the evaluator’s 1/1000 approximation error changes it by at most 1/500. Thus, for every nonzero secret, successful training gives risk at most 1/100 + 1/500 = 3/250. In the ideal experiment, each validation label is 133
independent of training and its prediction, even when inputs repeat, so the conditional risk is at least its variance vq = (q 2 − 1)/(12q 2 ) ≥ 2/27. b be their average squared loss for ge; accept exactly Reserve mval := 104 fresh samples and let R b ≤ 1/20. Conditioned on the training transcript and measured hypothesis, and also on the when R secret in the real experiment, these losses are independent and lie in [0, 1]. The threshold is more than 1/50 from both risk bounds, so Hoeffding’s inequality [Hoe63, Theorem 2] bounds each onesided validation failure probability by 1/100. Training succeeds with probability at least 2/3 for every nonzero secret; the zero-secret event has probability q −N . Consequently, the distinguishing advantage is at least 2 99 1 1 (1 − q −N ) − > 3 100 100 2 for all sufficiently large λ. The learning model bounds the learner’s time on all transcripts, including unrealizable ideal transcripts, and supplies a uniform deterministic classical evaluator for every output hypothesis. Its rational predictions and the validation arithmetic have polynomial bit length. QPT training followed by this classical validation therefore gives a uniform QPT distinguisher with time and total sample count polynomial in D, hence in λ. Corollary 10.1 then gives the hardness consequence for the same public family.
I.4
The two-hidden-layer representation
Proof of Lemma 10.3. Fix a nonzero key. Integer-lift invariance from Lemma 3.5, with the quotient sum in Definition 6.3, gives Hs (M) :=
d X (T[M]q [s]q )j j=1
q
,
gs =
Hs mod q . q
Each numerator is an integer linear form in the input of magnitude at most 3N (q − 1)2 . Put R := 4N q 2 and ReLU(z) := max{0, z}. For every integer |z| ≤ R, the exact identity R X z ReLU(z − qu + 1) − ReLU(z − qu) = −R + q u=−R+1
expresses each floor by one ReLU layer. Indeed, each difference of ReLUs equals 1{z≥qu} on integer inputs. Counting the thresholds gives R + ⌊z/q⌋, including negative inputs. There are 4R units per row and hence at most 4dR units in the first hidden layer. Its affine scalar output defines the extension of Hs . On the grid this output is an integer and satisfies |Hs | ≤ dR. Define ψ by linear interpolation of z 7→ (z mod q)/q at all integers in this interval, and extend it constantly outside the interval. It is globally [0, 1]-valued. To make its network representation explicit, let au be its slope on (u, u + 1) for integer −dR ≤ u < dR, and put a−dR−1 = adR = 0. The standard piecewise-linear representation recalled in [CGKM22, Remark 2.2] is, in this case, ψ(z) = ψ(−dR) +
dR X
(au − au−1 ) ReLU(z − u).
u=−dR
The slopes have absolute value at most one and denominator q. Substituting the first layer’s affine output for z inside these ReLUs gives a second hidden layer with at most 2dR + 1 units and an affine output. The intermediate affine map is absorbed into the second-layer preactivations, so the composition has exactly two hidden layers. 134
The total number of hidden units is at most 6dR + 1 = 24Dq 2 + 1 = O(D3 ). First-layer input weights have magnitude at most q −1 and biases at most qR+1. The intermediate affine output has coefficients in {−1, 1} and bias −dR; hence the second-layer weights have magnitude one and biases at most 2dR. Output weights have magnitude at most two and denominator q. Since q ≤ d ≤ D, all parameters have polynomial magnitude and O(log D) bit length. Enumerating the units and their connections takes polynomial time in D. Finally, the global range of ψ ensures that the composite extension stays in [0, 1] even off the grid.
135
Related documents
- On the Distortion of Partitioning Performance by Random Quantum Circuits#155248
- Qurrium: A Python package for randomized measurement-based estimation of quantum state properties#1011690
- How to Prove Post-quantum Security for Succinct Non-interactive Reductions#291934
- Quantum Tsallis Entropy Estimation: Near-Optimal Bounds and High-Precision Improvements#1387272
- Classical Verification of a Remote Quantum Processor via Degenerate Concordant Computations: An Application to Randomness Generation#1217920
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive