Manuscript Offprint
arXiv:2610.35531One Loss Resolves Signed Rank-One Gradient Fibers: Exact Decoding on Cycle and Theta Blocks
Abstract
For masked rank-one least squares with unrestricted signs, gradients reveal weighted margins and the loss reveals the target's squared norm. We prove that this one scalar resolves the gradient ambiguity on bipartite cycle and length-three parallel-path blocks: every target fixed before sampling and nonzero on cycle edges is identified almost surely by one legal positive query drawn from an absolutely continuous law. On six-cycle flowers, open target and query sets retain bounded gradient candidates. A common algebraic witness excludes cross-block energy cancellation. Cactus masks admit explicit exception certificates and target-uniform finite-grid bounds; theta blocks admit an existence guarantee. For nondegenerate cactus reductions, an exact decoder returns complete actual real lists, with bit cost polynomial in input length, the cycle-degree product D and the optional budget parameter . Energy-coordinate propagation certifies singletons without a product join. The product D can grow exponentially in cycle count. Exponential certificate-degree and output bounds, and weak NP-hardness at a fixed uniform query, characterize distinct costs of exact decoding.
Keywords: symbolic computation; exact list decoding; real algebraic reconstruction; rank-one recovery; cactus graphs; theta blocks.
1 Introduction
Objective values and derivatives are naturally evaluated together in least-squares optimization. What information does the objective value add to the gradients? For masked rank-one least squares, the gradients give weighted row and column sums of the unknown observed array, while the loss gives its total squared norm. With unrestricted signs, those margins can leave exponentially many rank-one candidates. We show that one total norm separates them for every target fixed before sampling and nonzero on cycle edges, almost surely under a random positive query, on masks built from even cycles and length-three parallel-path blocks.
The distinction is visible within a single observation model. On connected six-cycle flowers, open sets of targets and queries have gradient fibers with exactly actual candidates, all with strictly bounded factors. For each fixed target in that family, adding the loss makes the reply unique almost surely. Thus a scalar already present in the least-squares evaluation changes the information available for exact reconstruction.
The challenge is to prove separation by this particular scalar. The weighted-margin kernel has dimension equal to the cycle rank, also the codimension of the nonzero rank-one torus in observed-entry space. This suggests a finite candidate fiber. An independent generic measurement can separate finite fibers [7], but here the norm coordinate is fixed and all gradient
*Corresponding author. Email: 312219020216@home.hpu.edu.cn.
rows are linked through the same query. The result must also hold for every fixed target, including nongeneric ones. We establish nonvanishing within this query-linked observation family by ruling out cancellation of the energy changes across blocks.
Separation and explicit certificates. Theorem 2.2 proves fixed-target identification for even-cycle and arbitrary-size theta blocks joined at cut vertices. A scaled inverse-factor specialization makes every false complex branch have strictly negative real energy change, providing a common noncancellation witness. On cacti, a private vertex of a leaf cycle instead drives false branches away from any prescribed compensating energy. This gives an explicit exception polynomial and a finite-grid bound uniform over admissible fixed targets (Theorem 2.3). The witness may depend on the target; the observer samples independently of it.
Exact reconstruction and its costs. The decoder uses only the public mask, query and reply. It isolates cycle roots, matches total energies and checks finite factorization, returning the complete actual real list whenever the cycle reduction is nondegenerate. Rational cactus inputs admit a deterministic bit bound polynomial in the cycle-degree product D, input length and the optional budget parameter (Theorem 4.8). Energy-coordinate propagation gives a polynomial-bit sufficient singleton certificate before a product join (Proposition 4.6); finite theta systems admit classical rational univariate representations. Certificate-degree, explicit-output and subset-sum constructions identify three distinct sources of worst-case cost. Exact computational comparisons test list coverage and these decoding mechanisms.
Relation to reconstruction and symbolic computation. Gradient inversion studies the information retained in released derivatives [13, 30], including provable recovery from a random neural-network gradient [29]. Here the experimenter selects a positive factor query for an exactly rank-one observed array. The resulting margin fibers connect matrix scaling [26], graph toric ideals [25] and quasi-independence likelihood equations [2, 3, 9]. Their classical binomials supply the candidate equations; our separation arguments show how the native norm coordinate distinguishes signed candidates for each fixed target. Completion and rigidity [10, 16, 19, 28] address complementary structured reconstruction questions. The exact decoder combines real root isolation and algebraic predicates [4, 23], rational univariate representations [11, 27] and sum matching [15]. General diagonal-scaling hardness [18] provides context for the native-interface reduction.
Section 2 specifies the observation and its quantifiers; Section 3 exhibits the information separation. Section 4 develops certified decoding, and Section 5 proves global separation. Sections 6 and 7 treat regularity and computational validation, respectively.
Definition 2.1. An actual rank-one observed target is an array in
The inverse problem recovers this observed array, not its factors or an unobserved completion. Factors must be finite. The bounded class also requires , .
Actualness matters at zero coordinates: the zero set of cycle equations can contain points with no finite factorization. Our proof excludes ambiguities in a larger algebraic set, so such extra points cannot create a false claim about actual targets.
A legal query has , . Its complete reply consists of the scalar loss and both factor-gradient blocks:
Both gradient blocks and the loss count as one paired call. For a fixed query, set and . Known prediction terms and the gradients determine every row and column sum of Z. In addition,
Indeed each gradient contraction is . Thus the target-dependent information is exactly its weighted margins and one total norm. No norm for an individual cycle is supplied.
Let be the Jacobian of the edge-product map at . For an observed array , after removing known prediction terms, the complete observation is . Thus it is a linear projection of the lifted target whose gradient rows are linked through .
A block is a maximal biconnected subgraph; bridges are single-edge blocks. A block is nontrivial when it contains a cycle. Let denote internally disjoint paths of length three between a row vertex and a column vertex. Its six-cycles share whole paths. Different blocks may have different path counts and may meet at arbitrary cut vertices.
Theorem 2.2 (Cycle and theta blocks). Let every nontrivial block of a bipartite mask be an even cycle or for some , without a bound on the number of paths. For every actual real target fixed before sampling and nonzero on cycle edges, one legal positive complete query identifies it almost surely under any absolutely continuous law supported on legal positive queries. Its exceptional queries lie in the zero set of a nonzero polynomial depending on the target. Competitors may contain zeros, and bridge entries of the fixed target may be zero.
Section 5.6 proves this result by a common algebraic specialization. On cacti the guarantee has an explicit grid certificate.
A graph is a cactus if every edge belongs to at most one simple cycle. Suppose now that is a cactus. Write its cycles as , of length , for , and define
Empty products equal one and empty sums equal zero.
Notation. The mask is and the observed target is ; denotes grid size, whereas denotes extracted squared norm. Cycle degrees are , with product ; reduced degrees are . In the arithmetic appendices, clears public denominators, clears affine-edge denominators and clears target entries. Hardness offsets , and subset target are separate from these degrees and denominator bounds.
Theorem 2.3 (Cactus grid certificate). Fix before sampling the query, and assume every entry of on a cycle is nonzero. Independently sample all uniformly from , and query
Except with probability at most , the complete reply uniquely determines B among all targets in , including competitors with zero entries. Forest-edge entries of B may be zero. For an absolutely continuous distribution supported on legal positive queries, uniqueness holds almost surely for each fixed such B.
The failure coefficient depends only on the mask, so the same bound holds separately for every admissible fixed target. The exceptional polynomial itself depends on . Forests have and are already recovered by gradients. Target factors may be unbounded, whereas the queries satisfy and similarly for . Section 5 constructs this cactus certificate by private-vertex escape and explicit degree counting.
Remark 2.4 (Fixed targets and simultaneous recovery). On the full mask, every legal positive query admits two strictly bounded nonzero targets with the same complete reply. Set
Both factor norms are at most 1/2. Orthogonality gives and the same identities for C. Their common reply is
Here the two targets depend on the query. Theorem 2.3 fixes the target before sampling; its uniform failure bound retains that order of quantifiers.
3 Information separation and its numerical boundary
The loss distinguishes a fixed target even when its gradient fiber is exponentially large throughout an open set of targets and queries. The following result uses the same target class and observation interface on both sides of this comparison.
Corollary 3.1 (Exponential separation on open sets). For every , the connected flower of six-cycles has a nonempty relatively open set of all-edge-nonzero actual targets and a nonempty open set of legal positive queries such that, for every , the entire gradient fiber consists of exactly distinct actual targets. All these candidates admit factors of norm strictly below one. For each fixed , the complete reply identifies among all actual targets for almost every legal positive query.
Proof. The six-cycle construction of Proposition 4.7 has three simple real branches per cycle and strict factor-norm bounds. The joint implicit-function theorem and continuous factor propagation preserve all branches on a product neighborhood. Theorem 2.3 then separates each fixed target by the loss. Appendix C gives the complete continuation proof and an explicit two-cycle example.
Exact identification need not provide a uniform numerical margin. In the two-cycle example, a distinct bounded gradient-compatible array stays separated from the target while its loss gap vanishes as the query approaches a collision. Equation (30) gives both gaps explicitly. This is a branch-separation effect, distinct from local tangent conditioning.
4 Exact public-input list decoding
The margin equations reduce reconstruction to cycle parameters; the loss selects tuples by their total energy. The remaining step is to certify that each selected observed array has finite rank-one factors. We first give this support test, then combine it with exact root isolation, energy matching and arithmetic singleton certificates.
4.1 Finite factorization and the optional factor budget
Algebraic cycle equations alone do not enforce finite factorization. For a proposed real array C, call a vertex active if it is incident to a nonzero entry, and let H be its nonzero-edge subgraph. Propagate factors along a spanning tree of each component of H, starting one factor at one. Check the remaining nonzero edges against those factors.
Lemma 4.1 (Support and factor budget). An array is actual if and only if this propagation is consistent and no zero edge has two active endpoints. If these conditions hold, let be the propagated factors of the nontrivial components of , and put , . Then
The empty sum is zero.
Proof. An active vertex must have a nonzero factor, so a zero edge between two active vertices is impossible. Consistency is necessary on each component. Conversely, use the propagated factors on active vertices and set inactive factors to zero. All observed edges then have their prescribed values. Any other nonzero factorization of component has factors for a nonzero scalar ; this follows by propagating ratios on its connected graph. Consequently Cauchy–Schwarz gives
If both factor norms are at most one, the right-hand sum is at most one. For sufficiency choose , making both global squared factor norms equal to that sum. Isolated factors are set to zero.
Proposition 4.2 (Public-input enumeration). Given a consistent complete reply at a positive query off the leading-coefficient exceptions of Theorem 2.3, the following procedure enumerates every actual gradient-consistent target before its final norm test, using at most D cycle tuples. The unit-factor restriction can optionally be imposed by (7).
Proof. Apply Algorithm 1 below before its norm test. Off the leading exceptions, the cycle polynomials have degrees , giving at most D tuples. Lemmas 5.1 and 4.1 give completeness and the exact actualness and optional budget tests.
Exact root isolation and algebraic comparisons make the construction effective for rational or algebraic public data. Numerical variants must retain an unresolved status for undecided degrees or equalities. An empty mask has one empty observed array.
4.2 Certified list decoding and its cost
The decoder certifies the supplied reply directly. It checks the actual cycle equations, so the observer can establish uniqueness without constructing the target-dependent exception polynomial. Identically zero cycle equations receive a separate return status.
Algorithm 1: Exact cactus list decoder. Input: a cactus mask, a positive rational query, and a rational complete reply; optionally impose the unit-factor bound.
-
Extract the weighted margins and total norm by (3). Solve the incidence system over Q. If it is inconsistent, return an empty list with that certificate.
-
Find the edge-disjoint cycles and alternating kernel vectors. Choose a rational particular solution , for example by setting nonforest edges to zero and removing forest leaves. For each cycle construct its binomial on the affine margin fiber.
-
A nonzero constant polynomial gives an empty list. Otherwise, if some is identically zero, return DEGENERATE, without a uniqueness claim. For every nonconstant polynomial, take its square-free part and isolate all distinct real roots exactly.
-
Enumerate the Cartesian product of those root sets. Undo the query weights and first reject candidates failing total-norm equality. For the survivors test support propagation and, if requested, (7). Retain exactly the candidates passing all tests.
-
Return the list together with the univariate root representations and exact tests. Label a singleton UNIQUE; label a longer list AMBIGUOUS. For a forest the Cartesian product has one empty tuple; for an empty mask return the unique empty observed array when the reply is consistent.
Theorem 4.3 (Complete decoding and checked uniqueness). Whenever Algorithm 1 returns a list rather than DEGENERATE, that list contains exactly all actual targets giving the supplied reply, with the optional factor bound if imposed. Thus a singleton certifies uniqueness for that particular reply, including queries not covered by the sufficient exceptional-set test. A degree drop alone does not invalidate the algorithm: the actual nonzero polynomial degree is used.
Proof. The incidence kernel describes every gradient-consistent observed array. Every actual target satisfies the cycle binomials. Root isolation exhausts their real zeros, with multiplicities removed but no distinct roots lost. Lemma 4.1 rejects exactly the nonactual or out-of-budget candidates. The norm test is equivalent to the remaining scalar loss constraint. Distinct tuples give distinct arrays because the alternating kernel vectors are linearly independent. Identically zero polynomials are excluded before any finite-list claim is made.
The DEGENERATE status has a geometric reason: a reply can have an infinite actual fiber. On a flower of four-cycles, a uniform query and zero weighted margins leave one alternating edge parameter free on each cycle. Every tuple with all is actual: take the shared row factor to be one, each private row factor to be minus one, and the two column factors to be . Fixing the loss imposes , which has an -dimensional actual part when . A finite-list output cannot represent such a reply.
Complete root lists and exact predicates certify the output, either over all actual targets or with the optional unit-factor restriction. For rational targets satisfying Theorem 2.3, independent queries with may be repeated until a singleton appears. Their expected number is at most ; every returned answer is correct. This Las Vegas bound counts calls. Sections 4.4 and 4.6 and Appendices G and H give arithmetic, coefficient-height and bit-cost bounds.
4.3 Combining exact cycle energies
Total energy is additive over edge-disjoint cycles. After root isolation, classical meet-in-the-middle matching [15] combines two partial energy lists and retains every equal-value pair, before support and optional budget filtering. Proposition 4.5 gives exact operation and storage counts.
4.4 Rational heights and an exact energy join
We first bound the heights of the decoder’s public-input cycle equations. This supplies the rational encoding needed for exact root isolation and energy comparison.
Proposition 4.4 (Cycle coefficient height). Put , , and . Suppose every rational coordinate of , has numerator of absolute value less than and positive denominator less than , with . Choose the particular weighted array by setting nonforest edges to zero and solving the forest margins. Define
For a cycle of length 2k, clearing denominators and taking the primitive integer part gives a polynomial whose coefficient bit lengths are at most . Forest margin solving takes rational operations after a spanning forest has been chosen.
Proof. Let be the product of the public coordinate denominators, so . A weighted margin is , or its column analogue. It has denominator dividing and absolute value at most . Remove forest leaves successively: a leaf edge takes the remaining margin at that vertex, which is then subtracted at its neighbor. Every resulting edge is a signed sum of at most original margins. Thus we may write with and . Clearing the denominator in a cycle binomial gives the difference of two products of linear factors . Every coefficient is bounded by . Dividing by integer content cannot increase this height. Each forest edge is removed once, giving the stated operation count.
Total energy separates over the edge-disjoint cycles even though actualness and the optional factor budget need not separate. Write
Each is quadratic with rational coefficients. After isolating the cycle roots, one can therefore filter by energy before support propagation. This uses classical meet-in-the-middle sum matching [15], applied here with exact real algebraic energies rather than integer weights.
Proposition 4.5 (Exact energy matching). Let be the number of distinct real roots of the nonzero cycle polynomial , and put . Partition the cycles into and put , , so . Let be the number of complete root tuples passing the energy equality, before actualness or budget filtering. After root isolation the complete actual list can be found in
exact algebraic arithmetic, square-root and order/equality operations. Partial-list storage uses algebraic numbers and indices, excluding output.
Proof. Enumerate the partial sums on and the required complementary sums on . Sort both lists by exact real order and merge them. For equal values, output the Cartesian product of the two entire equal-value blocks; retaining only one representative would lose solutions. Every matching pair determines one full tuple, and the partition makes this correspondence bijective. Enumeration, sorting and the monotone merge give the counts, with coordinates per output tuple. Applying Lemma 4.1 to exactly these tuples preserves the complete list; its cost also absorbs reconstruction of each tuple.
When the cycle root counts admit a balanced partition, both partial lists have size close to , the square root of the real-root tuple count. The displayed bound records the actual partition sizes and all matches, including repeated equal-energy blocks. A cycle with a dominant root count can prevent balance. These are exact-operation counts; the bit bound in Theorem 4.8 also accounts for the algebraic fields needed to compare partial sums.
4.5 A polynomial-bit energy-coordinate certificate
Quadratic cycle energies admit rational coordinates that can certify a singleton before a product join. Two positive nonsquare rationals have the same square class if their ratio is a rational square. Integer square roots test this equivalence without integer factorization. We use the classical rational-independence framework for radicals [6, Section 4.1] and apply finite-domain bounds propagation [8] to these exact coordinates.
Proposition 4.6 (Energy-coordinate propagation). Suppose the public input is rational, every cycle polynomial is nonzero of degree at most three, and all its irreducible factors over Q have degree at most two. Write each distinct real root's energy as
with nonsquare when . Choose representatives for all nonrational energy classes. Let represent in the coordinates , and put . Initially let contain all real roots on cycle . Repeatedly delete whenever, for some coordinate ,
Stop at an empty domain or a pass with no deletion. No complete-reply candidate is deleted. The procedure and its deletion certificate have polynomial bit cost and size in the rational input length and graph size.
An empty domain proves the list empty. If every domain has one root and these roots are rational, a rational reply and support test decides whether the complete actual list is empty or a singleton, in polynomial bit time. The candidate class is all actual real targets, without a factor-norm restriction.
Proof. The required norm and bridge energy are rational. Distinct positive rational square classes, together with 1, have linearly independent square roots over Q. In their finite multiquadratic extension, these classes give distinct characters of the sign-change Galois group. Multiplying a rational relation by a character and averaging isolates its coefficient; multiplicative relations such as 2, 3, 6 are permitted. Thus energy equality is exactly .
For a surviving complete tuple, its other-cycle contribution to each coordinate lies between the displayed sums of minima and maxima. A root failing that necessary condition belongs to no such tuple. Induction over deletion passes therefore preserves every complete-reply candidate, before actualness filtering. Each deletion record specifies its cycle, root, coordinate and rational interval; a verifier checks the inequality directly from the domains preceding that pass.
Rational polynomial factorization has polynomial bit complexity [20]. At degree at most three, rational roots, quadratic formulas and their quadratic energies have polynomial-size rational representations. There are at most 3r roots and 3r classes. Pairwise rational-square ratio tests construct the coordinates with polynomially many integer square-root operations. Each successful pass deletes a root, so at most 3r such passes occur. With totals of the coordinate extrema, one pass uses rational operations. Sums of at most r original coordinates retain polynomial bit length. Propagation therefore takes rational operations after coordinate construction, with at most 3r deletion records of polynomial size. When r = 0, use the final test.
Rational singleton roots give one rational array after undoing the weights. Recomputing the loss and both gradients and applying Lemma 4.1 uses rational equalities and zero tests of polynomial bit size. Every complete-reply candidate must be this array, and it is retained exactly when those tests pass.
Private-class deletion is a special case: a class occurring on only one cycle has other-cycle interval , excluding its nonzero coefficients. Propagation also uses the rational coordinate and shared classes. For example, two cycles with radical coefficients and in the same class must both choose zero. Equal opposing coefficients can instead survive. The supplied reply therefore determines whether this sufficient certificate applies; surviving multiple domains pass to the general decoder. Integer-lattice energies also admit a pseudopolynomial count without printing all matching tuples; Appendix E gives the exact criterion and its proof.
An intrinsic cost of complete lists. The energy join reduces combination work when few sums match. Its output can nevertheless be exponential even on connected masks, with every candidate strictly inside the unit-factor class.
Proposition 4.7 (Exponential complete-reply lists). For every , a connected flower of six-cycles admits a legal rational positive query whose gradient-only fiber contains exactly actual targets. For each , a rational loss value selects exactly of them. All these targets have nonzero entries and admit factors with both norms strictly less than one; the counts are unchanged by imposing the unit-factor constraint. With , some complete-reply list has at least targets. Writing such a list explicitly as observed arrays requires scalar output entries.
Proof. Identify row vertex 0 of six-cycles, using edge order (00, 10, 11, 21, 22, 02) on each cycle. Thus , , and . Put and
Take every query coordinate to be . Both query blocks have squared norm at most 3/16. On each cycle, the row sums are and the column sums are , independent of s. The shared row contributes . The incidence kernel has exactly one alternating direction per cycle (Lemma 5.1), so every gradient-compatible array is of this form with one independent parameter per cycle.
The cycle binomial is
Hence every actual candidate has on each cycle. Conversely, all choices are actual. To see this with uniform factor bounds, set the shared raw row factor to one. For , use raw private row factors and column factors . For , use
Their edge products are , and all cycles share the same row factor. Scale both global factor vectors by . Since , and , , for every branch, their squared norms satisfy
Each cycle has squared observed norm . Prescribe total norm . A candidate has this norm precisely when cycles use a nonzero parameter. Choosing the cycles and their signs gives exactly targets. All margins and prescribed norms are rational, hence so are the gradients and loss at every layer. Every candidate entry is nonzero.
The layer sizes sum to , so some layer has at least targets. Each observed array has 6r entries. Its explicit list therefore writes at least scalars, proving the output bound.
Exceptional replies can therefore require exponential output even within the connected, bounded, nonzero-cycle target class. This cost comes from writing the list. The reduction in Theorem 4.9 identifies a second source of cost: selecting a branch can encode subset sum even when the final list is a singleton.
4.6 A deterministic bit implementation
Rational root intervals and an algebraic-integer separation bound implement every zero and sign test at finite precision.
Theorem 4.8 (Rational-input bit implementation). Let , , and let bound the numerator and denominator bit lengths of all rational public query and reply coordinates. Suppose the cycle polynomials in Algorithm 1 are not identically zero. Use the forest particular solution, and the degree product from (4). Test total energy before the optional budget. Let be the maximum number of nontrivial nonzero-edge support components among the actual energy-compatible candidates before budget filtering, or zero if there are none; always . There is a deterministic implementation returning the exact list and isolating-root representations in
Without the factor bound, the factor is omitted. The exponent in is absolute. The same qualitative bound holds for the exact energy-join variant, without asserting a smaller bit cost for that variant. A nonzero constant cycle equation gives an empty list during preprocessing.
Proof. Proposition 4.4 bounds all rational preprocessing heights. Cross-multiplication makes support tests polynomial in the affine edge forms. For the budget, the positive product of squared nonzero edges clears all propagation denominators. The remaining sum of square roots has algebraic degree at most . A common integer scaling and the field norm give an explicit nonzero separation bound with precision polynomial in , , . Rational interval refinement then decides zero and sign, including the zero case. Appendix G gives the scaling, precision and bit-height accounting. Comparisons of two partial energy sums may involve two root tuples, with degree at most ; this remains polynomial in in the same argument.
The component parameter is measured after the energy test and is bounded by . For fixed cycle count the unbounded decoder has polynomial bit complexity; the optional bounded decoder has this property when is fixed as well. These are implementation bounds, separate from the timings of the Python reference code.
4.7 A fixed-query hardness barrier
A small output need not make the energy selection easy. The following result concerns the binary length of a supplied rational public input.
Theorem 4.9 (A parsimonious energy encoding). There is a polynomial-time transformation from positive-integer SUBSET SUM to complete-reply feasibility on a connected flower of six-cycles at the fixed positive query , . Its actual gradient fiber consists of exactly rational arrays, all edge-nonzero and with strictly subunit factors. Subsets of the prescribed sum correspond bijectively to its complete-reply candidates. Consequently feasibility is weakly NP-hard. If a deterministic algorithm recovers the sole array in polynomial bit time on every singleton input of this family, then NP = RP.
The construction uses cycle roots , where . The zero root fails actualness, and the two actual branches have an arbitrary prescribed integer energy difference after rational scaling. The singleton consequence uses the classical isolation lemma [24]; its full proof is in Appendix F. The reduction transports the binary-weight obstruction of subset sum [17]. For unary weights its energy selection has a pseudopolynomial dynamic program, as in Section E.1. This establishes a weak hardness barrier; strong NP-hardness of the general native problem is open. Meet-in-the-middle instead has time and storage on this binary-branch family [15].
The reduction fixes the uniform query independently of the supplied reply. It establishes worst-case cost for uniquely feasible inputs; this query has measure zero under an absolutely continuous law. Average-case and smoothed complexity under random queries remain open and require an analysis of root isolation, algebraic comparison and energy matching under a specified distribution.
5 Fixed-target global separation
The proof first constructs an explicit cactus certificate by separating the energy of a changed leaf cycle from the other cycles. A common normalization witness then handles theta blocks. We work over the complex algebraic candidate fiber; complex squared norms denote polynomial sums of squares without conjugation. Targets and sampled queries remain real.
5.1 The classical margin fiber
Let be the unsigned vertex-edge incidence matrix of . The margin equations are . Orient every cycle so that its alternating vector has entries in turn and is zero elsewhere.
Lemma 5.1. The vectors form a basis of ker A. Hence every ambient gradient candidate has
Its bridge coordinates agree with Z.

Other cycle energies stay fixed.
If stays bounded,
with bounded w.
But .
No false branch can compensate.
Figure 1: Private-vertex escape on a changed leaf cycle. The right panel is the implication used in the proof, not a sampled trajectory: a bounded compensating energy forces , contradicting the limiting cycle equation.
Proof. Changing the signs of the rows indexed by one bipartition converts A into an oriented incidence matrix. Its rank is the number of vertices minus the number of connected components, with isolated vertices included. Consequently its kernel dimension is the cycle rank, which is r on a cactus. The displayed cycle vectors lie in the kernel and have disjoint edge supports, so they are independent. A bridge lies on none of them.
For a cycle, write and for its two alternating matchings. Every actual rank-one candidate satisfies the classical binomial
The true target satisfies . Let . The degree of is at most . For odd its leading coefficient is two; for even the degree- terms cancel and the degree- coefficient is . Under the target hypothesis, that sum is a nonzero polynomial in the query: distinct edges have distinct query monomials and nonzero fixed coefficients.
By disjointness of cycle edge supports, the norm change is
If a cycle changes, its parameter is nonzero and must be a root of . There are at most D complex cycle-consistent tuples off the leading-coefficient exceptions. This finite count does not itself show that their total energies differ: terms in (11) can cancel.
5.2 A private vertex excludes finite compensating energies
Lemma 5.2 (Finite-energy escape). On one cycle, suppose the fixed target entries are nonzero. Fix generic positive query factors except at a vertex , whose factor is . For each fixed finite , there is such that no root of has when .
Proof. The two incident weighted edge values are ha and hb; all other are independent of h. Differentiating (10) at t = 0 and then setting h = 0 gives
The two terms have nonzero fixed target coefficients and distinct monomials in the remaining query factors: after removing the incident edge, the two neighboring vertices occur differently.
Thus is not identically zero. Generic positive outside factors give even when the target has mixed signs.
There are real constants , independent of , such that
If , setting yields
For small , this quadratic has leading coefficient bounded away from zero and bounded remaining coefficients. Its two complex roots are uniformly bounded. If roots of with energy existed along , then and , a contradiction. Repeated roots cause no difficulty.
Lemma 5.3 (Coupled nonvanishing specialization). Fix a nonempty set of changed cycles, all with . There is a positive query, off all relevant leading-coefficient exceptions, at which no tuple of roots , , has .
Proof. The union of the selected cycles is again a cactus. Its block-cut forest has a leaf cycle with at most one vertex shared with another selected cycle. Choose a vertex p absent from all other selected cycles. Shared vertices of cycles outside J do not matter, since those cycles keep parameter zero and energy zero.
Fix generic positive factors outside p and vary its factor h. Every other selected cycle has finitely many complex roots, independent of h, and hence their combined energies range over a finite set. For each negative of such an energy, Lemma 5.2 excludes a compensating leaf root for all sufficiently small positive h. One h works for the whole finite set. The leading coefficients are nonzero polynomials; generic outside factors and exclusion of finitely many further values of h keep them nonzero. The query can be placed inside the unit bounds by initially choosing the outside factors small.
5.3 An explicit polynomial certificate
For degree counting, use and ; the constants in (6) only rescale fixed coefficients and cycle parameters. Let be the product of all on cycle . Writing , set
Every nonzero is homogeneous of degree 2j: a term in the coefficient of chooses disjoint matching edges, which remove two distinct vertex factors each from . In particular is nonzero and has degree exactly .
Let , with the fixed target entries included among its constants. For a nonempty subset of cycles with , put and consider
Let denote multiplication by in the tensor monomial basis, and set
The companion denominators divide , so is a polynomial. A finite-algebra element has zero multiplication determinant precisely when it is not a unit, equivalently when it vanishes in some complex residue field after extending scalars. This includes nonreduced algebras. Thus a false tuple with zero total energy forces off the leading-coefficient loci. Lemma 5.3 shows that this rational function, and hence , is nonzero.
Clearing each matrix entry before taking its determinant introduces unnecessary powers of leading coefficients. We instead clear the norm by iterated univariate resultants. Write and . Starting with , successively take its resultant with in , with the first argument. The resulting polynomial is
Indeed, after a prefix has been eliminated, each remaining variable has degree , where . Its leading coefficient is a nonzero product of earlier leading coefficients and . The root-product formula for each resultant therefore gives (18) by induction. Roots are counted with multiplicity, so squarefreeness is unnecessary. In particular is a nonzero polynomial and .
The degree can be counted without expanding a determinant. Under , each cycle root scales as , while have degrees four and two. Equivalently, its companion matrix transforms as with . Consequently transforms by tensor similarity and has degree zero as a rational function. Hence
Both nonzero polynomials are homogeneous. These are the degrees of the specified certificates.
Proof of Theorem 2.3. If , then is a nonzero constant off , so that cycle cannot change. Form the nonzero polynomial , where ranges over subsets of the cycles with . It contains every ambiguity. For each eligible cycle,
Equations (19)–(20) give . A nonzero polynomial of degree vanishes at at most an fraction of an independent N-point grid; Appendix A gives an elementary proof. Its zero set also has Lebesgue measure zero. Every actual competitor satisfies the cycle equations used above, including zero competitors, so excluding this larger set is sufficient. This proves the estimate. Proposition 5.4 removes redundant factors and gives the stated estimate.
Appendix H gives rational coefficient-height bounds for this certificate.
5.4 A sharper certificate on positive grids
The certificate can exploit positivity of the query and the fact that a changed cycle has a nonzero parameter. Put and .
Proposition 5.4 (Refined grid bound). Under the hypotheses of Theorem 2.3, its failure probability is at most , where
For s six-cycles this gives 4s3s − 2s; in particular two six-cycles give 68/N in place of 84/N.
Proof. For , define the polynomial
Resultant multiplicativity gives . Since is nonzero, so is . Writing , the linear-resultant formula is
Each term has query degree , hence so does . A false competitor changing just cycle has ; its zero energy forces , so it forces without using as an exception.
If is odd, then , which never vanishes on the positive reciprocal grid. Retain leading factors only for even , and use
Every factor is nonzero. Off its leading factors, a nonempty changed set has either one cycle, covered by , or at least two, covered by the unchanged argument. Thus every ambiguous positive query vanishes on . Relative to , the total degree drops by , proving (21). The same grid zero-count bound applies; the fixed rescalings by preserve degree.
The refined certificate gives the stated grid probability in Theorem 2.3. Appendix H bounds the coefficient heights of the original representation.
5.5 Finite-grid probabilities and certificate degree
The next two results separate arithmetic collision probability from the degree of a global exception polynomial. Four-cycle flowers have an exact grid law that attains the certificate's linear coefficient. Six-cycle flowers require exponentially large polynomial degree.
Proposition 5.5 (Four-cycle flowers). Let consist of four-cycles sharing row 0, with private row and private columns on cycle . Put and fix the factors
Both factor norms are strictly below one and every observed entry is nonzero. Under the reciprocal grid in Theorem 2.3, the probability that the complete reply has another actual real candidate is
If competitors must also have unit-bounded factors, its ambiguity probability is at least . In particular, for fixed as , attaining the first-order coefficient of the general bound.
Proof. See Appendix D.
The four-cycle law has a sharp linear coefficient. For six-cycle flowers the next result shows that exponential polynomial-certificate degree is unavoidable, while leaving the integer-grid probability question separate.
Proposition 5.6 (Exponential exception-certificate degree). For every there is a fixed rational target on a flower of six-cycles, nonzero on every edge and with strictly unit-bounded factors, such that every nonzero real polynomial whose zero set contains all its ambiguous legal positive queries has degree at least . The same lower bound holds in reciprocal query coordinates, already in one specified coordinate. Ambiguity may be restricted to nonzero competitors with unit-bounded factors.
Proof. See Appendix D.
The upper coefficient is within a linear factor of this lower bound. Exponential dependence on cycle count is therefore intrinsic to a global polynomial exception certificate. The integer-grid rate also depends on arithmetic: most constructed collision coordinates are quadratic irrational numbers. The optimal six-cycle failure probability on independent integer grids remains open.
5.6 A normalization witness beyond cactus masks
Private-vertex escape uses the edge-disjoint cycle structure of a cactus. Theta blocks have overlapping six-cycles and require a common witness instead. An inverse-factor specialization makes every changed edge contribute a strictly negative real energy change. This proves Theorem 2.2 for arbitrary path count and excludes cancellation when blocks meet at cut vertices. Figure 2 illustrates two members of the family.


Figure 2: Overlapping-cycle blocks covered by Theorem 2.2. Each path has three edges; paths share only the two endpoints. Circles are row vertices and squares are column vertices. Any pair of paths forms a six-cycle, so these blocks are not cacti.
Lemma 5.7 (Inverse-factor specialization). Suppose every nontrivial block of G is an even cycle or some . Fix an actual real target B nonzero on every cycle edge. There is a real query with nonzero coordinates at which the complex cycle-consistent gradient fiber is finite, the true point is simple, and every false point has
The squared norms in this assertion are polynomial sums of squares. The query is a proof specialization and can have negative coordinates.
Proof. Choose finite real factors . We first choose nonzero positive vertex multipliers . On a cycle their edge products will all equal one. On a block set ; the desired successive products along every path are . Local vertex factors achieving these products assign to both shared endpoints and one to the internal vertices. These assignments can be glued along the block-cut forest: each new block meets the previously assigned vertices at one cut vertex, whose multiplier is matched by multiplying all its local row factors by a positive scalar and its column factors by the reciprocal. This preserves all local edge products.
Bridges and isolated vertices permit arbitrary remaining nonzero multipliers. Set when , and set it to one otherwise; define similarly. On nontrivial blocks, the true weighted entries are exactly the prescribed products. Bridge entries are fixed by the margins. The incidence kernel is the direct sum of the cycle spaces of the blocks, so each block can be considered separately, including when blocks share cut vertices.
On a 2k-cycle its weighted entries become . The equation is . Its finite roots are
They are simple; every nonzero root is purely imaginary. Undoing the weights gives , and therefore every changed edge has .
On , write the successive entries on path as . Margin equality gives . All its cycle binomials are
No solution has : the equations would force every , contradicting the zero sum. Hence has one common value , and each is a root of . If all are equal, they are zero. Otherwise there are two values , with multiplicities . Relabel them so , and set and . Vieta's formulas give
Here . The discriminant is negative, and
The physical outer-edge values are and the middle-edge values are . Their real energy changes have the signs of and , respectively. For the first is negative, and for the second is negative, directly from the signs above. The two remaining cases are
Indeed, , and . Thus every changed theta edge has strictly decreased real energy, for any number of paths. Equations (24) also show that the specialized fiber is finite.
The true root is simple: cycle derivatives at zero are 2k, while linearizing (23) gives , of rank on . The product of the block fibers is finite. Every false tuple changes at least one block, and all changed-edge energy real parts are negative, proving the assertion.
Proof of Theorem 2.2. Use incidence-kernel coordinates relative to the true weighted array. Each cycle has one parameter. Each has path parameters with ; their physical entries are affine in these parameters, with rational query coefficients. All actual competitors satisfy the block cycle binomials and the total norm equation.
First control escape to infinity near from Lemma 5.7. Cycle leading coefficients are nonzero there, giving locally uniform root bounds. For a theta block, the top homogeneous forms of its cubic equations, up to sign, are
Their only common zero is zero: all nonzero would have to equal one value, whose positive integer multiplicity times that value is zero. Thus theta roots are uniformly bounded under small complex query perturbations. This also proves finiteness of their affine fibers.
Suppose ambiguous complex queries approached . Boundedness gives a convergent subsequence of false parameter tuples. A false limiting tuple is excluded by the strict real-energy inequality of Lemma 5.7. A true limiting tuple is excluded by the implicit function theorem: a full-rank subsystem of the block equations has the single local solution zero, which is present for every query. Consequently a complex neighborhood of contains no ambiguous query.
After clearing query denominators, the incidence-parameter equations, norm equality and requirement that some parameter is nonzero define a constructible set. Its query projection is constructible by Chevalley's theorem. It cannot be Zariski dense, since a dense constructible set contains a Zariski open set and meets every complex open neighborhood. Its proper algebraic closure therefore admits a nonzero vanishing polynomial. Multiplying that polynomial by its coefficientwise complex conjugate gives a nonzero real exceptional polynomial. Its zero set has measure zero in the positive query region. No normalization is applied to the observer's query or supplied to the decoder.
Exact block reduction. The same incidence elimination gives a constructive finite-list problem. A theta block contributes variables and cubic equations. The leading-form argument above holds for every affine margin base, so each such fiber is finite and has at most complex points by the affine Bézout bound. Thus, off the cycle leading exceptions, at most
tuples enter the global norm and support tests. Exact real solutions of the block systems can be represented by rational univariate representations [27]. Joining their energy lists and applying Lemma 4.1 then gives the complete actual list. Appendix I gives an executable quotient-algebra construction and a completeness certificate for algebraic candidates, including nonradical finite reply ideals. The explicit bound and coefficient-height formula proved above continue to concern the cactus subclass.
Certificates for the two block classes. The cactus construction gives explicit degree, coefficient-height and finite-grid bounds. For theta blocks, Chevalley's theorem turns the explicit specialization into an existence proof for the exceptional polynomial; bounds candidate points. Extending the fixed-target guarantee to arbitrary bipartite masks, or deriving theta degree and finite-grid bounds, remains open.
6 Regularity of the target
The cactus argument extends from nonzero cycle entries to smooth points of the observed rank-one variety. A singular two-block construction then shows how persistent energy exchange can obstruct identification.
6.1 Smooth targets with zero cycle entries
Smoothness gives the geometric condition behind private-vertex escape. Let be the complex Zariski closure of the rank-one observed model. Define .
Lemma 6.1. For a cactus, is the product of the cycle hypersurfaces and free bridge coordinates. A point is smooth precisely when for every cycle. If some cycle entries are zero, this condition is equivalent to one alternating matching having exactly one zero entry.
Proof. The cycle equations use disjoint edge-coordinate sets. Each binomial is irreducible, so their product variety is irreducible of dimension . The toric image is contained in it and has the same dimension: the exponent matrix is the incidence matrix, of rank by Lemma 5.1. Thus the two closures agree. The Jacobian criterion reduces smoothness to each separate gradient. If some cycle entries vanish, both matching products vanish. A partial derivative is nonzero precisely when the product remaining after removal of one matching entry is nonzero, which is the stated criterion.
Proposition 6.2 (Regular-target extension). The conclusions and the same bound of Theorem 2.3 hold for every fixed actual real target B that is smooth on .
Proof. For a selected leaf cycle containing zeros, choose a matching with a unique zero edge e. At most one cycle vertex is shared with another selected cycle, so at least one endpoint p of e is private. In (13), the term for this matching removes its only zero entry and is nonzero. The other term may vanish; if both are nonzero their distinct query monomials prevent identical cancellation. The two target entries incident to p need not themselves be nonzero. Nevertheless with still holds, and (14) gives the same contradiction. Regularity also ensures some cycle entry is nonzero, so remains a nonzero query polynomial for even . All finite-algebra degree bounds are unchanged.
The relevant smoothness is that of the image closure. Some singular targets are also identifiable: the zero target is determined by its zero norm. The following construction exhibits a different singular stratum, where an open set of complete replies remains ambiguous.
6.2 A persistent singular ambiguity
Proposition 6.3 (Singular cactus boundary). There is a connected bipartite cactus with two cycles and a fixed with zero entries for which an open set of legal positive queries has distinct actual bounded targets with identical complete replies.
The construction in Appendix B moves energy from a six-cycle to a previously zero four-cycle. This persistent exchange identifies the singular obstruction excluded by the regular-target result.
7 Computational validation
The computations test three parts of the reconstruction argument: coverage of the complete actual list, singleton certification before combination, and the cost of exact energy matching. Finite-grid studies then compare the information channels and the exception bounds. The primary implementation uses SymPy [22]. A separate observed-edge path uses Singular [14] for quotient and radical computations, with separate standard-library rational and Sturm checks. The supplement specifies the input cohorts, timing boundaries and complete outcomes.
7.1 Independent coverage of the complete real list
The observed-edge implementation completes all 37 prelisted coverage jobs on 34 distinct public inputs: 27 singleton, seven multiple and three empty actual lists. These include irrational candidates, nonradical reply ideals and optional factor budgets. For 35 nonempty ambient ideals, exact modular composition identities identify the two independent RURs; Sturm intervals match every real embedding and its support decision. Two remaining controls check inconsistent margins and nonactual support directly. All 41 returned candidate occurrences agree, including ten nonrational occurrences. Three corrupted certificates—a missing root, a changed coordinate and an altered support decision—are rejected. The independent path uses Singular for Gröbner and radical computations and separate rational and Sturm code for the checks; it imports neither SymPy nor the primary incidence reduction.
7.2 Singleton certificates before energy matching
The energy-coordinate preprocessor of Proposition 4.6 uses only the public mask, query and reply. On all 1605 six-cycle queries, it certifies 1486 singletons, compared with 708 under private-class deletion alone. Every returned array passes exact support checks and reproduces both gradients and the loss. Of the certificates, 125 already have singleton gradient fibers; 1361 require branch deletion, with up to 531441 actual gradient candidates before pruning. All decisions agree with the complete-fiber counts. The remaining 119 replies contain 54 singletons and all 65 ambiguous replies. Table 1 records the resulting certificate frequency on this fixed cohort. The largest observed number of deletion passes is five.
Table 1: Singletons certified before a product join on the six-cycle cohort. Each cell has 64 specified queries. At , the one-cycle reply is certified and the other four remain unresolved.
| r | N = 2 | 4 | 8 | 16 | 32 |
|---|---|---|---|---|---|
| 1 | 59 | 64 | 64 | 64 | 64 |
| 2 | 60 | 64 | 64 | 64 | 64 |
| 4 | 54 | 64 | 64 | 64 | 64 |
| 8 | 33 | 57 | 63 | 64 | 64 |
| 12 | 19 | 52 | 64 | 64 | 64 |
A separate 96-input protocol fixes new rational signed targets and queries before execution: , , four inputs per pair. It certifies 84 singletons and leaves 12 replies unresolved. All 48 inputs with also receive complete tuple checks. A certified 24-cycle input has 31381059609 real root tuples before propagation; the preprocessor joins none of them.
The rational subset-sum controls give five singleton certificates, nine empty certificates and 18 unresolved inputs out of 32. On the 14 uniform-protocol inputs it certifies eight singletons and leaves six unresolved, including four higher-degree cases. Each deletion certificate is checked separately; a rational Sturm chain checks root-list coverage without repeating the generator's factorization. Additional controls comprise 500 finite-domain exhaustive oracles, six Sturm cases, three radical-coordinate cases, two empty masks and four deliberately corrupted certificates, which are rejected. The generator and checker share rational arithmetic and incidence reduction.
7.3 Exact energy matching and measured scaling
All three methods run on the same 14 public inputs with three serial repetitions, fixed CPU affinity and a 30-second after-ready limit on Linux/WSL (Ryzen 7 5800U). The interval includes input reading, equation construction, exact root work, native startup, support tests and output serialization. Parent imports are recorded separately. The cycle join completes all

Figure 3: Energy-coordinate certificates and their measured cost on all 96 prospective synthetic inputs. Left: certificates among the sixteen inputs at each cycle count; unresolved replies remain included. Right: phase times for each input's median-total run, averaged by size. The phase protocol excludes imports and public JSON parsing. These are certificate frequencies and single-host timings. All 288 repeated calls reproduce the exact saved results without joining root tuples.
42 runs, msolve completes 33 and times out in nine, and observed-edge Singular completes 27 and times out in fifteen. Every completed list agrees exactly with its reference. The msolve route uses the reduced cycle system [5]; Singular starts from observed-edge equations. The cycle representation completes every run in this cohort, with the larger flowers separating its completion pattern from the general solver routes. The comparison measures complete implementations and representations on these synthetic inputs. Supplement S3 reports per-input medians, including cases where msolve is faster, and all censored runs.
The operation counts expose the combination mechanism. An eight-cycle input has 140625 real root tuples, but its join uses two lists of 375 and 5488 exact comparisons, with one energy match. The largest twelve-cycle input has 6834375 real tuples and partial lists of 3375 and 2025. The partial-list sizes expose how the join avoids visiting the full Cartesian product on these inputs.
The coordinate preprocessor is measured separately on all 96 inputs, three times each. All 288 runs reproduce the saved outcomes exactly: 84 singleton certificates and 12 unresolved replies per repetition. Figure 3 separates reduction, roots, coordinates, propagation and final checks. No Cartesian tuples are joined in these runs. Public preprocessing accounts for most measured time at the tested sizes, identifying where the computational work remains after branch elimination.
7.4 Finite-grid laws and certificate degree
The grid studies test the loss’s separating effect and the arithmetic of exceptional queries. Exhaustion of all 5615 points on ten four-cycle grids verifies the exact law; all 3675 collision witnesses preserve both gradients and total norm. The six-cycle cohort contains 1605 queries and 65 complete-reply collisions, with one collision among the 1280 queries at . All draws and repetitions are retained. The sufficient six-cycle bound is vacuous on the tested grids for , so these frequencies describe the specified discrete laws. Separately, 1821 distinct algebraic slice witnesses check the certificate-degree construction. The supplement gives the exhaustive grids, sampled cohorts and exact protocols.
8 Conclusion
The scalar loss supplies the information that weighted margins can leave unresolved. On cycle and length-three parallel-path blocks it identifies every fixed target with nonzero cycle entries almost surely, even on open families with exponentially many bounded gradient candidates. Private-vertex escape and a common inverse-factor witness exclude cross-block energy cancellation, yielding explicit cactus certificates and the theta identification guarantee. Exact root lists, energy matching and support tests turn the cactus result into certified reconstruction; energy-coordinate propagation can establish uniqueness before combining the lists. Together with the degree, output and fixed-query hardness results, these give a precise account of both the information supplied by one loss and the arithmetic required to recover it.
A Polynomial grid counting
Lemma A.1. If a nonzero polynomial in q variables has total degree at most d, and each variable is sampled independently uniformly from a set of N distinct real numbers, its zero probability is at most d/N.
Proof. Induct on . Write with . The induction hypothesis bounds by . Otherwise the univariate polynomial has at most roots, so the remaining conditional probability is at most . The sum gives . The continuous zero-set statement follows by the same induction and Fubini's theorem.
B An open singular-target ambiguity on a cactus
Use five rows, six columns and edges
The graph is connected with cycle rank two. Before division by sixteen, the true and false factors at the uniform query are
Divide every factor by four, so both observed targets are divided by sixteen. Their left and right squared factor norms are 13/64 and 5/16. With , , their complete replies coincide. The raw true entries are , of energy 13/2; the alternate entries are , of energy 5/2. The formerly zero gains the alternating rank-one array of energy four.
Proof of Proposition 6.3. Analyze positive raw queries U, V near all ones; multiplying them by 1/5, 1/6 preserves candidate margin equalities. On , the first two weighted entries are zero and
At the base, . The root -1 is simple, so a real root near -1 persists on a full query neighborhood. The candidate has the same margins. Its nonzero row-0 and row-2 entries allow actual factor propagation with
The last edge equation follows from . These factors remain continuous even if row 1 becomes zero.
The energy decrease equals four at the base and stays positive. On the zero , the gradient kernel array has entries
It is rank one, with factors and . Multiplying it by restores exactly the lost energy. Keep the bridge column's factor zero. The two component factorizations then coexist in one actual global factorization. After the same normalization, the strict query and target bounds persist on a smaller open neighborhood. Margins and total norm agree there, hence so does the complete reply. The fixed target is singular because the four-cycle binomial has zero gradient at its zero block.
C Matched information separation and branch conditioning
We now compare loss and gradients without changing the target or query experiment. The example uses two six-cycles sharing a row vertex. On each cycle order the edges as , using local row and column indices.
Let and use the fixed target , where
Its local raw factors are , on , and , on . Glue the first row factor, then divide the global left factors by four and the right factors by sixteen. Use , except , with . These query norms are strictly below one.
Proposition C.1 (Matched comparison). For this same fixed B, there is a full-dimensional open neighborhood U of legal positive queries on which gradients alone have at least four distinct actual nonzero candidates in . The complete reply is unique among all actual real rank-one targets for almost every query in U. Along the displayed path, it is unique for the whole interval , except at , where a complete-reply collision remains.
Proof. Write , equal to h on the two row-1 edges of P and one elsewhere. Candidate cycle arrays have the form
Direct expansion gives, up to nonzero scale,
Thus every actual competitor is one of nine cycle tuples. The norm increments, divided by , are
\begin{array}{c|ccc}{{{t}}}&{{{0}}}&{{{1}}}&{{{-2h}}} \\{{{\hline E_{P}(t)}}}&{{{0}}}&{{{2/h^{2}+8/h}}}&{{{16h^{2}+8h-8}}} \\\end{array}\qquad\begin{array}{c|ccc}{{{s}}}&{{{0}}}&{{{-1}}}&{{{-3}}} \\{{{\hline E_{M}(s)}}}&{{{0}}}&{{{-10}}}&{{{6.}}} \\\end{array} \tag{27}On the interval, the two false P increments are positive and
(28)
The second inequality follows from strict monotonicity and its value 54/25 at . Hence only has zero total increment when . At , also has zero increment.
The four tuples , are actual and nonzero. For , raw factors on are and . For , those on are and . They glue at the shared first row. With the same four/sixteen normalization, all four choices satisfy
Every edge has magnitude at least .
At the base query , the chosen roots 0, 1 of have derivatives , and of have derivatives . The implicit-function theorem continues them under changes of all positive query coordinates. Nonzero cycle solutions factor by rational propagation, with the first row factor fixed to one. Distinctness, actual factors and the strict norm bounds persist on a smaller full-dimensional open set. Finally satisfies Theorem 2.3, so complete-reply uniqueness holds almost everywhere in that same set.
Theorem C.2 (Separation on an open target set). On the two-cycle mask of Proposition C.1, there exist a nonempty relatively open set U of all-edge-nonzero actual targets and a nonempty open set V of legal positive queries with the following properties. Every has factors of norm strictly below one. For every , the gradient reply admits at least four distinct actual targets with factor norms strictly below one. For each fixed , its complete reply uniquely determines B among all actual targets for Lebesgue-almost every . Consequently, under any absolutely continuous query law supported on legal positive queries with , gradient ambiguity has probability at least for every , whereas complete-reply ambiguity has probability zero.
Proof. Let be the target in (25), and let be its uniform query (). For a target and a positive query , write the candidates on each cycle as
The alternating products of the give a cycle polynomial whose coefficients depend smoothly on . At the selected roots are on and on , with the nonzero derivatives recorded in Proposition C.1. The joint implicit-function theorem continues all four real simple roots in a neighborhood of . Shrink this neighborhood so that the two roots on each cycle stay distinct and every candidate edge stays nonzero.
Each pair of selected roots therefore gives a nonzero array with the same weighted margins as B. Fix the raw factor on the shared row to one and propagate factors along a spanning tree. These factors are rational functions of the nonzero edge entries. The two cycle equations ensure consistency at the removed edges, so the propagated factors give actual rank-one arrays and depend continuously on . Divide the left factors by four and the right factors by sixteen, using the raw array in this propagation. At the strict bounds (29) hold for all four root pairs; they consequently persist in a smaller neighborhood.
Restrict the target variable to the all-edge-nonzero actual target space. The neighborhood just obtained contains a product in its relative product topology. The unchanged branch is the target itself, since its cycle parameter is always zero. Thus the four candidates, including the true target, all satisfy the asserted strict factor bounds. Every satisfies Theorem 2.3, which gives complete-reply uniqueness outside a null set for that fixed B. Applying an absolutely continuous law to this statement and to the common query set gives the probability assertions.
Exponential family
Proof of Corollary 3.1. Use the flower, scale and uniform query from Proposition 4.7, taking its true target to have parameter zero on every cycle. At this base point each cycle polynomial is . Its roots are simple, with derivatives .
For varying , use the affine cycle coordinate on each cycle. The joint implicit-function theorem continues all three real roots; they remain distinct, and all corresponding edge entries remain nonzero. The leading cubic coefficients also remain nonzero. Thus these are all the cycle roots, and Lemma 5.1 gives exactly gradient-compatible arrays.
At the base point, Proposition 4.7 supplies finite factors for every branch, with squared norms below 213/256 and 146/256. Fix the shared row factor to and propagate along a spanning tree. The factors depend continuously on the nonzero entries; the cycle equations ensure consistency. Since there are finitely many branches for each fixed , their actualness and strict factor bounds persist in a common neighborhood. Restricting to actual targets and taking a product neighborhood gives . Theorem 2.3 gives the fixed-target almost-sure assertion.
For each fixed target in this open family, the loss almost surely selects one array from an exponentially large gradient list on the common query set. The large complete lists of Proposition 4.7 occur at exceptional replies. The open neighborhoods in this continuation argument may depend on r.
Remark C.3 (Identifiability and conditioning). The comparison concerns the candidate fiber at the same query; alternative targets may depend on that query. Its numerical consequence is explicit: as , the bounded competitor stays separated from B, while its norm gap tends to zero by (28) and its loss gap is half that value. Thus almost-sure identification can coexist with arbitrarily small branch-separation margins.
For the bounded competitor with cycle parameters , the exact branch separation is
Its gradients equal those of . The secant inverse ratio is asymptotic to near ; any uniform inverse bound over the family must dominate this ratio. This is a loss of global branch separation, distinct from local tangent conditioning.
D Grid laws and certificate-degree lower bounds
Proof of Proposition 5.5. Write . A cycle's physical matrix is . Its total weighted sum is . For a four-cycle, the cycle polynomial is linear with exactly this leading coefficient. If all these coefficients are nonzero, the gradient fiber is a singleton. Thus ambiguity requires one of the 2r equalities or .
If , reflect the column factor in the line spanned by . This orthogonal reflection preserves its norm and weighted sum. The weighted row-factor sum is zero, so both gradient blocks and the cycle energy stay fixed. The reflection changes the column factor because the query is positive. Keep every row factor and every other column factor unchanged. This gives a distinct actual candidate with both global factor norms unchanged.
If , instead reflect the row vector in the line spanned by . The resulting local rank-one array again has the same weighted margins and norm. Its shared-row factor cannot vanish on this rational grid: vanishing would require . Hence rescale its local factors to restore shared-row factor , gluing it to all other cycles. This gives a finite actual competitor; a global unit-factor bound is not imposed in this case.
Conditionally on , the private-row equality events and the column-pair equality events are independent, each with probability . Their union gives (22); the row events alone give the bounded-class lower bound. Here all , so .
Proof of Proposition 5.6. Use one cycle of type and cycles of type , sharing row zero. Order each cycle as (00, 01, 11, 12, 22, 20) and use six-edge arrays
On , multiply the array by . Their raw local factors are , for and , for . Glue their first row factors, and divide both global factor vectors by . Put . This defines a single rational target. There are rows and columns.
Take and , except at the first private row of , where . On each choose one of three branches, with raw factors and energy change divided by given by
| branch | row factors | column factors | |
|---|---|---|---|
| 0 | (1,1,1/3) | 0 | |
| 1 | (1,1/2,1/2) | ||
| 2 | (1,0,1) |
Let for these choices, and put
All sums are distinct. To see this, digit differences lie in . At their lowest nonzero position an odd difference cannot cancel modulo four. A difference produces a carry , which no next digit difference cancels modulo four. The highest nonzero digit determines the sign of . There are thus positive sums, all at least five.
For each , change the factors to , and use the chosen branches, preserving the global normalization. The shared row factor remains one. These arrays have the same weighted margins as the fixed target. Their total squared-norm change is
so their complete replies agree at . These are different collision parameters satisfying . All target and competitor factors have squared left norm below and squared right norm below . Indeed, put . We have and . Before normalization, the competitor's left squared norm is at most , and its right squared norm is at most . The target satisfies the same bounds. The queries also have strict unit-factor bounds.
It remains to exclude a polynomial that vanishes identically on this particular slice, and to obtain nonzero competitors. Let denote all other reciprocal query coordinates, initially one. In normalized cycle-flow coordinates the selected root is of , and a selected root is or of ; the unchanged roots are zero. All these roots are simple. Their real actual branches therefore continue under arbitrary small changes of . On each block, the edges 00, 01, 20, 22 stay nonzero, so factor propagation divides only by nonzero quantities even on branch 2. The derivative of (31) at is . The implicit-function theorem gives, on a common open neighborhood of the outside coordinates, distinct collision parameters . Choose disjoint small intervals around the original ; strict factor bounds and legality persist on this common neighborhood.
Branch 2 initially has one zero row. Restrict the outside neighborhood to queries with on every . The fixed target's weighted margin at that private row is . Equality of margins forces its continued candidate row factor to be nonzero. The adjacent column factors stay nonzero, and all other edges were nonzero at the base. Thus every continued competitor is nonzero on this nonempty open set.
Expand any proposed reciprocal-coordinate certificate as . Since is nonzero, some coefficient is a nonzero polynomial. Choose in that open neighborhood where . Then is nonzero and has at least distinct real roots, proving the partial-degree bound. Replacing by the coordinate gives the same argument for polynomials in the original query coordinates.
E Integer-lattice uniqueness
E.1 Exact uniqueness on an integer energy lattice
Exact uniqueness can be decided without printing every matching tuple when the local energies lie on a small rational lattice. The following statement isolates this regime from the general algebraic join.
Proposition E.1 (Lattice uniqueness test). Suppose nonempty finite lists of distinct local branches have rational energies and every combination is an actual candidate. The unit-factor bound is omitted. Let clear their denominators and that of the required cycle energy . Put
For and , emptiness, uniqueness and multiplicity can be decided in operations on counts in , where is the number of local branches on cycle and where 2 means at least two. A singleton is reconstructed with stored counts and predecessor indices. For the list is empty. For , there is one candidate exactly when . The bound is pseudopolynomial in the integer energy range.
Proof. Set and other entries to zero. For , compute
with entries outside zero. Induction shows that each entry is the number of branch prefixes at that energy, capped at two. Capping preserves both zero and uniqueness decisions because all contributions are nonnegative. Repeated local energy values are counted with their branch indices. A state with count one has a unique predecessor; trace these predecessors from . The recurrence gives the stated time and storage. All combinations are actual by hypothesis, so this energy count is the actual complete-reply count.
All-nonzero branches on a cactus, including its bridge coordinates, satisfy the actualness hypothesis by factor propagation. Branches that fail local actualness independently of other cycles can first be removed, as in the reduction of Theorem 4.9. The test also works with real algebraic roots whose energies are rational and exactly recognized as such. Large binary weights can make U exponential in input length. This is a dynamic-programming alternative in a numerical parameter, whereas meet-in-the-middle has exponential dependence on the number of branch choices even for binary energies.
F A parsimonious reduction and singleton search
Proof of Theorem 4.9. Start from positive integers and a nonnegative target in SUBSET SUM [17]. Put , , , and
In local edge order define
Its row and column sums are independent of t, and its cycle equation is
At , edges 00 and 12 vanish while 01, 11, 22, 20 are nonzero. The endpoints of edge 00 are both active, so this root is not actual. Here for an even integer , and .
Both remaining roots give actual edge-nonzero arrays. Indeed, take and let be the other root. The factors
produce . Since , the entries on edges 22 and 20 are respectively and . The roots are positive half-integers, neither equal to one, so no factor or observed entry vanishes.
Glue the first row of every cycle into one vertex; then , . Every actual branch choice has the common first factor one in (33), hence all choices glue. No choice using the zero root is actual, by the active-endpoint test above. These are all gradient candidates, because the alternating kernel parameters are independent on the flower.
Let and . Scale both global factor vectors by , so the observed arrays are . For each root, , , , and every column factor in absolute value is at most . Consequently the raw global squared factor norms are at most
Thus every choice has strictly subunit factors. These bounds also give polynomial binary lengths for the factors and public input.
The decisive identity is
Use the fixed legal query , . The gradients are those of the all- array . Give the public loss , so its extracted norm is . A branch choice agrees with this norm exactly when the indices choosing sum to . Distinct choices give distinct arrays. This proves the polynomial, multiplicity-preserving reduction and the feasibility lower bound.
For the singleton consequence, suppose a deterministic decoder has polynomial running time on all promised singleton inputs. Given an arbitrary SUBSET SUM instance with items, independently choose and set . For every , transform the instance with weights and target into the preceding public input. Run the decoder with its promised polynomial cutoff and accept only after verifying the recovered subset against the original instance. Every new solution is an original solution, because .
The isolation lemma [24] says that, with probability at least 1/2, the original solution family has a unique minimum c-weight subset. The corresponding k then has exactly one solution, and the promised decoder recovers it. A no-instance is never accepted, whereas a yes-instance is accepted with probability at least 1/2. Thus SUBSET SUM is in RP, implying NP = RP. For completeness, the isolation bound follows by fixing all , : at most one value of makes the best set containing i tie the best set excluding it. A nonunique minimum has such a coordinate, and a union bound gives .
G Bit implementation of the exact predicates
We prove Theorem 4.8. All statements here concern rational public data and an implementation of the finite-list algorithm. Write ; empty masks are handled directly over Q. For , write an edge on cycle as
An edge outside the cycles is constant, ; set in the coefficient bounds below. The root variables for different cycles need not generate independent fields. Let be the extracted target norm, and let be a positive common denominator of all . A product of their denominators suffices.
Input heights and root intervals. The proof of Proposition 4.4 gives a denominator and numerator bit length for every forest edge. Dividing by the query weight adds bits. The same clears , whose numerator also has polynomial bit length . Thus . The integer cycle coefficients have bit length at most .
For each nonconstant integer cycle polynomial let be the absolute leading coefficient. Choose a common rational Cauchy bound on all its complex roots with , for example . Square-free isolation and dyadic refinement of its real roots cost a polynomial in degree, coefficient bits and requested precision. Standard Sturm–Habicht isolation, including repeated-root handling, is described by Emiris et al. [12]; see also Basu et al. [4]. Classical root-separation estimates originate in Mahler [21] and are developed in Mignotte [23]. After isolation, each further dyadic bisection uses a Sturm root count with integers of bit length polynomial in the requested precision. An interval containing one root therefore needs only a polynomial number of bit operations to reach any specified bits. The initial isolation has polynomial bit cost; one does not scan a uniformly fine mesh.
Polynomial predicates after propagation. Support zero tests use . For nonzero-edge propagation, every factor is an alternating ratio of products of distinct edges on a simple tree path, starting one row factor at one. Consistency of factors and at an edge is the polynomial zero test ; its degree in edge forms is at most . All path denominators are nonzero because their edges have already passed the nonzero test. The norm predicate has degree two.
For an actual energy-compatible candidate let h be the number of nontrivial components of its nonzero-edge graph. Put
Here , are the component squared factor norms from Lemma 4.1. Each squared path denominator divides . Consequently and are sums of at most monomials in edge forms of degree at most , and has degree at most . The optional budget is exactly
using nonnegative square roots. No estimate of a small propagation denominator is required. These expressions have polynomial size: one may list path products and at most products of pairs of terms in each , retaining edge forms as linear factors. Expanding into all monomials in the root variables is unnecessary.
Integral scaling and a nonzero gap. Define
These quantities are computable with polynomial bit lengths; specifically suffices. Every is an algebraic integer, regardless of reducibility or multiplicity of the cycle polynomial. Each constructed predicate polynomial uses products of at most edge forms, with coefficients , and possibly the scalar . Multiplication by clears their rational denominators and root leading coefficients. Thus and are integral. Also is integral: its square is integral, and integrality is transitive. Hence is an algebraic integer of degree at most .
Every conjugate extends to an embedding of a finite field containing the tuple and the radicals. Under each such embedding every edge form has modulus at most . The conjugate moduli of are at most , and those of are at most . Since , every conjugate of has modulus at most . If , its norm from to is a nonzero integer. Therefore
For each earlier polynomial predicate , the same is integral and its conjugates obey the same uniform bound . Its degree is at most , so (36) applies with . This includes false tuples and support-inconsistent arrays; actualness is only used for the later square-root budget.
Uniform interval precision. Let bits(z) = for positive integers and define
Every nonzero tested expression has modulus at least . An outward rational interval of width less than decides its sign: if it excludes zero, use its sign; if it contains zero, the expression must equal zero. This supplies the equality decision without a numerical tolerance assumption.
For completeness, this width can be reached at polynomial bit cost. Suppose root intervals have width at most and lie within . Each edge form has endpoint modulus at most and width at most . A product of at most such intervals has width at most . Each polynomial above has at most such product terms; the constant norm term has zero width. Thus one may take as a common width factor for , with polynomial in . For polynomial tests, root precision suffices. For the budget choose
Clip a negative lower bound for to zero, and enclose its square root by outward dyadic bounds with rounding error at most at each endpoint. The inequality for shows that the sum of all square-root widths, plus the width for , is less than . Thus root precision and polynomially many rational operations suffice. Dyadic square-root bounds use integer square roots on numbers of polynomial bit length. Products contain at most edge factors, so intermediate rational numerator and denominator lengths are also polynomial in this precision and in .
Enumeration, output and the energy join. There are at most root tuples and polynomially many predicates per tuple. Energy is tested first. Polynomial predicates use , and the square-root stage is used only on actual energy-compatible arrays, where . Isolation, refinement, rational evaluation and printing affine edge values with indexed isolating-root representations therefore have the bit bound in (8). A nonzero constant cycle equation terminates earlier. Identically zero cycle equations remain outside the finite-list claim.
The energy join additionally compares partial sums belonging to two tuples. Their common field has degree at most ; independence is not assumed. Scaling by and using conjugate bound supplies the same polynomial-predicate argument with in place of . There are at most polynomially many comparisons in , and complete matching blocks contain at most full tuples. Final budget checks have the same bound. Squaring changes the absolute polynomial exponent, not the qualitative bound of Theorem 4.8.
Why the bit bound includes support components. The optional unit-factor test introduces a sum of square roots even on a forest. Take disjoint stars, one row in component j, and give its edges rational values , with rational. The gradient margins determine all edges uniquely. Propagation with row factor one gives and , so the bounded-class test is precisely
The rational reply can be constructed directly from these arrays. Thus sums of rational Euclidean lengths occur even when r = 0 and there is only one candidate. This places an additional exact comparison problem alongside the familiar sum-of-square-roots issues in numerical complexity [1]; it is not a hardness classification. Theorem 4.8 retains an explicit support-component parameter for this comparison.
H Heights of the separation certificate
Proposition H.1 (Coefficient heights of the exception certificate). Use the unscaled reciprocal coordinates , of this subsection. Let satisfy the target hypothesis of Theorem 2.3 and have rational entries with numerator and denominator bit lengths at most . Let , and set
For an ordering of an eligible subset , define , and
The primitive integer polynomial proportional to has coefficient bit length at most . The primitive version of has bit length at most
These are coefficient-wise target-dependent bounds, separate from the public-input cycle heights of Proposition 4.4. Substitution for (6) adds at most to the global bit-length bound.
The proof in Appendix H.1 uses a common target denominator and the coefficient norm of each Sylvester determinant.
H.1 Coefficient-height proof
Proof of Proposition H.1. Let be the product of the denominators of the observed entries of , so . It clears all matching products in every and every coefficient of . For the coefficient norm (including all query variables and any remaining cycle variables), both and have norm less than . Indeed the two matching expansions have norm at most , and the energy sum has norm at most ; these bounds are strictly below the stated power.
Eliminate using these integral polynomials. At step the Sylvester matrix has size . Each determinant term uses coefficients of the cycle polynomial and of the preceding resultant. Submultiplicativity of the coefficient norm and the factorial number of determinant terms give (37). This integral resultant is , so primitive normalization can only reduce its integer coefficient heights.
Put and . Since , and ,
The elementary bound therefore gives
Divide (37) by :
Starting from , induction yields . Finally the integral leading coefficients have norm below , and . Multiplying these bounds proves the assertion for without expanding it.
I An exact algebraic coverage certificate
The block decoder can represent nonrational candidates by a rational univariate representation (RUR). We use classical quotient-algebra traces [27]; certified separating forms for nonradical ideals are also treated in Demin et al. [11]. The following elementary criterion records the completeness checks performed by our implementation.
Let be a proper zero-dimensional norm-augmented reply ideal. Compute a monomial basis of and its multiplication matrices ; put . All matrix identities below are rational. For a rational linear form , write .
Lemma I.1 (RUR coverage check). Suppose is monic and squarefree and have degrees below . If
then bijects the complex roots of with and bijects their real subsets. The ideal need not be radical.
Proof. At any point , evaluation sends nilpotent elements of to zero. The matrix identities therefore imply and . Conversely, the congruences give a point of at every root of , and makes the map injective. Rational coefficients imply that real roots give real points; a real point has real image under . These arguments also apply to nonreduced local algebras.
Deterministic construction. Try at consecutive positive integers . Two distinct points have equal images for at most values of . Since there are at most distinct points, one of the first forms separates them. For each trial take to be the monic squarefree part of the characteristic polynomial of . Write , set to the identity matrix, and form
For a separating trial and a point of local multiplicity , the trace on its local algebra is (with ). Summing over the local algebras gives
Thus gives the coordinates. For any trial, is invertible modulo , with the multiplicities summed over points sharing a projected value. Test Lemma I.1; a failed nilpotence check requests the next form. A separating form passes, so this process terminates within the displayed bound.
From roots to complete replies. Sturm isolation enumerates every real root of P. Substitute the coordinate polynomials into the affine edge values, verify the original loss and gradients modulo P, and apply Lemma 4.1 in the corresponding real number field. The optional factor budget uses exact algebraic zero tests and outward interval refinement. This gives the complete actual list without a rationality or radical-ideal assumption. The verifier reconstructs the quotient algebra and checks nilpotence by matrix powers; the generator uses characteristic polynomials and traces. A supplied quotient-size or execution budget gives an explicit Unresolved status when exhausted. For cactus decoding, Theorem 4.8 supplies the deterministic bit bound.
Before constructing the quotient, the implementation rescales flow variables by the rational gcd of the nonzero weighted forest-base entries, using scale one when they all vanish, and removes scalar content from the equations. This invertible public-input preprocessing preserves reality and multiplicities.
Code and data availability
The code, synthetic public inputs, complete computational outcomes and reproduction instructions are available in software version v1.1.0 at https://doi.org/10.5281/zenodo.23664952. Source code: https://github.com/llljjjwww333/one-loss-rank-one-decoding. The software and accompanying synthetic data use the MIT license. The archive includes budget skips and timeouts, and its full reproduction command checks the reported outcomes; it does not repeat solver timings. The manuscript source distribution rebuilds this article and its supplement.
Declaration of generative AI and AI-assisted technologies in the manuscript preparation process
OpenAI Codex assisted with mathematical exploration, proof drafts, implementation, checking scripts and source-defined plots, as well as drafting, restructuring and language revision. User-supplied Claude critiques informed revisions. Figures are reproducible from the reported data or equations. The author has reviewed and verified the mathematical arguments, code and manuscript content and takes responsibility for the work.
References
[1] Eric Allender, Peter Bürgisser, Johan Kjeldgaard-Pedersen, and Peter Bro Miltersen. On the complexity of numerical analysis. Technical Report TR05-037, revision 1, Electronic Colloquium on Computational Complexity, 2005. URL https://eccc.weizmann.ac.il/report/2005/037/.
[2] Carlos Améndola, Kathlén Kohn, Philipp Reichenbach, and Anna Seigal. Toric invariant theory for maximum likelihood estimation in log-linear models. Algebraic Statistics, 12(2):187–211, 2021. doi: 10.2140/astat.2021.12.187. URL https://arxiv.org/abs/2012.07793v2.
[3] David Barnhill, John Cobb, and Matthew Faust. Likelihood correspondence of toric statistical models. In Proceedings of the 2026 International Symposium on Symbolic and Algebraic Computation, pages 21–28. ACM, 2026. doi: 10.1145/3815436.3815479. URL https://arxiv.org/abs/2312.08501v3. Theorem numbering follows arXiv:2312.08501v3 (2024).
[4] Saugata Basu, Richard Pollack, and Marie-Françoise Roy. Algorithms in Real Algebraic Geometry, volume 10 of Algorithms and Computation in Mathematics. Springer, 2 edition, 2006. doi:10.1007/3-540-33099-2. URL https://link.springer.com/book/10.1007/3-540-33099-2.
[5] Jérémy Berthomieu, Christian Eder, and Mohab Safey El Din. msolve: A library for solving polynomial systems. In Proceedings of the 2021 International Symposium on Symbolic and Algebraic Computation, 2021. doi: 10.1145/3452143.3465545. URL https://arxiv.org/abs/2104.03572v2.
[6] Johannes Blömer. Simplifying Expressions Involving Radicals. PhD thesis, Freie Universität Berlin, 1993. URL https://cs.nyu.edu/~exact/pap/rootBounds/sumOfSqrts/bloemerThesis.pdf.
[7] Paul Breiding, Fulvio Gesmundo, Mateusz Michałek, and Nick Vannieuwenhoven. Algebraic compressed sensing. Applied and Computational Harmonic Analysis, 65:374–406, 2023. doi:10.1016/j.acha.2023.03.006. URL https://arxiv.org/abs/2108.13208v2. Theorem numbering follows arXiv:2108.13208v2 (2024).
[8] Chiu Wo Choi, Warwick Harvey, Jimmy Ho-Man Lee, and Peter J. Stuckey. Finite domain bounds consistency revisited, 2004. URL https://arxiv.org/abs/cs/0412021.
[9] Jane Ivy Coons and Seth Sullivan. Quasi-independence models with rational maximum likelihood estimator. Journal of Symbolic Computation, 104:917–941, 2021. doi: 10.1016/j.jsc.2020.10.006. URL https://arxiv.org/abs/2006.06832v2. Theorem numbering follows arXiv:2006.06832v2 (2020).
[10] James Cruickshank, Fatemeh Mohammadi, Anthony Nixon, and Shin-ichi Tanigawa. Identifiability of points and rigidity of hypergraphs under algebraic constraints. Journal of the London Mathematical Society, 114(1):e70633, 2026. doi: 10.1112/jlms.70633. URL https://londmathsoc.onlinelibrary.wiley.com/doi/full/10.1112/jlms.70633.
[11] Alexander Demin, Fabrice Rouillier, and João Ruiz. Reading rational univariate representations on lexicographic Gröbner bases, 2025. URL https://arxiv.org/abs/2402.07141v3. Version 3, 23 May 2025.
[12] Ioannis Z. Emiris, Bernard Mourrain, and Elias P. Tsigaridas. Real algebraic numbers: Complexity analysis and experimentation. In Reliable Implementation of Real Number Algorithms: Theory and Practice, volume 5045 of Lecture Notes in Computer Science, pages 57–82. Springer, 2008. URL https://who.paris.inria.fr/Elias.Tsigaridas/files/emt-lncs-2006.pdf.
[13] Jonas Geiping, Hartmut Bauermeister, Hannah Dröge, and Michael Moeller. Inverting gradients—how easy is it to break privacy in federated learning? In Advances in Neural Information Processing Systems, volume 33, pages 16937–16947, 2020. URL https://papers.nips.cc/paper/2020/hash/c4ede56bbd98819ae6112b20ac6bf145-Abstract.html.
[14] Gert-Martin Greuel and Gerhard Pfister. A Singular Introduction to Commutative Algebra. Springer, 2 edition, 2008. doi: 10.1007/978-3-540-73542-7. URL https://link.springer.com/book/10.1007/978-3-540-73542-7.
[15] Ellis Horowitz and Sartaj Sahni. Computing partitions with applications to the knapsack problem. Journal of the ACM, 21(2):277–292, 1974. doi: 10.1145/321812.321823. URL https://www.cise.ufl.edu/~sahni/papers/computingPartitions.pdf.
[16] Gil Kalai, Eran Nevo, and Isabella Novik. Bipartite rigidity. Transactions of the American Mathematical Society, 368(8):5515–5545, 2016. doi: 10.1090/tran/6512.
[17] Richard M. Karp. Reducibility among combinatorial problems. In Complexity of Computer Computations, pages 85–103. Plenum Press, 1972. doi: 10.1007/978-1-4684-2001-2_9. URL https://link.springer.com/chapter/10.1007/978-1-4684-2001-2_9.
[18] Leonid Khachiyan. Diagonal matrix scaling is NP-hard. Linear Algebra and its Applications, 234:173–179, 1996. doi: 10.1016/0024-3795(94)00099-9. URL https://www.sciencedirect.com/science/article/pii/0024379594000999.
[19] Franz J. Király, Louis Theran, and Ryota Tomioka. The algebraic combinatorial approach for low-rank matrix completion. Journal of Machine Learning Research, 16(41):1391–1436, 2015. URL https://jmlr.org/papers/v16/kiraly15a.html.
[20] A. K. Lenstra, H. W. Lenstra, Jr., and L. Lovász. Factoring polynomials with rational coefficients. Mathematische Annalen, 261(4):515–534, 1982. doi: 10.1007/BF01457454.
[21] Kurt Mahler. An inequality for the discriminant of a polynomial. Michigan Mathematical Journal, 11:257–262, 1964. URL https://ems.press/books/dms/252/4993. Reprinted in Collected Works of Kurt Mahler, 2019, DOI 10.4171/DMS/8/38.
[22] Aaron Meurer, Christopher P. Smith, Mateusz Paprocki, et al. SymPy: symbolic computing in Python. PeerJ Computer Science, 3:e103, 2017. doi: 10.7717/peerj-cs.103. URL https://doi.org/10.7717/peerj-cs.103.
[23] Maurice Mignotte. Mathematics for Computer Algebra. Springer, 1992. doi: 10.1007/978-1-4613-9171-5. URL https://link.springer.com/book/10.1007/978-1-4613-9171-5.
[24] Ketan Mulmuley, Umesh V. Vazirani, and Vijay V. Vazirani. Matching is as easy as matrix inversion. Combinatorica, 7(1):105–113, 1987. doi: 10.1007/BF02579206. URL https://link.springer.com/article/10.1007/BF02579206.
[25] Hidefumi Ohsugi and Takayuki Hibi. Toric ideals generated by quadratic binomials. Journal of Algebra, 218:509–527, 1999. doi: 10.1006/jabr.1999.7918. URL https://page.mi.fu-berlin.de/~chaase/lehre/ohsugiHibiQuadratic.pdf.
[26] Uriel G. Rothblum and Hans Schneider. Scalings of matrices which have prespecified row sums and column sums via optimization. Linear Algebra and its Applications, 114–115:737–764, 1989. URL https://people.math.wisc.edu/hans/paper_archive/scanned_papers/hs097.pdf.
[27] Fabrice Rouillier. Solving zero-dimensional systems through the rational univariate representation. Applicable Algebra in Engineering, Communication and Computing, 9(5):433–461, 1999. doi:10.1007/s002000050114. URL https://link.springer.com/article/10.1007/s002000050114.
[28] Amit Singer and Mihai Cucuringu. Uniqueness of low-rank matrix completion by rigidity theory. SIAM Journal on Matrix Analysis and Applications, 31(4):1621–1641, 2010. doi:10.1137/090750688.
[29] Zihan Wang, Jason D. Lee, and Qi Lei. Reconstructing training data from model gradient, provably. In Proceedings of the 26th International Conference on Artificial Intelligence and Statistics, volume 206 of Proceedings of Machine Learning Research, pages 6595–6612, 2023. URL https://proceedings.mlr.press/v206/wang23g.html.
[30] Ligeng Zhu, Zhijian Liu, and Song Han. Deep leakage from gradients. In Advances in Neural Information Processing Systems, volume 32, 2019. URL https://papers.nips.cc/paper/2019/hash/60a6c4002cc7b29142def8871531281a-Abstract.html.
Supplementary Material
This supplementary section specifies the computational protocols, indexed inputs and complete grid outcomes. The main article, its formal proof appendices and the bibliography precede this section. Unprefixed references point to the main article above; supplementary numbers begin with S.
S1 Exact four-cycle grid validation
The exhaustive cohort comprises six one-cycle grids (), three two-cycle grids (), and the three-cycle binary grid. Safe points have nonzero linear cycle equations. At every remaining point, rational orthogonal reflection constructs a distinct actual candidate with the same two gradient blocks and total norm. Row-equality witnesses also preserve both global factor norms.
| Queries | Collisions | Bounded witnesses | ||
|---|---|---|---|---|
| 1 | 1 | 1 | 1 | 1 |
| 1 | 2 | 16 | 12 | 8 |
| 1 | 3 | 81 | 45 | 27 |
| 1 | 4 | 256 | 112 | 64 |
| 1 | 5 | 625 | 225 | 125 |
| 1 | 6 | 1296 | 396 | 216 |
| 2 | 1 | 1 | 1 | 1 |
| 2 | 2 | 128 | 120 | 96 |
| 2 | 3 | 2187 | 1755 | 1215 |
| 3 | 2 | 1024 | 1008 | 896 |
Table S1: Exhaustive rational checks of the four-cycle law. The bounded column counts the row-equality construction, a lower bound rather than a complete bounded-fiber classification.
S2 Integer-lattice uniqueness controls
The rational backend uses only the public mask, query, loss and two gradients. It solves the flower margins, extracts the rational roots of each cycle polynomial, rejects locally impossible zero supports, and computes exact local energies. Denominators are cleared and a common integer gcd is removed. This rational-only backend reports nonrational roots as unsupported; the article's general decoder handles algebraic roots. The three measured combiners all decide the same capped count and return the sole array when it is unique. Repeated equal-energy branches retain their multiplicities. The operation counters count full tuples, compressed partial-sum transitions, or DP recurrence transitions, respectively; these different elementary operations are mechanism counts, not wall-time speedup factors.
The enumeration budget is 65536 full tuples, the meet-in-the-middle budget is 131072 tuples per half before compression, and the dense DP budget is 200000 stored layer cells. All 32 public inputs, outcomes, skips, reconstruction checks and separate timings are reported.
S3 Unified Linux comparison
The three methods use a common serial protocol: fourteen public inputs, three repetitions, fixed CPU affinity and a thirty-second after-ready wall limit. Method order rotates across repetitions. Public IO, construction, exact root work, native and Python subworker startup, reconstruction, support checking and serialization are included. One common parent import is excluded and recorded separately, as are individual child startup intervals. The host uses Linux/WSL on an AMD Ryzen 7 5800U, Python 3.12.3, SymPy 1.14.0, msolve 0.6.5 and Singular 4.3.2. Host load is recorded; these are single-host measurements.
| No. | Input | Cycle join | msolve | Edge Singular |
|---|---|---|---|---|
| 1 | 01-r2-k33 | 0.318 | 0.350 | 0.399 |
| 2 | 02-r2-k55 | 0.389 | 0.362 | 0.412 |
| 3 | 03-r4-k3333 | 0.320 | 0.357 | 0.744 |
| 4 | 04-r4-k5555 | 0.677 | 0.444 | 0/3; TO |
| 5 | 05-r8-k33333333 | 0.578 | 8.545 | 0/3; TO |
| 6 | 06-r8-k55555555 | 2.533 | 0/3; TO | 0/3; TO |
| 7 | 07-r12-k333333333333 | 0.917 | 0/3; TO | 0/3; TO |
| 8 | 08-r12-k555555555555 | 10.208 | 0/3; TO | 0/3; TO |
| 9 | 09-chain-r3-k234 | 0.259 | 0.358 | 0.415 |
| 10 | 10-bridge-r3-k234 | 0.274 | 0.354 | 0.426 |
| 11 | 11-disjoint-r3-k234 | 0.327 | 0.353 | 0.415 |
| 12 | 12-zero_path-r3-k234 | 0.255 | 0.357 | 0.426 |
| 13 | two_C6_N1_0 | 0.214 | 0.356 | 0.447 |
| 14 | C8_N4_83 | 0.245 | 0.343 | 0.444 |
Table S2: Seconds under one protocol. A reported time is the median of three completed runs; otherwise the cell states completed runs out of three and TO marks the thirty-second censoring limit. Timeouts are not substituted as measured runtimes.
The raw files include every run, startup interval, load record, generated native system and complete solver outcome. The cycle system and native observed-edge system encode the same reply; the latter constructs no shared symbolic incidence reduction. Every completed comparison list is checked with rational arithmetic against the original loss and gradients and against the complete reference list.
The separate phase protocol uses the same machine and affinity after the comparison finishes. It measures decode calls on all ninety-six prelisted inputs, with three fresh fork children per input. Imports, public JSON parsing and final file writing lie outside these phase times. Those times are not pooled with the end-to-end comparison.
| Cert./16 | Total | Reduction | Roots | Coord. | Prop. | Check/other | |
|---|---|---|---|---|---|---|---|
| 1 | 16 | 0.195647 | 0.192700 | 0.001686 | 0.000017 | 0.000067 | 0.001177 |
| 2 | 16 | 0.198293 | 0.193494 | 0.002678 | 0.000030 | 0.000110 | 0.001982 |
| 4 | 16 | 0.213099 | 0.204589 | 0.004655 | 0.000048 | 0.000265 | 0.003542 |
| 8 | 13 | 0.248294 | 0.230956 | 0.009329 | 0.000114 | 0.000834 | 0.007061 |
| 12 | 15 | 0.269140 | 0.244277 | 0.012960 | 0.000185 | 0.001630 | 0.010088 |
| 24 | 8 | 0.347339 | 0.296533 | 0.025150 | 0.000581 | 0.006289 | 0.018787 |
Table S3: Coordinate-decoder phase times in seconds. For each input, take the median-total run and its corresponding phases, then average over the sixteen inputs at each size. Check/other includes final rational reply/support checking, local energy evaluation and result assembly. Reduction includes rational public-data canonicalization, incidence solving and cycle-equation construction. All outcomes agree across the three repetitions.
| Input | Real tuples | Left list | Right list | Comparisons | Matches |
|---|---|---|---|---|---|
| 1 | 9 | 3 | 3 | 12 | 1 |
| 2 | 9 | 3 | 3 | 9 | 1 |
| 3 | 27 | 9 | 3 | 30 | 1 |
| 4 | 225 | 15 | 15 | 101 | 1 |
| 5 | 6561 | 81 | 81 | 902 | 1 |
| 6 | 140625 | 375 | 375 | 5488 | 1 |
| 7 | 59049 | 243 | 243 | 3362 | 1 |
| 8 | 6834375 | 3375 | 2025 | 44324 | 1 |
| 9 | 3 | 3 | 1 | 4 | 1 |
| 10 | 9 | 3 | 3 | 12 | 1 |
| 11 | 9 | 3 | 3 | 10 | 1 |
| 12 | 3 | 3 | 1 | 6 | 1 |
| 13 | 9 | 3 | 3 | 14 | 2 |
| 14 | 3 | 3 | 1 | 7 | 2 |
Table S4: Complete cycle-join operation counts on the same fourteen inputs. Real tuples count the Cartesian product before the energy test; the two partial lists and comparisons are actually generated by the exact join. Matches count full root tuples satisfying energy equality before support or budget tests. These operation counts are separate from measured seconds.
S4 Input definitions and certificate representation
The unified comparison uses twelve main inputs and two nonsingleton controls. The public data index identifies each array and its file hash. Input validation-06-flower-r8-k55555555 has 140625 real root tuples and two half lists of 375. Cycle lengths and cycle count alone do not specify an input: distinct arrays with the same can have 30375 or 50625 root tuples. The comparison table uses the fourteen indexed arrays and one timing protocol throughout.
The certificate experiments distinguish symbolic representation from full expansion. The exception polynomial has explicit degree and coefficient-height bounds. Determinant and resultant representations specify it without full symbolic expansion. Four two-cycle expansion jobs reached their 90-second limits. Single-cycle height bounds of 569 and 1570 bits correspond to observed heights of 15 and 37 bits; these are arithmetic upper bounds. Algorithm 1 works from public inputs without expanding the target-dependent certificate.
S5 Larger flowers and small reciprocal grids
Targets alternate the raw arrays of (25), scaled by on each cycle. The shared raw row factor is one; dividing all global factors by gives strict unit-factor bounds. Queries use (6), and candidate fibers contain all actual real arrays without factor bounds. Public cycle cubics factor into linear and quadratic factors. A nonzero public margin on the shared row ensures that actual local branches glue. Rational-square ratio tests group quadratic energies by positive square class. Distinct classes, together with one, are linearly independent over : character projections in their multiquadratic extension isolate each coefficient. Energy equality is thus rational-vector equality; half-list matching preserves multiplicity. For every , the 64 query vectors are independent uniform draws with replacement from the full reciprocal grid, whose coordinates are sampled independently. Repeated query vectors count as separate draws. In particular, at the grid has 64 points, but the 64 recorded draws visit 39 distinct points; this is not an exhaustive grid. The unique point at is evaluated once. All 1605 replies resolve. Four controls agree with the general decoder; rational exhaustions check 81 and 6561 tuples at , and 256 symbolic controls check radical signatures. All 65 complete-reply collisions are included.
Table S5: Larger-flower exact counts. count nonsingleton fibers. At , counts draws with replacement and the intervals are pointwise Wilson intervals; a dash marks the exhaustive one-point grid at . The last column is the largest complete-list size observed in that cell.
| r | N | n | Interval | Max. list | ||
|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 1 | 0 | - | 1 |
| 1 | 2 | 64 | 55 | 5 | [0.034, 0.170] | 2 |
| 1 | 4 | 64 | 45 | 0 | [0.000, 0.057] | 1 |
| 1 | 8 | 64 | 45 | 0 | [0.000, 0.057] | 1 |
| 1 | 16 | 64 | 38 | 0 | [0.000, 0.057] | 1 |
| 1 | 32 | 64 | 45 | 0 | [0.000, 0.057] | 1 |
| 2 | 1 | 1 | 1 | 1 | - | 2 |
| 2 | 2 | 64 | 58 | 4 | [0.025, 0.150] | 2 |
| 2 | 4 | 64 | 53 | 0 | [0.000, 0.057] | 1 |
| 2 | 8 | 64 | 60 | 0 | [0.000, 0.057] | 1 |
| 2 | 16 | 64 | 58 | 0 | [0.000, 0.057] | 1 |
| 2 | 32 | 64 | 59 | 0 | [0.000, 0.057] | 1 |
| 4 | 1 | 1 | 1 | 1 | - | 6 |
| 4 | 2 | 64 | 64 | 5 | [0.034, 0.170] | 2 |
| 4 | 4 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 4 | 8 | 64 | 63 | 0 | [0.000, 0.057] | 1 |
| 4 | 16 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 4 | 32 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 8 | 1 | 1 | 1 | 1 | - | 70 |
| 8 | 2 | 64 | 64 | 21 | [0.226, 0.450] | 4 |
| 8 | 4 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 8 | 8 | 64 | 64 | 1 | [0.003, 0.083] | 2 |
| 8 | 16 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 8 | 32 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 12 | 1 | 1 | 1 | 1 | - | 924 |
| 12 | 2 | 64 | 64 | 25 | [0.281, 0.513] | 55 |
| 12 | 4 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 12 | 8 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 12 | 16 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
| 12 | 32 | 64 | 64 | 0 | [0.000, 0.057] | 1 |
For 64 draws and zero collisions, the pointwise Wilson upper endpoint is about . The sufficient bound becomes nonvacuous only at for the five cycle counts. Grid collision probabilities need not be monotone; the event is included. These observations do not give a smaller uniform bound.
S6 Finite-grid observation-channel comparison
The three targets and all queries are specified before the experiment. On , use raw factors and , each divided by eight. On , use and , each divided by sixteen. The local edge order is for . The two-cycle target is exactly (25). For each target and , we take 128 independent uniform query vectors with replacement; each coordinate is sampled independently from . The count includes repetitions. For the single six-cycle at , the 128 draws visit 57 of the 64 possible points. At the unique point is evaluated once. Each public reply is decoded without the target. A forest particular solution gives cycle polynomials of degree at most three. Rational factorization supplies linear and quadratic factors; exact quadratic-field arithmetic tests total energy. The support criterion in Lemma 4.1 filters nonactual arrays. Targets enter only the final retention check. The general decoder cross-checks the first query for each target at and every observed complete-reply collision. The raw records retain every candidate and decision.
Table S6: Exact finite-grid counts. counts draws with replacement at and the unique grid point at ; and count nonsingleton gradient and complete fibers. No query is unresolved.
| Target | ||||
|---|---|---|---|---|
| One 6-cycle | ||||
| One 6-cycle | ||||
| One 6-cycle | ||||
| One 6-cycle | ||||
| One 6-cycle | ||||
| One 6-cycle | ||||
| One 6-cycle | ||||
| One 6-cycle | ||||
| One 6-cycle | ||||
| One 8-cycle | ||||
| One 8-cycle | ||||
| One 8-cycle | ||||
| One 8-cycle | ||||
| One 8-cycle | ||||
| One 8-cycle | ||||
| One 8-cycle | ||||
| One 8-cycle | ||||
| One 8-cycle | ||||
| Two 6-cycles | ||||
| Two 6-cycles | ||||
| Two 6-cycles | ||||
| Two 6-cycles | ||||
| Two 6-cycles | ||||
| Two 6-cycles | ||||
| Two 6-cycles | ||||
| Two 6-cycles | ||||
| Two 6-cycles |
These fixed-target experiments compare observation channels under the specified discrete query laws. Grid distributions need not have monotone collision probabilities. The continuous almost-sure assertion follows from the analytic theorem; the sampled grid frequencies describe the finite-grid behavior.