- Home
- Library
- Computational Quantum Field Theory
- Reducing and Evaluating Loop Integrals
- Finite-Field Reconstruction of Rational Functions
Finite-Field Reconstruction of Rational Functions
The rational coefficient of a loop integral can be much simpler than the algebra used to obtain it. Can we recover that coefficient without carrying a symbolic expression through every elimination step? We will solve the bubble IBP system using integers modulo several primes, reconstruct its dependence on dimension and momentum, and verify the result exactly. An intentionally insufficient first prime will show why a plausible reconstruction is not yet an answer.
Preparation: Automated IBP reduction, elementary linear algebra, and modular arithmetic. No background in numerical integration is needed for the reconstruction itself.
A rational calculation as an evaluation procedure
Use the massive Euclidean bubble of the preceding article, with the same measure and master normalization:
The dimensionless target is
We know this expression from the small derivation, which makes it a useful benchmark. The reconstruction code is not given Eq. (1): its evaluation procedure generates the seven IBP rows at , reduces them in the requested field, and returns the coefficient of in the row. It never evaluates a master integral.
For a prime , the field consists of residue classes modulo . Addition and multiplication are followed by reduction modulo ; division by a nonzero means multiplication by , computed by the Euclidean algorithm. Thus a rational number maps as
Every operation of Gaussian elimination is available, provided a suitable nonzero pivot exists. A zero pivot is handled by exchanging rows; absence of the required independent pivots rejects that evaluation. This is exact arithmetic, without a small-pivot tolerance. The black-box formulation and rational map are described by Peraro, §§2.1 and 3.1.
For example, maps to in , because . The number is not a floating-point approximation to ; it is an exact image that has discarded information about numerator and denominator size.
Reconstruct the numerator and detect the denominator
We choose an explicitly bounded ansatz:
The assumption that the denominator is independent of , and these small degree bounds, are motivated by the preceding elimination. They are inputs to this teaching implementation. It is not an unrestricted discovery algorithm for an arbitrary rational function.
At an admissible sample , obtain from the modular IBP solver. Then impose
This is linear in the unknown coefficients even though is a rational function of its arguments. Keep it homogeneous initially. Setting would be fatal here: the true denominator has no constant term. The overall normalization is fixed only after finding a nonzero null vector with a nonzero denominator.
Use the deterministic grid
There are 40 evaluations for each prime, reused for all four denominator-degree trials. The numerator always has six candidate monomials, including coefficients that may turn out to vanish. The resulting ranks are identical for :
| Trial | Unknown coefficients | Rank | Nullity |
|---|---|---|---|
| 0 | 7 | 7 | 0 |
| 1 | 8 | 8 | 0 |
| 2 | 9 | 9 | 0 |
| 3 | 10 | 9 | 1 |
A full-rank homogeneous system has only the zero vector, which cannot define a rational function. At there is one candidate up to scale. Its first nonzero denominator coefficient is ; divide the entire vector by . The normalized result will be
At this stage each coefficient is still a residue, so fractions in Eqs. (4)–(5) are the result we must recover. Over the numerator coefficients in order are
and the denominator coefficients in order are . Common normalization matters: multiplying numerator and denominator by different arbitrary constants in different fields would make coefficientwise combination meaningless. Peraro discusses this ambiguity in §2.2.
The dense linear-system method is intentionally modest. The number of candidate monomials grows rapidly with variables and degree. Peraro's §3.1, Eqs. (3.3)–(3.4) explains this approach and its scaling limitation before developing more efficient interpolation methods.
Combine primes, then recover fractions
Suppose a coefficient is modulo and modulo a new coprime prime . A convenient Chinese-remainder update is
The added term preserves the residue modulo and adjusts it to modulo . This operation combines coefficient data; it does not approximate them.
To recover a fraction from a residue , seek coprime integers with satisfying
The extended Euclidean algorithm generates candidates while reducing remainders. Our implementation accepts only candidates with
Why does a height bound help? If two reduced fractions satisfying , have the same residue, then divides . Its absolute value is at most . If , that integer must vanish, so the fractions agree. This proves uniqueness within the stated bounds. It does not prove that an unknown true coefficient lies inside them. The Euclidean and Chinese-remainder constructions are detailed in Peraro, Appendices A.1–A.2.
The coefficient gives a concrete warning. Its residues at primes are . With only , the true value is outside the balanced denominator bound . Yet is inside it and has the same residue! The retained reconstruction does not suppress this false candidate:
| Combined modulus | Bound | Candidate for | Other unresolved coefficients |
|---|---|---|---|
| 101 | 7 | 1 | |
| 72 | 0 | ||
| 746 | 0 |
After the first two fields, every coefficient in Eqs. (4)–(5) is recovered. The third field is retained as an additional fixed reconstruction stage. The wrong first-field candidate for also fails when tested in the unused field .
Bad points, bad primes and bad slices
The underlying dimensionless IBP elimination block has determinant
This gives three distinct issues to handle:
- A bad point: or makes the selected elimination singular. In , the second value is , a perfectly ordinary-looking positive integer. Reject that evaluation rather than divide by zero. Such a modular point is not a claim that positive Euclidean momentum is physically singular.
- A bad prime: characteristic two destroys this elimination block. It also cannot represent the denominators in our final normalization. The driver explicitly rejects .
- An uninformative slice: at , for every admissible . The IBP system itself still has the required pivots for odd characteristic and generic . Nevertheless, using only this slice to interpolate all ten coefficients gives rank two and nullity eight. It cannot determine the generic function.
Zeros of a particular pivot can be avoidable through a row exchange; singularity of the whole chosen elimination block is a stronger failure. Likewise, a vanishing numerator coefficient at a special dimension or prime need not describe the generic monomial support. The small solver checks its actual pivot columns, and the interpolation checks rank and normalization separately.
What has been verified?
The production driver finite_reconstruction.py imports the same pure bubble_ibp.py used by the preceding article. Its selected output is finite-field-results.json, in examples/computational-qft/symbolic-computation/. Python integers provide exact arithmetic, including arbitrary-size products; this example makes no machine-integer speed claim.
After reconstruction it performs three checks of increasing specificity:
- In each unused field , compare with the IBP solver at all 12 pairs formed from and . All 24 comparisons agree exactly.
- Compare over the rational numbers at three unused points:
| Reconstructed | ||
|---|---|---|
- Substitute the reconstructed coefficient, together with the other eliminated rows, into the original symbolic IBP system. All fourteen coefficient residuals vanish identically, and numerator and denominator have no common polynomial factor. Combined with the nonzero generic determinant, this certifies the reconstructed coefficient for this system.
Finite samples alone would not establish an identity without degree and height assumptions. Here exact substitution supplies a stronger final check after the modular computation; it does not prove completeness of the infinite IBP family. The independent parameter-integral checks in the preceding article test the connection between the generated equations and the actual integrals. They are reused, not replaced by another modular comparison.
Reconstruction also does not compute the transcendental masters. For example, at ,
Knowing a rational coefficient cannot produce this arctangent or choose its analytic continuation. Nor does exact reconstruction cure cancellation when separately large terms in nearly cancel. The retained small- test in automated IBP reduction demonstrates that distinction numerically.
Summary
Modular evaluations replace intermediate symbolic expressions by exact field elements. A bounded homogeneous interpolation detects the denominator, a common normalization makes results comparable across primes, and Chinese remaindering plus rational reconstruction recovers the coefficients. Bad evaluations are rejected explicitly. Unused checks and exact substitution then distinguish a verified rational reduction from an attractive guess.
Exercises
- Verify the image of . Then combine the residues and for , and show why the combined result distinguishes from .
Solution
Equation (1) gives . Since , its image is .
For the coefficient, , whose inverse is . Equation (6) gives
Indeed , so is the image of . In contrast,
is not divisible by . Thus no longer matches. Both fractions share the first residue because . Information from an additional field has resolved an ambiguity that exact arithmetic in the first field could not resolve.
- Why is agreement on a finite sample grid insufficient without degree restrictions? Construct a rational function different from that agrees at every training point above. Explain what the final symbolic-system check adds.
Solution
For any nonzero rational , define
Every training point has one of the five displayed dimension values, so the added term vanishes on the entire grid. Away from those slices it is generally nonzero. After putting the expression over the same denominator, its numerator exceeds the bounds in Eq. (2), which is precisely why the declared ansatz matters.
Using only would be even less informative: every function vanishes there, irrespective of its dependence away from that slice. A low-degree or zero result on one slice does not determine the generic function.
Finally, the generated elimination matrix is invertible at generic . Substituting a candidate that satisfies all its rows identically therefore establishes equality to its unique coefficient function, beyond a finite collection of evaluation points. It establishes that finite-system identity; validating the family definitions and regulated IBP relations is still a separate scientific task.
References
- Tiziano Peraro, Scattering amplitudes over finite fields and multivariate functional reconstruction, Journal of High Energy Physics 12 (2016), 030, arXiv:1608.01902v2, HTML §§2.1–2.3, 3.1–3.3 and Appendices A.1–A.2.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.