Constrained PSLQ Search
- Constrained PSLQ search is a framework that restricts the classical PSLQ algorithm by enforcing additional constraints like error bounds, degree limits, and coefficient norms.
- It employs specialized termination criteria and incremental techniques such as IPSLQ to efficiently achieve minimal polynomial reconstruction and controlled relation accuracy.
- The approach also integrates theory-driven constant recognition with logarithmic bases, ensuring rigorous certification and adaptivity to diverse integer-relation problems.
Searching arXiv for the cited PSLQ-related papers to ground the article. Constrained PSLQ search denotes a family of integer-relation problems in which the classical PSLQ objective—finding a nonzero coefficient vector such that —is supplemented by explicit restrictions on the admissible data, coefficient set, search dimension, stopping rule, or candidate basis. Taken together, the literature shows four recurrent forms of constraint: empirical input with certified error bounds and thresholded termination; bounded search over unknown algebraic degree and coefficient height; coefficient-domain restriction to rings of algebraic integers; and theory-driven searches in small logarithmic bases for multiplicative closed forms (Feng et al., 2017, Feng et al., 2014, Skerritt et al., 2018, Zhou, 29 Mar 2026).
1. Constraint classes and problem formulations
The common feature of constrained PSLQ search is that the search is not conducted over unrestricted exact arithmetic on a fixed vector. Instead, one fixes a relation class and then enforces auxiliary conditions that determine what counts as an admissible candidate and what counts as a valid termination.
| Constraint class | Representative formulation | Representative source |
|---|---|---|
| Empirical input | (Feng et al., 2017) | |
| Coefficient-size bound | Relation norm bounded by | (Feng et al., 2017, Feng et al., 2014) |
| Degree bound | Search over , | (Feng et al., 2014) |
| Coefficient-domain restriction | for quadratic | (Skerritt et al., 2018) |
| Basis restriction | PSLQ on | (Zhou, 29 Mar 2026) |
In the empirical-data setting, the search is constrained by finite precision, bounded perturbation of the hyperplane matrix, prescribed stopping thresholds, and output-quality guarantees. In the algebraic-number reconstruction setting, the search is constrained by a degree bound and a height or norm bound 0. In the algebraic-integer setting, the coefficients are forced to lie in 1 rather than 2 or 3. In constant recognition, the search space is deliberately narrowed to a small, theory-motivated logarithmic basis and a prescribed coefficient box (Feng et al., 2017, Feng et al., 2014, Skerritt et al., 2018, Zhou, 29 Mar 2026).
This suggests that “constrained PSLQ search” is best understood as a design pattern rather than a single algorithmic variant. The core PSLQ mechanism remains recognizable, but the admissible relation set and the correctness criteria are altered by external structural information.
2. Empirical-data PSLQ and residual-certified termination
For a real vector 4, an integer relation is a nonzero vector 5 such that
6
The empirical-data problem distinguishes the intrinsic vector 7 from an approximation 8 satisfying
9
The practical objective is not to find a relation of 0, since 1 typically has no exact integer relation at all, but to recover an exact relation for the unknown 2 from inexact input (Feng et al., 2017).
The geometric object underlying PSLQ is the hyperplane matrix 3, defined from
4
by
5
PSLQ maintains factorizations of the form
6
where 7 is unimodular, 8 is orthogonal, and 9 is lower trapezoidal after 0 iterations. Size reduction enforces
1
With parameter 2, BergmanSwap chooses 3 maximizing 4; after swapping rows 5 and 6, the local quantities are
7
The central constraint introduced for empirical data is termination. Exact PSLQ stops when 8, but with empirical input that condition generally never occurs. The thresholded variant 9 instead terminates when
0
The key invariant is that if
1
and
2
then
3
Since the 4-st column of 5 is the candidate relation 6, 7 is exactly 8. Thus thresholded termination yields the certified residual bound
9
The perturbation analysis is expressed in terms of a perturbed lower-trapezoidal matrix 0 satisfying
1
For the leading 2 submatrix 3, the exact Frobenius formulas
4
govern conditioning. If
5
then 6 is nonsingular and
7
The main forward error theorem states that if
8
and 9 terminates with 0, then for the returned 1,
2
The two terms separate input or hyperplane perturbation from threshold-induced residual error. If a separate gap bound 3 is known such that every nonzero value 4 is at least 5, then
6
certifies that 7 is an exact relation.
The practical error-control theorem specializes to 8. Assuming 9, 0, and a target relation bound 1, the sufficient conditions
2
imply
3
The one-parameter split
4
makes the tradeoff between input accuracy and stopping strictness explicit. The iteration count remains logarithmic in 5; one bound given is
6
This preserves the basic PSLQ iteration structure while changing termination, precision requirements, and certification conditions (Feng et al., 2017).
3. Incremental degree-bounded search and zero-error reconstruction
A second major constraint class arises in zero-error computation for algebraic numbers. Here the input is an approximation 7 to an algebraic number 8, together with a degree bound 9 and a height bound 0 on the minimal polynomial. The computational task is to recover the exact minimal polynomial even when the exact degree is not known in advance (Feng et al., 2014).
If the minimal polynomial has degree 1, then there exists a nonzero integer vector 2 such that
3
Thus reconstruction reduces to integer-relation search on
4
When the exact degree is unknown, standard PSLQ or LLL is applied repeatedly to
5
If the cost of integer-relation finding in dimension 6 with bound 7 is 8, this repeated strategy costs
9
The incremental version IPSLQ is designed to remove the repeated restart. In its reconstruction form it acts on the reversed power vector
0
and incrementally considers suffixes
1
The search is constrained in two ways: by degree, since each suffix corresponds to allowing one more power of 2; and by relation size, since only relations with norm 3 are relevant. If the current suffix has no relation with 4-norm less than 5, IPSLQ adds one coordinate on the left and continues, reusing the matrices already computed.
Algorithmically, IPSLQ maintains the standard PSLQ state: 6 followed by Sine-reduction of 7 with corresponding updates of 8 and 9. In the main loop, it chooses
00
performs the row swap, restores lower trapezoidal structure, and size-reduces. The crucial certification step is
01
If this occurs and 02, the current suffix has no integer relation with 03-norm less than 04, so the search extends leftward. If it occurs at 05, the algorithm returns
06
meaning there is no integer relation of Euclidean norm at most 07. When a relation is found, IPSLQ returns the last column of 08.
The asymptotic claim is that the IPSLQ-based minimal-polynomial reconstruction algorithm has complexity
09
even when the exact degree is unknown. The improvement is therefore not a faster fixed-dimension PSLQ routine, but the elimination of the multiplicative factor caused by restarts across dimensions.
The reported experiments use numbers of the form
10
with approximations given to 11 decimal digits, Maple 15, and Digits := 500. The input degree bound is 12, the input height bound is 13, and the exact degree and height are 14 and 15, respectively. Across ten test instances, the observed ratio 16 ranges from 17 to 18, with the authors noting that the ratio seems to increase with 19. Within the constrained-search interpretation, IPSLQ avoids recomputing reductions for a sequence of nested degree-bounded search spaces (Feng et al., 2014).
4. Coefficient-domain constraints and algebraic integer relations
A different notion of constraint appears when the coefficients themselves are restricted to a ring of algebraic integers. In this setting, classical PSLQ is generalized from coefficient domains 20 and 21 to the ring of integers 22 of a quadratic field 23 (Skerritt et al., 2018).
For squarefree 24,
25
and the ring of integers is
26
An algebraic integer relation of 27 is a nonzero vector
28
such that
29
This is a direct coefficient-domain constraint: the target relation must lie in a prescribed rank-30 31-module rather than in the ambient coefficient ring of standard PSLQ.
The paper studies two approaches. The first is basis-expansion reduction. Writing
32
one replaces 33 by
34
runs ordinary PSLQ, and reconstructs the coefficients from the integer relation returned. This works well in the real case. In the complex case, however, ordinary complex PSLQ returns Gaussian integer coefficients
35
and the reconstructed coefficient
36
need not lie in 37. The reduction therefore relaxes the coefficient-domain constraint too far.
The second approach, APSLQ, modifies PSLQ directly by replacing nearest-integer reduction with nearest-algebraic-integer reduction in 38. The standard hyperplane matrix becomes
39
For a lower trapezoidal matrix 40, the reducing matrix 41 is
42
The domain dependence enters precisely through the rounding map 43.
For imaginary quadratic fields, the paper gives explicit nearest-algebraic-integer formulas. If 44 and 45, then
46
If 47, then
48
and one chooses the closer of two candidate lattice points. The uniform rounding error is bounded by
49
with
50
leading to
51
The classical PSLQ parameter constraints are
52
As 53 increases, 54 decreases; for many fields 55, so 56 becomes impossible. This is why the standard proof framework extends only to
57
The practical APSLQ loop normalizes 58, performs initial Hermite reduction,
59
repeatedly selects
60
swaps rows and columns, restores lower trapezoidal form, updates
61
and declares a candidate relation when
62
This thresholded form is practical, but the returned relation does not necessarily preserve the standard bound 63.
The experiments use 64 problems per test set, 65, coefficient ranges 66 and 67, and precisions 68 and 69 decimal digits. APSLQ matches ordinary PSLQ perfectly for 70 and 71. For real quadratic fields 72, only the reduction method is used and all reported cases are 73 good. For 74, APSLQ is essentially perfect, with sensitivity at 75 when 76. For 77, APSLQ often performs well on real-valued constants but can fail badly on genuinely complex instances, while reduction remains strong empirically. In constrained-search terms, the paper shows both the promise and the geometric limitations of coefficient-domain restriction (Skerritt et al., 2018).
5. Theory-driven basis constraints in constant recognition
A fourth form of constrained PSLQ search appears in computational constant recognition. The target constants are the Stokes multipliers 78 for the one-dimensional anharmonic oscillators
79
with perturbative expansion
80
The large-order growth is modeled as
81
where
82
Here PSLQ is only the final stage of a three-stage constrained workflow: Rayleigh–Schrödinger recursion in the harmonic oscillator basis, Richardson extrapolation of order 83–84, and then PSLQ on a small candidate basis (Zhou, 29 Mar 2026).
The recursion uses
85
and
86
At order 87, the support extends up to oscillator level 88. The implementation uses Python 3.11 with mpmath, working precision set to dps + 30 guard digits, up to 89 perturbation coefficients, and working precision up to 90 decimal digits. The ratio sequence
91
extracts 92, and
93
extracts 94. Richardson extrapolation is applied to sequences of the form
95
using
96
The constrained PSLQ step is formulated additively by taking logarithms. The generic search vector is
97
or an expanded version with more Gamma values. A relation
98
implies
99
In all successful cases the constant term is 00, so the output is a pure monomial identity. The basis is strongly constrained by the instanton action, Gamma identities at denominator 01, and the restricted algebraic prefactor subgroup generated by 02 and 03.
This search strategy produces the identities
04
For 05, the basis
06
yields the coefficient vector
07
For 08, the initial basis
09
yields
10
and the resulting identity is simplified using
11
The searches are decisive only because the input values are stabilized before PSLQ. The paper reports, for example, 12 coefficients and 13-digit arithmetic for 14 and 15, 16 coefficients and 17-digit arithmetic for 18, 19 coefficients and 20-digit arithmetic for 21, and 22 coefficients with 23-digit arithmetic for 24. For 25,
26
is extracted with about 27 reliable digits, and two Richardson windows agree to 28 digits: start 29, 30, and start 31, 32.
The most important negative result is the exhaustive search for
33
using the logarithmic basis
34
with precision levels 35 digits and coefficient bounds 36. No relation is found. The paper interprets this not as a theorem of nonexistence, but as strong evidence that there is no low-complexity relation of the searched type. The search uses the heuristic detection limit
37
so for 38 digits and a 39-element basis,
40
well above the tested coefficient bounds. In this framework, null PSLQ output becomes bounded exclusion rather than a mere computational failure (Zhou, 29 Mar 2026).
6. Certification, negative evidence, and limitations
Across these variants, constrained PSLQ search is characterized as much by its acceptance criteria as by its search mechanics. Positive output is not accepted merely because a numerical relation is small; it must satisfy a problem-specific certification condition. In empirical PSLQ, the key quantity is the residual
41
controlled by
42
and exactness requires an external gap bound. In IPSLQ, the central certificate is bounded nonexistence,
43
for the current degree-constrained search space. In algebraic-integer PSLQ, returned coefficients must be checked for membership in the target ring 44. In logarithmic constant recognition, “no relation found” means only that no relation was found in the chosen basis, within the chosen coefficient bounds, at the chosen precision (Feng et al., 2017, Feng et al., 2014, Skerritt et al., 2018, Zhou, 29 Mar 2026).
Several common misconceptions are addressed directly by this literature. A small residual with respect to empirical data is not enough to certify an exact relation of the underlying exact vector. A null PSLQ result is not, by itself, a proof of transcendence or algebraic independence. Enlarging the coefficient domain through a basis-expansion trick can solve the wrong search problem by allowing coefficients outside the intended ring. High input precision alone is not sufficient if the stopping policy or the search basis is poorly chosen. The higher-degree algebraic example in empirical PSLQ, where Bailey’s estimate still fails but the theorem-driven 45 and 46 succeed, and the 47 Stokes-multiplier study, where exhaustive bounded searches still return no relation, both underscore this point (Feng et al., 2017, Zhou, 29 Mar 2026).
The limitations are equally explicit. The empirical-data analysis assumes exact arithmetic on the empirical hyperplane matrix after the input is fixed and does not fully analyze floating-point roundoff during the PSLQ iterations themselves. It does not address explicit coefficient-bound pruning or custom branch-and-bound mechanisms, and it does not provide a complete exactness theory without external gap bounds. IPSLQ requires known degree and height bounds and delegates detailed precision control to earlier work. Algebraic-integer PSLQ lacks a satisfactory direct treatment of real quadratic fields and loses the standard proof framework once 48. The constant-recognition pipeline is intentionally narrow: it uses small, theory-motivated logarithmic bases, explicit coefficient boxes, and post-verification against all available digits, but it does not convert bounded nonrecognition into formal impossibility (Feng et al., 2017, Feng et al., 2014, Skerritt et al., 2018, Zhou, 29 Mar 2026).
A plausible synthesis is that constrained PSLQ search becomes effective when external structure is strong enough to specify a narrow admissible relation class and a rigorous or at least carefully bounded acceptance criterion. Under those conditions, PSLQ functions less as an unconstrained discovery engine than as a certification-oriented search method for discrete relations compatible with precision bounds, degree bounds, coefficient-ring restrictions, or basis-level ansätze.