Conceptio › Archive › arXiv CS
arXiv CS open access

Vitrify Exact Learning: exact differential equations, changes of variable and closed forms from numerical data

Benedict Irwin et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
deep-learningmachine-learningneural-networks
Symbolic regression searches a space of expression trees for a formula that fits data. Many functions of the sciences have no finite expression over the usual operations and still satisfy a linear differential equation with polynomial coefficients. Vitrify Exact Learning takes nu- merical values of
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Vitrify Exact Learning: exact differential equations, changes of variable and closed forms from numerical data Benedict W. J. Irwin,* Alex Mathiasen and Tom Etminan Vitrify Labs

arXiv:2611.30886v1 [cs.SC] 23 Nov 2026

November 2026

Abstract Symbolic regression searches a space of expression trees for a formula that fits data. Many functions of the sciences have no finite expression over the usual operations and still satisfy a linear differential equation with polynomial coefficients. Vitrify Exact Learning takes numerical values of a function and proceeds in three steps. It assumes that the function, in its own variable or after a change of variable or a pushforward of a density, is annihilated by an operator with polynomial coefficients. It finds that operator as the null vector of a matrix of weak-form measurements, in which the data are integrated against test functions and never differentiated, makes the coefficients exact, and tests the exact operator on data that the fit did not read against a noise level propagated from the data. It then solves the exact operator symbolically and keeps the closed form that matches the data. Each step has precedent; the combination takes values on an interval, from a quadrature, a float64 table or a sample, to an exact equation and a closed form. On noise-free benchmarks it recovers 45 of 53 classic targets, 108 of the 120 AI Feynman equations and 74.1% of the Feynman problems of SRBench, against 33, 69 and 55.8% for the best other programs, and 50 of 132 special-function targets generated after its code was frozen, against 23. From 40-digit values it returns Meijer 𝐺 densities, hypergeometric forms for the deflection of light by a black hole, and Appell and Lauricella functions of two variables. With noise in several variables, with sparse data and for equations above fourth order it mostly returns no model.

1

Introduction

A calculation often ends in numbers whose law is not known: an integral evaluated by quadrature for each value of a parameter, a series summed term by term, a density estimated from a simulation. What is wanted is the exact expression behind the numbers, one that still holds outside the range that was computed. Symbolic regression is the usual approach. It searches a space of expression trees, with variables and constants at the leaves and operations such as addition, sine and exponential at the nodes, for a tree that fits the data [1–4]. The search is combinatorial and NP-hard [5], and its answer has to be a finite tree over the chosen operations, which most of the functions of a handbook of special functions [6, 7] ∫ 𝑥 are not. Figure 1 shows what happens then. The Fresnel integral 𝐶 ( 𝑥 ) = 0 cos( 𝜋𝑡 2 /2) d𝑡 has no finite expression in sines, exponentials and logarithms. Seven symbolic-regression programs given 1101 points of it on [0.2, 2] each returned a formula; six fit the points to within 3.4%, and all seven are wrong by 27% to 167% within half a range-width beyond the data. Each returned the nearest thing that it could build. We ask a different question of the same data: which linear differential equation does the function obey? Most special functions of physics and statistics satisfy one with polynomial coefficients; they are called holonomic, or D-finite [8–10]. The Fresnel integral has no formula tree, * Corresponding author: ben@vitrify.ai. ORCID: 0000-0001-5102-7439.

1

C x

( ) and the returned formulas

1.4

(a) Returned formulas Flash-ANSR

Fresnel integral C(x) Vitrify Exact Learning: returned C(x)

1.2

E2E

1.0

Operon RILS-ROLS Bingo

0.8 0.6

PySR

0.4 0.2 0.0

gplearn training range: 1101 float64 points

error |g(x) − C(x)|/(|C(x)| + rms)

(b) Error of each returned formula g 100

TPSR returned no formula in 600 s

10−2 10−4

recovery threshold

E2E Flash-ANSR Operon RILS-ROLS gplearn Bingo PySR

10−6 10−8 10−10

Vitrify Exact Learning: recorded error 0 inside the training range and 0 beyond it. A logarithmic axis cannot show zero. 0.5

1.0

1.5

2.0

2.5

x

Figure 1: The Fresnel integral 𝐶 ( 𝑥 ) and the formulas that seven symbolic-regression programs returned for 1101 float64 points of it on [0.2, 2] (grey band). (a) The formulas continued to 𝑥 = 2.9; Vitrify Exact Learning returned 𝐶 ( 𝑥 ) itself (dashed). (b) The error | 𝑔 − 𝐶 |/(| 𝐶 | + rms) of each returned formula 𝑔, where rms is the root mean square of the training values. The dashed line is the recovery threshold 10−5 used throughout. The recorded error of Vitrify Exact Learning is 0 inside the training range and beyond it, which a logarithmic axis cannot show. TPSR returned no formula within 600 s. Table S2 gives the numbers and Section S10 the seven formulas.

and its equation has three terms, 𝑥 𝐶 ′′′ ( 𝑥 ) − 𝐶 ′′ ( 𝑥 ) + 𝜋2 𝑥 3 𝐶 ′ ( 𝑥 ) = 0.

(1)

Once an order and a degree are fixed, finding such an equation is linear algebra, and once the equation is exact, its solutions can be found by computer algebra. The method of this paper, Vitrify Exact Learning, is three steps:

1. Ansatz:

′

𝑘



𝑓 ( 𝑥 ) = | 𝜑 ( 𝑥 )| 𝑔 𝜑 ( 𝑥 ) ,

𝐿𝑔 =

∫

2. Annihilator: 3. Closed form:

𝑟 Õ 𝑑 Õ

𝑐𝑖 𝑗 𝑦 𝑗 𝜕𝑖𝑦 𝑔 = 0,

(2)

𝑖=0 𝑗=0

  ˆ𝑐 = exact(ker 𝑀 ) , 𝑀𝑡, ( 𝑖, 𝑗 ) = 𝑔 ( 𝑦 ) (−𝜕 𝑦 ) 𝑖 𝑦 𝑗 𝐵𝑡 ( 𝑦 ) d 𝑦, Õ 𝑓 = | 𝜑′ | 𝑘 𝐶 𝑙 𝑔𝑙 ◦ 𝜑, { 𝑔𝑙 } a basis of ker 𝐿ˆ𝑐 , found symbolically.

(3) (4)

𝑙

The function is assumed holonomic in some variable 𝑦 = 𝜑 ( 𝑥 ), either as a plain substitution (𝑘 = 0) or as the pushforward of a density (𝑘 = 1). The coefficients 𝑐 of its annihilating operator 𝐿 are a null vector of a matrix 𝑀 of weak-form measurements: the data are integrated against test functions 𝐵𝑡 that vanish at the ends of a window, so no derivative of the data is taken. The 2

no: next ( 𝑟, 𝑑 ) values of 𝑓 : callable at 𝑁 𝑝 digits, float64 table or draws

window moments

weak matrix 𝑀 for order 𝑟 and degree 𝑑

𝜈𝑚 with realisations

of their error

smallest singular value at its noise level? yes

closed form from the best solver, which reads the exact operator

certificate: map, operator and grade

yes

exact operator on the held-out window: residual ≤ 10 × noise?

exact coefficients: fractions, constants, evidence in digits

repeated for each change of variable 𝑦 = 𝜑 ( 𝑥 ) and weight 𝑘

Figure 2: The steps of Vitrify Exact Learning for a function of one variable. The data enter only through moments on windows. At each order the search over the degree stops at the first support whose smallest singular value is at its noise level, and it moves to the next order when that null vector is not unique or cannot be made exact. The coefficients are made exact before the operator is tested on a window that the fit did not read.

null vector at the least order 𝑟 and degree 𝑑 is made exact, as fractions and named constants, and the exact operator must pass a test on data that the fit did not read. The solutions of the exact operator are then constructed symbolically, and the data choose the combination. From the 1101 float64 points of Figure 1 this returns equation (1) and 𝐶 ( 𝑥 ) in 57 s. Section 2 describes the three steps, Section 3 relates them to earlier work and states what is new, Section 4 gives examples and benchmarks, and Section 5 the limits. The Supplementary Information that follows the references holds the full method, every example and every benchmark table. On noise-free benchmarks the method recovers more targets than eight open symbolic-regression programs, including 50 of 132 special-function targets that were generated after its code was frozen, against 23 for the best other program. With noise, with sparse data and for equations above fourth order it mostly returns no model. The name exact learning comes from earlier work of the first author [11–13], which fitted the Mellin transform of a function with a product of gamma functions and then looked for exact values of the fitted parameters. Its notes proposed to use the holonomic equation of the function instead; this paper takes up that proposal.

2

The three steps

Figure 2 shows the steps for a function of one variable. Section S2 of the Supplementary Information gives every detail; the implementation is about 4,200 lines of Python on mpmath [14] and SymPy [15]. Í 1. Ansatz. A function is holonomic when 𝐿 𝑓 = 0 for an operator 𝐿 = 𝑖 ≤ 𝑟 𝑝𝑖 ( 𝑥 ) 𝜕𝑖𝑥 with polynomial coefficients [8, 9]. The class contains the exponential and the trigonometric functions, the error function, Bessel, Airy and Struve functions, elliptic integrals, orthogonal polynomials, the generalised hypergeometric functions 𝑝 𝐹𝑞 and Meijer’s 𝐺 -function, and it is closed under sums, products, derivatives, antiderivatives and algebraic substitution. Many densities are outside it in 𝑥 and inside it in another variable: the lognormal density has no such operator in 𝑥 and a first-order one in 𝑦 = log 𝑥 . The ansatz (2) therefore runs the search on the transported data  𝑘 𝑞 ( 𝑦 ) = 𝑓 𝜑 −1 ( 𝑦 ) ( 𝜑 −1 ) ′ ( 𝑦 ) , (5) for each map 𝜑 of a bank of twenty (the identity, log 𝑥 , 𝑒𝑥 , 1/ 𝑥 , powers, logit, probit, arsinh, tan and others), for a power 𝑥 𝜌 whose exponent is fitted and identified, and for maps that the 3

caller supplies. With 𝑘 = 1, 𝑞 is the pushforward of the density 𝑓 under 𝜑; with 𝑘 = 0 it is a substitution. An operator found in 𝑦 is pulled back to an operator in 𝑥 when its coefficients become polynomials there. When they do not, the representation 𝑓 = | 𝜑′ | 𝑘 𝑔 ◦ 𝜑 with 𝐿 𝑦 𝑔 = 0 is the result, which extends the class beyond holonomic functions: tan 𝑥 is returned as the solution of 𝑦 𝑔 ′ − 𝑔 = 0 in 𝑦 = tan 𝑥 . 2. Annihilator. On a window [∫𝑐 − ℎ, 𝑐 + ℎ] with local coordinate 𝑠 the only numbers read from 1 the data are the moments 𝜈𝑚 = −1 𝑠𝑚 𝑞 ( 𝑐 + ℎ𝑠) d𝑠. The test functions are 𝐵𝑡 ( 𝑠) = (1 − 𝑠2 ) 𝑟 𝑃𝑡 ( 𝑠), with 𝑃𝑡 the Legendre polynomial of degree 𝑡 . They and their first 𝑟 − 1 derivatives vanish at both ends of the window, so integration by parts moves every derivative onto 𝐵𝑡 without boundary terms, and each entry of the weak matrix 𝑀 of (3) is a combination of moments with rational coefficients. If 𝐿 annihilates 𝑞 then 𝑀𝑐 = 0. Three windows covering 4–70% of the interval are fitted, and the fourth, 70–96%, is held out. Each kind of data also gives realisations of the error of its moments: the difference of two quadrature levels for a callable, the difference of two interpolants for a table, batch means for draws. The same linear maps applied to these realisations give the noise level 𝜂 of every later quantity, so no tolerance is set by hand for a particular function. The search visits ( 𝑟, 𝑑 ) = (1, 0) , (1, 1) , . . . up to order 4 and degree 8, and stops at the first support at which the smallest singular value 𝜎1 of the column-scaled matrix is within 10 𝜂 ( 𝑣1 ), the next one is not, and the null vector 𝑣1 can be made exact. The result is the operator of least order and, at that order, of least Í degree. When this search finds nothing, operators with two or three terms, 𝑘 𝑥 𝑘𝑚 𝑃𝑘 ( 𝑥𝜕𝑥 ), are searched separately; with two terms they are the equations of 𝑝 𝐹𝑞 and Meijer 𝐺 -functions of 𝑥 𝑚 , and since they have far fewer unknowns they are searched up to order 6. exact(·) in (3) divides 𝑣1 by a pivot entry and replaces each ratio 𝜌, known  to within 𝜏, by the fraction of least height 𝐻 in [ 𝜌 − 𝜏, 𝜌 + 𝜏] when 𝑒 = − log10 𝜏/max(| 𝜌 | , 1) − 2 log10 𝐻 , the number of digits by which it beats chance, is large enough; otherwise PSLQ [16] looks for an √ algebraic number or a rational combination of 𝜋, 𝑒, log 2, 𝜋 and other constants. At most two entries may stay numerical, as an energy eigenvalue does. The exact operator is then applied to the held-out window and passes when its residual there is at most ten times its noise level; for a callable the test is repeated with moments computed at 2 𝑁 𝑝 digits, where 𝑁 𝑝 is the working precision. Every run in this paper uses 𝑁 𝑝 = 40, so the second test is at 80 digits, and a callable without a result is tried once more at 𝑁 𝑝 = 90. A result that passes with noise below 10−8 of the size of its terms and at least 10 digits of evidence is graded verified; one that passes otherwise is a conjecture. 3. Closed form. The solver reads the exact operator and nothing else, and builds candidate solutions by rules: exponentials of integrals for order 1; exponential polynomials for constant Î coefficients; Frobenius series about each singular point, which for the two-term form 𝑗 ( 𝜗 − Î 𝑏 𝑗 ) 𝑓 = 𝜇𝑧 𝑗 ( 𝜗 − 𝛼 𝑗 ) 𝑓 , with 𝑧 = 𝑡 𝑚 and 𝜗 = 𝑧 d/d 𝑧 , are hypergeometric series 𝑧 𝑏 𝑝 𝐹𝑞 −1 ( . . . ; 𝜇𝑧 ); Meijer 𝐺 -functions for every split of the same parameters, which covers solutions with logarithms; Airy and Bessel forms; symmetric squares; antiderivatives, including binomial integrands, whose Î 𝑒 primitives are Appell and Lauricella functions [17, 18]; and gauge factors exp( 𝑎𝑥 2 + 𝑏𝑥 ) 𝑗 𝑞 𝑗 𝑗 . SymPy’s hyperexpand [15, 19] names the series where it can. A candidate is kept when it satisfies the operator numerically; the data select the smallest set whose span contains them, and the constants of the combination go through the same identification step. When no rule applies, the operator and 𝑟 initial values fitted to the data still determine the function, which is then evaluated anywhere by analytic continuation of its Taylor series [20, 21]. Other inputs. Independent draws from a density enter through sample moments on wide windows, and the held-out test becomes Hotelling’s 𝑇 2 [22]. Exact terms of a sequence give a recurrence by exact linear algebra, and exact moments of a density give a recurrence that becomes a 4

Table 1: Methods that infer an equation or a formula from numbers. Input: what the method reads. Equation: what it returns. Coefficients: real numbers fitted to the data, or exact numbers. Map: whether a change of variable is searched. Closed form: whether the method returns the function in named terms. Test: how the result is checked. Method

Input

Symbolic regression points [1, 3, 4] Pearson’s system [23] moments of a density

Equation

Coefficients Map

Closed form

Test

expression tree

real

no

the tree

𝑓 ′ / 𝑓 a ratio of

real

no

by type

held-out points none

real

no

no

fit residual

real, sparse no

no

held-out data

real, sparse no

no

held-out data

real

no

no

none

exact

no

separate further terms algorithms

real

no

no

agreement of approximants

exact

no

more digits

real, then rounded

no

case by case by construction solver

held-out window against propagated noise, at 𝑁 𝑝 and 2 𝑁 𝑝

polynomials of degree 1 and 2 Modulating functions input–output linear ODE of a [24–26] records, weak form system SINDy, implicit trajectories, sparse sum over a SINDy, SINDy-PI differentiated library [27–29] sparse sum over a Weak SINDy, WENDy trajectories, weak [30–32] form library Moment inversion moments on an linear ODE, [33] interval polynomial coefficients, and jumps Guessing [34–36] exact series or linear ODE or sequence terms recurrence, polynomial coefficients series coefficients linear ODE, Differential polynomial approximants [37] coefficients high-precision relation among Integer relations numbers constants [16, 38, 39] Mellin-space fitting Mellin transform or gamma products, [11, 40] a model Meijer 𝐺 Vitrify Exact Learning

values on an interval (callable, table, draws), sequences, moments

linear ODE, polynomial coefficients, in 𝜑 ( 𝑥 )

exact, with bank, evidence fitted power

none

differential operator for the density. For float64 tables in several variables a separate entry point searches for algebraic relations over elementary atoms and for scaling symmetries, and passes one remaining variable to the operator search. For a callable in two variables the same weak form on boxes gives a system of partial differential operators, and two two-term operators with independent shifts fix a double hypergeometric series (Section S2.11).

3

Related work and what is new

Every part of the three steps has precedent. Table 1 sets the closest methods side by side, and Section S1 of the Supplementary Information describes them and symbolic regression in more detail. The ansatz. Fitting a linear differential equation with polynomial coefficients to a function is old. Pearson fitted 𝑓 ′ / 𝑓 = ( 𝑥 − 𝑎)/( 𝑏0 + 𝑏1 𝑥 + 𝑏2 𝑥 2 ) to the moments of a density in 1895 [23],

5

which is our ansatz at order 1 and degree 2, and the beta, gamma and Student densities are his types. Differential approximants fit such equations to series coefficients to locate singular points [37]. Batenkov reconstructed a function that satisfies an unknown equation of this kind on each piece of an interval from its moments, through a recurrence that the moments obey [33]. Our moment input (Section S2.9) is that recurrence for a single piece. The change of variable, with the weight that makes it a pushforward of a density, has no counterpart in these methods. The weak form. Integrating data against test functions that vanish at the ends of an interval, so that the derivatives of an equation fall on the test functions, is Shinbrot’s method of modulating functions [24]. Pearson and Lee used Fourier modulating functions to identify linear systems from input–output records [25], Preisig and Rippin reviewed the method [26], and weak SINDy and WENDy use it to identify nonlinear dynamics from noisy trajectories [30–32]. The choice of test functions matters for noise: weak SINDy places many low-order bumps ( 𝑡 − 𝑎) 𝑝 ( 𝑏 − 𝑡 ) 𝑞 across the domain, and recent work constructs them from the data [41]. We use three windows and Legendre polynomials of high degree times (1 − 𝑠2 ) 𝑟 , which suits values known to many digits and may be one reason for the poor results under noise (Section 5). The null vector and sparsity. Writing an equation as a null vector of a matrix of candidate terms is the implicit form of SINDy [28]; SINDy-PI was introduced because that form is sensitive to noise [29]. Computer-algebra guessing solves the same kind of system exactly [34–36], and for sequences a transformer has been trained to propose recurrences directly [42]. Our method does not use sparse regression. Its sparsity is the smallest support: the first order and, at that order, the first degree at which the matrix has a null vector that is unique, plus the families of two- and three-term operators, and each decision is a comparison of a singular value with its propagated noise. Exact numbers. Recognising an exact number from its digits by PSLQ is standard experimental mathematics [16, 38]. Bailey, Borwein, Broadhurst and Glasser computed moments of Bessel functions to high precision, recognised closed forms for several of them, and stated the identities that they could not prove as conjectures checked to high precision [39]. Our identification step uses the same tools, with a count of the digits by which a fraction beats chance and a calibration of the false-identification rate (Table S1). The closed form. Solving an exact operator is computer algebra: Kovacic’s algorithm [43], hypergeometric solutions after a change of variable [44], Roach’s expansion of hypergeometric and Meijer 𝐺 -functions [19, 45], factorisation of differential operators [46] and rigorous continuation [20, 21, 47]. Our solver is a set of rules of this kind and is not complete. We ran the factorisation, the hyperexponential solutions, the irreducibility test and the continuation of ore_algebra [35] on the 21 certified operators for which our solver found no closed form (Section S7). It found no closed form either. It proved two of the operators irreducible and gave certified error bounds for the continued solutions, which agree with ours to 10−33 or better. Its guesser returned the same recurrence as our learner for all 22 sequence and moment inputs that have one. What is new. The guessing programs need exact series or sequence terms at one point, and the weak-form methods return equations with real coefficients for a dynamical system. What we have not found in earlier work is the combination that takes numerical values of one function on an interval to an exact equation and a closed form: 1. weak-form moments on windows of the interval in the place of Taylor coefficients, so that guessing runs on values from a quadrature, a float64 table or a sample; 6

2. realisations of the error of the data, carried through every linear map, which decide when a singular value is zero, when a coefficient is a fraction and whether the exact operator holds on the held-out window; 3. a search over substitutions and pushforwards, with the pullback of the operator to 𝑥 , which extends the ansatz to functions that are not holonomic in 𝑥 ; 4. a symbolic solution of the exact operator, with the data choosing the combination of solutions and its constants made exact in turn. The search of the literature behind this statement was limited, and we would welcome references to earlier work of this kind.

4

Results

Every number below is from a recorded run of one frozen version of the learner, with 𝑁 𝑝 = 40 for callables. A target is recovered when the returned function agrees with it to 10−5 , relative to | 𝑓 | plus the rms of the training values, both inside the training range and beyond it, up to half a range-width past its upper end. The rule does not compare expression trees, so a correct form with fitted constants passes and an approximant that fits the training range fails (Section S5.1).

4.1 The Fresnel integral From values at 40 digits the search visits 22 supports (Figure 3). At orders 1 and 2 the smallest singular value falls steadily as columns are added and stays far above its noise level. At order 3 and degree 3 it drops by 23 orders of magnitude in one step, to 10−32.5 against a noise level of 10−32.2 , while the next one stays at 10−11.8 . Divided by the entry of 𝑥 𝐷3 , the null vector has 13 entries below 6.4 × 10−22 , which become 0, an entry −1.0000000000000000000000374, which becomes −1, and an entry 9.8696044010893586 . . ., which the identification step names 𝜋2 . The exact operator (1) leaves a residual of 9.7 × 10−33 against a noise level of 9.2 × 10−33 on the held-out window at 40 digits, and 8.3 × 10−73 against 9.9 × 10−73 at 80 digits: the residual follows the noise down by forty orders of magnitude, which an approximate operator would not do. In 𝑧 = 𝑥 4 the operator has the two-term form, whose series the solver names as 𝐶 ( 𝑥 ) and 𝑆 ( 𝑥 ), and the data select 𝐶 ( 𝑥 ) with the constant 1. From the float64 table the same support is found with a gap of a factor of 80, the coefficient 𝜋2 is first known only as 9.8693 ± 0.0021, and it is identified after it is re-estimated through the candidate solutions. Section S3 follows both runs step by step.

4.2 Identities found from numbers Table 2 lists some of the results. Each was returned from a routine that evaluates the function and nothing else: no potential, no energy, no parameter family. In the quantum examples the energy appears as a coefficient of the Schrödinger equation that stays numerical, and its 30 recorded digits agree with the known value. The deflection of light by a Schwarzschild mass, an elliptic integral computed by quadrature, came back as a fourth-order equation whose singular point 27𝑢2 = 1 is the critical impact parameter, and as a sum of two hypergeometric functions whose series begins with Einstein’s 4 𝑀 /𝑏. The density of a product of four normal variables has four coincident local exponents, so no hypergeometric series reaches it; it came back as a Meijer 𝐺 function from 1101 float64 values. For functions of two variables the weak form on boxes gives a system of partial differential operators; for the complete elliptic integral of the third kind it kept three, among them 2( 𝑚 − 𝑛) 𝜕𝑛 𝜕𝑚 𝑓 + 𝜕𝑛 𝑓 − 2 𝜕𝑚 𝑓 = 0, and two further two-term operators fixed the ratios of a double series that is Appell’s 𝐹1 . Section S4 gives the operators, the tests and the times of these and other examples. 7

Table 2: Some identities returned by Vitrify Exact Learning. Input: a callable at 𝑁 𝑝 = 40 digits or a float64 table of 1101 points, on the interval or box given. The operator is the one returned; 𝑎1 is a coefficient that stayed numerical. Every result is graded verified. Sections S4 and S5 and Tables S3, S16 and S11 give the tests, the times and the errors against the target. Quantity, input

Operator returned

Morse oscillator, 𝑛 = 2; callable on [−0.5, 3]

in 𝑦 = 𝑒𝑥 : 2 𝑦 2 ( 𝑦 − 2)( 𝑦 − 1) 𝑔 ′ + (7 𝑦 3 − 39 𝑦 2 + 58 𝑦 − 24) 𝑔 = 0

Quantum bouncer, ground state; callable on [0.1, 6]

𝜓′′ + ( 𝑎1 − 𝑥 ) 𝜓 = 0, 𝑎1 = 2.33810741045976703848919725245

Ai( 𝑥 − 𝑎1 ); 𝑎1 is minus the first zero of Ai

Fluorescence recovery after photobleaching [48]; callable on [0.2, 6]

𝑡 3 𝑓 ′′ − 4𝑡 𝑓 ′ + 2 𝑓 = 0

𝑒 −2/𝑡 𝐼0 (2/𝑡 ) + 𝐼1 (2/𝑡 )

Density of a product of four standard normals; float64 table on [0.2, 3]

𝑥 3 𝑓 ′′′′ + 6 𝑥 2 𝑓 ′′′ + 7 𝑥 𝑓 ′′ + 𝑓 ′ − 𝑥 𝑓 = 0

2 4, 0 𝑥 𝐺 0,4 2 16 4𝜋

Deflection of light against 𝑢 = 𝑀 /𝑏; callable on [0.01, 0.12]

𝑢 (27𝑢2 − 1) 𝛼′′′′ + 3(81𝑢2 − 1) 𝛼′′′ + 501𝑢 𝛼′′ + 192 𝛼′ = 0

 4𝑢 3 𝐹2 32 , 1, 43 ; 32 , 32 ; 27𝑢2 +    𝜋 2 𝐹1 61 , 56 ; 1; 27𝑢2 − 1

Period of the oscillator 𝑞2 /2 − 𝑞5 /5 at energy 𝑥 ; callable on [0.01, 0.18]

order 4, degree 4

1 3 7 9 1 2 𝑥 2𝜋 4 𝐹3 10 , 10 , 10 , 10 ; 3 , 3 , 1; 1000 27

Thermonuclear rate integral ∫∞ √ 𝑒− 𝑦 − 𝑥 / 𝑦 d 𝑦 ; 0 callable on [0.2, 4]

𝑥 𝑓 ′′′ + 2 𝑓 = 0

𝜋 −1/2 𝐺 0,3

Π ( 𝑛 | 𝑚), two

three operators, including 2( 𝑚 − 𝑛) 𝜕𝑛 𝜕𝑚 𝑓 + 𝜕𝑛 𝑓 − 2 𝜕𝑚 𝑓 = 0

variables; callable on [0.05, 0.55] 2 Carlson’s 𝑅 𝐹 ( 𝑥, 𝑦, 1), two variables; callable on [0.3, 0.8] × [0.35, 0.9]

Closed form returned √ −𝑥 124416 3 ( 𝑒𝑥 − 2) ( 𝑒𝑥 − 1) 𝑒−11𝑥 /2−6𝑒



1



3,0

in 𝑢 = 1 − 𝑥 , 𝑣 = 1 − 𝑦 : includes 2( 𝑢 − 𝑣) 𝜕𝑢 𝜕𝑣 𝑓 − 𝜕𝑢 𝑓 + 𝜕𝑣 𝑓 = 0

8

𝜋

2

 2 𝑥

4

– 0,0,0,0

– 0, 21 ,1

𝐹1 21 ; 12 , 1; 1; 𝑚, 𝑛











𝐹1 12 ; 12 , 12 ; 32 ; 1 − 𝑦, 1 − 𝑥 , Lauricella’s 𝐹 𝐷

3



x 3D 3

x 2D 3

2.00

D3

1.75

xD 3

1.50

x 3D 2

1.25 x

x 2D 2

1.00

D2

0.75

xD 2

0.50

10−20

x 3D

0.25

held out

xD

0.0

fit window 1 fit window 2 fit window 3

x 2D

0.2

1

largest of the other 13 entries: 6.4 × 10−22

x3 D

test function (1 − s2)3P2(s)

−1

10−10

x

0.4

x2

C x

()

0.6

9.8696044… = π2

100

1

0.8

(c) Null vector at support (3, 3)

|entry|, with the entry of xD 3 set to 1

(a) Windows and a test function

term xjD i of the operator

(b) Smallest singular value at each support

order 1

singular value of the scaled weak matrix

100

order 2

order 3

10−10 10−20

a drop of 23.3 orders of magnitude

smallest singular value second smallest singular value noise level of the smallest singular value

10−30

3)

(3,

2)

(3,

1)

(3,

0)

8)

(3,

7)

(2,

(2,

6)

(2,

5)

4)

(2,

3)

(2,

2)

(2,

1)

(2,

0)

(2,

8)

(2,

7)

(1,

6)

(1,

5)

(1,

4)

(1,

3)

(1,

2)

(1,

1)

(1,

(1,

(1,

0)

10−40

support (order of the operator, degree of its polynomial coefficients), in the order searched Figure 3: The search for the operator of the Fresnel integral 𝐶 ( 𝑥 ) from values at 40 digits. (a) 𝐶 ( 𝑥 ) on [0.2, 2] with the three fit windows, the held-out window and one of the test functions. (b) The smallest singular value of the scaled weak matrix (filled), the second smallest (hollow) and the noise level of the smallest (grey line) at each of the 22 supports visited. (c) The entries of the null vector at order 3 and degree 3, divided by the entry of 𝑥 𝐷3 .

4.3 Benchmarks We ran eight open symbolic-regression programs (PySR, Operon, Bingo, gplearn, RILS-ROLS, Flash-ANSR, E2E and TPSR) on the same float64 points as Vitrify Exact Learning, and PySR also with fourteen special functions added to its operations (Table S5). Figure 4 gives the overview and Table 3 the headline counts. Published suites. On the classic one-variable sets, the AI Feynman equations taken one variable at a time and in all their variables, and a pilot set of special functions, Vitrify Exact Learning recovers more targets than each other program (Table 3). These suites were in view during development, and the entry point for tables in several variables was written with them at hand. Of the 389 noise-free one-variable tables, PySR returned an expression for every table, 239 of them recovered and 42 that match inside the training range and fail beyond it. Vitrify Exact Learning returned 371 expressions, all recovered, and no model for the other 18. SRBench. Under SRBench’s protocol and scoring code [4], Vitrify Exact Learning solves 74.1% of the Feynman problems and all 14 Strogatz problems without noise, against published best rates of 55.8% and 29.5% (Figure 6). By agreement with the test rows to 10−9 the Feynman rate is 90.8%; the symbolic test does not reduce some square roots and exact constants to the form of the true model. With noise the rates fall to 0.9%, 0.9% and 0.0% at the three levels, where AI 9

recovered in closed form

Classic sets, 53 targets Vitrify Exact Learning (callable)

recovered only by continuing the certified operator

Feynman equations, one variable at a time, 254

Feynman equations, all variables, 120

(a)

(b)

(c)

n/a

n/a

n/a

Vitrify Exact Learning (fl oat64 table)

45

PySR + 14 functions n/a 33 PySR 26 Bingo 19 Flash-ANSR 25 RILS-ROLS 13 Operon 9 E2E 8 TPSR gplearn 3

n/a

n/a

64 48 69 67

103 104 92

54 43

67

11 14

0

Generated special functions, 132

Quantities from physics, statistics and geometry, 29 (e)

65 + 15

Vitrify Exact Learning (fl oat64 table)

Functions of two variables, 8 (f)

23 + 6

50

8

17 + 1

23 PySR + 14 functions 16 PySR 16 Bingo Flash-ANSR 11 RILS-ROLS 10 Operon 4 E2E 1 TPSR 0 gplearn 4

0

108

174 184 168

(d) Vitrify Exact Learning (callable)

251

0

0 0 1 0 0 0 0 0 0

50

100

0 0 0 0 0 0 0 0 0

0

50

100

0

50

100

share of the suite's targets recovered (%) Figure 4: Share of the targets of each suite that each program recovered, with the counts. The hatched part counts targets for which Vitrify Exact Learning returned a verified operator without a closed form and the continued solution of that operator passes the same test. The rows marked “callable” read the target at 40 digits, which the other programs cannot do; all other rows received the same float64 points. “n/a” marks a row that was not run on a suite.

Feynman keeps 33.1%, 13.0% and 0.7%. A generated set of special functions. To test on functions that the method was not developed on, we froze the learner and then drew 132 targets from a generator of 59 families of special functions, combined with rational parameters in nine shapes, in five tiers by the order of the operator that annihilates them (Figure 5). From float64 tables Vitrify Exact Learning recovers 50 of the 132, and PySR + 14 functions recovers 23. From callables Vitrify Exact Learning returns a closed form that passes for 65 targets and a verified operator whose continued solution passes for 15 more. In tiers A to C every expression that Vitrify Exact Learning recovered from a table satisfies the target’s own operator, while none of the recoveries of the programs without special functions does: theirs are approximants that hold over the tested range. The tier of order 5 to 8 is beyond the search bounds; three of its 36 targets are recovered from callables, all through two-term operators.

10

Table 3: Headline counts from noise-free float64 tables, with the best of the other programs. SRBench rows give the symbolic solution rate under SRBench’s protocol; the other rows are targets recovered. The published suites were in view during development; the generated set was drawn after the learner was frozen. Section S5 gives every suite. Suite

Classic sets at their published points, of 53 Feynman equations, one variable at a time, of 254 Feynman equations in all variables, of 120 Special functions, pilot set, of 31 SRBench Feynman, symbolic solution rate SRBench Strogatz, symbolic solution rate Generated special functions, of 132 Physical quantities, of 29 Functions of two variables, of 8 (callable for Vitrify Exact Learning)

Vitrify Exact Learning

Best other

Program

45 251

33 184

PySR Bingo

108 28 74.1% 100% 50 18 8

69 0 55.8% 29.5% 23 1 0

Flash-ANSR – AI Feynman (published) GP-GOMEA (published) PySR + 14 functions Bingo –

Physical quantities and two variables. The 29 quantities of the physical set are periods of anharmonic oscillators, lattice Green functions, densities of products of random variables, stable laws, the Voigt profile and elliptic integrals of an ellipsoid, chosen by the authors. All 29 receive a verified operator from callables, in 1.5 to 62.9 s, and 23 a closed form; from float64 tables 18 are recovered, and of the other programs only Bingo recovers one. The eight functions of two variables, all double hypergeometric series, come back verified from callables at 40 digits as Appell, Lauricella and Humbert functions; from 1000 float64 points neither Vitrify Exact Learning nor any other program recovers any of them.

5

Limits

Noise and sparse data. The method is built for values known well. Under SRBench’s noise levels it solves almost none of the Feynman problems, most of which have several variables, for which the method has no noise model. On the 25 observational data sets of SRBench’s 2025 edition it returned no expression. In one variable with noise of 10−3 on the generated set, PySR + 14 functions recovers 31 targets and Vitrify Exact Learning 27, and 60 of the 77 results that the learner graded fit do not extrapolate. Our test functions, three windows with Legendre polynomials of high degree, suit values known to many digits. Many low-order test functions translated across the interval, as in weak SINDy [31], or test functions constructed from the data [41] may behave better under noise; we have not tested this. Precision and search bounds. A float64 table determines operators of order 1 and 2 and some of order 3 and 4; the two-variable results need values to 40 digits. The search covers operators up to order 4 and degree 8, two-term operators up to order 6, and order 2 and degree 4 in a transported variable. The change of variable is selected from a bank, a fitted power and the caller’s maps, and the costs that rank the maps were set by hand. The solver. The solver is a set of rules. It has none for operators of Heun type, for second-order operators that need a change of variable to reach a hypergeometric form, or for solutions with complex exponents. For 15 of the 80 verified operators of the generated set and 6 of the 29 of the physical set it found no closed form, and ore_algebra’s factorisation did not supply one (Section S7). 11

share of the tier's targets recovered (%)

Vitrify Exact Learning (callable), in closed form the same, only by continuing the certified operator Vitrify Exact Learning (float64 table)

100 75

PySR + 14 functions PySR Bingo

Flash-ANSR RILS-ROLS Operon

gplearn E2E TPSR

28 + 7

11

20 + 8

26

8

6 6

50 25

10

3 6

3 6 3

0

0

E: elementary 12 targets

A: operator of order 1–2 36 targets

B: order 3–4 36 targets

2

C: order 5–8 36 targets

N: no operator in x 12 targets

Figure 5: The generated set: share of each tier’s targets recovered, with the counts for Vitrify Exact Learning and for PySR + 14 functions. The hatched part counts targets for which only the continued solution of the verified operator passes the test.

What verified means. The grade is the outcome of a numerical test on held-out data on the same interval, which is weaker than a proof. In the runs of this paper one float64 table, the body-centred cubic lattice, received a false verified certificate with two fitted parameters; two Feynman slices were returned as the positive square root of an exact rational function, which is exact on the data and loses the sign beyond a point that the data do not reach; and five conjectures with fitted constants are wrong, one inside the range of its data and four beyond it. Section S6 lists these and the limits of the comparison.

6

Conclusion

Vitrify Exact Learning assumes that a function satisfies a linear differential equation with polynomial coefficients in some variable, finds that equation as the null vector of a matrix of weak-form measurements, makes it exact, tests it on held-out data, and solves it symbolically. On accurate values it returned results that the tree searches compared here did not: special functions generated after its code was frozen, Meijer 𝐺 densities, hypergeometric forms for periods and for the deflection of light, and Appell and Lauricella functions of two variables. With noise in several variables, with few points and with observed data, symbolic regression remains the better tool. Exact learning is for numbers that are known well: integrals evaluated by quadrature, sums of series, solutions computed to many digits, exact sequences and moments. Several extensions follow from the limits. The solver needs rules for operators of Heun type, which would give closed forms for lattice Green functions and for wavefunctions of anharmonic wells; a computer-algebra system such as ore_algebra could serve as an optional back end for factorisation and for continuation with certified error bounds. Test functions designed for noise, and an error model for tables in several variables, may extend the method to measured data. The change of variable is selected from a bank, and a scored search over maps would enlarge the class. The ansatz is linear in the function. An ansatz that is polynomial in the function and its derivatives keeps step 2 linear in the unknown coefficients and would reach nonlinear equations such as those of the Painlevé transcendents. Products of derivatives cannot all be moved onto the test functions, so the weak form needs more care there, and the unknowns and the solver grow accordingly.

12

Feynman, no noise 74.1

55.8 AIFeynman 27.0 AFP_FE 26.8 GP-GOMEA 22.4 ITEA 21.1 AFP 19.7 DSR 16.6 Operon 16.3 gplearn SBP-GP 12.7 EPLEX 12.4 BSR 2.5 FEAT 0.0 FFX 0.0 MRGP 0.0

0

50

(b)

Strogatz, no noise

Vitrify Exact Learning

100.0

symbolic solution rate (%)

0

50

(c)

Feynman, by noise level

Vitrify Exact Learning

70

29.5 GP-GOMEA 27.1 AIFeynman 20.0 AFP_FE 19.6 DSR 15.2 AFP 11.6 SBP-GP Operon 11.4 EPLEX 8.9 gplearn 8.9 ITEA 7.1 BSR 0.9 FEAT 0.9 FFX 0.0 MRGP 0.0

100

80

symbolic solution rate (%)

(a) Vitrify Exact Learning

60 50 40 30 DSR gplearn AFP_FE GP-GOMEA AIFeynman Operon

20 10 0

100

symbolic solution rate (%)

0

0.001 0.01

0.1

noise level (standard deviation of the noise / rms of the target)

Figure 6: SRBench, problems with known answers. (a) Symbolic solution rate on the Feynman problems without noise for Vitrify Exact Learning and the 14 published methods. (b) The same on the Strogatz problems. (c) The rate on the Feynman problems against the noise level.

Code and data. Every figure and table is generated from recorded runs by scripts kept with the source, which assert the counts that the text quotes. The learner will be available as a tool on the Vitrify Labs server for the Model Context Protocol (MCP), https://mcp.vitrify.ai/mcp, and free credits are given on registration. A basic version of the code will be released on the Vitrify Labs GitHub, as the repository Exact Learning, upon publication in a peer-reviewed journal; the advanced features will remain on the MCP server. The code of the earlier Mellin-transform method is public [13].

13

References [1] John R. Koza. Genetic Programming: On the Programming of Computers by Means of Natural Selection. MIT Press, Cambridge, MA, 1992. [2] Michael Schmidt and Hod Lipson. Distilling free-form natural laws from experimental data. Science, 324(5923):81–85, 2009. doi: 10.1126/science.1165893. [3] Miles Cranmer. Interpretable machine learning for science with PySR and SymbolicRegression.jl. arXiv:2305.01582, 2023. [4] William La Cava, Patryk Orzechowski, Bogdan Burlacu, Fabrício Olivetti de França, Marco Virgolin, Ying Jin, Michael Kommenda, and Jason H. Moore. Contemporary symbolic regression methods and their relative performance. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1, 2021. arXiv:2107.14351. [5] Marco Virgolin and Solon P. Pissis. Symbolic regression is NP-hard. Transactions on Machine Learning Research, 2022. arXiv:2207.01018. [6] Frank W. J. Olver, Daniel W. Lozier, Ronald F. Boisvert, and Charles W. Clark, editors. NIST Handbook of Mathematical Functions. Cambridge University Press, Cambridge, 2010. [7] DLMF. NIST digital library of mathematical functions. https://dlmf.nist.gov/, Release 1.2.8 of 2026-09-15, 2026. F. W. J. Olver, A. B. Olde Daalhuis, D. W. Lozier, B. I. Schneider, R. F. Boisvert, C. W. Clark, B. R. Miller, B. V. Saunders, H. S. Cohl and M. A. McClain, eds. [8] Richard P. Stanley. Differentiably finite power series. European Journal of Combinatorics, 1(2):175–188, 1980. doi: 10.1016/S0195-6698(80)80051-5. [9] Doron Zeilberger. A holonomic systems approach to special functions identities. Journal of Computational and Applied Mathematics, 32(3):321–368, 1990. doi: 10.1016/ 0377-0427(90)90042-X. [10] Manuel Kauers. D-Finite Functions. Algorithms and Computation in Mathematics. Springer, Cham, 2023. doi: 10.1007/978-3-031-34652-1. [11] Benedict W. J. Irwin. A natural representation of functions that facilitates ‘exact learning’. SSRN preprint, 2020. doi: 10.2139/ssrn.3596606. [12] Benedict W. J. Irwin. A natural representation of functions for exact learning. Research Square preprint, 2021. doi: 10.21203/rs.3.rs-149856/v1. [13] Benedict W. J. Irwin. ExactLearning: algorithms to exactly learn analytic functions given numerical data. https://github.com/BenedictIrwin/ExactLearning, 2020– 2023. Code and notes; accessed 22 November 2026. [14] The mpmath development team. mpmath: a Python library for arbitrary-precision floating-point arithmetic. https://mpmath.org/, 2023. Version 1.3.0. [15] 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. [16] Helaman Ferguson, David H. Bailey, and Steve Arno. Analysis of PSLQ, an integer relation finding algorithm. Mathematics of Computation, 68(225):351–369, 1999. doi: 10.1090/ S0025-5718-99-00995-3. [17] P. Appell and J. Kampé de Fériet. Fonctions hypergéométriques et hypersphériques: Polynomes d’Hermite. Gauthier-Villars, Paris, 1926. 14

[18] G. Lauricella. Sulle funzioni ipergeometriche a più variabili. Rendiconti del Circolo Matematico di Palermo, 7(S1):111–158, 1893. doi: 10.1007/BF03012437. [19] Kelly Roach. Hypergeometric function representations. In Proceedings of the 1996 International Symposium on Symbolic and Algebraic Computation, pages 301–308. ACM, 1996. doi: 10.1145/236869.237088. [20] Joris van der Hoeven. Fast evaluation of holonomic functions. Theoretical Computer Science, 210(1):199–215, 1999. doi: 10.1016/S0304-3975(98)00102-9. [21] Marc Mezzarobba. NumGfun: a package for numerical and analytic computation with D-finite functions. In Proceedings of the 2010 International Symposium on Symbolic and Algebraic Computation, pages 139–145. ACM, 2010. doi: 10.1145/1837934.1837965. [22] Harold Hotelling. The generalization of Student’s ratio. The Annals of Mathematical Statistics, 2(3):360–378, 1931. doi: 10.1214/aoms/1177732979. [23] Karl Pearson. Contributions to the mathematical theory of evolution. II. Skew variation in homogeneous material. Philosophical Transactions of the Royal Society of London (A), 186: 343–414, 1895. doi: 10.1098/rsta.1895.0010. [24] Marvin Shinbrot. On the analysis of linear and nonlinear systems. Transactions of the American Society of Mechanical Engineers, 79(3):547–551, 1957. doi: 10.1115/1.4013092. [25] Allan E. Pearson and F. C. Lee. Parameter identification of linear differential systems via Fourier based modulating functions. Control-Theory and Advanced Technology, 1(4): 239–266, 1985. [26] H. A. Preisig and D. W. T. Rippin. Theory and application of the modulating function method—I. Review and theory of the method and theory of the spline-type modulating functions. Computers & Chemical Engineering, 17(1):1–16, 1993. doi: 10.1016/ 0098-1354(93)80001-4. [27] Steven L. Brunton, Joshua L. Proctor, and J. Nathan Kutz. Discovering governing equations from data by sparse identification of nonlinear dynamical systems. Proceedings of the National Academy of Sciences, 113(15):3932–3937, 2016. doi: 10.1073/pnas. 1517384113. [28] Niall M. Mangan, Steven L. Brunton, Joshua L. Proctor, and J. Nathan Kutz. Inferring biological networks by sparse identification of nonlinear dynamics. IEEE Transactions on Molecular, Biological and Multi-Scale Communications, 2(1):52–63, 2016. doi: 10.1109/ TMBMC.2016.2633265. [29] Kadierdan Kaheman, J. Nathan Kutz, and Steven L. Brunton. SINDy-PI: a robust algorithm for parallel implicit sparse identification of nonlinear dynamics. Proceedings of the Royal Society A, 476(2242):20200279, 2020. doi: 10.1098/rspa.2020.0279. [30] Daniel A. Messenger and David M. Bortz. Weak SINDy: Galerkin-based data-driven model selection. Multiscale Modeling & Simulation, 19(3):1474–1497, 2021. doi: 10.1137/ 20M1343166. [31] Daniel A. Messenger and David M. Bortz. Weak SINDy for partial differential equations. Journal of Computational Physics, 443:110525, 2021. doi: 10.1016/j.jcp.2021.110525. [32] David M. Bortz, Daniel A. Messenger, and Vanja Dukic. Direct estimation of parameters in ODE models using WENDy: Weak-form estimation of nonlinear dynamics. Bulletin of Mathematical Biology, 85(11):110, 2023. doi: 10.1007/s11538-023-01208-6. 15

[33] Dmitry Batenkov. Moment inversion problem for piecewise D-finite functions. Inverse Problems, 25(10):105001, 2009. doi: 10.1088/0266-5611/25/10/105001. [34] Bruno Salvy and Paul Zimmermann. GFUN: a Maple package for the manipulation of generating and holonomic functions in one variable. ACM Transactions on Mathematical Software, 20(2):163–177, 1994. doi: 10.1145/178365.178368. [35] Manuel Kauers, Maximilian Jaroschek, and Fredrik Johansson. Ore polynomials in Sage. In Jaime Gutierrez, Josef Schicho, and Martin Weimann, editors, Computer Algebra and Polynomials: Applications of Algebra and Number Theory, Lecture Notes in Computer Science, pages 105–125. Springer, Cham, 2015. doi: 10.1007/978-3-319-15081-9_6. [36] Manuel Kauers and Christoph Koutschan. Guessing with little data. In Proceedings of the 2022 International Symposium on Symbolic and Algebraic Computation, pages 83–90. ACM, 2022. doi: 10.1145/3476446.3535486. [37] A. J. Guttmann and G. S. Joyce. On a new method of series analysis in lattice statistics. Journal of Physics A: General Physics, 5(9):L81–L84, 1972. doi: 10.1088/0305-4470/5/ 9/001. [38] David H. Bailey and David J. Broadhurst. Parallel integer relation detection: Techniques and applications. Mathematics of Computation, 70(236):1719–1736, 2001. doi: 10.1090/ S0025-5718-00-01278-3. [39] David H. Bailey, Jonathan M. Borwein, David Broadhurst, and M. L. Glasser. Elliptic integral evaluations of Bessel moments and applications. Journal of Physics A: Mathematical and Theoretical, 41(20):205203, 2008. doi: 10.1088/1751-8113/41/20/205203. [40] Ahmed M. Alaa and Mihaela van der Schaar. Demystifying black-box models with symbolic metamodels. In Advances in Neural Information Processing Systems, volume 32, 2019. [41] April Tran and David M. Bortz. Weak form scientific machine learning: Test function construction for system identification. SIAM Journal on Scientific Computing, 48(4):C890– C915, 2026. doi: 10.1137/25M1776020. [42] Stéphane d’Ascoli, Pierre-Alexandre Kamienny, Guillaume Lample, and François Charton. Deep symbolic regression for recurrent sequences. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 4520–4536, 2022. [43] Jerald J. Kovacic. An algorithm for solving second order linear homogeneous differential equations. Journal of Symbolic Computation, 2(1):3–43, 1986. doi: 10.1016/ S0747-7171(86)80010-4. [44] Erdal Imamoglu and Mark van Hoeij. Computing hypergeometric solutions of second order linear differential equations using quotients of formal solutions and integral bases. Journal of Symbolic Computation, 83:254–271, 2017. doi: 10.1016/j.jsc.2016.11.014. [45] Kelly Roach. Meijer 𝐺 function representations. In Proceedings of the 1997 International Symposium on Symbolic and Algebraic Computation, pages 205–211. ACM, 1997. doi: 10.1145/258726.258784. [46] Frédéric Chyzak, Alexandre Goyer, and Marc Mezzarobba. Symbolic-numeric factorization of differential operators. In Proceedings of the 2022 International Symposium on Symbolic and Algebraic Computation, pages 73–82. ACM, 2022. doi: 10.1145/3476446. 3535503. 16

[47] Marc Mezzarobba. Rigorous multiple-precision evaluation of D-finite functions in SageMath. arXiv:1607.01967, 2016. [48] D. M. Soumpasis. Theoretical analysis of fluorescence photobleaching recovery experiments. Biophysical Journal, 41(1):95–97, 1983. doi: 10.1016/S0006-3495(83)84410-5. [49] Bogdan Burlacu, Gabriel Kronberger, and Michael Kommenda. Operon C++: an efficient genetic programming framework for symbolic regression. In Proceedings of the 2020 Genetic and Evolutionary Computation Conference Companion, pages 1562–1570. ACM, 2020. doi: 10.1145/3377929.3398099. [50] David L. Randall, Tyler S. Townsend, Jacob D. Hochhalter, and Geoffrey F. Bomarito. Bingo: a customizable framework for symbolic regression with genetic programming. In Proceedings of the Genetic and Evolutionary Computation Conference Companion, pages 2282–2288. ACM, 2022. doi: 10.1145/3520304.3534031. [51] Trevor Stephens. gplearn: Genetic programming in Python, with a scikit-learn inspired API. https://github.com/trevorstephens/gplearn, 2026. Version 0.4.3. [52] Michael Kommenda, Bogdan Burlacu, Gabriel Kronberger, and Michael Affenzeller. Parameter identification for symbolic regression using nonlinear least squares. Genetic Programming and Evolvable Machines, 21(3):471–501, 2020. doi: 10.1007/ s10710-019-09371-3. [53] Aleksandar Kartelj and Marko Djukanović. RILS-ROLS: robust symbolic regression via iterated local search and ordinary least squares. Journal of Big Data, 10:71, 2023. doi: 10.1186/s40537-023-00743-2. [54] Brenden K. Petersen, Mikel Landajuela, T. Nathan Mundhenk, Claudio P. Santiago, Soo K. Kim, and Joanne T. Kim. Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients. In International Conference on Learning Representations, 2021. arXiv:1912.04871. [55] Luca Biggio, Tommaso Bendinelli, Alexander Neitz, Aurelien Lucchi, and Giambattista Parascandolo. Neural symbolic regression that scales. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 936–945, 2021. arXiv:2106.06427. [56] Pierre-Alexandre Kamienny, Stéphane d’Ascoli, Guillaume Lample, and François Charton. End-to-end symbolic regression with transformers. In Advances in Neural Information Processing Systems, volume 35, pages 10269–10281, 2022. doi: 10.52202/068431-0746. [57] Parshin Shojaee, Kazem Meidani, Amir Barati Farimani, and Chandan K. Reddy. Transformer-based planning for symbolic regression. In Advances in Neural Information Processing Systems, volume 36, pages 45907–45919, 2023. doi: 10.52202/075280-1990. [58] Paul Saegert and Ullrich Köthe. Breaking the simplification bottleneck in amortized neural symbolic regression. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 106762–106793, 2026. arXiv:2602.08885. [59] Silviu-Marian Udrescu and Max Tegmark. AI Feynman: A physics-inspired method for symbolic regression. Science Advances, 6(16):eaay2631, 2020. doi: 10.1126/sciadv. aay2631.

17

[60] Silviu-Marian Udrescu, Andrew Tan, Jiahai Feng, Orisvaldo Neto, Tailin Wu, and Max Tegmark. AI Feynman 2.0: Pareto-optimal symbolic regression exploiting graph modularity. In Advances in Neural Information Processing Systems, volume 33, pages 4860–4871, 2020. arXiv:2006.10782. [61] Arya Grayeli, Atharva Sehgal, Omar Costilla-Reyes, Miles Cranmer, and Swarat Chaudhuri. Symbolic regression with a learned concept library. In Advances in Neural Information Processing Systems, volume 37, pages 44678–44709, 2024. doi: 10.52202/ 079017-1419. [62] Parshin Shojaee, Kazem Meidani, Shashank Gupta, Amir Barati Farimani, and Chandan K. Reddy. LLM-SR: Scientific equation discovery via programming with large language models. In International Conference on Learning Representations, 2025. arXiv:2404.18400. [63] Parshin Shojaee, Ngoc-Hieu Nguyen, Kazem Meidani, Amir Barati Farimani, Khoa D. Doan, and Chandan K. Reddy. LLM-SRBench: A new benchmark for scientific equation discovery with large language models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 55325–55359, 2025. arXiv:2504.10415. [64] Nour Makke and Sanjay Chawla. Interpretable scientific discovery with symbolic regression: a review. Artificial Intelligence Review, 57:2, 2024. doi: 10.1007/ s10462-023-10622-0. [65] Nguyen Quang Uy, Nguyen Xuan Hoai, Michael O’Neill, R. I. McKay, and Edgar GalvánLópez. Semantically-based crossover in genetic programming: application to real-valued symbolic regression. Genetic Programming and Evolvable Machines, 12(2):91–119, 2011. doi: 10.1007/s10710-010-9121-2. [66] Maarten Keijzer. Improving symbolic regression with interval arithmetic and linear scaling. In Genetic Programming, Lecture Notes in Computer Science, pages 70–82. Springer, Berlin, Heidelberg, 2003. doi: 10.1007/3-540-36599-0_7. [67] William La Cava, Kourosh Danai, and Lee Spector. Inference of compact nonlinear dynamic models by epigenetic local search. Engineering Applications of Artificial Intelligence, 55:292–306, 2016. doi: 10.1016/j.engappai.2016.07.004. [68] Randal S. Olson, William La Cava, Patryk Orzechowski, Ryan J. Urbanowicz, and Jason H. Moore. PMLB: a large benchmark suite for machine learning evaluation and comparison. BioData Mining, 10:36, 2017. doi: 10.1186/s13040-017-0154-4. [69] Joseph D. Romano, Trang T. Le, William La Cava, John T. Gregg, Daniel J. Goldberg, Praneel Chakraborty, Natasha L. Ray, Daniel Himmelstein, Weixuan Fu, and Jason H. Moore. PMLB v1.0: an open-source dataset collection for benchmarking machine learning methods. Bioinformatics, 38(3):878–880, 2022. doi: 10.1093/bioinformatics/btab727. [70] Guilherme Seidyo Imai Aldeia, Hengzhe Zhang, Geoffrey Bomarito, Miles Cranmer, Alcides Fonseca, Bogdan Burlacu, William G. La Cava, and Fabrício Olivetti de França. Call for action: towards the next generation of symbolic regression benchmark. In Proceedings of the Genetic and Evolutionary Computation Conference Companion, pages 2529–2538. ACM, 2025. doi: 10.1145/3712255.3734309. [71] Stéphane d’Ascoli, Sören Becker, Alexander Mathis, Philippe Schwaller, and Niki Kilbertus. ODEFormer: Symbolic regression of dynamical systems with transformers. In International Conference on Learning Representations, 2024. arXiv:2310.05573. 18

[72] Arthur Erdélyi, Wilhelm Magnus, Fritz Oberhettinger, and Francesco G. Tricomi. Higher Transcendental Functions, volume 1. McGraw-Hill, New York, 1953. [73] C. S. Meijer. Über Whittakersche bzw. Besselsche Funktionen und deren Produkte. Nieuw Archief voor Wiskunde. Tweede Serie, 18(4):10–39, 1936. [74] Richard Beals and Jacek Szmigielski. Meijer 𝐺 -functions: A gentle introduction. Notices of the American Mathematical Society, 60:866–872, 2013. doi: 10.1090/noti1016. [75] Charles Fox. The 𝐺 and 𝐻 functions as symmetrical Fourier kernels. Transactions of the American Mathematical Society, 98(3):395–429, 1961. doi: 10.1090/ S0002-9947-1961-0131578-3. [76] A. M. Mathai, Ram Kishore Saxena, and Hans J. Haubold. The 𝐻 -Function: Theory and Applications. Springer, New York, 2010. doi: 10.1007/978-1-4419-0916-9. [77] L. Lipshitz. D-finite power series. Journal of Algebra, 122(2):353–373, 1989. doi: 10. 1016/0021-8693(89)90222-6. [78] Manuel Kauers and Peter Paule. The Concrete Tetrahedron: Symbolic Sums, Recurrence Equations, Generating Functions, Asymptotic Estimates. Texts and Monographs in Symbolic Computation. Springer, Vienna, 2011. doi: 10.1007/978-3-7091-0445-3. [79] Marko Petkovšek, Herbert S. Wilf, and Doron Zeilberger. 𝐴 = 𝐵. A K Peters, Wellesley, MA, 1996. [80] Frédéric Chyzak. An extension of Zeilberger’s fast algorithm to general holonomic functions. Discrete Mathematics, 217(1–3):115–134, 2000. doi: 10.1016/S0012-365X(99) 00259-9. [81] Christoph Koutschan. Holonomic functions in Mathematica. ACM Communications in Computer Algebra, 47(3/4):179–182, 2014. doi: 10.1145/2576802.2576831. [82] Hiromasa Nakayama, Kenta Nishiyama, Masayuki Noro, Katsuyoshi Ohara, Tomonari Sei, Nobuki Takayama, and Akimichi Takemura. Holonomic gradient descent and its application to the Fisher–Bingham integral. Advances in Applied Mathematics, 47(3):639–658, 2011. doi: 10.1016/j.aam.2011.03.001. [83] A. K. Lenstra, H. W. Lenstra, and L. Lovász. Factoring polynomials with rational coefficients. Mathematische Annalen, 261(4):515–534, 1982. doi: 10.1007/BF01457454. [84] Gal Raayoni, Shahar Gottlieb, Yahel Manor, George Pisha, Yoav Harris, Uri Mendlovic, Doron Haviv, Yaron Hadad, and Ido Kaminer. Generating conjectures on fundamental constants with the Ramanujan Machine. Nature, 590(7844):67–73, 2021. doi: 10.1038/ s41586-021-03229-4. [85] Ruben Debeerst, Mark van Hoeij, and Wolfram Koepf. Solving differential equations in terms of Bessel functions. In Proceedings of the Twenty-first International Symposium on Symbolic and Algebraic Computation, pages 39–46. ACM, 2008. doi: 10.1145/1390768. 1390777. [86] Philippe Flajolet, Xavier Gourdon, and Philippe Dumas. Mellin transforms and asymptotics: Harmonic sums. Theoretical Computer Science, 144(1–2):3–58, 1995. doi: 10.1016/0304-3975(95)00002-E. [87] Tewodros Amdeberhan, Olivier Espinosa, Ivan Gonzalez, Marshall Harrison, Victor H. Moll, and Armin Straub. Ramanujan’s Master Theorem. The Ramanujan Journal, 29 (1–3):103–120, 2012. doi: 10.1007/s11139-011-9333-y. 19

[88] Gery Geenens. Mellin–Meijer kernel density estimation on ℝ+ . Annals of the Institute of Statistical Mathematics, 73(5):953–977, 2021. doi: 10.1007/s10463-020-00772-1. arXiv:1707.04301. [89] Charles R. Harris, K. Jarrod Millman, Stéfan J. van der Walt, et al. Array programming with NumPy. Nature, 585(7825):357–362, 2020. doi: 10.1038/s41586-020-2649-2. [90] Pauli Virtanen, Ralf Gommers, Travis E. Oliphant, et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3):261–272, 2020. doi: 10.1038/s41592-019-0686-2. [91] A. Ronveaux, editor. Heun’s Differential Equations. Oxford University Press, Oxford, 1995. doi: 10.1093/oso/9780198596950.001.0001. [92] H. M. Srivastava and Per W. Karlsson. Multiple Gaussian Hypergeometric Series. Ellis Horwood, Chichester, 1985. [93] S. O. Rice. Mathematical analysis of random noise. Bell System Technical Journal, 23(3): 282–332, 1944. doi: 10.1002/j.1538-7305.1944.tb00874.x. [94] S. O. Rice. Mathematical analysis of random noise. Bell System Technical Journal, 24(1): 46–156, 1945. doi: 10.1002/j.1538-7305.1945.tb00453.x. [95] Philip M. Morse. Diatomic molecules according to the wave mechanics. II. Vibrational levels. Physical Review, 34(1):57–64, 1929. doi: 10.1103/PhysRev.34.57. [96] G. Pöschl and E. Teller. Bemerkungen zur Quantenmechanik des anharmonischen Oszillators. Zeitschrift für Physik, 83(3–4):143–151, 1933. doi: 10.1007/BF01331132. [97] L. D. Landau and E. M. Lifshitz. Quantum Mechanics: Non-Relativistic Theory. Pergamon Press, Oxford, 3rd edition, 1977. doi: 10.1016/C2013-0-02793-4. [98] R. L. Gibbs. The quantum bouncer. American Journal of Physics, 43(1):25–28, 1975. doi: 10.1119/1.10024. [99] M. F. Crommie, C. P. Lutz, and D. M. Eigler. Confinement of electrons to quantum corrals on a metal surface. Science, 262(5131):218–220, 1993. doi: 10.1126/science.262.5131. 218. [100] D. Axelrod, D. E. Koppel, J. Schlessinger, E. Elson, and W. W. Webb. Mobility measurement by analysis of fluorescence photobleaching recovery kinetics. Biophysical Journal, 16(9): 1055–1069, 1976. doi: 10.1016/S0006-3495(76)85755-4. [101] M. D. Springer and W. E. Thompson. The distribution of products of beta, gamma and Gaussian random variables. SIAM Journal on Applied Mathematics, 18(4):721–737, 1970. doi: 10.1137/0118065. [102] Charles Galton Darwin. The gravity field of a particle. Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences, 249(1257):180–194, 1959. doi: 10.1098/rspa.1959.0015. [103] B. C. Carlson. Special Functions of Applied Mathematics. Academic Press, New York, 1977. [104] B. C. Carlson. Numerical computation of real or complex elliptic integrals. Numerical Algorithms, 10:13–26, 1995. doi: 10.1007/BF02198293. arXiv:math/9409227.

20

[105] G. S. Joyce. On the simple cubic lattice Green function. Philosophical Transactions of the Royal Society of London. Series A, Mathematical and Physical Sciences, 273(1236):583–610, 1973. doi: 10.1098/rsta.1973.0018. [106] Anthony J. Guttmann. Lattice Green’s functions in all dimensions. Journal of Physics A: Mathematical and Theoretical, 43(30):305205, 2010. doi: 10.1088/1751-8113/43/30/ 305205. arXiv:1004.1435. [107] S. S. Wilks. Certain generalizations in the analysis of variance. Biometrika, 24(3–4): 471–494, 1932. doi: 10.1093/biomet/24.3-4.471. [108] E. Jakeman and P. Pusey. A model for non-Rayleigh sea echo. IEEE Transactions on Antennas and Propagation, 24(6):806–814, 1976. doi: 10.1109/TAP.1976.1141451. [109] K. A. Penson and K. Górska. Exact and explicit probability densities for one-sided Lévy stable distributions. Physical Review Letters, 105(21):210604, 2010. doi: 10.1103/ PhysRevLett.105.210604. arXiv:1007.0193. [110] W. R. Schneider. Stable distributions: Fox function representation and generalization. In S. Albeverio, G. Casati, and D. Merlini, editors, Stochastic Processes in Classical and Quantum Systems, volume 262 of Lecture Notes in Physics, pages 497–511. Springer, Berlin, Heidelberg, 1986. doi: 10.1007/3540171665\_92. [111] J. Holtsmark. Über die Verbreiterung von Spektrallinien. Annalen der Physik, 363(7): 577–630, 1919. doi: 10.1002/andp.19193630702. [112] S. Chandrasekhar. Stochastic problems in physics and astronomy. Reviews of Modern Physics, 15(1):1–89, 1943. doi: 10.1103/RevModPhys.15.1. [113] H. J. Haubold, A. M. Mathai, and R. K. Saxena. Mittag-Leffler functions and their applications. Journal of Applied Mathematics, 2011:298628, 2011. doi: 10.1155/2011/298628. arXiv:0909.0230. [114] Francesco Mainardi, Antonio Mura, and Gianni Pagnini. The 𝑀 -Wright function in timefractional diffusion processes: A tutorial survey. International Journal of Differential Equations, 2010:104505, 2010. doi: 10.1155/2010/104505. arXiv:1004.2950. [115] B. H. Armstrong. Spectrum line profiles: The Voigt function. Journal of Quantitative Spectroscopy and Radiative Transfer, 7(1):61–88, 1967. doi: 10.1016/0022-4073(67) 90057-X. [116] J. A. Osborn. Demagnetizing factors of the general ellipsoid. Physical Review, 67(11–12): 351–357, 1945. doi: 10.1103/PhysRev.67.351. [117] W. Gordon. Zur Berechnung der Matrizen beim Wasserstoffatom. Annalen der Physik, 394 (8):1031–1056, 1929. doi: 10.1002/andp.19293940807.

21

Supplementary Information Vitrify Exact Learning: exact differential equations, changes of variable and closed forms from numerical data Benedict W. J. Irwin, Alex Mathiasen and Tom Etminan, Vitrify Labs This Supplementary Information gives the method of the main text in full (Sections S1 to S2.11), the worked example on the Fresnel integral (Section S3), the examples in detail (Section S4), every benchmark with its protocol (Section S5), the limits in detail (Section S6), a check of the operators without a closed form with the computer-algebra package ore_algebra (Section S7), and the tables target by target (Sections S8 to S14). Figures, tables and equations without the prefix S are those of the main text; the references are those of the main text.

S1

Background and related work

S1.1

Symbolic regression

Symbolic regression looks for an expression 𝑔 with 𝑔 ( 𝑥 𝑘 ) ≈ 𝑓𝑘 on given points, among the expressions that can be built from a set of operations. In genetic programming [1] a population of expression trees is mutated and recombined and the fittest trees survive; Schmidt and Lipson used it to recover conservation laws from motion-tracking data [2]. Current programs of this kind, among them PySR [3], Operon [49], Bingo [50] and gplearn [51], differ in how they keep the population diverse and in how they fit the constants of a tree, for which nonlinear least squares is now common [52]. They report a front of formulas, the best fit found at each size. RILS-ROLS [53] replaces the population by an iterated local search with ordinary least squares for the constants. Figure S1 shows one such search on a standard test function. A second family proposes formulas with a neural network. Deep symbolic regression trains a recurrent network by a risk-seeking policy gradient to emit good trees for one data set [54]. Pretrained transformers map a set of points to a formula in one pass after training on millions of synthetic formulas [55, 56]; TPSR adds a Monte-Carlo tree search over the decoder of such a model [57], and Flash-ANSR samples and refines many candidate formulas from one [58]. AI Feynman combines a neural-network fit with tests for units, symmetries and separability that split a problem in several variables into smaller ones [59, 60]. Recent work guides the search with a large language model [61, 62]. The authors of the second paper argue that results of language models on the textbook equations are partly recitation of known formulas, and a later benchmark was built to prevent it [63]. A recent review covers the field [64]. The standard test sets are small formulas over elementary operations: the Nguyen and Keijzer functions [65, 66], the 100 equations of the Feynman Lectures with 20 harder ones [59], and the Strogatz systems of two-state dynamics [67]. SRBench runs many methods on the last two through the Penn Machine Learning Benchmarks [68, 69] with one protocol and one scoring code [4], and its 2025 edition adds observational data sets [70]. Two properties of this formulation matter here. The search space grows combinatorially with the size of the tree, and the problem is NP-hard [5]. And the answer must be a finite tree over the chosen operations. A special function can be added to the operations, as we do for one baseline in Section S5, but then every function that might occur has to be supplied in advance, and with rational parameters, as in 𝐾1/4 ( 𝑥 ) or 2 𝐹1 (2/5, 4/3; 3/4; 𝑥 ), there are infinitely many. A separate line of work identifies the equations of motion of a dynamical system from a trajectory. SINDy selects a sparse set of terms from a library of candidate right-hand sides [27]; its weak form integrates the trajectory against test functions in place of differentiating it [30], an idea that goes back to the modulating functions of Shinbrot [24]; ODEFormer does the task with a pretrained transformer [71]. We use the same weak form for a different purpose. The equation sought here is linear in the function, its coefficients are polynomials in the independent 22

(a) Formulas of the front

20 data points target sin(x2)cos(x) − 1

size 1 size 7 size 4 size 9, on the target

−1.0

−0.5

0.0

0.5

1.0

loss: mean squared error on the 20 points

y: data, target and formulas

−0.4 −0.5 −0.6 −0.7 −0.8 −0.9 −1.0

(b) Loss against size

100

−0.779

10−8

0.0717 − cos(x)

−0.952cos(1.11x) −1.00cos(sin(1.51x))

10−16 10−24

sin(x2)cos(x) − 1.00

10−32 1

4

6

7

9

size of the formula (nodes of its expression tree)

x

Figure S1: A symbolic-regression search that succeeds. PySR on the 20 published points of the benchmark function Nguyen-5, sin( 𝑥 2 ) cos 𝑥 − 1 on [−1, 1]. (a) The points, the target and the best formulas of sizes 1, 4, 7 and 9; the formula of size 9 lies on the target. (b) The recorded loss of the best formula at each size, with the formulas. The point of size 6 is hollow because panel (a) omits it. The search took 28.0 s.

variable with exact numbers in them, and it serves as a finite description of one function, from which a closed form is then derived.

S1.2

Holonomic functions

A function 𝑓 of one variable is holonomic, or D-finite, when it satisfies 𝐿 𝑓 = 0,

𝐿=

𝑟 Õ

𝑝𝑖 ( 𝑥 ) 𝐷 𝑖 ,

𝑖=0

𝐷=

d , d𝑥

(S1)

with polynomials 𝑝𝑖 that are not all zero [8, 9]. We call 𝑟 the order of the operator 𝐿 and the largest degree of the 𝑝𝑖 its degree, and we say that 𝐿 annihilates 𝑓 . The class contains the algebraic functions, the exponential, logarithm, sine and cosine, and most of the special functions of a handbook [6, 7, 72]: the error function, Bessel and Airy functions, the complete elliptic integrals, the incomplete ones as functions of the modulus or of the sine of the amplitude, the orthogonal polynomials, the generalised hypergeometric functions 𝑝 𝐹𝑞 and Meijer’s 𝐺 -function [73, 74]. Fox’s 𝐻 -function [75, 76] belongs to it when its parameters are rational, since it is then a 𝐺 -function of a power of its argument. The class is closed under addition, multiplication, differentiation, integration and composition with algebraic functions, and an operator for the result can be computed from the operators of the parts [8, 10, 77, 78]. A function is holonomic exactly when its Taylor coefficients satisfy a linear recurrence with polynomial coefficients, which carries the definition over to sequences [79]. An operator together with finitely many initial values is therefore an exact, finite data structure for a function. Zeilberger’s holonomic systems approach proves identities between special functions by computing with these data structures [9, 80, 81], and the solution of an operator can be evaluated to any precision anywhere on its Riemann surface by analytic continuation of its Taylor series [20, 21]. For several variables the corresponding object is a system of partial differential operators whose solution space has finite dimension. The holonomic gradient method uses such a system to evaluate and to maximise a likelihood numerically [82]. That is the forward direction, from a known system to numbers; this paper is about the inverse. Some common functions are outside the class. The gamma function satisfies no algebraic differential equation at all (Hölder’s theorem), and the same holds for the Riemann zeta function; tan 𝑥 has infinitely many poles, which a solution of (S1) cannot have. For such inputs the right answer of a method that searches for (S1) is that there is none. 23

Guessing. In computer algebra the step from data to an operator is called guessing. Given the first terms of a sequence or of a power series as exact rational numbers, the programs gfun [34], the guesser of ore_algebra [35] and their successors [36] solve a linear system for the coefficients of a recurrence or a differential equation and check it on further terms. The differential approximants of lattice statistics fit a differential equation to the known coefficients of a series in the same way and use it to locate singular points [37]. These methods need exact coefficients at one expansion point. The input considered here is weaker: values on an interval, to 40 digits from a quadrature or to 16 from a table, or only draws from a density. No series is available, the linear system is numerical, its solution has to be made exact afterwards, and the result needs an error model and a test before it can be believed. Section 3 of the main text compares the closest methods and states which part of the combination we have not found in earlier work. Constants. For a single real number the corresponding task is integer-relation detection: the lattice reduction of Lenstra, Lenstra and Lovász [83] and the PSLQ algorithm [16] find integers Í 𝑛𝑘 with 𝑘 𝑛𝑘 𝑐𝑘 = 0 for given real 𝑐𝑘 , which identifies an algebraic number from its powers and a combination of known constants from their values [38]. The Ramanujan Machine searches numerically for continued-fraction formulas of constants and states its matches as conjectures [84]. We use PSLQ inside the method, with a rule for how much numerical evidence an identification needs (Section S2.4). From an operator to a closed form. Kovacic’s algorithm decides whether a second-order operator with rational coefficients has a solution built from exponentials, integrals and algebraic functions [43], and there are algorithms for solutions in terms of hypergeometric and Bessel functions after a change of variable [44, 85]. Roach’s method rewrites hypergeometric and Meijer 𝐺 -functions in terms of named functions by walking through contiguous parameter values [19, 45]; it is implemented in SymPy [15], which our solver calls. The solver of Section S2.7 is a set of rules of this kind and is far from complete.

S1.3

Earlier exact learning

The term exact learning was introduced by the first author for the task of assigning an exact expression to a function that is known only numerically [11, 12]. That work represents a function on (0, ∞) by its Mellin transform, ∫ ∞ 𝜙 ( 𝑠) = 𝑥 𝑠 −1 𝑓 ( 𝑥 ) d 𝑥, (S2) 0

which it called the fingerprint of 𝑓 . For a large class of functions 𝜙 is a ratio of products of gamma functions of linear forms in 𝑠, times 𝑐 𝑠 : this is the Mellin–Barnes representation that defines the 𝐺 - and 𝐻 -functions [74, 76, 86], and Ramanujan’s master theorem relates 𝜙 to the coefficients of the power series of 𝑓 [87]. The method computed 𝜙 ( 𝑠) numerically at chosen points 𝑠 and fitted the parameters of an assumed form by quasi-Newton optimisation. The public code [13] fits forms such as 𝜙 ( 𝑠) = (1 + 𝑝0 𝑠 + 𝑝1 𝑠2 ) 𝑝22 ( 𝑝32 ) 𝑠 Γ ( 𝑝4 + 𝑝5 𝑠) and then proposes exact values for the fitted numbers, for example 4/3, 1/2 and 21/4 . Symbolic metamodelling fits the parameters of a Meijer 𝐺 -function to a black-box model by gradient descent [40], which is a fit within a parametric family of the same kind. Mellin transforms and Meijer kernels have also been used for density estimation on the half-line [88]. The approach has three limits. The family must be chosen in advance and the fit is a nonconvex optimisation in real parameters. The transform (S2) must exist, which excludes functions known only on an interval and functions that grow or oscillate without decay. And nothing in the procedure tests the result.

24

The notes that accompany the code [13] point to another route. If 𝑓 satisfies (S1), then 𝜙 satisfies a linear recurrence in 𝑠 with polynomial coefficients, because under the transform 𝑥 𝐷 becomes multiplication by −𝑠 and multiplication by 𝑥 becomes the shift 𝑠 ↦→ 𝑠 + 1. The coefficients of that recurrence can be solved for by linear algebra from values of 𝜙. For 𝑓 = 𝑒− 𝑥 , with 𝜙 ( 𝑠) = Γ ( 𝑠), the recurrence is 𝜙 ( 𝑠) − ( 𝑠 − 1) 𝜙 ( 𝑠 − 1) = 0. The notes also write Heun’s equation as an annihilating operator and treat Mellin transforms over a window [ 𝑎, 𝑏]. The method of this paper takes that route and leaves Mellin space. It measures the function on windows of the interval where it is known, so no transform over the half-line has to exist. It finds the operator by linear algebra, makes its coefficients exact with a count of the evidence, and tests it on data that the fit did not read. The two pictures meet in the solver. An operator of the form 𝑃 ( 𝜃) 𝑓 = 𝜇 𝑥 𝑚 𝑄 ( 𝜃) 𝑓 with 𝜃 = 𝑥 𝐷 and polynomials 𝑃 and 𝑄 gives 𝑃 (−𝑠) 𝜙 ( 𝑠) = 𝜇 𝑄 (−𝑠 − 𝑚) 𝜙 ( 𝑠 + 𝑚), a first-order recurrence, whose solutions are the gamma-function products of the earlier work. These operators are the ones for which Section S2.7 writes down hypergeometric and Meijer 𝐺 -functions directly.

S2

Method

Figure 2 of the main text shows the steps. The implementation is about 4,200 lines of Python on mpmath [14], SymPy [15], NumPy [89] and SciPy [90]. In the operator search no list of named function families is fitted at any step: the closed form is derived from the operator, and the operator from the data. The entry point for float64 tables (Section S2.10) first tries relations over a fixed set of elementary functions and then calls the operator search.

S2.1

Inputs and what is returned

The learner for one variable accepts five kinds of data. • A callable: a routine that returns 𝑓 ( 𝑥 ) to any requested precision, as a quadrature or a series does. It is read at a working precision of 𝑁 𝑝 significant digits on an interval that the caller gives, and the result is checked at 2 𝑁 𝑝 digits. The working precision 𝑁 𝑝 is a parameter of the learner; every run in this paper uses 𝑁 𝑝 = 40, so the check is made at 80 digits. • A float64 table: points 𝑥 𝑘 with values 𝑓𝑘 in double precision, as another program would write them. • Draws: independent samples from a density. • A sequence: the leading terms 𝑎0 , 𝑎1 , . . . as exact integers or fractions. ∫ • Moments: the exact moments 𝑚𝑛 = 𝑥 𝑛 𝑓 ( 𝑥 ) d𝑥 of a density. Two further entry points build on it: one for float64 tables in several variables (Section S2.10) and one for a callable in two variables (Section S2.11). The result is a list of certificates, best first, and a list of rejected candidates with the reason for each. A certificate holds the change of variable 𝑦 = 𝜑 ( 𝑥 ) and its weight 𝑘 (Section S2.6); the operator in 𝑦 with exact coefficients; the same operator in 𝑥 when it has polynomial coefficients there; any coefficient that was left numerical, with its value and error; the residual and the noise level of the test on held-out data at each precision; the evidence for the exact coefficients in decimal digits; a grade; and, when the solver finds one, the closed form with its largest error against the data.

S2.2

Weak-form measurements

Differentiating data amplifies its errors, and an operator of order four would need four derivatives. The method avoids this by a weak form. Let 𝑞 be the data on a window [ 𝑐 − ℎ, 𝑐 + ℎ] with 25

local coordinate 𝑠 ∈ [−1, 1], 𝑦 = 𝑐 + ℎ𝑠. The only numbers that are taken from the data are the moments ∫ 1

𝜈𝑚 =

−1

𝑠𝑚 𝑞 ( 𝑐 + ℎ𝑠) d𝑠,

𝑚 = 0, 1, 2, . . .

To test an operator of order 𝑟 we use the test functions Õ 𝐵𝑡 ( 𝑠) = (1 − 𝑠2 ) 𝑟 𝑃𝑡 ( 𝑠) = 𝑏𝑡𝑘 𝑠𝑘 ,

𝑡 = 0, 1, . . . ,

(S3)

(S4)

𝑘

where 𝑃𝑡 is the Legendre polynomial of degree 𝑡 . The first 𝑟 − 1 derivatives of 𝐵𝑡 vanish at both ends of the window, so 𝑖 ≤ 𝑟 integrations by parts leave no boundary terms: ∫ 1 Õ d𝑖 𝑞 𝐵𝑡 ( 𝑠) 𝑠𝑙 𝑖 d𝑠 = (−1) 𝑖 𝑏𝑡𝑘 ( 𝑙 + 𝑘) 𝑖 𝜈𝑙+𝑘 − 𝑖 , 𝑛𝑖 = 𝑛 ( 𝑛 − 1) · · · ( 𝑛 − 𝑖 + 1) . (S5) d 𝑠 −1 𝑘  Í With 𝑦 𝑗 𝐷𝑖 = 𝑙𝑗=0 𝑙𝑗 𝑐 𝑗 − 𝑙 ℎ 𝑙 − 𝑖 𝑠𝑙 d𝑖 /d𝑠𝑖 this gives, for every term 𝑦 𝑗 𝐷𝑖 that an operator of order 𝑟 and degree 𝑑 can contain, the number ∫ 1   𝑀𝑡, ( 𝑖, 𝑗 ) = 𝐵𝑡 ( 𝑠) 𝑦 𝑗 𝐷 𝑖 𝑞 d 𝑠 (S6) −1

as a combination of the moments with coefficients that depend only on the window. The 𝑏𝑡𝑘 are rational numbers, so no approximation enters beyond the moments themselves. The numbers (S6) form the weak matrix 𝑀 , with one row for each test function on each window and one Í column for each term. If 𝐿 = 𝑖, 𝑗 𝑐𝑖 𝑗 𝑦 𝑗 𝐷𝑖 annihilates 𝑞, then 𝑀𝑐 = 0,

(S7)

and the search for an operator becomes the search for a null vector. An operator of order 𝑟 and degree 𝑑 tested with 𝑇 functions per window reads the moments up to 𝑚 = 𝑑 + 𝑇 + 2𝑟 − 1. Moments and their errors. For a callable the moments are computed by Gauss–Legendre quadrature with 3 · 2ℓ −1 nodes, and the level ℓ is raised from 5 until two successive levels agree to a relative 103− 𝑁 𝑝 at the working precision of 𝑁 𝑝 digits (the highest level is 9, and 7 for a table). For a float64 table the callable is a local Lagrange interpolant through the nearest points. Its degree is the one of 4, 8, 12, 16, 24, 32 and 48 for which the interpolant through all points and the interpolant through every second point  agree best at 14 probe points. For draws the moment of the density is a sample mean, since E 𝑠𝑚 1( 𝑦 ∈ window) = ℎ 𝜈𝑚 . Each kind of data also supplies realisations of the error of its moments. For a callable these are the difference between the last two quadrature levels and a random perturbation of the size of the rounding error. A table adds the moments of the difference between its two interpolants. For draws the sample is √ split into 48 batches, and the deviations of the batch means from the overall mean, divided by 47, are realisations whose mean outer product is the covariance of the moments. Every later quantity is a linear function of the moments, or is linearised about them. Applying the same linear map to the error realisations gives a matrix 𝐸 𝑘 for each realisation, and from the 𝐸 𝑘 the noise level of that quantity. The thresholds below are multiples of noise levels obtained in this way. No tolerance is set for a particular function, and the same code handles values good to 40 digits, to 16 digits and to 3. Windows. The operator is fitted on three overlapping windows that cover the fractions 0.04 to 0.30, 0.24 to 0.50 and 0.44 to 0.70 of the interval, and it is tested on a fourth window that covers 0.70 to 0.96 (Figure 3a). No quadrature node of the fit lies in the fourth window, and no node of any window lies in the outer 4% at each end. For a table, the interpolant near the end of a window is built on the nearest table points, some of which lie beyond that end. 26

S2.3

Operator search

The search visits supports in the order ( 𝑟, 𝑑 ) = (1, 0) , (1, 1) , . . . , (1, 8) , (2, 0) , . . . up to order 4 and degree 8. For each order the matrix is built once, for degree 8, with ⌈9( 𝑟 + 1)/3⌉ + 4 test functions on each of the three windows, and the supports of lower degree are subsets of its columns. The columns are scaled to unit norm, so that a singular value is a residual relative to the size of the terms. A column that is zero within its error, such as the derivative of constant data, is divided by ten times that error instead, so that it stays small. Let 𝜎1 ≤ 𝜎2 be the two smallest singular values of the scaled matrix on a support and 𝑣1 , 𝑣2 their right singular vectors. If an exact null vector 𝑣 exists and the measured matrix differs from the exact one by 𝐸, the smallest singular value of the measured matrix is at most | 𝐸𝑣 |. The noise level of 𝜎1 is therefore taken as 𝜂 ( 𝑣1 ) = rms𝑘 | 𝐸 𝑘 𝑣1 | + 103− 𝑁 𝑝 ,

(S8)

with the second term for rounding at 𝑁 𝑝 digits. A support has a null direction that the method accepts when  max 𝜂 ( 𝑣1 ) , 𝜎1 1 < , (S9) 𝜎1 ≤ 𝜅 𝜂 ( 𝑣1 ) , 𝜎2 > 𝜅 𝜂 ( 𝑣2 ) , 𝜎2 8 with 𝜅 = 10 for callables and tables and 𝜅 = 3 for draws, whose error realisations measure the sampling error itself where the others are loose bounds. The three conditions say that the smallest singular value is zero within its error, that the next one is not, so that the direction is unique, and that the direction is known to better than one part in eight. At each order the search stops at the first degree at which the first condition holds. If the other two hold there as well and the null vector can be made exact (Section S2.4: at most two entries left numerical, at least 1.5 digits of evidence and a leading coefficient that is not zero), that support gives the operator. Because supports are visited by order and then by degree, it is the operator of least order and, at that order, of least degree. Otherwise the search moves to the next order, since every support of higher degree at the same order contains polynomial multiples of the same direction. The weak matrices of smooth data have singular values that decay steadily as columns are added (Figure 3b), so a small singular value is not evidence on its own. What counts is the number of decimal digits by which the smallest singular value drops below the trend of the others, and this number is added to the evidence of Section S2.4. Operators with two and three terms. A float64 table of a function whose operator has order 3 or 4 often leaves several null directions on the full support, because the singular values fall below 10−16 after about a dozen columns. When no order gives a candidate, callables and tables are searched again for operators of the form 𝐾 −1 Õ

𝑥 𝑘𝑚 𝑃 𝑘 ( 𝜃) ,

𝜃 = 𝑥 𝐷,

(S10)

𝑘=0

with 𝐾 = 2 and then 𝐾 = 3 terms and steps 𝑚 ≥ 1. Such an operator of order 𝑟 has 𝐾 ( 𝑟 + 1) unknown coefficients, 6 to 15 for orders 2 to 4, where the full support of order 4 and degree 8 has 45. Two terms are the equations of the generalised hypergeometric functions of 𝑥 𝑚 ; three terms add one more singular point. The wide search. When no change of variable gives any certificate, two-term operators alone are searched up to order 6 with steps up to 6, in 𝑥 , in the powers of 𝑥 of the bank and in 1/𝑥 , with weight 𝑘 = 0; the search ends at the first of these variables that gives a certificate, and it is not run for draws. An operator of order 6 has 14 unknowns there, where the full support of the same degree has 91. These are the equations of the Meijer 𝐺 -functions of a power of 𝑥 , which 27

include the Fox 𝐻 -functions with rational parameters. The densities of the stable law of index 3/2 and of Holtsmark’s distribution (Section S5.6) are found in this way, with operators of order 5. Precision. All linear algebra runs at the working precision 𝑁 𝑝 , for tables and draws as well, so that rounding inside the method never competes with the error of the data. For a callable the exact operator is tested again with moments computed at 2 𝑁 𝑝 digits, where only numerical parameters are refitted. If a callable gives no certificate and 𝑁 𝑝 is below 80, the whole search is repeated once with 𝑁 𝑝 = 90, so with the second test at 180 digits: at 40 digits the weak matrix of a smooth function on a short interval has several singular values at the rounding level once the support passes about 16 columns, and some operators of order 3 and 4 become unique only with more digits.

S2.4

Exact coefficients

The null vector is a list of real numbers, each with error realisations obtained by first-order perturbation of the singular vector. The entries are divided by a pivot entry. Each ratio 𝜌 is known to within 𝜏 = 𝜅 × (its rms error) + 103− 𝑁 𝑝 (1 + | 𝜌 |), where the second term is the rounding at 𝑁 𝑝 digits, and is replaced by the fraction of least denominator in [ 𝜌 − 𝜏, 𝜌 + 𝜏], which a Stern–Brocot descent finds. A ratio within 𝜏 < 1 of zero is set to zero. Any interval contains fractions, so a rule is needed for when to believe one. Fractions whose numerator and denominator are at most 𝐻 are spaced about 3/ 𝐻 2 apart on average, so a random real number of size up to one lies within 𝜏 of one with probability of about 0.6 𝜏𝐻 2 , and a larger number with less. The method takes this probability as 𝜏𝐻 2 /max(| 𝜌 | , 1), which is on the cautious side, and counts 𝜏 𝑒 = − log10 − 2 log10 𝐻 (S11) max(| 𝜌 | , 1) decimal digits of evidence for a fraction of height 𝐻 . The fraction is accepted when  𝑒 ≥ max 0.5, min(8, − 14 log10 𝜏) , a margin that grows with the precision of the data. The pivot is the entry that leaves the fewest ratios without an accepted fraction. The evidence of an operator is the sum of 𝑒 over its entries plus the drop of the null singular value below the trend (Section S2.3). A candidate from a callable or a table needs at least 1.5 digits. A ratio with no acceptable fraction, when at least 16 of its digits are known, goes through four integer-relation searches with PSLQ √ [16]: √ for an algebraic number of degree 2 to 4; for a √ rational combination of 1, 𝜋, 𝑒, log 2, 𝜋, 2, 3 and Euler’s constant 𝛾 ; for a ratio of two linear forms in one of those constants; and for a product of rational powers of 2, 3, 5, 7, 𝜋 and 𝑒. Among 𝑛 unrelated numbers some integer combination with coefficients up to 𝐻 falls below about 𝐻 1− 𝑛 by chance, so each search bounds its coefficients by the largest 𝐻 for which the tolerance is still 8 digits below that level, and by 200, 200, 50 and 60 in the four searches; with few p digits the bound falls below 2 and the search is skipped. Numbers of the forms 𝑞 𝜋𝑘√and 𝑞 𝜋𝑘 with a fraction 𝑞 and | 𝑘 | ≤ 3 are tried already from 8 digits, which names 4𝜋/3 or 1/ 2𝜋 from a float64 value. An entry that matches none of these stays a numerical parameter 𝑎1 , 𝑎2 , . . . with its value and error. At most two are allowed. This is the intended result for an operator that contains a number without a closed form, such as an energy eigenvalue (Section S4.2). Table S1 shows how often the identification step gives a false exact form. Applied to 300 random numbers, which have none, it returned an exact form for none of them when the numbers were known to a relative 10−12 or better, for 4 at 10−6 and for 20 at 10−3 . A single constant known only to the accuracy of a table or of a sample can therefore receive a false fraction a few percent 28

Table S1: Calibration of two decisions of the method. Left: exact forms returned by the identification step for 300 random numbers, which have none, at five relative errors. Right: the hold-out test for draws applied to operators fixed in advance, on 500,000 draws in each of 40 runs; an operator is rejected at 𝑝 < 0.001. Relative error of the number

Given an exact form, of 300

10−35 10−20 10−12 10−6 10−3

0 0 0 4 20

Draws

Operator tested

𝑝 < 0.05

Rejected

exponential(1) exponential(1) gamma(3, 1) gamma(3, 1)

𝐷 + 1, the true one 𝐷 + 51/50 𝑥 𝐷 + 𝑥 − 2, the true one 𝑥 𝐷 + 𝑥 − 41/20

1 of 40 40 of 40 3 of 40 40 of 40

0 of 40 40 of 40 0 of 40 40 of 40

of the time. This is one reason why results from draws are graded as conjectures at best, and why the constant of a density is taken from its normalisation integral (Section S2.9).

S2.5

Hold-out test and grades

The exact operator, with coefficient vector 𝑐, is applied to the fourth window. Its residual there is  Í 2 2 1/2 , and the noise level is the same combination | 𝑀𝑐 | divided by the size of its terms, 𝑗 | 𝑀· 𝑗 | 𝑐 𝑗 of the error realisations, rms𝑘 | 𝐸 𝑘 𝑐 |, divided by the same size, plus the rounding term 103− 𝑁 𝑝 . The operator passes when the residual is at most 𝜅 times the noise. For a callable the test is repeated at 2 𝑁 𝑝 digits and must pass at both precisions. Nothing in the test was fitted to the fourth window, so it tests whether the equation that was found on 70% of the interval extends to the rest of it. Two refinements came from failures, which we report in Section S5.10. First, when the terms of the operator are themselves small on the window, the residual is divided by the size they would have for data that vary over one window: the term 𝑦 𝑗 𝐷𝑖 on a window of half-width ℎ that reaches | 𝑦 | = 𝑌 counts as | 𝑞 | 𝑌 𝑗 /ℎ𝑖 . Without this length scale the operator 𝐷 passes for any data on a window that is wide enough in the transported variable. Second, an operator with fitted parameters gets two tests, and both must pass. The parameters were fitted on other windows and have errors that the noise of the fourth window does not contain. The first test keeps the fitted values and widens the noise by those errors; it tests the values. The second estimates the parameters again on the fourth window, which is a linear least-squares problem, and tests the exact part of the operator against the unwidened noise; it keeps its power when a parameter is poorly determined. A certificate that passes receives one of three grades, and data without one receive the fourth. verified The residual is within 𝜅 times the noise at every precision, the noise, including the part from fitted parameters, is below 10−8 of the size of the terms, and the evidence is at least 10 digits. For a sequence, the held-out equations hold exactly. conjecture The test passes with more noise or with less evidence. Every result from draws with exact coefficients has this grade, because its test is a significance test. fit For draws, an operator that passes its test and still has numerical coefficients. For a table with noise (Section S2.10), an expression with fitted constants that matches the held-out rows to the noise level. no-model No candidate passed. 29

Certificates are ordered by grade, then operators with exact coefficients before operators with fitted parameters, then by the cost cost of the map + 4 × order + degree + 2 × number of fitted parameters,

(S12)

and at equal cost the untransformed variable comes first. verified is a numerical statement about held-out data on the same interval. It is weaker than a proof, and Section S6 returns to this.

S2.6

Changes of variable

The lognormal density has no operator of the form (S1) in 𝑥 . Its logarithm is a quadratic in log 𝑥 , and as a function of 𝑦 = log 𝑥 the density satisfies a first-order equation with coefficients of degree one (Figure S2a, b). For a monotone map 𝑦 = 𝜑 ( 𝑥 ) and a weight 𝑘 the search of the previous sections runs on the transported data 𝑞 ( 𝑦 ) = 𝑓 𝜑 −1 ( 𝑦 )

 d𝜑 −1 𝑘 , d𝑦

and an operator that annihilates 𝑞 certifies the representation  𝑓 ( 𝑥 ) = | 𝜑′ ( 𝑥 )| 𝑘 𝑔 𝜑 ( 𝑥 ) , 𝐿 𝑦 𝑔 = 0.

(S13)

(S14)

With 𝑘 = 0 this is a plain substitution. With 𝑘 = 1 the function 𝑞 is the pushforward of 𝑓 : if 𝑓 is the density of a random variable 𝑋 , then 𝑞 is the density of 𝜑 ( 𝑋 ). Both weights are tried for every map whose domain contains the interval of the data. Before the interval is mapped, 2% of it is cut from each end, where a map may tend to infinity; the identity is not cut. Draws are pushed through 𝜑 directly, which samples the pushforward. The bank holds twenty maps, listed with their domains in Table S13: the identity (cost 0); log 𝑥 , 𝑒𝑥 , 1/𝑥 , 𝑥 /(1 − 𝑥 ) and six powers of 𝑥 (cost 1); and the logit, probit, artanh, arsinh, tan, arctan, arcsin, sinh and tanh (cost 2). The search limits in a transported variable are order 2 and degree 4. The caller can supply further maps, for example a bank map rescaled from (0, 1) to an interval ( 𝑎, 𝑏). Pulling back. Let 𝑊 = | 𝜑′ | 𝑘 , so that 𝑓 ( 𝑥 ) = 𝑊 ( 𝑥 ) 𝑔 ( 𝜑 ( 𝑥 )). The operator 𝐴=

1 𝜑

𝐷 − ′ 𝑥

𝑊′ 𝑊 𝜑′

(S15)

Í satisfies 𝐴𝑖 𝑓 = 𝑊 𝑔 ( 𝑖 ) ( 𝜑 ( 𝑥 )) for every 𝑖. With 𝐿 𝑦 = 𝑖 𝑝𝑖 ( 𝑦 ) 𝐷𝑖𝑦 , the equation 𝐿 𝑦 𝑔 = 0 becomes Í 𝑖 𝑖 𝑝𝑖 ( 𝜑 ( 𝑥 )) 𝐴 𝑓 = 0. This is an operator in 𝑥 that acts on 𝑓 , with coefficients that are functions of 𝑥 . When a common factor makes them polynomials, the result is reported as the operator in 𝑥 , and certificates with the same operator in 𝑥 are merged under the cheapest one: a holonomic function stays holonomic under an algebraic change of variable, so one equation in 𝑥 is found again under each such map. When no factor makes them polynomials, as for arsinh, the logit, the probit, tan and, with a Gaussian in 𝑦 , the logarithm, the certificate exists only in the transported variable and the direct search in 𝑥 correctly finds nothing. The change of variable then enlarges the class of functions that the method describes beyond the holonomic ones: tan 𝑥 is returned as the solution of 𝑦 𝑔 ′ − 𝑔 = 0 in 𝑦 = tan 𝑥 .

30

(a) Lognormal(1/2, 3/4) density

(b) y = log(x), weight k = 0

9 g′ + (16y + 1) g = 0

( ) = f(ey)

no polynomial operator in x f x

()

0.4

0.0

q y

0.2 1

2

3

4

5

0.4 0.2 0.0

6

−1.5 −1.0 −0.5

0.0

x

() f x

+ x(2x2 − 1) f ′ + (x4 − x2 + 1) f = 0

0.4 0.2 0.0

0.5

1.0

1.5

2.0

2.5

3.0

3.5

q y

x 2 f ′′

( ) = f(√ y )/(2√ y )

(c) Rice density

0.6

4.0

0.4

4y g′′ + 4(y + 1) g′ + (y + 1) g = 0

0.0

2

4

6

12

14

16

( ) = f(1/y)

x 3 f ′′

− 4x f ′ + 2 f = 0

4

5

(time in units of the diffusion time)

y g ′′

1.0

+ 2(2y + 1) g′ + 2 g = 0

0.5

q y

() f x

x

3

10

(f) y = 1/x, weight k = 0

0.50

2

8 y

0.75

1

1.5

0.2

(e) Fluorescence recovery curve

0.00

1.0

(d) y = x 2, weight k = 1

x

0.25

0.5

y

6

0.0

1

2

3

4

5

y

Figure S2: Three changes of variable that the method selected. Left: the data 𝑓 ( 𝑥 ). Right: the transported data 𝑞 ( 𝑦 ) of equation (S13), which satisfies the equation written in the panel. (a, b) The lognormal(1/2, 3/4) density has no polynomial operator in 𝑥 and a first-order one in 𝑦 = log 𝑥 . (c, d) The Rice density has a second-order operator of degree 4 in 𝑥 and one of degree 1 for its pushforward under 𝑦 = 𝑥 2 . (e, f) The fluorescence recovery curve of Section S4.4 has a simpler operator in 𝑦 = 1/ 𝑥 .

A fitted power. When the bank gives nothing and the data lie on 𝑥 > 0, the exponent of 𝑦 = 𝑥 𝜌 is estimated from the data. Let 𝑠 ( 𝜌) be the smallest singular value of the first-order weak matrix of degree 1 for the data transported by 𝑥 𝜌 . Near an exponent 𝜌∗ at which such an operator exists, 𝑠 is proportional to | 𝜌 − 𝜌∗ |. A scan over 𝜌 = 2𝑘/6 , 𝑘 = −12, . . . , 15, locates the dips, a secant iteration on 𝑠 refines each one to the working precision, and the identification step of Section S2.4 then makes the exponent exact. A fitted power has cost 2. In the regression cases of Section S5.9 the exponents 17/10, 23/10, 5/4 and 𝜋 were recovered in this way, each with an error near 10−34 before identification. What is and is not learned. The map is selected from the bank, from the caller’s maps or from the power family. A free search over all maps is ill-posed without a measure of complexity: the probit of the distribution function turns every density into a Gaussian. The costs in (S12) are a crude measure of this kind, and Section S6 lists the choice of map among the limits.

S2.7

Closed forms

The solver receives the exact operator and nothing else. It builds candidate solutions by the rules below, which are applied in groups in this order. After each group the data are compared with the candidates found so far, and a later group is built only when they are not yet matched.

31

∫  1. First order: exp − 𝑝0 / 𝑝1 , with logarithms written as powers. No other rule is applied to an operator of order 1. 2. Constant coefficients: 𝑥 𝑘 𝑒𝜆𝑥 for the characteristic roots 𝜆 , in real form. No other rule is applied to such an operator. 3. Symmetric square. If 𝑢 and 𝑣 solve 𝑢′′ + 𝑎𝑢′ + 𝑏𝑢 = 0, then 𝑦 = 𝑢𝑣 solves 𝑦 ′′′ + 3𝑎𝑦 ′′ + ( 𝑎′ + 2𝑎2 + 4𝑏) 𝑦 ′ + (2𝑏′ + 4𝑎𝑏) 𝑦 = 0. A third-order operator of this form is recognised from its coefficients, and the products of the solutions of the second-order operator are the candidates: 𝐽02 , Ai2 , Ai Bi, 𝐼0 𝐾0 . 4. Series and named functions. The candidates of the following rules form one group, which is passed to SymPy’s hyperexpand [15, 19]; it names hypergeometric series where it can ( 𝐾 , 𝐸, erf, incomplete gamma functions and others). • Airy: Ai and Bi of a linear argument for 𝑓 ′′ = ( 𝛼𝑥 + 𝛽 ) 𝑓 . • Euler and two-term operators. About the origin and about each rational singular point the operator is written in 𝜃-form, with 𝜃 = 𝑡 d/d𝑡 in the distance 𝑡 from that point. With one term, 𝑃 ( 𝜃) 𝑓 = 0, the solutions are 𝑡 𝜆 log𝑘 𝑡 for the roots 𝜆 of 𝑃 . With two terms whose powers of 𝑡 differ by 𝑚, put 𝑧 = 𝑡 𝑚 and 𝜗 = 𝑧 d/d𝑧 = 𝜃/𝑚. The operator then reads 𝑞 Ö

(𝜗 − 𝑏 𝑗 ) 𝑓 = 𝜇 𝑧

𝑗=1

𝑝 Ö

(𝜗 − 𝛼 𝑗 ) 𝑓 .

(S16)

𝑗=1

 For 𝑞 ≥ 𝑝 its Frobenius series are 𝑧 𝑏 𝑝 𝐹𝑞−1 𝑏 − 𝛼1 , . . . , 𝑏 − 𝛼 𝑝 ; 1 + 𝑏 − 𝑏 𝑗 for 𝑏 𝑗 ≠ 𝑏; 𝜇𝑧 , one for each exponent 𝑏 among the 𝑏 𝑗 whose series has no logarithm, and for 𝑞 ≤ 𝑝 the same rule gives the series in 1/𝑧. For 𝑝 = 0 and 𝑞 = 2 Bessel forms are written directly, with 𝑌 and 𝐾 for the solutions that contain a logarithm. • Normal form: for order 2 the first-derivative term is removed by 𝑓 = 𝑊𝑢, and the two rules above run on the operator of 𝑢. • Primitive operator. When the solutions of the operator are the derivatives of the solutions of another operator, that operator is computed and solved in its place. This covers the derivative of a Bessel function, whose equation has an apparent singular point. • Antiderivatives. When the operator ends in 𝐷, 𝐿 = 𝑁 𝐷, its solutions are the constants and the antiderivatives of the solutions of 𝑁 ; this is the case of 𝑓 + 𝑐 for a constant 𝑐. They are taken from the primitive operator of 𝑁 when there is one, and otherwise by integrating the solutions of 𝑁 . For a first-order 𝑁 the binomial primitive is also tried: the antiderivative of 𝑡 𝑎 ( 𝑡 𝑚 − 𝑢) 𝑏 ( 𝑡 𝑚 − 𝑣) 𝑐 is 𝑡 𝑎+1 times Appell’s 𝐹1 [17], which is Lauricella’s 𝐹 𝐷 in two variables [18], or a 2 𝐹1 when there is one binomial. Incomplete elliptic integrals, the incomplete beta function and the distance integrals of cosmology are of this kind. 5. Polynomial solutions, of the operator and of the operator after a gauge: factors exp( 𝑎𝑥 2 + Î 𝑒𝑗 𝑏𝑥 ) 𝑗 𝑞 𝑗 , with 𝑞 𝑗 a linear or quadratic factor of the leading coefficient and 𝑒 𝑗 one of its local exponents, are divided out of the solution. 6. Reduction of order, for order 2, from an elementary solution that the previous group found. 7. Two-term operators after a gauge: the Euler and two-term rule on the gauged operators, again 2 followed by hyperexpand. The parabolic cylinder functions are 𝑒− 𝑥 /4 times two 1 𝐹1 series. 8. Meijer 𝐺 . For the two-term form (S16) of the operator and of its first two gauged operators, every split of the parameters into the four groups of 𝐺 𝑘,𝑛 𝑝,𝑞 gives a solution, with upper parameters 𝑎 𝑗 = 𝛼 𝑗 + 1, lower parameters 𝑏 𝑗 and argument (−1) 𝑝− 𝑘 − 𝑛 𝜇𝑧 [45, 74]. These include the solutions with logarithms that no Frobenius series gives, such as 𝐺 0𝑞,,𝑞0 , the density of a product of 𝑞 normal variables. 32

The first version of the solver had the rules of groups 1, 2 and 4 to 7 without the primitive operator and the binomial primitive, and a gauge with exponential and power factors only. Five additions were made after the first comparison with symbolic regression (Section S5.10): the symmetric square, the primitive operator, the Gaussian and quadratic factors of the gauge, the binomial primitive and the Meijer 𝐺 rule. A candidate is kept only if it satisfies the operator numerically, to a relative 10−12 at three points of the interval. The data then select the smallest set of candidates, up to four, whose span contains them at nine points of the interval; among sets of equal size the one built from the simplest expressions wins. The fitted constants go through the identification step, extended by Γ at the rational parameters of the candidates and by exponentials of the operator’s own parameters. The result is mapped back through 𝜑 by (S14) and compared with the data at five other points. The certificate also records whether SymPy reduces the operator applied to the closed form to zero, which is then a symbolic proof that the closed form solves the operator. When the operator of a callable has fitted parameters, they are refitted at twice the working precision before the solver runs and replaced by exact numbers when the identification step then finds one for every parameter. A fitted parameter that is known to fewer than twelve digits, as from a float64 table, is re-estimated through the solutions themselves: the combination Í 𝑘 𝐶 𝑘 𝑓𝑘 ( 𝑦 ; 𝑎) of the candidates is matched to the table at 24 points of the fit windows, with the constants 𝐶 𝑘 solved at each trial value of 𝑎, which fixes 𝑎 to the accuracy of the values where window moments fix it far less well. The refined operator must pass the hold-out test again. Section S3 shows a case. The solver is a set of rules. It has no general algorithm for Liouvillian solutions [43], for second-order operators that need a change of variable to reach a hypergeometric form [44], or for operators with three or more terms that no gauge reduces, the Heun type [91]. When it fails the certificate still holds the exact operator, which the next section uses.

S2.8

Continuation of a certified operator

An operator of order 𝑟 and 𝑟 numbers determine a function. For a certificate without a closed form, the values of the solution and of its first 𝑟 − 1 derivatives at a point near the middle of the interval are fitted by least squares to the data at 24 points. The Taylor coefficients of that solution about any centre follow from the operator by a linear recurrence. The series (240 terms) converges up to the nearest root of the leading coefficient, and the values and derivatives at a point inside that radius start the series about the next centre [20, 21]. A real singular point on the way is passed on a half circle in the complex plane, and the function is continued beyond it when the values that arrive are real, as at an apparent singular point; at a branch point the function ends. Nothing enters except the operator and the data, and the result can be evaluated inside the interval of the data and beyond it. The operator found for the Voigt profile on [0.1, 3], continued to 𝑥 = 5, agrees with the profile there to 3.5 × 10−41 . In the benchmarks we count a target that is reproduced in this way separately from one with a closed form.

S2.9

Draws, sequences and moments

Draws. For independent draws from a density, three quarters of the sample fit the operator and one quarter tests it. The windows are the whole interval between the 0.001 and 0.999 quantiles, its lower 60% and its upper 60%; wide windows keep the sampling error of the moments small. Sampling error is far from uniform over the rows and columns of the weak matrix, so the rows are divided by their rms error and the columns are recombined so that the noise is the same in every coefficient direction. The singular values are then signal-to-noise ratios, and the smallest singular vector is an errors-in-variables estimate of the null direction. Entries that stay numerical after the first identification are estimated again by generalised least squares given the exact ones, and tried again as fractions. The search is limited to order 2 and degree 3 in 𝑥 and to order 1 33

and degree 2 in a transported variable, because the sampling error of a moment grows quickly with its order. The hold-out test is Hotelling’s 𝑇 2 [22] of the weak equations 𝑀𝑐 on the held-out quarter against their covariance over batches, passed at 𝑝 > 0.001. Table S1 shows its calibration: with the operator fixed in advance, the true operator was rejected in 0 of 80 runs and an operator with one coefficient changed by 2% or 2.5% in 80 of 80. A closed form is fitted to the first six moments of each window. When it is a single solution times a constant, the constant is replaced by the exact normalisation over the interval between the singular points that enclose the draws, provided the two agree within the sampling error. The density is then tested against the heldout draws by 𝜒2 on 15 bins between the 10−4 and 1 − 10−4 quantiles, which reach beyond the windows of the operator fit, and a certificate whose closed form fails that test is rejected. Results from draws are graded conjecture when all coefficients are exact and fit otherwise. Í Sequences. For exact terms 𝑎0 , 𝑎1 , . . . the method looks for a recurrence 𝑟𝑖=0 𝑝𝑖 ( 𝑛) 𝑎𝑛+𝑖 = 0 with polynomial coefficients, up to order 3 and degree 3. The null space is computed in exact rational arithmetic, so no noise model is needed. The last six equations are left out of the computation and must then hold exactly. A closed form is returned when SymPy’s solver for hypergeometric terms finds one that reproduces every term. ∫ Moments. For exact moments 𝑚𝑛 = 𝑥 𝑛 𝑓 ( 𝑥 ) d𝑥 the recurrence of the sequence 𝑚∫𝑛 is found in the same way and turned into a differential operator for the density.∫ Since 𝑚𝑛+𝑖 =  𝑥 𝑛 ( 𝑥 𝑖 𝑓 ) d𝑥 and, by integration by parts with vanishing boundary terms, 𝑛 𝑚𝑛 = 𝑥 𝑛 −( 𝜃 + 1) 𝑓 d𝑥 , ∫ Õ Õ 𝑝 𝑖 ( 𝑛 ) 𝑚 𝑛+ 𝑖 = 𝑥 𝑛 ( 𝐿 𝑓 ) d 𝑥, 𝐿= 𝑝𝑖 (−𝜃 − 1) 𝑥 𝑖 . (S17) 𝑖

𝑖

A density whose moments obey the recurrence satisfies 𝐿 𝑓 = 0 between roots of the leading coefficient of 𝐿 and can start or stop only at such a root. Each interval between two real roots (or infinity) is tried as the support, shortest first. On it the solutions of 𝐿 are integrated against 𝑥 𝑛 , the combination that reproduces moments 0 to 5 is selected, and it is tested on moments 6 to the Catalan numbers as moments this gives 𝑥 ( 𝑥 − 4) 𝑓 ′ − 2 𝑓 = 0 and the density √ 14. From √ 4 − 𝑥 /(2𝜋 𝑥 ) on (0, 4).

S2.10

Float64 tables in several variables

The operator search reads window moments of a function of one variable. A second entry point takes float64 points in any number of variables, scattered or on a grid, and returns one expression. It adds what the operator search cannot read (several variables) or reads poorly (elementary functions with a scale inside, short tables), and it ends in the operator search for what remains. The rows are split into 70% for fitting and 30% for testing: the 30% with the largest 𝑥 for one variable, so that the test is an extrapolation, and a random 30% for several. A relation of steps 1 to 3 is fitted on the first part only. A closed form from step 4 comes from the operator search on the whole table, which holds out a window of its own, and is then compared with the same 30% of the rows. 1. Power factors. Variables that enter only as 𝑥 𝑖𝑎 are found by regression of log | 𝑓 | on the logarithms of the variables and divided out, with 𝑎 identified as a fraction. 2. Relations. For a map 𝑣 = 𝜓 ( 𝑓 ) of the values (the identity, 𝑓 2 , log 𝑓 , 𝑒 𝑓 , sin 𝑓 , cos 𝑓 , tan 𝑓 , sinh 𝑓 , tanh 𝑓 and 𝑓 𝑒 𝑓 ) and a set of atoms 𝑢 (the variables, and the cosine and sine, exponential, logarithm or square root of a variable or of a power of it), the search looks for polynomials 𝑃0 and 𝑃1 with 𝑣 𝑃 1 ( 𝑢) + 𝑃 0 ( 𝑢) = 0 (S18) 34

on the fit rows, which is again a null-vector problem. A dense search takes all monomials up to a pair of degrees. It accepts a null space of up to four dimensions, which arises when a common factor fits within the degrees, and takes from it the vector with zeros at the pivot columns of the others. For one variable a sparse search scores every set of two to four monomials (to five under noise) and solves the twelve best of each size; it works where the monomials are dependent to rounding error and under noise. The entries of the null vector are identified as in Section S2.4, and at most three may stay numerical (six for a table with noise). That limit refuses a rational approximant of a smooth function, which has many unidentified coefficients. For one variable the atoms exp( 𝑐𝑥 ) and exp( 𝑐/𝑥 ), and the cosine and sine of 𝑐𝑥 and of 𝑐/ 𝑥 , are also tried, with the scale 𝑐 fitted. When none of these gives a relation with exact constants, the search also looks for 𝑓 as a root of 𝑃2 𝑓 2 + 𝑃1 𝑓 + 𝑃0 = 0 with polynomials 𝑃𝑘 in the atoms. 3. Scaling symmetries. If 𝑓 ( 𝜆 𝑤1 𝑥1 , . . . , 𝜆 𝑤𝑛 𝑥𝑛 ) = 𝜆 𝑐 𝑓 ( 𝑥 ) for a weight vector 𝑤, then 𝑓 is a power product of the variables times a function of fewer variables, each a monomial of the 𝑥 𝑖 . The Í weights are null vectors of 𝑖 𝑤𝑖 𝑥 𝑖 𝜕𝑖 𝑓 = 𝑐 𝑓 , with the derivatives taken from a polynomial fit. One remaining variable gives a table for step 4; several go back to step 2. This is the dimensional reduction that AI Feynman obtains from the units of the variables [59], found here from the numbers alone. 4. Operators. One variable without a relation with exact constants goes to the operator search p of Sections S2.2 to S2.7, for 𝑓 and then for 1/ 𝑓 , log 𝑓 and 𝑓 . An expression is accepted when it matches the test rows to 10−8 , relative to | 𝑓 | plus the rms of the values. It is verified when in addition every constant in it is exact, the operator certificate behind a closed form of step 4 is itself verified, and the match is to 10−12 ; otherwise it is a conjecture. For one variable a noise level is estimated from divided differences of order 6 over neighbouring points, which remove the smooth part of the data and leave the noise. With noise, an expression whose rms residual on the test rows is within 1.35 times that level is returned, as a conjecture when all its constants are exact and as a fit otherwise. Noise is not handled for several variables.

S2.11

Functions of two variables

For a function 𝑓 ( 𝑥, 𝑦 ) given as a callable at 𝑁 𝑝 digits on a box without singular points, the measurements are the moments of 𝑓 over sub-boxes, and the weak form of 𝑥 𝑖 𝑦 𝑗 𝜕𝑎𝑥 𝜕𝑏𝑦 𝑓 against a product 𝐵𝑠 ( 𝑢) 𝐵𝑡 ( 𝑣) of test functions is the product of the two one-variable maps of Section S2.2 applied to them. The data are not differentiated here either. The fit uses three of the four quadrants of the box and the fourth is held out. 1. System. All operators of order at most 2 with polynomial coefficients of total degree at most 𝑑 that annihilate 𝑓 on the three quadrants. They form a vector space, usually of several dimensions. A singular value counts as zero when it is below 𝜅 times its noise, and the first one that does not must exceed that level by a factor 106 . The reduced row echelon form of the null space is unique, and its entries are identified as fractions. A reduction then keeps the rows that are not linear combinations of left multiples of simpler rows, where only the multiples that stay within order 2 and degree 𝑑 are formed. The degree 𝑑 is the least from 1 to 3 at which two rows are kept, and otherwise the largest at which one is. The kept rows generate every operator that was found in the search space. They need not be a minimal set of generators of the annihilating ideal: a kept row can still be a combination of left multiples of the others that passes through operators of higher order or degree. 2. Series. The term 𝑥 𝑖 𝑦 𝑗 𝜕𝑎𝑥 𝜕𝑏𝑦 moves the exponent of a monomial by ( 𝑖 − 𝑎, 𝑗 − 𝑏). An operator whose terms move it by 𝑤 or by 𝑤 + 𝑠 only has the form 𝑥 𝑤 𝑃 ( 𝜃) + 𝑥 𝑠 𝑄 ( 𝜃) in multi-index

35

notation, with 𝜃 = ( 𝑥𝜕𝑥 , 𝑦𝜕 𝑦 ), and fixes the ratio 𝐴 ( 𝑘 + 𝑠) 𝑄 ( 𝑘) =− 𝐴 ( 𝑘) 𝑃 ( 𝑘 + 𝑠)

(S19)

Í of the coefficients of a series 𝑘 𝐴 ( 𝑘) 𝑥 𝑘1 𝑦 𝑘2 . Two operators of this kind with independent shifts 𝑠1 , 𝑠2 determine a double hypergeometric series up to its leading exponent [72, 92]. When the factors of the two ratios are those of Appell’s 𝐹1 to 𝐹4 [17] the series is returned under that name, and otherwise as a general double series, which covers Humbert’s confluent functions. 3. Solution. The combination of the series at the admissible leading exponents that matches 𝑓 at 14 points of the fit quadrants, with its constants identified. It is tested at points of the fourth quadrant and beyond the box. 4. Changes of variable. Steps 1 to 3 run in ( 𝑥, 𝑦 ) and, when that gives no series, with 𝑥 /(1 − 𝑥 ) or 1 − 𝑥 applied to both variables. The result is verified when every kept operator of the system and both operators of the series have a residual on the held-out quadrant of at most 𝜅 times its noise level, at 𝑁 𝑝 digits. The length scale of Section S2.5 is not applied here, and the test is not repeated at a second precision. A function with one annihilating operator and no second one, such as a function of 𝑥 + 2 𝑦 alone, returns that operator and no series.

S3

A worked example: the Fresnel integral

∫𝑥 This section follows the method on 𝐶 ( 𝑥 ) = 0 cos( 𝜋𝑡 2 /2) d𝑡 on the interval [0.2, 2], first from a callable and then from the float64 table of Figure 1. The intermediate values quoted here were recorded by calling the learner’s own functions in the order in which it calls them.

S3.1

From a callable at 40 digits

Measure. The three fit windows are [0.272, 0.74], [0.632, 1.1] and [0.992, 1.46], and the heldout window is [1.46, 1.928] (Figure 3a). On each window the learner computes the moments (S3) of 𝐶 by Gauss–Legendre quadrature and keeps the difference between the last two quadrature levels as a realisation of their error. Search. The search visits 22 supports (Figure 3b). At order 1 the smallest singular value of the scaled weak matrix falls steadily from 10−0.05 at degree 0 to 10−13.4 at degree 8, as it does for any smooth function when columns are added, while its noise level stays near 10−37 : no first-order operator annihilates 𝐶 . At order 2 it falls from 10−0.9 to 10−24.1 against a noise level near 10−35 , and again there is no null direction. At order 3 the values at degrees 0, 1 and 2 are 10−1.6 , 10−4.9 and 10−9.2 . At degree 3, where the matrix has 48 rows and 16 columns, the smallest singular value is 10−32.5 with a noise level of 10−32.2 , a drop of 23.3 orders of magnitude in one step, and the second smallest stays at 10−11.8 . The conditions of (S9) hold and the search stops. Make exact. ure 3c),

Divided by the entry of 𝑥 𝐷3 , the null vector has three entries of order one (Fig-

𝑥 3 𝐷 : 9.86960440108935861883 . . . ,

𝐷2 : −1.0000000000000000000000374,

𝑥 𝐷 3 : 1,

and 13 entries of size at most 6.4 × 10−22 . The identification step replaces the second by −1 and the 13 small ones by 0. The first has no fraction of acceptable height within its error. It is named 36

by the list of forms 𝑞 𝜋𝑘 of Section S2.4, before any integer-relation search runs: it is 𝜋2 , from which the measured value differs by a relative 6 × 10−24 . The operator is 𝐿 = 𝑥 𝐷3 − 𝐷2 + 𝜋2 𝑥 3 𝐷,

which is equation (1), with an evidence of 327.5 digits. Test. On the held-out window the residual of the exact operator is 9.7 × 10−33 against a noise level of 9.2 × 10−33 at 40 digits, and 8.3 × 10−73 against 9.9 × 10−73 at 80 digits. The residual follows the noise down by forty orders of magnitude when the precision is doubled, which an operator that was only approximately right would not do. The certificate is graded verified. Solve. The solutions of 𝐿 are spanned by 1, 𝐶 ( 𝑥 ) and the Fresnel sine integral 𝑆 ( 𝑥 ). The solver arrives at them through the two-term rule: in 𝑧 = 𝑥 4 the operator has the form (S16), with the   1 1 5 2 4 3 series 𝑥 1 𝐹2 4 ; 2 , 4 ; −𝜋 𝑥 /16 and 𝑥 1 𝐹2 34 ; 32 , 74 ; −𝜋2 𝑥 4 /16 , which the expansion step names as 𝐶 ( 𝑥 ) and 6𝑆 ( 𝑥 )/𝜋. The solver produced 11 candidates in all. The data at nine points select 𝐶 ( 𝑥 ) alone, with the constant 1, and at the five check points the closed form and the data agree in every digit. The whole run took 10.8 s.

S3.2

From the float64 table

The same steps run on the 1101 float64 values of the benchmark table, with the moments taken from a local interpolant whose estimated relative error is 4.0×10−17 . The search stops at the same support, order 3 and degree 3, where the smallest singular value is 2.2 × 10−14 against a noise level of 2.4 × 10−14 and the next is 1.8 × 10−12 . The gap is now a factor of 80 where the callable had more than twenty orders of magnitude. The exact entries −1, 1 and 0 are still identified, with an evidence of 37.7 digits, but the remaining entry is known only as 𝑎1 = 9.8693 ± 0.0021, which identifies nothing. The operator at this stage is 𝑥 𝐷3 − 𝐷2 + 𝑎1 𝑥 3 𝐷 with a fitted parameter. The solver handles the parameter as a symbol, and its candidates are Fresnel integrals of a scaled argument. The parameter is then re-estimated through those solutions (Section S2.7): matching their combination to the table at 24 points of the fit windows fixes 𝑎1 to the accuracy of the values in place of the accuracy of the window moments, and at that accuracy the identification step returns 𝜋2 . The exact operator passes the hold-out test with a residual of 3.2 × 10−15 against a noise level of 2.7 × 10−15 , the noise is below 10−8 and the evidence above 10 digits, so the grade is verified, and the closed form 𝐶 ( 𝑥 ) agrees with the table to 8 × 10−17 . This run of the operator search took 18.2 s. In the benchmark of Section S5 the same table goes through the entry point of Section S2.10, which searches for elementary relations first and took 57.2 s in all. The Fresnel integral was one of 31 special functions of a pilot set that was in view while the method was developed (Section S5.1), and the re-estimation step was added because an earlier version of the learner returned this table as a conjecture with 𝑎1 = 9.8693 left numerical. The example shows how the method works. The generated set of Section S5.5 measures how it does on functions that it was not developed on.

S3.3

What the other programs returned

Table S2 lists the result of each program for the same 1101 points, and Appendix S10 prints the seven formulas. Operon’s formula, of 302 characters, follows 𝐶 ( 𝑥 ) to 0.014% inside the training range, and RILS-ROLS returned the shortest one, 1.055034 sin( 𝑥 ) cos( 𝑥 2 ) − 0.689068 cos( 𝑥 2 ) + 0.672111, with an error of 0.90%. Beyond the range, up to 𝑥 = 2.9, the errors are between 27% and 167%. Six of the seven formulas fit the points to within 3.4%. Each is the best formula that its program found in its budget, and the space that these programs search does not contain 𝐶 ( 𝑥 ). 37

Table S2: Results for 1101 float64 points of the Fresnel integral 𝐶 ( 𝑥 ) on [0.2, 2]. The error is the largest value of | 𝑔 − 𝐶 |/(| 𝐶 | + rms) at 400 random points inside the training range and at about 200 points beyond it, up to 𝑥 = 2.9, in percent. The five programs with a time setting ran for 60 s on one thread; Flash-ANSR, E2E, TPSR and Vitrify Exact Learning have none, and TPSR was stopped at 600 s. Method

Returned

Vitrify Exact Learning Operon RILS-ROLS PySR Bingo Flash-ANSR E2E gplearn TPSR

𝐶 (𝑥)

S4

formula of 302 characters formula of 60 characters formula of 183 characters formula of 250 characters formula of 74 characters formula of 451 characters formula of 81 characters no formula in 600 s

Error inside the data (%)

Error beyond it, to 𝑥 = 2.9 (%)

Seconds

0 0.014 0.90 1.1 1.2 2.0 3.4 33 –

0 65 30 37 90 167 132 27 –

57.2 60.0 61.0 60.3 64.5 180.0 263.7 60.2 600.0

Examples

Every example in this section is a recorded run with the default settings. The callables are evaluated with 𝑁 𝑝 = 40, and the times are wall-clock seconds of one process; several such processes ran side by side on one machine.

S4.1

Densities and changes of variable

Lognormal. For the lognormal density with parameters 𝜇 = 1/2 and 𝜎 = 3/4 on [0.2, 6] the search in 𝑥 finds nothing, as it should. Under 𝑦 = log 𝑥 with weight 𝑘 = 0 the learner returns (Figure S2a, b) √ 2 2 𝑒−2/9 −1/9 −8 log2 𝑥 /9 ′ 9 𝑔 + (16 𝑦 + 1) 𝑔 = 0, 𝑓 (𝑥) = 𝑒 , 𝑥 √ 3 𝜋 with the constant identified exactly, in 45.3 s. Rice. The Rice density 𝑓 ( 𝑥 ) = 𝑥 𝑒− ( 𝑥 +1)/2 𝐼0 ( 𝑥 ) is the distribution of the envelope of a sine wave in Gaussian noise [93, 94]. On [0.1, 4] it has an operator in 𝑥 , and the learner ranks first the cheaper one of its pushforward under 𝑦 = 𝑥 2 (Figure S2c, d): 2

4 𝑦 𝑔 ′′ + 4( 𝑦 + 1) 𝑔 ′ + ( 𝑦 + 1) 𝑔 = 0,

in 𝑥 :

𝑥 2 𝑓 ′′ + 𝑥 (2 𝑥 2 − 1) 𝑓 ′ + ( 𝑥 4 − 𝑥 2 + 1) 𝑓 = 0.

The residual on the held-out window is 4.0 × 10−38 against a noise level of 1.6 × 10−37 at 40 digits, 2 and 1.9 × 10−78 against 1.4 × 10−77 at 80. The closed form returned is 𝑥 𝑒− 𝑥 /2−1/2 𝐼0 ( 𝑥 ), in 22.6 s. A parameter without a closed form. Several regression cases (Section S5.9) contain the number 𝑎 = 0.7390851332151606 . . ., the root of cos 𝑎 = 𝑎, which none of the identification searches can name. For 𝑓 ( 𝑥 ) = 𝑒− 𝑎/𝑥 /𝑥 2 the learner returns the map 𝑦 = 1/𝑥 with 𝑘 = 1, the operator 𝑔 ′ + 𝑎1 𝑔 = 0 and the closed form 𝑒 − 𝑎1 /𝑥 / 𝑥 2 , with 𝑎1 kept as a symbol. Its fitted value at 80 digits differs from 𝑎 by 9.0 × 10−82 . 𝜋

Fitted exponents. For 𝜋 𝑥 𝜋−1 𝑒− 𝑥 no map of the bank gives an operator. The fitted power of Section S2.6 finds the exponent, identifies it as 𝜋 and returns 𝑔 ′ + 𝑔 = 0 under 𝑦 = 𝑥 𝜋 with 𝑘 = 1, 7/10 𝑒 − 𝑥 17/10 comes back in the same way, with the exponent 17/10 and in 47.8 s. The density 17 10 𝑥 23/10 /2 𝑔 ′ + 𝑔 = 0. For the function 𝑥 2 𝑒 −3𝑥 the exponent 23/10 is identified, and the first certificate is the plain substitution 𝑦 = 𝑥 23/10 with 𝑘 = 0 and the operator 46 𝑦 𝑔 ′ + (69 𝑦 − 40) 𝑔 = 0. 38

(a) Morse oscillator, n = 2

operator in y = ex, 9.1 s

0.4

(c) Harmonic oscillator, n = 3

(b) Hydrogen 3s

operator in y = x2, 8.4 s

operator in x, 8.3 s

–

(d) Pöschl Teller, n = 1

operator in y = sinh x, 15.0 s

0.5 100

0.00

−0.25 −0.5

2

4

0

5

10

15

(e) Quantum bouncer

wall

ψ(x)

0.5 0.0

4

0

1

2

3

position x

(g) FRAP recovery

operator in x, 24.4 s E = 74.8870067906…

1.0

0.2

2

position x

(f) Circular well

operator in x, 22.9 s E = 2.33810741045…

0.4

0

radius x (bohr)

operator in y = 1/t, 9.3 s

recovered fraction f(t)

0

displacement x

ψ(x)

0.0

0.0

−100

0.6

ψ1(x)

0

0.2

ψ3(x)

R30 x

ψ2(x)

()

0.25

0.75

data given to the learner 0.50

the function closed form returned

0.25 0.00

0.0 0

2

4

height x

6

0.0

0.5

1.0

0

radius x

2

4

6

time t (diffusion times)

Figure S3: Seven of the worked examples. Grey band: the interval of the data given to the learner. Black: the function. Dashed: the closed form returned, drawn beyond the data as well. Under each title, the variable in which the operator was found and the time. Panels (e) and (f) give the energy that the learner returned as the fitted coefficient of the Schrödinger equation; panel (f) marks the wall of the well.

S4.2

Wavefunctions of exactly solvable systems

A few exactly solvable systems carry much of quantum chemistry and physics: the harmonic oscillator for small vibrations, the Morse oscillator for the stretching of a bond [95], the hydrogen atom for orbitals, and the Pöschl–Teller well [96, 97]. For eight such systems we gave the learner a routine that returns one wavefunction on an interval and nothing else: no potential, no energy and no boundary condition. Table S3 lists what it returned for them and for the recovery curve of Section S4.4, Table S4 the tests, and Figure S3 shows seven of the closed forms continued beyond the data. States that are a polynomial times an exponential. For four of the systems the learner returns a first-order operator. This is correct and is the least order: the logarithmic derivative of such a state is a rational function of the right variable, and the search stops at the first order that has a null direction. The Schrödinger equation, of second order, holds as well and is not reported. The second excited state of the Morse oscillator −𝜓′′ + 36 ( 𝑒−2𝑥 − 2 𝑒− 𝑥 ) 𝜓 = 𝐸𝜓 contains the factor exp(−6 𝑒− 𝑥 ), which satisfies no equation of the form (S1) in 𝑥 ; the Schrödinger equation itself has coefficients that are not polynomials in 𝑥 . The learner found the variable 𝑦 = 𝑒𝑥 and returned, in 9.1 s, √ −𝑥 2 𝑦 2 ( 𝑦 −2)( 𝑦 −1) 𝑔 ′ + (7 𝑦 3 −39 𝑦 2 +58 𝑦 −24) 𝑔 = 0, 𝜓 ( 𝑥 ) = 124416 3 ( 𝑒𝑥 −2)( 𝑒𝑥 −1) 𝑒 −11𝑥 /2−6 𝑒 , where the constant is that of the routine we supplied, 𝑧7/2 𝑒− 𝑧/2 𝐿2(7) ( 𝑧) with 𝑧 = 12 𝑒− 𝑥 . For the hydrogen 3𝑠 radial function it returned the polynomial, the decay and the normalisation, 𝑅30 ( 𝑟 ) = 39

Table S3: Nine worked examples from callables at 40 digits. For each: the system, the interval of the data, the variable in which the operator was found (with the weight 𝑘 of equation (S13) when it is 1), and the time; on the indented lines, the equation returned, the closed form returned and any coefficient that stayed numerical, with what it is. In a transported variable 𝑦 the equation is for 𝑔 of equation (S14). System Interval Equation returned; closed form returned; fitted parameter

Variable

Seconds

Morse oscillator, 𝑛 = 2  [−0.5, 3] 2 𝑦 2 ( 𝑦 − 2) ( 𝑦 − 1) 𝑔 ′ + 7 𝑦 3 − 39 𝑦 2 + 58 𝑦 − 24 𝑔 = 0 √ −𝑥 𝜓 ( 𝑥 ) = 124416 3 ( 𝑒𝑥 − 2) ( 𝑒𝑥 − 1) 𝑒 −11𝑥 /2−6𝑒

𝑦 = 𝑒𝑥

9.1

Hydrogen 3𝑠   3 2𝑟 2 − √ 18𝑟 + 27 𝑅′ + 2𝑟 2 − 30𝑟 + 81 𝑅 = 0  𝑅 ( 𝑟 ) = 22433 2𝑟 2 − 18𝑟 + 27 𝑒 − 𝑟/3

[0.5, 12]

𝑟

8.3

Harmonic oscillator, 𝑛 = 3 2 (2 𝑦 − 3)√ 𝑔 ′ + (2 𝑦 − 7) 𝑔 = 0  2 3 𝜓 ( 𝑥 ) = 3𝜋1/4 𝑥 2 𝑥 2 − 3 𝑒 − 𝑥 /2

[0.1, 4]

𝑦 = 𝑥 2 , weight 𝑘 = 1

8.4

Pöschl–Teller well, 𝑛 = 1  2 𝑦 𝑦 2 + 1 𝑔′ + 3 𝑦 2 − 2 𝑔 = 0 𝜓 ( 𝑥 ) = sinh 𝑥 /cosh5/2 𝑥

[0.1, 3]

𝑦 = sinh 𝑥

15.0

Quantum bouncer [0.1, 6] 𝑥 𝜓′′ + ( 𝑎1 − 𝑥 ) 𝜓 = 0 𝜓 ( 𝑥 ) = Ai( 𝑥 − 𝑎1 ) 𝑎1 = 2.3381074104597670384 . . ., the energy 𝐸, minus the first zero of Ai

22.9

Circular well [0.05, 1] 𝑟 𝑟 𝜓′′ + 𝜓′ + 𝑎1 𝑟 𝜓 = 0 √ 𝜓 ( 𝑟 ) = 𝐽0 𝑎1 𝑟 𝑎1 = 74.887006790695183444 . . ., the energy 𝐸, the square of the third zero of 𝐽0

24.4

Oscillator with a wall [−0.4, 3] 𝑥 𝜓′′ + 𝑎1 − 𝑥 2 𝜓 = 0  2 𝜓 ( 𝑥 ) = 𝑒 − 𝑥 /2 0.9066057102 . . . 𝑥 1 𝐹1 3/4  − 𝑎1 /4; 3/2; 𝑥 2 + 0.5498413068 . . . 1 𝐹1 1/4 − 𝑎1 /4; 1/2; 𝑥 2 𝑎1 = 2.0607657916305730122 . . ., the energy 𝐸 of the ground state with a wall at 𝑥 = −1/2

158.9

Coulomb wave 𝜌 𝐹 ′′ + ( 𝜌 + 1) 𝐹 = 0 none

[0.5, 12]

𝜌

10.3

Fluorescence recovery after photobleaching 𝑦 𝑔 ′′ + 2 (2 𝑦 + 1) 𝑔 ′ + 2 𝑔 = 0  𝑓 ( 𝑡 ) = 𝐼0 (2/𝑡 ) + 𝐼1 (2/𝑡 ) 𝑒 −2/𝑡

[0.2, 6]

𝑦 = 1/𝑡

9.3

40

Table S4: Tests of the nine certificates of Table S3, all graded verified. Residual and noise level of the exact operator on the held-out window at 40 and at 80 digits (for the three operators with a fitted parameter, after the parameter is estimated again on that window); the evidence for the exact coefficients; the largest relative difference between the closed form and the data at five check points; and the number of certificates returned, which differ in the change of variable or in the weight 𝑘. Hold-out check System

Evidence

Error of the

Digits

residual

noise

(digits)

closed form

Certificates

Morse oscillator, 𝑛 = 2

40 80

2.0 × 10−38

2.0 × 10−37

318.3

2.0 × 10−40

2

Hydrogen 3𝑠

40 80

9.4 × 10−40 4.0 × 10−80

1.0 × 10−37 1.0 × 10−77

210.3

2.4 × 10−39

3

Harmonic oscillator, 𝑛 = 3

40 80

3.2 × 10−40 5.6 × 10−80

1.0 × 10−37 1.0 × 10−77

142.9

3.2 × 10−41

2

Pöschl–Teller well, 𝑛 = 1

40 80

2.8 × 10−39 6.7 × 10−79

1.2 × 10−37 1.2 × 10−77

247.0

2.1 × 10−41

6

Quantum bouncer

40 80

3.1 × 10−38 3.8 × 10−78

1.6 × 10−37 1.4 × 10−77

171.3

8.6 × 10−40

1

Circular well

40 80

8.8 × 10−39 1.7 × 10−78

1.3 × 10−37 1.3 × 10−77

174.0

0

9

Oscillator with a wall

40 80

1.5 × 10−37 3.8 × 10−77

1.6 × 10−36 1.1 × 10−76

243.5

3.3 × 10−30

1

Coulomb wave

40 80

6.2 × 10−39 3.1 × 10−78

1.6 × 10−37 1.3 × 10−77

215.7

–

1

Fluorescence recovery after photobleaching

40 80

3.1 × 10−38 8.9 × 10−79

1.3 × 10−37 1.3 × 10−77

199.6

0

1

2.4 × 10−78

1.4 × 10−77

√ 2 3 2 − 𝑟 /3 . The harmonic oscillator state 𝑛 = 3 came back as the pushforward 243 (2𝑟 − 18𝑟 + 27) 𝑒 √ under 𝑦 = 𝑥 2 with the constant 3/(3𝜋1/4 ), and the first excited state of the Pöschl–Teller well 2 5/2 −𝜓′′ − 35 𝑥 , a function with no polynomial 4 sech 𝑥 𝜓 = 𝐸𝜓 under 𝑦 = sinh 𝑥 as sinh 𝑥 /cosh operator in 𝑥 .

S4.3

Energies as fitted coefficients

When the state is not of that kind, the operator of least order is the Schrödinger equation itself, and the energy appears in it as a coefficient that has no closed form. The method then returns the equation with exact coefficients and one numerical parameter. A particle above a hard floor in a uniform field, the quantum bouncer [98], obeys −𝜓′′ + 𝑥𝜓 = 𝐸𝜓. From values of its ground state on [0.1, 6] the learner returned 𝜓′′ + ( 𝑎1 − 𝑥 ) 𝜓 = 0,

𝜓 ( 𝑥 ) = Ai( 𝑥 − 𝑎1 ) ,

𝑎1 = 2.33810741045976703848919725245,

in 22.9 s, with an estimated error of 2.5 × 10−36 for 𝑎1 . The energy of the ground state is minus the first zero of the Airy function, and the 30 digits recorded for 𝑎1 agree with it in every digit. For the third 𝑠 state of a particle in a circular well of unit radius, the model of an electron in a quantum corral [99], the learner returned Bessel’s equation and the energy,  √ 𝑟 𝜓′′ + 𝜓′ + 𝑎1 𝑟 𝜓 = 0, 𝜓 ( 𝑟 ) = 𝐽0 𝑎1 𝑟 , 𝑎1 = 74.8870067906951834448890413101, in 24.4 s; 𝑎1 is the square of the third zero of 𝐽0 , again in all 30 recorded digits.

41

The ground state cylin√ of a harmonic oscillator with a hard wall at 𝑥 = ′′−1/2 is a parabolic 2 der function 𝐷𝜈 ( 2 𝑥 ) of non-integer index. The learner returned 𝜓 + ( 𝑎1 − 𝑥 ) 𝜓 = 0 with 𝑎1 = 2.0607657916305730122 . . ., which is the energy 𝐸 = 2𝜈 + 1, and through the gauge rule 2 a closed form 𝑒− 𝑥 /2 times a combination of two 1 𝐹1 series whose parameters contain 𝑎1 . The two constants of the combination stayed numerical, the closed form agrees with the data to 3.3 × 10−30 , and the run took 158.9 s, the longest of the nine. For the continuum 𝑠 wave of hydrogen, the regular Coulomb function 𝐹0 ( 𝜂, 𝜌) with 𝜂 = −1/2, the learner returned 𝜌 𝐹 ′′ + ( 𝜌 + 1) 𝐹 = 0 with exact coefficients in 10.3 s and no closed form. The standard form of the solution is a confluent hypergeometric function with complex parameters, and the solver’s rules work with real exponents and rates only. The certificate still determines the function (Section S2.8).

S4.4

A recovery curve from cell biology

In fluorescence recovery after photobleaching, a spot of fluorescent molecules in a membrane is bleached by a laser pulse and the fluorescence returns as unbleached molecules diffuse in; the recovery curve gives the diffusion coefficient [100]. For a uniform circular spot the fraction recovered is commonly quoted in the closed form due to Soumpasis [48],   𝑓 ( 𝑡 ) = 𝑒 −2/𝑡 𝐼0 (2/𝑡 ) + 𝐼1 (2/𝑡 ) , (S20) with 𝑡 in units of the characteristic diffusion time. From values of 𝑓 on [0.2, 6] the learner found the change of variable 𝑦 = 1/𝑡 , the operator and the closed form (S20) in 9.3 s (Figures S2e, f and S3g): in 𝑡 : 𝑡 3 𝑓 ′′ − 4𝑡 𝑓 ′ + 2 𝑓 = 0. 𝑦 𝑔 ′′ + 2(2 𝑦 + 1) 𝑔 ′ + 2 𝑔 = 0,

S4.5

A Meijer 𝐺 density from a float64 table

The density of the product of 𝑞 independent standard normal variables is a Meijer 𝐺 -function [101]. For 𝑞 = 4, from 1101 float64 values on [0.2, 3], the learner returned  2  1 – 4,0 𝑥 3 ′′′′ 2 ′′′ ′′ ′ 𝑥 𝑓 + 6 𝑥 𝑓 + 7 𝑥 𝑓 + 𝑓 − 𝑥 𝑓 = 0, 𝑓 (𝑥) = 𝐺 , (S21) 4𝜋2 0,4 16 0, 0, 0, 0 in 141.0 s (10.7 s from the callable), with recorded errors of 0 inside the training range and 0 beyond it (Figure S4a, b). In 𝜃-form the equation is 𝜃4 𝑓 = 𝑥 2 𝑓 . Its four local exponents at the origin coincide, so three of its four solutions contain powers of log 𝑥 and no hypergeometric series reaches the density; this is the case for which the Meijer 𝐺 rule of Section S2.7 was written. Of the eight other programs, and PySR with 14 special functions added to its operations (Section S5.1), the closest is Flash-ANSR, with errors of 8.5 × 10−5 inside and 1.8 × 10−4 beyond.

S4.6

The deflection of light by a black hole

A light ray that passes a Schwarzschild mass 𝑀 at impact parameter 𝑏 is bent by an angle 𝛼 that is an elliptic integral over the roots of a cubic; Darwin analysed the orbits in this field [102]. We computed 𝛼 by quadrature as a function of 𝑢 = 𝑀 /𝑏 (with 𝐺 = 𝑐 = 1) on [0.01, 0.12]. From the callable the learner returned, in 10.6 s, a fourth-order equation and its solution as a sum of two hypergeometric functions: 𝑢 (27𝑢2 − 1) 𝛼′′′′ + 3 (9𝑢 − 1)(9𝑢 + 1) 𝛼′′′ + 501 𝑢 𝛼′′ + 192 𝛼′ = 0,





h





i

𝛼 ( 𝑢) = 4𝑢 3 𝐹2 32 , 1, 43 ; 32 , 32 ; 27𝑢2 + 𝜋 2 𝐹1 61 , 65 ; 1; 27𝑢2 − 1 .

42

(S22)

(a) Product of four normals training range

beyond

error |g − f|/(|f| + rms)

probability density f(x)

0.5 0.4 0.3 0.2 0.1 0.0

2

100

(b) Error of each returned formula g

10−5

tolerance PySR: no real value beyond 3.14

Vitrify Exact Learning, float64 table: closed form, error 0 inside the range, 0 beyond

10−10

4

0.5

1.0 0.5 0.0 0.10 u

0.15

100

error |g − α|/(|α| + rms)

bending angle α(u) (rad)

beyond

1.5

0.05

1.5

2.0

2.5

3.0

3.5

4.0

x

(c) Deflection of light training range

1.0

, product of four standard normal variables

x

2.0

TPSR RILS-ROLS gplearn E2E Bingo Operon PySR + 14 functions Flash-ANSR

(d) Error of each returned formula g

10−5

tolerance

10−10 10−15

= M/b

Vitrify Exact Learning, float64 table: no model; callable: closed form, error 0 inside the range, 0 beyond

TPSR RILS-ROLS gplearn PySR + 14 functions Operon PySR Flash-ANSR Bingo E2E is not drawn: its recorded formula is cut at 600 characters. Its recorded error is 0.0035 inside, 0.25 beyond.

0.02 0.04 0.06 0.08 0.10 0.12 0.14 0.16 u

= M/b, mass over impact parameter (G = c = 1)

Figure S4: Two targets from the physical set of Section S5.6. (a) The density of the product of four standard normal variables, with the training range shaded. (b) The error of the formula that each other program returned for 1101 float64 points; the dashed line is the tolerance 10−5 . From the same points Vitrify Exact Learning returned the closed form (S21). PySR’s curve stops at 𝑥 = 3.14, where its formula has no real value. (c) The bending angle of light by a Schwarzschild mass against 𝑢 = 𝑀 /𝑏. (d) As (b). Here the float64 table gave Vitrify Exact Learning no model, and the callable gave the closed form (S22). E2E is not drawn because its recorded formula is cut at 600 characters; its recorded errors are 0.0035 inside and 0.25 beyond. 3 3465𝜋 4 The series of (S22) begins 4𝑢 + 154𝜋 𝑢2 + 128 value 4 𝑀 /𝑏. The 3 𝑢 + 64 𝑢 ; its first term is Einstein’s √ 2 singular point 27𝑢 = 1 of the equation is the critical impact parameter 𝑏 = 3 3 𝑀 below which the light is captured. The returned closed form has recorded errors of 0 inside the range and 0 beyond it, up to 𝑢 = 0.175. From 1101 float64 values of the same function the learner returned no model, after 912.3 s: sixteen digits do not determine an operator of order 4 and degree 3 on this interval. The closest other program is Bingo, whose formula is within 1.5 × 10−7 inside the range and off by 1.2 × 10−2 beyond it (Figure S4c, d).

S4.7

Elliptic integrals in two of their arguments

The complete elliptic integral of the third kind, Π ( 𝑛 | 𝑚) =

∫ 𝜋/2 0

d𝜃 , √ (1 − 𝑛 sin2 𝜃) 1 − 𝑚 sin2 𝜃

43

(a)

Target and 1000 points

(b)

Operon's formula g

(c)

Vitrify Exact 0 inside, 0 beyond Learning Operon E2E PySR RILS-ROLS Bingo TPSR Flash-ANSR gplearn

parameter m

parameter m

0.6 0.4

0.2

0.4

data 0.2

0.2

0.4

0.2

characteristic n

Error of each formula

0.4

characteristic n

10−5

0.6

2.0

2.4

Π(n | m)

2.8

10−1

largest error at the test points

inside the box

1.6

10−3

10−7 10−6 10−5 10−4 10−3 10−2 error |g − Π|/(|Π| + rms)

beyond it

Vitrify Exact Learning read the callable at 40 digits; from the same 1000 float64 points it returned no model.

Figure S5: The complete elliptic integral Π ( 𝑛 | 𝑚). (a) Contours of the target on the box [0.05, 0.55] 2 with the 1000 float64 points given to the other programs. (b) The error of Operon’s formula, the closest inside the box, on a wider region; the box is outlined. (c) The largest error of each program’s formula inside the box and beyond it. Vitrify Exact Learning returned (S23) from the callable at 40 digits; from the same 1000 float64 points it returned no model.

depends on two parameters. Given as a callable on the box [0.05, 0.55] 2 , it gave a system from which the reduction of Section S2.11 kept three operators, among them 2( 𝑚 − 𝑛) 𝜕𝑛 𝜕𝑚 𝑓 + 𝜕𝑛 𝑓 − 2 𝜕𝑚 𝑓 = 0, 4𝑛 ( 𝑛 − 1) 𝜕2𝑛 𝑓 + 2(4𝑛 − 1) 𝜕𝑛 𝑓 − 4𝑚 ( 𝑚 − 1) 𝜕2𝑚 𝑓 − 4𝑚 𝜕𝑚 𝑓 + 𝑓 = 0, each with exact coefficients and a residual on the held-out quadrant at its noise level, near 10−37 (Appendix S13). Two further operators found in the same measurements have the two-term form that fixes the ratios (S19), and the series they determine is Appell’s first function: Π ( 𝑛 | 𝑚) =

𝜋

2



𝐹1 12 ; 12 , 1; 1; 𝑚, 𝑛 .

(S23)

The run took 123.8 s, and the recorded errors of (S23) are 0 inside the box and 0 beyond it. ∫ ∞  −1/2 d𝑡 [103, 104] gives the Carlson’s symmetric integral 𝑅 𝐹 ( 𝑥, 𝑦, 1) = 12 0 ( 𝑡 + 𝑥 ) ( 𝑡 + 𝑦 )( 𝑡 +1) capacitance 𝐶 of a conducting ellipsoid with semi-axes 𝑎, 𝑏 and 𝑐 through 𝑅 𝐹 ( 𝑎2 , 𝑏2 , 𝑐2 ) = 4𝜋𝜀0 /𝐶 . On the box [0.3, 0.8] × [0.35, 0.9] the search in ( 𝑥, 𝑦 ) finds operators and no series. After the change of variable 𝑢 = 1 − 𝑥 , 𝑣 = 1 − 𝑦 it returns, in 221.1 s,  𝑅 𝐹 ( 𝑥, 𝑦, 1) = 𝐹1 12 ; 12 , 21 ; 23 ; 1 − 𝑦, 1 − 𝑥 , (S24) which is Lauricella’s function 𝐹 𝐷 of two variables [18]. One of the operators kept is 2(𝑢 − 𝑣) 𝜕𝑢 𝜕𝑣 𝑓 − 𝜕𝑢 𝑓 + 𝜕𝑣 𝑓 = 0. The eight symbolic-regression programs, and PySR with 14 special functions, were given 1000 float64 points of Π drawn from the box (Figure S5). The closest inside the box is Operon, with an error of 1.2 × 10−4 there and 6.4 × 10−3 beyond; E2E has 2.3 × 10−4 and 1.5 × 10−3 . None reaches the tolerance. This comparison is not like for like, and we return to it in Section S5.7: from the same 1000 float64 points the learner itself returns no model, and what the example shows is that values to 40 digits suffice to identify the function.

44

S5

Benchmarks

This section compares Vitrify Exact Learning with eight open symbolic-regression programs on the same float64 tables and with the published results of SRBench. Every number is a count over recorded runs: a program was run on generated data and the function it returned was compared with the exact target. Figure 4 gives the overview.

S5.1

Protocol

Scoring. A program receives training points and returns one expression 𝑔. Its error against the target 𝑓 is | 𝑔 ( 𝑥 ) − 𝑓 ( 𝑥 )| max , (S25) 𝑥 | 𝑓 ( 𝑥 )| + rms where rms is the root mean square of the training values. The maximum is taken twice: over 400 random points inside the training range, and over points beyond it. For the published suites the points beyond are those of 600 random points, drawn up to half a range-width beyond the upper ends, that have a coordinate above its range: about 200 in one variable (164 to 234) and 320 to 590 in several, and fewer where the target has a singular point there. The generated, physical and two-variable sets use fixed grids of 200 points, in one variable up to half a rangewidth beyond the upper end and in two variables up to 30% of a box width beyond both upper ends. A target is recovered when both errors are at most 10−5 , or at most the noise level when noise was added and is larger. We also count the recoveries that hold to 10−12 . The rule does not compare expression trees. An approximant that fits the training range fails beyond it, and a correct form with fitted constants passes. Because the rule rewards extrapolation it favours exact forms, so we also report how many expressions match inside the range only. Programs. Table S5 lists what was run; Appendix S9 gives the sources. Each program ran once per target with one seed. The five programs with a time setting ran for 60 s on one thread. Published suites. Five suites come from the literature. • Classic sets at their published points: the one-variable functions of the benchmark collection distributed with deep symbolic regression [54], which gathers the Nguyen, Keijzer, Koza, Livermore, R and other sets [65, 66]; 53 distinct targets, 40 of them with 20 training points and the rest with 21 to 1000. • Classic sets at 1101 points: the same functions at 1101 evenly spaced points (51 targets). • Feynman equations, one variable at a time: each of the 120 AI Feynman equations [59] as a function of one of its variables at 1101 points, with the others fixed inside their ranges. The 468 slices have 254 distinct shapes, and slices that differ by a constant factor are run once. • Feynman equations in all variables: the 120 equations in their 1 to 9 variables at 1000 uniform random points. • Special functions, pilot set: 31 Bessel, Airy, elliptic, hypergeometric and related functions at 1101 points, written for a first comparison. These suites were in view while the method was developed: the entry point of Section S2.10 was written with the classic and Feynman targets at hand. They are a development set, and Section S5.5 describes the test that was made after the code was frozen.

45

Table S5: The programs that were run. All received the same float64 training points. Program

What ran

Vitrify Exact Learning

One frozen version of the learner. On a float64 table, the entry point of Section S2.10, which ends in the operator search for one variable. On a callable, the operator search at 40 digits, or the two-variable learner, which was written after that version was frozen. It has no time setting. A run on a float64 table is stopped after 900 s (600 s on SRBench), and a run on a callable after 900 s on the generated set, 3600 s on the physical set and 3000 s in two variables. On the tables of the physical set the entry point for tables (900 s) is followed by the operator search on the table (3600 s). Version 2.7.2 with its default search, maximum size 30, the operations +, −, ×, ÷, sin, cos, exp, log and sqrt, in float64, 60 s. “PySR with SRBench’s limits” adds the limits that SRBench puts on the search (no nested trigonometric or exponential functions, among others). “PySR + 14 functions” adds erf, 𝐽0 , 𝐽1 , 𝑌0 , 𝐼0 , 𝐾0 , Ai, Bi, 𝐾 , 𝐸, Ei, Si, Ci and Γ as unary operations. pyoperon 0.6.2 with SRBench’s settings, 60 s. It evaluates in float32. bingo-nasa 0.5.7 with SRBench’s settings, 60 s. Version 0.4.3 with SRBench’s settings and exp added, 60 s. It does not optimise constants. Version 1.6.7 with SRBench’s settings, 60 s. Version 0.19.1 with its pretrained model: 1024 sampled expressions with refined constants. No time setting. The authors’ code and checkpoint with SRBench’s settings: bags of 200 points and 100 candidates refined by BFGS. No time setting. The authors’ code through the wrapper of SRBench 2025. No time setting; a run is stopped at 600 s where the limit could interrupt it and then counts as no expression. 23 runs returned an expression after 608 to 2545 s, none of them a recovery.

PySR [3]

Operon [49] Bingo [50] gplearn [51] RILS-ROLS [53] Flash-ANSR [58] E2E [56] TPSR [57]

S5.2

Published suites without noise

Table S6 gives the counts. Vitrify Exact Learning recovers 45 of the 53 classic targets at their published points and 47 of 51 at 1101 points, 251 of the 254 Feynman slices and 108 of the 120 Feynman equations in all variables. The best other program on each recovers 33 (PySR), 32 (PySR), 184 (Bingo) and 69 (Flash-ANSR). On the pilot set of special functions it recovers 28 of 31, and no program of Table S6 recovers any. That table has no row for PySR with special functions. In an earlier run on the pilot set, PySR with erf, 𝐽0 , 𝐽1 , Ai, Bi and 𝐾 added to its operations recovered 8 of the 31: seven compositions of those six functions, all of which Vitrify Exact Learning also recovers, and the digamma function, by a fitted approximant with errors of 8 × 10−6 inside the range and 7 × 10−6 beyond it. Some targets are recovered by Vitrify Exact Learning and by none of the nine other rows of Table S6: 6 classic targets (11 at 1101 points), 35 slices, 28 Feynman equations in all variables and the 28 special functions (21 when the run of PySR with six special functions is counted). At the published points the six are Nguyen-7, returned as log( 𝑥 3 + 𝑥 2 + 𝑥 + 1), Constant-8, R1, Livermore-22, returned as 𝑥 ( 𝑥 +1)( 𝑥 2 +1)( 𝑥 4 +1) from 20 points, and the polynomials of degree 9, Livermore-9 and Nonic, which came back as conjectures with one spurious coefficient near 10−16 . On the slices they are Gaussians, square roots of quadratics, rational functions, and trigonometric and hyperbolic forms such as tanh, 1/cosh and sin2 ( 𝑎𝑥 − 𝑏)/( 𝑥 − 𝑐) 2 , with awkward constants. In the other direction, eight targets were recovered by another program of Table S6 and missed by Vitrify Exact Learning: R2a, Neat-6 and Poly-5 (PySR and Bingo) and R3a (FlashANSR) among the classic targets at their published points, and the Feynman equations I.50.26 and test_17 (PySR and RILS-ROLS), II.35.21 (Flash-ANSR) and test_19 (Operon). At 1101 points Neat-6 and Poly-5 were missed again and recovered by PySR or Flash-ANSR. In all, Vitrify Exact Learning missed 8 classic targets, 4 at 1101 points, 3 slices, 12 Feynman equations in all 46

Table S6: Targets recovered from noise-free float64 tables; in brackets, the number of those that hold to 10−12 . Classic sets

Feynman equations

Special functions

Method

published points of 53

1101 points of 51

one variable at a time of 254

all variables of 120

pilot set of 31

Vitrify Exact Learning PySR PySR with SRBench’s limits Bingo Flash-ANSR RILS-ROLS Operon E2E TPSR gplearn

45 (45) 33 (27) 30 (21) 26 (23) 19 (18) 25 (25) 13 (0) 9 (1) 8 (0) 3 (3)

47 (47) 32 (23) 26 (20) 15 (14) 21 (20) 19 (18) 5 (0) 7 (0) 8 (0) 4 (4)

251 (244) 174 (106) 164 (96) 184 (141) 168 (59) 103 (101) 104 (0) 92 (13) 67 (3) 0

108 (108) 64 (61) 60 (54) 48 (39) 69 (64) 67 (67) 54 (0) 43 (1) 11 (0) 14 (14)

28 (28) 0 0 0 0 0 0 0 0 0

Table S7: The expressions returned for the 389 noise-free one-variable tables (the two classic suites, the Feynman slices and the pilot set). An expression “matches inside the range only” when its error is at most 10−5 inside the training range and larger beyond it. Of the expressions returned Method

Tables

Expressions returned

recovered

of these to 10−12

match inside the range only

neither

Vitrify Exact Learning PySR PySR with SRBench’s limits Bingo Flash-ANSR RILS-ROLS Operon E2E TPSR gplearn

389 389 389 389 389 389 389 389 389 389

371 389 389 389 389 389 389 389 341 389

371 239 220 225 208 147 122 108 83 7

364 156 137 178 97 144 0 14 3 7

0 42 47 46 42 1 27 25 9 0

0 108 122 118 139 241 240 256 249 382

variables (three of them stopped at 900 s) and 3 special functions. Two of the three, the Kelvin function ber and the trilogarithm Li3 , have operators of order 4 that the float64 tables did not determine; from callables the learner returns both in closed form, ber on [0.5, 5] in 23.5 s and Li3 on [0.05, 0.9] in 62.4 s. The third, the digamma function, is not holonomic. Summed over its 569 runs on these suites, including those with noise, Vitrify Exact Learning took 8.9 hours with a median of 8.8 s per run. The 60 s programs took 5.8 to 9.7 hours, FlashANSR 26.9, E2E 37.7 and TPSR 62.4.

S5.3

What is returned is exact or absent

A search program always returns something: its best formula. Table S7 and Figure S6 show what that means on the 389 noise-free tables in one variable. PySR returned 389 expressions, of which 239 are recovered and 42 match inside the training range and fail beyond it. For Bingo the two numbers are 225 and 46, for Flash-ANSR 208 and 42. Scored inside the range only, PySR would be credited with 281. Vitrify Exact Learning returned 371 expressions and no model for the other 18. All 371 are recovered, 364 of them to 10−12 , and for 250 both recorded errors are exactly zero. On these 47

≥

(c) Bingo

(b) PySR

(a) Vitrify Exact Learning

102

error beyond the training range

10−5 10−11

≤10−17

tables 389 expressions returned 371 recovered 371 matches inside only 0

(e) RILS-ROLS

(d) Flash-ANSR

≥

tables 389 expressions returned 389 recovered 239 matches inside only 42

tables 389 expressions returned 389 recovered 225 matches inside only 46 (f) Operon

102

10−5 10−11

≤10−17

tables 389 expressions returned 389 recovered 208 matches inside only 42

≤10−17 10−11

10−5

tables 389 expressions returned 389 recovered 147 matches inside only 1

≥102 ≤10−17 10−11

10−5

tables 389 expressions returned 389 recovered 122 matches inside only 27

≥102 ≤10−17 10−11

10−5

≥102

error inside the training range, max |prediction − target| / (|target| + rms of the training targets) Figure S6: Error beyond the training range against error inside it for every expression returned on the 389 noise-free one-variable tables, for six programs. The dashed lines are the tolerance 10−5 . Points in the lower left corner are recovered; points in the upper left quadrant fit the data and fail beyond them.

suites a returned expression was always right on the tested range, which ends half a range-width beyond the data. Further from the data. To see how far that holds, we evaluated the 371 expressions again, without running the learner, on three bands that the benchmark does not test: from 0.6 to 3 range-widths beyond the upper end, from 4 to 30 range-widths beyond it, and from 0.6 to 3 range-widths below the lower end. Of the 371, 251 are graded verified and contain no fitted constant, and 120 are conjectures with at least one float64 constant. Counting the expressions whose target is real and finite at some point of a band, the error (S25) stays within 10−9 for 363 of 364 in the first band, 352 of 354 in the second and 327 of 330 in the third. The five expressions that fail are of two kinds.  p 13𝑥 2 • A lost sign in a verified expression. For the slice 20 3 − 9 / 1 − 49 𝑥 /5184 of the Feynman equa2 tion I.15.3x on [1, 2], the p relation search found an exact rational function for 𝑓 and returned 2 2 its positive square root, (−10816𝑥 + 99840𝑥 − 230400)/(49𝑥 − 5184), graded verified with both recorded errors 0. That is the absolute value of the target, which changes sign at 𝑥 = 60/13; beyond p p up to 1.8. A slice of I.15.1 on [1, 2],  that point the expression is wrong by 7 𝑥 / 3 1 − 𝑥 2 /36 , was returned in the same way as 14 −𝑥 2 /( 𝑥 2 − 36), which has the wrong sign for 𝑥 < 0. • Conjectures with fitted constants. Two slices of the equation test_2 were returned as a root of a quadratic with fitted coefficients, and are wrong by 0.70 and 0.35 below the lower end of the data. A slice of III.9.52, 552123 𝜋 sin2 (2 𝑥 /143)/(34𝑥 ) on [1, 3], was returned as 54𝜋𝑥 (1 − 1.304 × 10−5 𝑥 2 ) 4.99976 /17, which follows the target to 10−9 up to three range-widths beyond the data and is off by up to 1.1 × 10−4 between four and thirty. 48

Table S8: SRBench, problems with known answers. Symbolic solution rate at four noise levels, and the share of runs with 𝑅2 > 0.999 on the test rows without noise. The row of Vitrify Exact Learning is from our runs (three seeds without noise and one seed at each noise level, a limit of 600 s). All other rows are the results that SRBench publishes (eight to ten runs per problem, under a budget of 106 evaluations or 8 hours); the Operon and gplearn rows are those published results and not the runs of Table S6. 𝑅2 > 0.999 (%)

Symbolic solution rate (%) at noise level Feynman

Strogatz

Feynman,

Method

0

0.001

0.01

0.1

0

0.001

0.01

0.1

no noise

Vitrify Exact Learning AIFeynman AFP_FE GP-GOMEA ITEA AFP DSR Operon gplearn SBP-GP EPLEX BSR MRGP FEAT FFX

74.1 55.8 27.0 26.8 22.4 21.1 19.7 16.6 16.3 12.7 12.4 2.5 0.0 0.0 0.0

0.9 33.1 21.9 11.0 14.6 19.7 19.1 13.2 17.0 0.8 9.6 0.6 0.0 0.0 0.0

0.9 13.0 20.8 5.1 7.8 16.9 19.0 2.1 16.9 0.0 8.7 0.1 0.0 0.0 0.0

0.0 0.7 13.5 1.6 1.5 13.1 16.8 0.1 16.6 0.0 10.2 0.0 0.0 0.0 0.1

100.0 27.1 20.0 29.5 7.1 15.2 19.6 11.4 8.9 11.6 8.9 0.9 0.0 0.9 0.0

0.0 22.1 15.7 7.1 7.1 13.6 19.3 5.0 9.3 0.0 9.3 0.7 0.0 0.0 0.0

0.0 9.3 13.6 1.4 6.4 11.4 18.6 0.7 9.3 0.0 4.3 0.0 0.0 0.0 0.0

0.0 2.1 2.1 0.0 1.4 4.3 15.0 0.0 9.3 0.0 2.1 0.0 0.0 0.0 0.0

90.8 77.4 57.2 70.9 27.6 41.3 22.6 85.2 30.7 74.2 45.2 11.1 89.9 40.2 0.0

The two expressions of the first kind are exact on the side of the sign change where the data lie, and nothing in the data says what happens on the other side. They show what the grade does not cover: verified is a statement about the interval of the data. The property is weaker again on harder inputs, and three further kinds of exception occur in the runs of this paper. On the generated set of Section S5.5 one conjecture from a float64 table is wrong beyond the range: the target B35 of Table S14, from its table of 1101 points (errors of 9.0 × 10−12 inside and 0.029 beyond) and again from 50 points (8.8 × 10−11 and 0.31). On the physical set of Section S5.6 two float64 tables received a wrong certificate, one of them graded verified. And under noise most results graded fit fail the test (Section S5.8).

S5.4

SRBench

SRBench [4] publishes results for many methods under one protocol on 130 problems with known answers: 116 Feynman equations and 14 Strogatz systems [67], as data sets of the Penn Machine Learning Benchmarks [69]. We ran Vitrify Exact Learning under that protocol: a 75/25 split of the rows with SRBench’s first three seeds, Gaussian noise of 0, 0.001, 0.01 and 0.1 times the rms of the target added to the training targets, and SRBench’s own code for cleaning and scoring the returned expression. A run counts as a symbolic solution when, after SRBench rounds the constants to three decimals and simplifies, the expression differs from the true model by a constant or by a constant factor. The learner read the first 1000 training rows and was stopped at a limit of 600 s. The limit took effect late in some runs: 57 of the 69 stopped runs lasted more than 600.5 s, the longest 1182 s, and no expression was returned after 600 s. The learner has no random part, so a seed changes only the split; we ran three seeds without noise and one seed at each noise level, 780 runs. SRBench’s protocol gives each method ten trials per problem and a budget of 106 evaluations or 8 hours per run [4], and the published results hold eight to ten runs per problem and noise level. Without noise Vitrify Exact Learning solves 74.1% of the Feynman problems and all 14 Stro-

49

gatz problems by SRBench’s symbolic test (Table S8, Figure 6). The best published rates are 55.8% for AI Feynman on the Feynman problems and 29.5% for GP-GOMEA on the Strogatz problems. Of the 116 Feynman problems, 84 are solved in all three runs, 3 in some and 29 in none. The symbolic test undercounts here: on 20 of the Feynman problems the returned expression agrees with the test rows to 10−9 and the symbolic test does not credit it. In 16 of the 20 the returned expression contains a square root, which the comparison does not reduce to the form of the true model; in the other four it contains an exact constant such as 3/(4𝜋), which SRBench’s cleaning rounds to three decimals, or is written in an expanded form. By agreement to 10−9 on the test rows the rate is 90.8%. We used the scorer unchanged and report its number. With noise the picture reverses. At noise levels 0.001, 0.01 and 0.1 the Feynman rates of Vitrify Exact Learning are 0.9%, 0.9% and 0.0%, and its Strogatz rates are 0. AI Feynman keeps 33.1%, 13.0% and 0.7%, and methods such as DSR and gplearn are almost unaffected at their lower level. The cause is plain: all but one of these problems have several variables, and the method handles noise for one variable only (Section S2.10). The one problem in one variable, I.6.2a, is the only one credited under noise, at the levels 0.001 and 0.01. Of the 390 runs with noise, 325 returned no model, 62 were stopped at the limit and 3, all on that problem, returned a fit. The 2025 edition of SRBench [70] adds 13 phenomenological and first-principles data sets and 12 black-box data sets, with 4 to 10,000 training rows of observations. On these 25 data sets Vitrify Exact Learning returned no expression in any of 75 runs. Over all 855 runs the statuses are 355 verified, 3 conjecture, 3 fit, 425 no-model and 69 stopped at the limit. Every one of the 355 verified expressions agrees with the test rows to better than 10−13 .

S5.5

A generated set of special functions

The suites above were in view during development, so they cannot show how the method does on functions that it was not written against. For that we wrote a generator of targets and froze the learner before drawing from it. Targets. The generator holds 59 function families: Bessel, Airy, Struve, Kelvin and Coulomb functions, complete and incomplete elliptic integrals, confluent and Gauss hypergeometric functions, Whittaker, parabolic cylinder and Legendre functions, incomplete gamma and beta functions, the exponential, sine, cosine and Fresnel integrals, the dilogarithm and the trilogarithm, 𝑝 𝐹𝑞 up to 3 𝐹2 and 0 𝐹3 , orthogonal polynomials of non-integer degree, and elementary factors. A recipe draws one to three members with rational parameters, each composed with one of the maps 𝑥 , 2 𝑥 , 𝑥 /2, 𝑥 2 , 1/𝑥 and − 𝑥 , and joins them by one of nine shapes. Among the 120 generated targets the shapes are a member plus a constant (20), a single member (17), a product plus a constant (15), a member times an elementary factor (14), a square (14), a product (12), a derivative (10), a product plus a third member (9) and a sum (9). For about one recipe in √ five outside the elementary tier the result is composed with 𝑥 (9 targets), log 𝑥 (11) or 𝑒𝑥 (3). The operator that annihilates each target is computed exactly from the operators of its members by the closure rules of Section S1.2, and a target is kept only when that operator applied to the function at 40 digits vanishes. The targets fall into five tiers by the order of that operator (Table S9): 12 built from elementary factors only (E), 36 of order 1 or 2 (A), 36 of order 3 or 4 (B), 36 of order 5 to 8 (C), which is beyond the search limits of the learner, and 12 fixed functions that have no such operator in 𝑥 (N): Γ ( 𝑥 ), 1/Γ ( 𝑥 ), log Γ ( 𝑥 ), the digamma function, 𝜁 ( 𝑥 ), Lambert’s 𝑊 , the inverse error function, 𝑥 𝑥 𝑥 , 1/( 𝑒𝑥 − 1), tan 𝑥 , 𝑒sin 𝑥 and 𝑒𝑒 /2 . In each of the tiers A, B and C, 12 targets are compositions of the functions that PySR + 14 functions is given and 24 need at least one other function. The 120 generated targets use 53 of the 59 families. The seed of the stream is a string fixed by the frozen version of the learner, so the targets did 50

Table S9: The generated set: targets recovered in each tier. All programs received the same 1101 float64 points; the two callable columns of Vitrify Exact Learning read the target at 40 digits. The column “callable, with continuation” adds the targets for which the solver found no closed form and the continued solution of the verified operator passes the test.

Tier

Targets

callable, closed form

callable, with continuation

float64 table

PySR + 14 functions

PySR

Bingo

Flash-ANSR

RILS-ROLS

Operon

gplearn

E2E

TPSR

Vitrify Exact Learning

E: elementary A: operator of order 1 to 2 B: order 3 to 4 C: order 5 to 8 N: no operator in 𝑥

12 36 36 36 12

11 28 20 3 3

11 35 28 3 3

8 26 10 0 6

3 6 6 2 6

7 0 2 2 5

4 1 3 3 5

2 1 3 2 3

5 0 0 0 5

2 0 1 1 0

1 0 0 0 3

0 0 0 1 0

0 0 0 0 0

all

132

65

80

50

23

16 16 11 10

4

4

1

0

not exist while the learner was written. Five other seeds were used during development, and their results are not reported. Every program received 1101 float64 points of each target on an interval without singular points, and Vitrify Exact Learning also ran on each target as a callable. Table S14 in Section S11 lists every target with its formula, its interval and what each program returned. Counts. From float64 tables Vitrify Exact Learning recovers 50 of the 132 targets (Table S9, Figure 5). PySR + 14 functions recovers 23, PySR and Bingo 16 each, Flash-ANSR 11, RILS-ROLS 10, Operon and gplearn 4 each, E2E 1 and TPSR none. From callables Vitrify Exact Learning returns a closed form that passes the test for 65 targets, and for 15 more the continued solution of its verified operator passes, which makes 80. In tier A the table run recovers 26 of 36 targets and the callable run 35 with continuation, where the best other program recovers 6. In tier B the numbers are 10 and 28 against 6. In tier C the table run recovers none and the callable run 3, which are ker7/5 (− 𝑥 ) − 1, bei3/4 ( 𝑥 ) − 1 and  1 5 9 𝐹 ; , , ; 𝑥 /2 − 1. The operators found for them have order 6, 6 and 5 and the two-term 0 3 4 3 5 form (S10), which is what the wide search of Section S2.3 looks for. The other programs recover 0 to 3 targets of tier C. Tier N holds functions for which the operator search should find nothing in 𝑥 . From tables Vitrify Exact Learning recovers six of them through the relation search of Section S2.10: Lambert’s 𝑊 , 𝑥 𝑥 as exp( 𝑥 log 𝑥 ), and the four built from exponentials and trigonometric functions. 𝑥 From callables it recovers three, 1/( 𝑒𝑥 − 1) and 𝑒𝑒 /2 under 𝑦 = 𝑒𝑥 and tan 𝑥 under 𝑦 = tan 𝑥 . For Γ, 1/Γ, log Γ, the digamma function, 𝜁 and the inverse error function it returns no model from either input. Grades. The table run returned 36 verified results, 15 conjectures and no model for 81 targets. All 36 verified results and 14 of the conjectures are recovered. The fifteenth is the one expression of this run that fails the test: for 𝐻4/5 ( 𝑥 2 ) 2 on [−2, 1], with 𝐻𝜈 the Hermite function, the learner returned   2 1 3 1.657822970327457 𝑥 2 1 𝐹1 10 ; 2 ; 𝑥 4 + 0.3243831291665643 1 𝐹1 − 52 ; 12 ; 𝑥 4 , which agrees with the target to 9 × 10−12 inside the range and is off by 0.029 beyond it. The √ √ 1 ), with form is the right one: with the two constants replaced by −29/5 𝜋/Γ (− 52 ) and 24/5 𝜋/Γ ( 10 51

4

which they agree in all 16 digits, it equals the target. The two series grow like 𝑒𝑥 and nearly cancel, so beyond the range the sixteen digits of the fitted constants are used up. The scoring rule counts the result as a failure, and so do we. The callable run returned 80 verified certificates, no model for 51 targets and one error. Each of the 80 operators annihilates its target to 10−20 when applied to it directly, and none has a fitted parameter. The error is the target (− 𝑥 ) 5/4 𝑒− 𝑥 𝐼5/4 ( 𝑥 )/ 𝑥 5/4 on [−4, −2], whose values are real and whose factors are complex: the run ended in an exception raised inside the learner’s search for a fraction (an ordering comparison of complex numbers). It counts as a miss, and the learner was left as frozen. The table run recovered the same target. What kind of answer. For each recovered expression we also applied the target’s own operator to it. In tiers A to C all 36 expressions that Vitrify Exact Learning recovered from tables satisfy the operator to 10−8 : they are the function. Of the 14 that PySR + 14 functions recovered in these tiers, 9 do, and these are compositions of the functions it was given, such as − Ei( 𝑥 ) erf ( 𝑥 ), which it returned as Ei( 𝑥 ) erf (−1.0000000000002 𝑥 ). None of the recoveries of the other programs in these tiers does (0 of 4 for PySR, 0 of 7 for Bingo, 0 of 6 for Flash-ANSR, 0 of 2 for Operon, 0 of 1 for E2E). They are approximants that hold to 10−5 over the test range. They concern seven targets (A21, B06, B12, B13, C12, C34 and C35 of Table S14). Four of them (B06, B13, C12 and C35) are a function plus the constant 2, and the error (S25) is relative to | 𝑓 | plus the rms of the values, which the constant raises. Targets found by one side only. In tiers A to C, 44 targets are recovered by Vitrify Exact Learning (from a table, or as a closed form from the callable) and by none of the nine other programs: 28 from tables and 38 from callables. With continuation the number is 54. Among  them are 𝐾0 ( 𝑥 /2) 2 , Ei(2 𝑥 ) 2 , 2 𝐹1 25 , 43 ; 43 ; 𝑥 , the elliptic integral 𝐾 (2 log 𝑥 ) and 𝐽1 ( 𝑒𝑥 /2), each from the table and from the callable, and from the callable 𝐹 (arcsin 𝑥 | 15 ) 2 , which was returned as 2 𝑥 2 𝐹1 21 ; 12 , 12 ; 32 ; 𝑥 2 /5, 𝑥 2 . In the other direction, 13 targets were recovered by another program and missed by the table run of Vitrify Exact Learning, and for 7 of them the callable run gave no closed form either. One is elementary: log 𝑥 cos 𝑥 + 𝑒− 𝑥 /2 , whose operator has order 5, was recovered by PySR and RILS-ROLS. One is a composition of supplied functions: − Ei( 𝑥 ) erf ( 𝑥 ), recovered exactly by PySR + 14 functions, for which Vitrify Exact Learning has the verified fourth-order operator from the callable, a continuation that passes, and no closed form. Two are targets of tier C that other programs fitted with approximants. The last three are Γ ( 𝑥 ) and log Γ ( 𝑥 ), which PySR + 14 functions returns because Γ is among its operations, and the digamma function, for which it returned the logarithm of a rational function minus a multiple of 1/𝑥 , within the tolerance (8 × 10−6 inside the range and 4 × 10−6 beyond). Giving PySR + 14 functions ten times its budget changed little: run for 600 s on the 24 compositions of its own functions that it had missed in 60 s, it recovered 2. Over the 120 targets of tiers E to C, the median time of Vitrify Exact Learning was 196 s per table and 26 s per callable.

S5.6

Quantities from physics, statistics and geometry

The generated targets are compositions drawn at random. The third set holds 29 quantities that a calculation produces as numbers and whose known exact form is a hypergeometric, Meijer 𝐺 , Fox 𝐻 or Lauricella function: periods of anharmonic oscillators, generating functions of lattice walks [105, 106], the densities of products of normal and beta variables [101, 107], the 𝐾 distribution of radar clutter [108], one-sided and symmetric stable laws [109, 110], Holtsmark’s distribution of the electric field in a plasma [111, 112], fractional relaxation and diffusion functions [113, 114], the Voigt line profile [115], the deflection of light of Section S4.6, and the elliptic integrals that give the demagnetising factor and the surface area of an ellipsoid [104, 116]. Each target 52

Table S10: The 29 physical quantities by the class of their known exact form: targets recovered, counting those reproduced by the continued solution of a certified operator; in brackets, the number recovered as a closed form. All programs but the first row received 1101 float64 points.

Method

All of 29

Vitrify Exact Learning, callable 29 (23) Vitrify Exact Learning, float64 table 18 (17) Bingo 1 PySR, PySR + 14 functions, Operon, 0 gplearn, Flash-ANSR, RILS-ROLS, E2E, TPSR

HyperAppell / Heun geometric Meijer 𝐺 Fox 𝐻 Lauricella type of 11 of 5 of 7 of 4 of 2 11 (10) 8 (7) 0 0

5 (5) 5 (5) 0 0

7 (7) 4 (4) 0 0

4 (1) 1 (1) 1 0

2 (0) 0 0 0

is a function of one variable on an interval, computed by a series or a quadrature. For 26 of the 29 a second, independent definition (a series against a quadrature, for example, or a Laplace transform) agrees with it to 10−16 or better; the period of the quintic oscillator, the deflection of light and the period of the asymmetric oscillator have no second definition. These targets were chosen by the authors, and the five additions to the solver that Section S2.7 lists (the symmetric square, the primitive operator, the extended gauge, the binomial primitive and the Meijer 𝐺 rule) were made while working on special-function targets of this kind. The counts below show which classes of functions the method covers. They are not a blind test. From callables. All 29 targets received a verified operator, in 1.5 to 62.9 s (Table S10; Tables S15 and S16 in Section S12 list every target, its operator and its closed form). Every operator was found in 𝑥 itself, has exact coefficients and no fitted parameter, and applied to the target at 60 digits leaves a residual below 10−57 of the size of its terms. For 23 targets the solver returned a closed form that passes the test, three of them with one or two constants left as numbers. For the other six (the Voigt profile, Π ( 𝑛 | 21 ), the demagnetising factor, the area of the ellipsoid, the period of the asymmetric oscillator and the simple cubic lattice) it found none, and the continued solution of the operator reproduces the target inside the range and beyond it. Some of the results, as returned: 2 5 • the period of the oscillator with potential  𝑞 /2 − 𝑞 /5 at energy 𝐸, a hyperelliptic integral, as 1 3 7 9 1 2 3 2𝜋 4 𝐹3 10 , 10 , 10 , 10 ; 3 , 3 , 1; 1000 𝐸 /27 , from an operator of order 4;

• for the density of the symmetric stable law of index 3/2, the equation 81 𝑓 (5) + 16𝑥 4 𝑓 ′′′ + 240 𝑥 3 𝑓 ′′ + 940 𝑥 2 𝑓 ′ + 880 𝑥 𝑓 = 0 and a sum of three hypergeometric series in 𝑥 6 ; Holtsmark’s density has an equation of order 5 and degree 9; ∫∞ √ • for the thermonuclear rate integral 0 𝑒− 𝑦 − 𝑥 / 𝑦 d 𝑦 , the equation 𝑥 𝑓 ′′′ + 2 𝑓 = 0 and the Meijer  3,0 𝐺 -function 𝜋 −1/2 𝐺 0,3 𝑥 2 /4 0, 12 , 1 ; • for the body-centred cubic lattice, the generating function of returns to the origin in the form 2 1 1 2 that the symmetric-square rule gives, which by Clausen’s formula equals the 2 𝐹1 4 , 4 ; 1; 𝑥  known form 3 𝐹2 12 , 12 , 12 ; 1, 1; 𝑥 2 ; • for the Voigt profile, the equation 4 𝑓 ′′′ + 8 𝑥 𝑓 ′′ + (4 𝑥 2 + 13) 𝑓 ′ + 8𝑥 𝑓 = 0 and no closed form. The last two classes of Table S10 show where the solver ends. Three of the four Appell and Lauricella targets and both targets of Heun type have a verified operator and no closed form. The simple cubic lattice is the best known of them: Joyce expressed its Green function through the square of a Heun function [105], and the solver has no rule for operators of that type [91].

53

From float64 tables. From 1101 float64 points Vitrify Exact Learning recovers 18 of the 29: 17 as closed forms and the Voigt profile by continuation. The runs took 55 to 1047 s. Five of the 17 closed forms keep as a float64 number that the callable run identified, such as √ a constant  the factor of 𝑥 1/3 𝐾2/3 2 15𝑥 /3 in the 𝐾 distribution. Nine targets gave no model: the quintic oscillator, the deflection of light, the stable law of index 3/2, Holtsmark’s density and the five targets without a closed form other than the Voigt profile. Their operators have order 2 to 5 and degree 3 to 9, which sixteen digits on these intervals do not determine. Two tables received a wrong certificate, and both carry fitted parameters. • The relaxation function 𝐸1/3 (−𝑡 1/3 ) was returned as a conjecture. Its operator has the right form with the coefficient 2/9 left as a fitted number, 0.22116, and the closed form built on that number is off by 0.32 inside the range. • The body-centred cubic lattice was returned as verified: an operator of order 3 and degree 9 in 𝑦 = 1/ 𝑥 with two fitted parameters, which passed both hold-out tests. It is not the operator of the target. Applied to the target it leaves a residual of 1.6 × 10−4 , and its continued solution is off by 1.1 × 10−6 inside the range and by 2.3 × 10−4 beyond it. No closed form came with it, so it does not count as a recovery, but the certificate is false. It is the one verified certificate in the runs of this paper whose operator is wrong on the interval of its own data. The two expressions of Section S5.3 that lose a sign are a different failure: they are exact on that interval and wrong beyond a point that the data do not reach. Other programs. Of the nine other programs, one recovered one target: Bingo returned a rational function with a sine term for the demagnetising factor, within 1.2 × 10−8 inside the range and 2.6 × 10−6 beyond it. Table S15 gives, for each target, the closest formula of any other program and its two errors. Over the 29 targets its error is between 1.2 × 10−8 and 1.5 × 10−3 inside the range and between 2.6 × 10−6 and 1.6 × 10−2 beyond it.

S5.7

Functions of two variables

The fourth set holds eight functions of two variables whose exact form is a double hypergeometric series, and two controls (Table S11): the elliptic integrals of Section S4.7, Carlson’s integral for the demagnetising factor of an ellipsoid, the Green function of an anisotropic square lattice, an integral of two confluent hypergeometric functions of the kind that Gordon evaluated for the matrix elements of hydrogen [117], an elliptic integral with an exponential weight, and the Voigt function in both of its arguments. Vitrify Exact Learning read each as a callable at 40 digits on a box, and the other programs received 1000 float64 points drawn from the box. All eight targets came back verified, in 51 to 226 s, with recorded errors of 0 inside the box and beyond it. Six are Appell functions, two of them after the change of variable 1 − 𝑥 . The weighted elliptic integral is Humbert’s Φ1 , and the Voigt function is a sum of two Ψ2 series. The reduction kept one to four operators from each system, and the 36 recorded tests on the held-out quadrant have residuals between 2.0×10−38 and 3.1×10−36 , with noise levels between 1.3×10−37 and 6.3 × 10−36 (Table S17). The kept operators are not minimal sets of generators. For the Voigt function the four are 𝐴 = 2 𝑣 𝜕𝑣 − 𝜕2𝑦 + 2 𝑦 𝜕 𝑦 + 2, 𝐵 = 𝜕2𝑣 + 2 𝑣 𝜕𝑣 + 2 𝑦 𝜕 𝑦 + 2 and 𝑦 ( 𝜕2𝑣 + 𝜕2𝑦 ) and 𝑣 ( 𝜕2𝑣 + 𝜕2𝑦 ); since 𝜕2𝑣 + 𝜕2𝑦 = 𝐵 − 𝐴, two of them are independent. For Π, 𝑅 𝐹 and 𝑅 𝐷 a separate check by exact linear algebra, with multipliers of degree up to 2 and order up to 1, found one of the three kept operators to be a combination of left multiples of the other two. The controls behave as they should. For Γ ( 𝑥 + 2 𝑦 ) the only operator kept is 2𝜕𝑥 − 𝜕 𝑦 , and the learner returns it and no series. Γ ( 𝑥 ) Γ ( 𝑦 ) returns no model. None of the nine other programs recovers any of the eight targets. The closest result is Operon’s formula for the capacitance integral 𝑅 𝐹 , with errors of 4 × 10−5 inside the box and 7 × 10−5 beyond it. PySR + 14 functions recovers both controls exactly, since Γ is among its operations. 54

Table S11: Functions of two variables. For each target: what Vitrify Exact Learning returned from the callable at 40 digits, the number of operators that the reduction of Section S2.11 kept from the system that it found (column “gen.”; the kept set need not be minimal, and for the Voigt function two of the four are independent), the time, and the closest formula that any other program returned for 1000 float64 points, with its largest error inside the box and beyond it. 𝐹1 , 𝐹2 and 𝐹4 are Appell’s functions and Φ1 and Ψ2 Humbert’s confluent functions [17, 72, 92]. All eight results are graded verified, with recorded errors of 0 inside the box and beyond it. target, definition and box

returned

gen. time (s) closest other program; error inside, beyond

elliptic Pi, Π ( 𝑛 | 𝑚) ∫ 𝜋/2 d𝜃 √ 0 2 (1 − 𝑛 sin 𝜃) 1 − 𝑚 sin2 𝜃 on [0.05, 0.55] × [0.05, 0.55]

𝜋

pendulum time, 𝐹 (arcsin 𝑠 | 𝑚) ∫𝑠 d𝑡 0 p (1 − 𝑡 2 ) (1 − 𝑚𝑡 2 ) on [0.1, 0.6] × [0.1, 0.7]

𝑠𝐹1 1/2; 1/2, 1/2; 3/2; 𝑠2 , 𝑚𝑠2

ellipsoid capacitance, 𝑅 𝐹 ( 𝑥, 𝑦, 1) 1∫∞ d𝑡 p 0 2 ( 𝑡 + 𝑥 )( 𝑡 + 𝑦 ) ( 𝑡 + 1) on [0.3, 0.8] × [0.35, 0.9]

2 𝐹1 (1/2; 1/2, 1; 1; 𝑚, 𝑛)

3

123.8 E2E 2 × 10−4 , 0.001

1

111.5 Bingo 7 × 10−4 , 0.005

𝐹1 (1/2; 1/2, 1/2; 3/2; 1 − 𝑦, 1 − 𝑥 )

3

221.1 Operon 4 × 10−5 , 7 × 10−5

ellipsoid demagnetisation, 𝑅 𝐷 ( 𝑥, 𝑦, 1) 3∫∞ d𝑡 p 2 0 ( 𝑡 + 𝑥 )( 𝑡 + 𝑦 ) ( 𝑡 + 1) 3/2 on [0.3, 0.8] × [0.35, 0.9]

𝐹1 (3/2; 1/2, 1/2; 5/2; 1 − 𝑦, 1 − 𝑥 )

3

226.1 Operon 4 × 10−5 , 3 × 10−4

anisotropic square lattice ∫∞ − 𝑡 𝐼 ( 𝑎𝑡 ) 𝐼 ( 𝑏𝑡 ) d𝑡 𝑒 0 0 0 on [0.05, 0.35] × [0.05, 0.3]

𝐹4 1, 1/2; 1, 1; 𝑏2 , 𝑎2

2

64.7 Operon 5 × 10−6 , 3 × 10−4

√ 3 𝜋 4 𝐹2 (5/2; 1/3, 1/2; 2, 1; 𝑦, 𝑥 )

2

73.6 Operon 3 × 10−5 , 0.008

weighted elliptic K 2 ∫ 𝜋/2 exp( 𝑦 sin2 𝜃) d𝜃 √ 𝜋 0 1 − 𝑥 sin2 𝜃 on [0.05, 0.55] × [0.1, 1.1]

Φ1 (1/2, 1/2; 1; 𝑥, 𝑦 )

2

110.7 Operon 7 × 10−5 , 0.003

Voigt function, Re 𝑤 ( 𝑣 + i 𝑦 ) 2 𝑤 ( 𝑧 ) = 𝑒 − 𝑧 erfc(−i 𝑧 ) on [0.2, 1.7] × [0.3, 1.5]

Ψ2 1/2; 1/2, 1/2; 𝑦 2 , − 𝑣2 − √2 𝑦Ψ2 1; 3/2, 1/2; 𝑦 2 , − 𝑣2 𝜋

4

51.2 Operon 4 × 10−4 , 0.01

control, Γ ( 𝑥 + 2 𝑦 ) on [0.5, 1.5] × [0.5, 1.5]

the operator 2𝜕𝑥 − 𝜕 𝑦 and no series

1

107.9 PySR + 14 functions, exact

control, Γ ( 𝑥 ) Γ ( 𝑦 ) on [0.5, 1.5] × [0.5, 1.5]

no model

–

124.5 PySR + 14 functions, exact

Gordon integral ∫∞ − 𝑡 𝑡 3/2 𝐹 (1/2; 1; 𝑥𝑡 ) 𝑒 1 1 0 × 1 𝐹1 (1/3; 2; 𝑦𝑡 ) d𝑡 on [0.05, 0.35] × [0.05, 0.35]







55

(a)

Twelve tables of 1101 points

(b)

Generated targets Vitrify Exact Learning (float64 table) PySR + 14 functions

12 60

tables recovered, of 12

10 Flash-ANSR E2E RILS-ROLS Operon PySR with SRBench's limits PySR TPSR gplearn Bingo

8 6 4 2 0

0

10−6

10−4

10−3

10−2

targets recovered, of 132

Vitrify Exact Learning

50

23

noise level (standard deviation of the noise / rms of the target)

25

27

31

20

0

10−1

38

40

dense sparse noisy 1101 points 50 points 1101 points, noise 10−3

Figure S7: Noise and sparse data in one variable. (a) Twelve tables of 1101 points with Gaussian noise added to the values: tables recovered by each program against the noise level, at the tolerance max(10−5 , noise level). (b) The 132 generated targets of Section S5.5 from 1101 points, from 50 points and from 1101 points with noise of 10−3 : targets recovered by Vitrify Exact Learning and by PySR + 14 functions.

This comparison is not like for like. From the same 1000 float64 points the table entry point of Vitrify Exact Learning returns no model for all eight targets and both controls. The two-variable learner itself needs more than sixteen digits: given the callables of the anisotropic lattice and of Π ( 𝑛 | 𝑚) with their values rounded to float64, it returned no model for either (after 97.9 and 124.2 s). What the set shows is that values to 40 digits are enough to identify these functions, on targets that the authors chose and that were in view while the two-variable learner was written, after the rest of the learner had been frozen.

S5.8

Noise and sparse data

The method was built for accurate values. Two experiments measure what is left when the values are noisy or few. Both are in one variable, where the entry point of Section S2.10 estimates a noise level; for several variables the SRBench results of Section S5.4 are the measure. Twelve tables. Gaussian noise with a standard deviation of 0, 10−6 , 10−4 , 10−3 , 10−2 and 10−1 times the rms of the target was added to twelve tables of 1101 points: seven classic targets (Nguyen-1, 5, 7 and 8, Keijzer-9, R1 and Livermore-7), two Feynman slices, and the special functions Bi( 𝑥 ), 𝐽0 ( 𝑥 ) 2 and Ci( 𝑥 ). A table counts as recovered when both errors are within the larger of 10−5 and the noise level (Figure S7a). Vitrify Exact Learning recovers 12, 11, 8, 8, 8 and 6 of the twelve at the six levels. PySR recovers 5, 3, 3, 4, 3 and 5, Operon 2, 1, 2, 4, 5 and 5, and Flash-ANSR 3, 3, 4, 5, 5 and 8. At the highest level the tolerance is a tenth of the target’s rms, which a rough fit passes; most programs recover more tables there than at the lower levels, and Flash-ANSR recovers more than Vitrify Exact Learning. With noise the learner grades nothing verified. At the level 10−6 it returned 10 conjectures and one fit, all recovered. At the level 10−1 it returned 5 conjectures, one of which fails the test, 4 results graded fit, two of which fail, and no model for 3 tables. The generated set. The table runs of Section S5.5 were repeated with 50 points in place of 1101, and with 1101 points and noise of 10−3 times the rms, for Vitrify Exact Learning and for

56

PySR + 14 functions (Figure S7b). From 1101 points, from 50 points and from noisy points Vitrify Exact Learning recovers 50, 38 and 27 of the 132 targets, and PySR + 14 functions 23, 25 and 31. With 50 points the learner returned 30 verified results and 9 conjectures, of which one fails beyond the range: the squared Hermite function again. With noise it returned 10 conjectures, all recovered, 77 results graded fit, of which 60 fail the test at the tolerance 10−3 , and no model for 45 targets. Two conclusions follow. With noise of 10−3 on special-function targets the search program is ahead. And the grade fit is not a reliable signal: 60 of the 77 expressions with that grade match the noisy rows and do not extrapolate, which is the behaviour that Section S5.3 described for the search programs.

S5.9

Regression cases, draws and calibration

The benchmarks above use two of the five kinds of input. The others, and the inputs for which the right answer is no model, are covered by 125 cases with expected answers that were written with the code. Table S18 in the Section S14 lists every case with what it returned. The cases. The groups are: functions with an operator in 𝑥 (13 cases); functions of a wider class, such as the fitted exponents of Section S4.1 (7); changes of variable (9); controls (7); densities of distances in geometry (4); six densities that an earlier version of the learner fitted by name; float64 and 45-digit tables (9); draws (7); sequences (7); moments (9); and two later sets of mixed kinds (25 and 22). The frozen learner returns the expected grade for all 125: 96 verified, 13 conjecture and 16 no-model. For the first ten groups this agreement followed changes made while looking at failures, so it shows that the code still does what it did and is not a test. The two later sets were written after the code that they test and were run once before any change. In those first runs 22 of 25 and 21 of 22 cases returned the expected result. Of the four that did not, two expected the operator in 𝑥 to be ranked first for arctan 𝑥 and for log2 𝑥 , where the learner ranked the cheaper first-order operators under 𝑦 = arctan 𝑥 and 𝑦 = log 𝑥 first; the expectation was changed. The other two were defects: the integer-relation routine raised an exception on an entry that rounded to zero, which left Struve’s 𝐻0 without a model, and Laplace draws, which have no model in the searched class, returned a conjecture under 𝑦 = sinh 𝑥 whose one solution did not match the draws. Both were corrected. The 16 inputs graded no-model are correct refusals: Γ ( 𝑥 ), 𝜁 ( 𝑥 ) and 𝑥 𝑥 ; 𝑒sin 𝑥 ; tan 𝑥 and a Gaussian in arsinh 𝑥 when only 𝑥 is searched; 1/(1 + 𝑥 2 ) when only arsinh 𝑥 is searched; a table of 𝐽0 with noise of 10−3 , a table of white noise and a float64 table of Γ; logistic draws searched in 𝑥 only, and Laplace draws; the primes, the partition numbers, Euler’s totient function and the Bell numbers. The three longest cases of the set are Γ, 𝑥 𝑥 and 𝜁 , at 239 to 272 s, for which every search runs to its end. The median case takes 21.5 s. Of the 109 certificates, 101 carry a closed form, and for 93 of those SymPy reduces the operator applied to the closed form to zero. The eight without one are recurrences. Seven belong to sequences that are not hypergeometric terms (the Motzkin, harmonic, Apéry, derangement, 2 Schröder, central trinomial and central Delannoy numbers), and one to 2𝑛𝑛 , whose first-order recurrence the solver that we call did not solve. Some of the results: • from the Apéry numbers, the recurrence ( 𝑛 +2) 3 𝑎𝑛+2 − (2𝑛 +3)(17𝑛2 +51𝑛 +39) 𝑎𝑛+1 + ( 𝑛 +1) 3 𝑎𝑛 = 0; • from two million Cauchy draws, the operator 𝑔 ′ = 0 for the pushforward under 𝑦 = arctan 𝑥 , which is uniform, and the density 1/( 𝜋 (1 + 𝑥 2 )); • from two million draws of a beta(2, 3) variable, 𝑥 ( 𝑥 − 1) 𝑓 ′ + (1 − 3𝑥 ) 𝑓 = 0 and the density 12 𝑥 (1 − 𝑥 ) 2 ;

57

Table S12: Draws: results of ten runs with seeds that no version of the code had seen, for 14 distributions at two sample sizes. “Expected result” is the exact operator of the density, graded conjecture, or no certificate for the two controls. “Numerical fit” is an operator that passes its test with coefficients left numerical, graded fit. “Other exact operator” would be an operator with exact coefficients that is not the expected one.

Distribution

Expected result

no certificate

numerical fit

other exact operator

expected result

no certificate

numerical fit

other exact operator

2,000,000 draws

expected result

200,000 draws

exponential(1) gamma(3, 1) normal(0, 1) beta(2, 3) lognormal(0, 1/2) Weibull(2) logistic, searched in 𝑥 only Rayleigh(1) chi-square(4) Student 𝑡 (5) Cauchy arcsine beta(3, 2) Laplace

exact operator exact operator exact operator exact operator exact operator exact operator no certificate exact operator exact operator exact operator exact operator exact operator exact operator no certificate

10 10 10 4 10 10 4 10 10 4 10 10 1 10

0 0 0 4 0 0 0 0 0 0 0 0 0 0

0 0 0 2 0 0 6 0 0 6 0 0 9 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0

10 10 10 10 10 10 10 10 10 10 10 10 7 10

0 0 0 0 0 0 0 0 0 0 0 0 1 0

0 0 0 0 0 0 0 0 0 0 0 0 2 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0

113

4

23

0

137

1

2

0

all 140 runs

• for the density of the distance between two random points of a unit disk, the operator 𝑦 ( 𝑦 − 4) 𝑔 ′′ − 2 𝑔 ′ = 0 of its pushforward under 𝑦 = 𝑥 2 ;  • for Struve’s function 𝐻0 , the equation 𝑥 𝑓 ′′′ + 2 𝑓 ′′ + 𝑥 𝑓 ′ + 𝑓 = 0 and 2𝜋𝑥 1 𝐹2 1; 23 , 32 ; − 𝑥 2 /4 . The first certificate of every case was the same under three values of Python’s hash seed, on which the order of SymPy’s simplifications depends. Draws at other seeds and sizes. The seven cases with draws use one seed each. Table S12 repeats 14 distributions over ten seeds that no version of the code had seen, at two sample sizes. With 2,000,000 draws, 137 of the 140 runs return the expected result; one returns no certificate and two return a fit. With 200,000 draws 113 do, 4 return no certificate and 23 a fit. The densities with two shape parameters need the larger sample: at 200,000 draws the expected operator comes back in 1 of 10 runs for beta(3, 2) and in 4 of 10 for beta(2, 3) and for Student’s 𝑡 with 5 degrees of freedom. Logistic draws searched in 𝑥 only, where no model is the right answer, return a fit in 6 of 10 runs at the smaller size. No run at either size returned an exact operator other than the expected one. Together with the calibration of the two statistical decisions in Table S1, this is the evidence for the grades given to results from draws.

S5.10

Development history and faults found

All results above come from one frozen version of the learner. How that version came about bears on how they should be read, and the comparison exposed faults in our code and in the code of others. 58

The first comparison. An earlier version of the learner, which had the operator search and no entry point for tables in several variables, was first run on the three one-variable suites from float64 tables. It recovered 21 of the 53 classic targets, 34 of the 51 at 1101 points and 167 of the 254 Feynman slices, where PySR recovers 33, 32 and 174. The run exposed two defects. √ • Five false certificates. Tables of log 𝑥 , 𝑥 and arsinh 𝑥 on intervals up to 𝑥 = 100 were graded verified with the operator 𝑔 ′ = 0 under 𝑦 = 𝑒𝑥 , and the harmonic number with a secondorder operator with two fitted parameters, at two table sizes. The residual of the hold-out test was divided by the size of the operator’s terms, with no length scale. Under 𝑦 = 𝑒𝑥 on an interval of width 100 the derivative column of the weak matrix is 10−44 times the data column, so 𝑔 ′ = 0 passed for any data. None of the five came with a closed form, so none was counted as a recovery, but the certificate is the main claim of the method. • Right operators rejected. The same test rejected right operators that carry a fitted parameter, because the noise level of the held-out window did not contain the error of a parameter fitted on the other windows. This accounted for 39 of the 87 slices that the run missed. The length scale and the two tests for fitted parameters of Section S2.5 are the corrections. They were made after looking at these targets. What was in view. The entry point of Section S2.10 was then written with the classic and Feynman targets at hand, and the counts of Table S6 are from the learner that includes it. They are results on a development set, and the first-run counts above, behind PySR on the classic targets at their published points and about level with it on the other two suites, are the measure of the operator search on targets that it had not seen. The five additions to the solver that Section S2.7 lists were made with special-function targets in view, among them those of the physical set (Section S5.6). The two-variable learner was written after the rest of the learner was frozen, with its eight targets in view. Only the generated set of Section S5.5 was drawn after the learner was frozen, and it tests the one-variable learner only. Faults in the other programs’ code. Three faults affected the baselines, and we report the numbers obtained after working around them. • SRBench’s wrappers for E2E and TPSR pass the targets as an array of shape ( 𝑛). The refinement step of E2E then subtracts predictions of shape ( 𝑛, 1) from them, its objective becomes a mean over an 𝑛 × 𝑛 array, and no refined candidate is ever selected. With that shape E2E and TPSR recovered none of the 509 noise-free targets of the published suites. The rows that we report pass shape ( 𝑛, 1), as the authors’ own evaluation script does. We did not check whether the results that SRBench publishes for these two programs are affected. • The E2E code needed two patches to run: a loop that never ends when a list of candidates is shorter than expected, and a mask type that current versions of PyTorch reject. TPSR carries its own copy of that code, which ran unpatched; 134 of its 569 runs on the published suites and 36 of its 132 on the generated set ended at the limit of 600 s. We did not measure how many of those are that loop. • For PySR + 14 functions, Julia’s 𝐾0 raised an overflow error at a subnormal argument, so the functions that we supplied are defined on bounded domains. Two pools of E2E and TPSR runs stopped when their machines ran out of memory, and the 42 runs outstanding were repeated. The first run of the 60 s programs on the generated set was overwritten by a copying error and was repeated; the reported rows are the repeat. Programs that were not run. LaSR, which guides PySR with a library of concepts written by a language model, reports 72 of the 100 Feynman equations with GPT-3.5 against 59 for PySR in the same paper [61]. The benchmark LLM-SRBench has 239 problems built to prevent the 59

recitation of known formulas, and the best method on it reaches a symbolic accuracy of 31.5% [63]. We ran neither. Two further programs of SRBench’s 2025 edition, uDSR and Brush, could not be installed in our environment.

S6

Limits

This section collects the limits of the method and of the evidence for it. Each item names the section that holds the numbers. Noise, and few or observed points. The operator search needs accurate values. The entry point for tables handles noise for one variable only (Section S2.10). Under SRBench’s protocol the symbolic solution rate of Vitrify Exact Learning on the Feynman problems is 74.1% without noise and 0.9%, 0.9% and 0.0% at the three noise levels, and on the 25 data sets of observations in SRBench’s 2025 edition none of its 75 runs returned an expression (Section S5.4). In one variable, with noise of 10−3 on the generated set, PySR + 14 functions recovers 31 targets and Vitrify Exact Learning 27, and 60 of the 77 results that the learner graded fit fail the test (Section S5.8). A result graded fit matches the rows it was compared with and should be read as a fit. Precision of the data. A float64 table determines operators of order 1 and 2 and some of order 3 and 4. In tier B of the generated set the table run recovers 10 of the 36 targets, and the callable run returns a closed form for 20 (Section S5.5). The Kelvin function ber and the trilogarithm, which have operators of order 4, gave no model from tables and closed forms from callables (Section S5.2). In two variables sixteen digits were not enough for any target: from 1000 float64 points the table entry point returned no model for the eight targets, and the twovariable learner returned no model for the two targets that we gave it with values rounded to float64 (Section S5.7). The two-variable results of this paper are results for values to 40 digits. Draws need large samples: the expected operator came back in 137 of 140 runs with two million draws and in 113 of 140 with 200,000 (Section S5.9). Search bounds. The search covers operators up to order 4 with coefficients up to degree 8 in 𝑥 , and up to order 2 and degree 4 in a transported variable; two-term operators up to order 6; order 2 and degree 3 for draws; recurrences up to order 3 and degree 3; and order 2 with total degree 3 in two variables. At most two coefficients of an operator may stay numerical. Targets whose operator has order 5 to 8 are mostly out of reach: of the 36 of tier C, three are recovered from callables, all through two-term operators, and none from tables (Section S5.5). The class of functions. The method describes the functions that satisfy an equation of the form (S1) in 𝑥 or in a transported variable. For Γ ( 𝑥 ), 𝜁 ( 𝑥 ) and 𝑥 𝑥 given as callables it returns no model. That is the right answer of this search, and it leaves the user of such a function without a result. The change of variable is selected from a bank of twenty maps, from a fitted power and from maps that the caller supplies. It is not searched for freely, and the costs in (S12) that rank the maps were set by hand (Section S2.6). Constants are identified within the small basis of Section S2.4, and any other constant stays a number, as in three closed forms of the physical set (Section S5.6). The interval. The caller chooses the interval of the data, and it must contain no singular point of the function. The learner treats one smooth branch on one interval. It does not choose the interval, split it, or join results across a singular point.

60

Closed forms. The solver is a set of rules (Section S2.7). It has none for operators of Heun type, for second-order operators that need a change of variable to reach a hypergeometric form, or for solutions with complex exponents. For 15 of the 80 verified operators of the generated set from callables, and for 6 of the 29 of the physical set, it returned no closed form that passes the test, and the function is then available only by continuing the operator (Section S2.8). The Green function of the simple cubic lattice, whose known form is the square of a Heun function [105], is one of the six. Wavefunctions of anharmonic wells that are an exponential factor times a Heun function [91] are a further case of this kind. The Schrödinger equation of a polynomial potential of degree up to 8 is within the bounds of the operator search, with the energy as a coefficient that stays numerical as in Section S4.3. What is missing is a rule of the solver for its solutions, and we leave this case for future work. What the grade verified means. The grade is the outcome of a numerical test on a part of the interval that the fit did not read. It is weaker than a proof, and it says nothing about the function outside the interval. The runs of this paper contain the following failures. • One false certificate. The float64 table of the generating function of the body-centred cubic lattice was graded verified with an operator of order 3 and degree 9 in 𝑦 = 1/ 𝑥 that has two fitted parameters and is not the operator of the target. Its continued solution is off by 1.1 × 10−6 inside the range (Section S5.6). • Two verified expressions that are wrong beyond a sign change. Slices of the Feynman equations I.15.3x and I.15.1 were returned as the positive square root of an exact rational function, which is the absolute value of the target. Both are exact on the interval of the data and on the tested range (Section S5.3). • Wrong conjectures. From noise-free float64 tables, two conjectures fail the test of the benchmark: the squared Hermite function B35 of the generated set, from 1101 points and again from 50, and the relaxation function 𝐸1/3 (−𝑡 1/3 ) of the physical set. Three conjectures on Feynman slices pass that test and fail further from the data (Section S5.3). All five contain fitted constants. With noise of 10−1 one of the five conjectures returned for the twelve tables of Section S5.8 fails as well. • An earlier version of the learner returned five false verified certificates. They led to the length scale of the hold-out test (Section S5.10). The identification of constants has an error rate of its own. Of 300 random numbers known to a relative 10−6 , 4 received an exact form, and 20 of 300 at 10−3 (Table S1). Two variables. The two-variable learner was tried on eight targets and two controls, all chosen by the author, and it was written with those targets in view (Section S5.7). It tries the variables as given and two changes of variable. Its hold-out test has no length scale and is not repeated at a second precision (Section S2.11). The operators that it keeps generate the operators found within the search bounds and need not be a minimal set of generators of the annihilating ideal: for the Voigt function two of the four kept operators are independent. The comparison. The benchmarks of Section S5 have limits of their own. • Each of the other programs ran once per target with one seed, and those with a time setting ran for 60 s on one thread. Runs of Vitrify Exact Learning were stopped after 600 to 3600 s (Table S5); its median time was 8.8 s per run on the published suites and 196 s per table on the generated set. Ten times the budget changed little for PySR + 14 functions on the generated set (Section S5.5). We did not make that test for the other programs. • The scoring rule requires agreement beyond the training range, which favours exact forms. Table S7 gives the counts inside the range only. 61

• The published suites were in view during development. Their counts come from the entry point for tables, whose relation search over a fixed set of elementary functions was written with the classic and Feynman targets at hand. In the first comparison the operator search alone recovered 21, 34 and 167 targets of the three one-variable suites, where PySR recovers 33, 32 and 174 (Section S5.10). • The physical and two-variable sets were chosen by the authors. Only the generated set was drawn after the learner was frozen. Five development seeds of the same generator preceded it, and the generator, its families and its shapes are our own. • On SRBench our runs are compared with published results that were obtained with other budgets, on other machines and with more runs per problem (Section S5.4). • Programs that guess holonomic equations [34, 35] need exact terms of a sequence or of a series, which the function inputs of the benchmarks do not provide. On the sequence and moment inputs of Section S5.9 the guesser of ore_algebra returned the same recurrences as the learner (Section S7). For a callable that accepts complex arguments, Taylor coefficients could be computed by sampling it on a circle and passed to a guesser; we did not run that comparison. The statement of Section 3 about what is new rests on a limited search of the literature. Implementation. One run of the generated set ended in an exception (target A17, an ordering comparison of complex numbers); it is counted as a miss, and the code was left as frozen (Section S5.5). Time limits inside the solver use Unix signals, so the learner has to run in the main thread of a process on a Unix system.

S7

A check with ore_algebra

The solver of Section S2.7 is a set of rules, and for 21 certified operators it returned no closed form: 15 of the generated set (from callables) and 6 of the physical set (the Voigt profile, Π ( 𝑛 | 12 ), the demagnetising factor and the area of an ellipsoid, the period of the asymmetric oscillator and the simple cubic lattice). To see whether a general computer-algebra package does better on the same operators, we ran ore_algebra [35] (source of September 2026 on passagemath 10.8, without its compiled extensions) on each exact operator, in the variable in which the learner found it. Each call ran in its own process with a limit of 300 s. The learner was not changed, and no count of the main text depends on this section. Closed forms. We called four functions on each operator. • is_fuchsian: the five physical operators other than the Voigt profile are Fuchsian; the Voigt operator and all 15 generated operators have an irregular singular point. • hyperexponential_solutions, the first-order right factors: for six generated targets of the form 𝑓 + 𝑐 it returned the factor 𝜕 𝑦 , the constant solution, which the learner’s antiderivative 2 rule already uses; for the Voigt operator it returned 𝜕 𝑦 + 𝑦 ± 2i , whose solutions 𝑒− 𝑦 /2∓i 𝑦 /2 are 2 2 the factor 𝑒− 𝑧 of the Faddeeva function 𝑤 ( 𝑧) = 𝑒− 𝑧 erfc(−i 𝑧) that definespthe profile, and not the profile; for Π ( 𝑛 | 21 ) it returned one first-order factor, whose solution 𝑦 /((1 − 𝑦 ) (1 − 2 𝑦 )) is not the target; for the other 13 operators it returned none. • factor, the symbolic-numeric factorisation of Chyzak, Goyer and Mezzarobba [46]: it did not finish within 300 s for the 15 generated operators or for the Voigt operator, none of which is Fuchsian, a case in which the algorithm is not guaranteed to terminate. It split the operators of the ellipsoid area (1.4 s) and of the demagnetising factor (13.8 s) into a first-order and a

62

second-order factor, and that of Π ( 𝑛 | 12 ) into three factors of order one (6.2 s). It returned the asymmetric oscillator and the simple cubic lattice as single factors. • is_provably_irreducible: True for the asymmetric oscillator (0.9 s) and the simple cubic lattice (5.2 s), which supports the Heun type of both; not proven for Π ( 𝑛 | 12 ), for the Voigt operator and for 7 of the generated operators; an error at an irregular singular point for the other 8; no result within 300 s for the two ellipsoid operators. The solutions of the right factor of a product solve the product, so we passed the right factors of the three split operators to our solver. It found candidates for none of them that match the targets, which also need solutions of the left factors. The check therefore adds no closed form and changes no count of this paper. It adds a proof that two of the operators are irreducible. Continuation. For the 15 generated operators we compared the function numerical_solution of ore_algebra, which bounds its error rigorously [47], with the continuation of Section S2.8. Both started from the same initial values at the middle of the interval, computed from the target at 60 digits, and were evaluated at the upper end of the interval and at the far end of the benchmark’s grid, half a range-width beyond it. Against the target, the error of ore_algebra is between 1.6 × 10−44 and 3.1 × 10−41 in 0.03 to 1.5 s, and ours between 2.5 × 10−44 and 2.7 × 10−33 in 0.07 to 2.0 s. The certified radius of ore_algebra, between 1.8 × 10−44 and 8.6 × 10−41 , bounds the continuation from the given initial values and not the error of those values, which is why the error exceeds the radius at 16 of the 30 points. For two operators with a real singular point between the centre and the end, the path had to pass the point explicitly on a half circle, as our continuation does. Guessing. For the 26 sequence and moment inputs of the regression cases we gave the function guess of ore_algebra the same 30 exact terms that the learner read. For the 22 inputs on which the learner returned a recurrence, guess returned the same recurrence up to a constant factor, in at most 0.61 s. For the four inputs without one (the primes, the partition numbers, Euler’s totient and the Bell numbers) it found none either. What this means for the method. ore_algebra starts where step 2 of the method ends: from an exact operator, or from exact terms. On those inputs it agrees with the learner, its continuation is more accurate and certified, and it can prove irreducibility, but on the 21 operators it did not supply a closed form that our rules miss. Its dependence on Sage makes it a heavy requirement for the learner, so we have not integrated it; it is a natural optional back end for the continuation of certified operators and for factorisation. The scripts and records of this check are kept with the source of the paper.

S8

The bank of changes of variable

Table S13 lists the maps of Section S2.6. A map is tried when its domain contains the interval of the data, with the weights 𝑘 = 0 and 𝑘 = 1 of equation (S13).

S9

Software and data

Versions. Vitrify Exact Learning ran on Python 3.12 with mpmath 1.3.0, SymPy 1.14.0, NumPy 2.4.6 and SciPy 1.18.1. The other programs were the following. • PySR 2.7.2, with SymbolicRegression.jl 2.7.2 on Julia 1.13.4 and SpecialFunctions.jl 2.9.2 for the added functions.

63

Table S13: The bank of twenty changes of variable 𝑦 = 𝜑 ( 𝑥 ), the domain of 𝑥 on which each is used, and its cost in the ranking (S12). Map 𝑦 = 𝜑 ( 𝑥 )

Domain of 𝑥

Cost

𝑦=𝑥 𝑦 = log 𝑥 𝑦 = 𝑒𝑥 𝑦 = 𝑥2 𝑦 = 𝑥3 𝑦 = 𝑥 1/2 𝑦 = 𝑥 1/3 𝑦 = 𝑥 3/2 𝑦 = 𝑥 2/3 𝑦 = 1/ 𝑥

(−∞, ∞) (0, ∞) (−∞, ∞) (0, ∞) (0, ∞) (0, ∞) (0, ∞) (0, ∞) (0, ∞) (−∞, 0) ∪ (0, ∞)

0 1 1 1 1 1 1 1 1 1

Map 𝑦 = 𝜑 ( 𝑥 )

Domain of 𝑥

Cost

𝑦 = 𝑥 /(1 − 𝑥 )  𝑦 = logit 𝑥 = log 𝑥 /(1 − 𝑥 ) 𝑦 = artanh 𝑥 𝑦 = arsinh 𝑥 √ 𝑦 = probit 𝑥 = 2 erf −1 (2 𝑥 − 1) 𝑦 = tan 𝑥 𝑦 = arctan 𝑥 𝑦 = arcsin 𝑥 𝑦 = sinh 𝑥 𝑦 = tanh 𝑥

(−∞, 1) ∪ (1, ∞) (0, 1) (−1, 1) (−∞, ∞) (0, 1) (−𝜋/2, 𝜋/2) (−∞, ∞) (−1, 1) (−∞, ∞) (−∞, ∞)

1 2 2 2 2 2 2 2 2 2

• pyoperon 0.6.2, gplearn 0.4.3, bingo-nasa 0.5.7 and rils-rols 1.6.7. • flash-ansr 0.19.1 with the pretrained model psaegert/flash-ansr-v25.0-T8-20M. • E2E: the repository facebookresearch/symbolicregression at commit c4144c9, with the checkpoint model1.pt. • TPSR: the repository deep-symbolic-mathematics/TPSR at commit bdff709. The settings of Operon, Bingo, gplearn, RILS-ROLS and E2E, the wrapper of TPSR, the scoring code of Section S5.4 and the published results of Table S8 are those of the repository cavalab/ srbench at commit dc3f6da of its branch srbench_2025. The neural programs ran on CPU with PyTorch 2.14.1. Runs. All runs were made between 18 and 20 November 2026 on four machines with 12 to 32 cores, with one thread per process. Benchmark definitions. The classic targets are the rows with one variable of benchmarks.csv, a file of the deep symbolic optimization repository [54]. The authors’ files of the Feynman equations [59] were not reachable when the benchmarks were set up. The 100 equations were taken from a mirror and compared with the metadata of the Penn Machine Learning Benchmarks [69]: the formula and the ranges of 99 equations agree, and II.11.17 has no data set there under that name. The 20 bonus equations were read from that metadata. Every data set was generated from its formula. The data sets of Section S5.4 are those of the Penn Machine Learning Benchmarks.

S10

The formulas returned for the Fresnel integral

The seven formulas of Figure 1 and Table S2, as each program printed them for the 1101 float64 points of 𝐶 ( 𝑥 ) on [0.2, 2]. The variable is written X1, x0, X_0, x1, x_0 or X0. Operon (0.000000125 + (0.999999762 * ((cos((3.496690989 * X1)) / (cos(((cos((1.513441682 * X1)) / exp ((1.282563090 * X1))) - (2.349471331 + (2.207667589 * X1)))) - 4.305118084)) (((-0.368798584) + ((-0.158383533) * X1)) + (log((42.630218506 * X1)) * (cos(exp ((1.091885924 * X1))) / (85.690597534 * X1)))))))

RILS-ROLS 1.055034*sin(x0)*cos(x0**2) - 0.689068*cos(x0**2) + 0.672111

64

PySR sin(1.293268038178877*sin(sqrt(x0 - cos(cos(2*x0 + log(x0 + 0.15918748681300737))) + 1.7189315973901353)) - 1.293268038178877*cos(sin(2*x0 - 0.3192569350292012)) + 0.3346267909056614)

Bingo 0.7549593188478704 + (1.9902988474237653)*((-0.619568464883273 + (sin(X_0))*(0.3448095545514621 + X_0 + (-2.113835900246371)*(sin(X_0))))*(0.35096750328067633 + ((X_0)**(-1))*((sin(X_0) )*(0.3448095545514621 + X_0 + (-2.113835900246371)*(sin(X_0))))))

Flash-ANSR (pow(x1, 2) + 0.12 - 1.4 * (x1 * sin(x1 * (x1 - 0.997)))) / cosh(0.9 * x1)

E2E ((0.039227331370364646 + (0.02268610950825978 * cos(((-0.476143579171859 + (-1.2658648260338818 * (-2.116951860213973 + (1.9245016911036117 * x_0)))) - (0.43284357917180205 + (0.4056648260340491 * (-2.116951860213973 + (1.9245016911036117 * x_0)))))))) * ((18.776749565117353 + (2.0887116771274212 * (-2.116951860213973 + (1.9245016911036117 * x_0)))) - (4.5332504348826514 + (-2.020311677127389 * (-2.116951860213973 + (1.9245016911036117 * x_0))))))

gplearn mul(sin(sqrt(sin(sin(add(add(0.532, X0), add(-0.701, X0)))))), sin(exp(cos(X0))))

S11

The generated set, target by target

Table S14: The 132 targets of the generated set (Section S5.5). Order, degree: of the operator that the generator computed for the target from the operators of its members; the learner can return another operator, as for C18, where it found a two-term operator of order 6. Callable: “closed form” when the closed form returned from the callable passes the test of Section S5.1; “continuation” when none does and the continued solution of the verified operator passes; “error” for the run that ended in an exception. Float64 table: “recovered” when the expression returned from 1101 float64 points passes the test, “wrong” when it fails. Other programs: those that recovered the target from the same points, with P14 for PySR + 14 functions, P for PySR, B for Bingo, F for Flash-ANSR, R for RILS-ROLS, O for Operon, G for gplearn and E for E2E; TPSR recovered none. In the formulas 𝐾 ( 𝑚) and 𝐸 ( 𝑚) are complete elliptic integrals of the parameter 𝑚, 𝐸𝜈 is the generalised exponential integral, 𝐻𝜈 the Hermite function, H𝜈 the Struve function, (𝜆) 𝐷𝜈 the parabolic cylinder function, 𝑃𝜈 and 𝑄 𝜈 are Legendre functions, 𝐶𝜈 is the Gegenbauer function, 𝑊𝜅,𝜇 and 𝑀𝜅,𝜇 Whittaker functions, 𝐹ℓ ( 𝜂, 𝜌) and 𝐺 ℓ ( 𝜂, 𝜌) Coulomb functions, 𝑈 ( 𝑎, 𝑏, 𝑥 ) is the confluent hypergeometric function of the second kind, Γ ( 𝑎, 𝑥 ) the incomplete gamma function, 𝐶 the Fresnel integral and 𝑊 ( 𝑥 ) Lambert’s function [7]. Vitrify Exact Learning Target Formula

Interval

Order, degree callable

float64 table

Tier E: elementary (12 targets) 1 −𝑥 E01 2 +𝑒

[1/4, 2]

2, 0

closed form

recovered P, B, R

E02

[1/10, 3/5]

1, 3

closed form

recovered –

[2, 10]

2, 3

closed form

recovered P14, P, B, F

[1/2, 4] [1/10, 3/5] [1/10, 3/5]

2, 4 2, 2 1, 1

closed form closed form closed form

recovered P, R recovered – recovered –

E03 E04 E05 E06

𝑒− 𝑥

2

 3/2

𝑥2 + 1 √ 𝑒− 𝑥 𝑥+ 𝑥 √ 2 𝑥 + 𝑒− 𝑥

𝑒 − 𝑥 /2 cos(3 𝑥 /2) 𝑥 3/2 𝑒 − 𝑥 2

Other programs

continued on the next page

65

Vitrify Exact Learning Target Formula E07

𝑒 − 𝑥 log( 𝑥 )

E08

2 𝑒 −2𝑥 +

E09

𝑒− 𝑥

Interval

Order, degree callable

float64 table

Other programs

[1/4, 2]

2, 1

closed form

recovered P14, P, B, F, R, O, G

1

√ 3𝑥 2 + 1

[−1/2, 2/5]

2, 6

closed form

no model –

−1

[1/10, 3/5]

2, 4

closed form

no model –

[2, 10] [−2, 1]

5, 6 3, 0

no model closed form

no model P, R recovered P14, P, B, R, O

[1/10, 3/5]

2, 6

closed form

no model P

[1/10, 3/5]

2, 4

closed form

no model –

[−5, −2]

2, 8

closed form

no model –

[1/10, 3/5] [1/10, 3/5] [1, 6] [1/10, 3/5] [1/4, 2] [1, 6] [1/20, 1/2] [1/4, 2] [−3, 2]

2, 1 2, 3 2, 5 2, 2 2, 1 2, 2 2, 2 2, 1 2, 2

closed form closed form closed form closed form closed form closed form closed form closed form closed form

recovered P14 recovered P14 no model – recovered – recovered P14 recovered P14 recovered P14 recovered P14 recovered –

[1/20, 1/2]

2, 5

closed form

no model –

[1/20, 1/2]

2, 6

continuation no model –

[1/4, 2] [2, 10] [1/20, 1/2]

2, 4 2, 4 2, 4

closed form recovered – continuation no model – closed form recovered –

[−4, −2]

2, 2

error

recovered –

[−1/2, 2/5]

2, 2

closed form

recovered –

[1/10, 3/5]

2, 6

continuation recovered –

[1/10, 3/5] [2, 10]

2, 2 2, 2

closed form closed form

recovered – recovered B, F

[−4/5, 1/5]

2, 5

closed form

no model –

[1/10, 3/5] [1/2, 4] [1/20, 1/2] [−5, −2]

2, 8 2, 2 2, 1 2, 1

continuation recovered – closed form recovered – closed form recovered – closed form recovered –

[1/2, 4]

2, 6

continuation no model –

[1/4, 2]

2, 6

continuation recovered –

[1/10, 3/5]

2, 4

closed form

[1/20, 1/2]

2, 6

continuation recovered –

[1/10, 3/5] [1/10, 3/5]

2, 4 2, 4

closed form closed form

no model – recovered –

[2, 10]

2, 8

closed form

no model –

[−4, −2]

2, 2

closed form

recovered –

E10 E11

𝑥 2 /2 + 1 log( 𝑥 ) cos( 𝑥 ) + 𝑒− 𝑥 /2 sin(2𝑥 ) + 12

E12

1+

𝑒− 𝑥

2

𝑥 2 /4 + 1

 3/2

Tier A: operator of order 1 to 2 (36 targets) A01 A02 A03 A04 A05 A06 A07 A08 A09 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 A31 A32 A33 A34

𝐸 (2 log( 𝑥 )) 𝑒 −2 log ( 𝑥 ) 𝐽1 (1/ 𝑥 ) 2

p

𝑥 2 /4 + 1 Ei( 𝑥 ) 𝐸 (𝑥)

 3/2 2𝑥 2 + 1 Bi(−𝑥 ) 𝐾 (2 log( 𝑥 )) Bi(2 𝑥 ) 𝐽1 ( 𝑥 ) 𝐾 (𝑥) 𝐾0 ( 𝑥 ) 𝐽1 ( 𝑒𝑥 /2) 𝐾0 ( 𝑥 )  3/2 2𝑥 2 + 1 𝐽13/5 (1/ 𝑥 ) /2 − 𝐽3/5 (1/ 𝑥 ) /2

𝑥2 − 41 𝐾1/6 ( 𝑥 /2) − 14 𝐾13/6 ( 𝑥 /2) 𝑊7/5, 4/5 (1/log( 𝑥 ))  27 2 4 𝑥 2 𝐹1 7/4, 14/5; 7/5; 𝑥 (−𝑥 ) 5/4 𝐼5/4 ( 𝑥 ) 𝑒− 𝑥 𝑥 5/4 (7/4) 𝐶4/3 (− 𝑥 ) 𝑒 − 𝑥 𝐽7/5 (1/ 𝑥 ) /2 − 𝐽 −3/5 (1/ 𝑥 ) /2 𝑥2

2 𝐹1 (2/5, 4/3; 3/4; 𝑥 ) 1 − 22 2 𝐹1 (5/4, 4/3; 17/6; − log( 𝑥 )) erfi( 𝑥 )  3/2 3√𝑥 2 + 1  2 𝑥 𝑌−3/5 ( 𝑥 ) /2 − 𝑌7/5 ( 𝑥 ) /2 𝐽5/4 ( 𝑥 ) 𝐻3/4 (− log( 𝑥 )) 𝐸1/4 (− 𝑥 ) 𝐽9/4 (1/ 𝑥 ) /2 − 𝐽1/4 (1/ 𝑥 ) /2

𝑥2

𝐾 −1/4 (1/ 𝑥 ) /2 + 𝐾7/4 (1/ 𝑥 ) /2 𝑥2

√

𝑥𝑄 4/5 ( 𝑥 /2) 𝑌9/4 (1/ 𝑥 ) /2 − 𝑌1/4 (1/ 𝑥 ) /2

 − 𝑥 /2𝑥

𝑒 𝐼1/6 𝑊5/6, 2/5 (1/ 𝑥 ) 𝐼3/5 (1/ 𝑥 ) 𝑥2

 3/2

𝑥 2 /4 + 1 𝑀2/5, 2/3 (− 𝑥 )

2

recovered –

continued on the next page

66

Vitrify Exact Learning Target Formula A35 A36

1 𝐹1 (7/6; 2/3; 𝑥 /2)

√

𝑥

(4/3) 𝐶7/4 ( 𝑥 /2)

Tier B: operator of order 3 to 4 (36 targets)  B01 Si 𝑥 2 𝑒𝑥 /2  B02 Bi( 𝑥 ) erf 𝑥 2 B03 𝐾 ( 𝑥)2 B04 − Ei( 𝑥 ) erf ( 𝑥 ) 2 B05 Bi(1/ √ 𝑥 ) B06 𝐽0 𝑥 + 2 B07 𝐾0 ( 𝑥 /2) 2 B08 𝐽1 (2 𝑥 ) 𝐾0 (− 𝑥 ) B09 𝑌0 (− 𝑥 ) + 12 B10 𝐼0 (2 log( 𝑥 )) + 12 B11 Ei(2 𝑥 ) 2 B12 𝐸 (− 𝑥 ) 2 B13 2 + 1 𝐹1 (1/3; 3/5; 𝑥 /2) B14 𝐹1/3 (7/6, 1/ 𝑥 ) + 1 2 B15 𝐺4/5 5/4, 𝑥 2  3/2 B16 3𝑥 2 + 1 ker1/3 (1/ 𝑥 ) Chi(− log( 𝑥 )) B17 log2 ( 𝑥 ) /2 √ + 1 2 (1/6) B18 𝐶8/5 1/ 𝑥 B19 𝐺9/5 (3/4, 1/ 𝑥 ) + 2 B20 𝐹9/5 (3/5, 𝑥 ) + 12 B21 𝐹 (arcsin( 𝑥 ) | 1/5) 2 B22 𝐷6/5 (− log( 𝑥 )) + 21  B23 𝑥 2 − 21 0 𝐹2 ; 1/6, 8/5;  B24 𝐹5/3 6/5, 𝑥 2 − 1 B25 𝐸3/4 ( 𝑥 ) 2 B26 𝐹3/5 (7/4, − 𝑥 ) − 1 B27 𝑊1/6, 11/6 (− 𝑥 ) + 2 B28 𝑈 (7/6, 4/5, 𝑥 /2) + 1 2 B29 1 𝐹1 (1/4; 1/6; 1/ 𝑥 )  2 − 1 B30 2 𝐹1 1/6, 7/4; 11/6; 𝑥 2 9 , 11/5, 9/4; 13/6, 17/6; 𝑥 /2) B31 154 √ √3 𝐹2 (7/6 2 𝜋 √ √  B32 𝐶 2𝑥 / 𝜋 2 B33 𝑈 (7/5, 3/5, 𝑒𝑥 /2) 2 B34 Γ (3/5, − 𝑥 ) 2 2 B35 𝐻4/5 𝑥 2 B36 𝐷11/6 (log( 𝑥 ) /2) − 12 Tier C: operator of order 5 to 8 (36 targets) C01 𝐽1 (1/ 𝑥 ) 𝐸 ( 𝑥 ) + erf ( 𝑥 /2) C02 Ai(1/𝑥 ) Ai( 𝑥 ) + 1 C03 Ei( 𝑥 ) + Si( 𝑥 /2) 𝑌0 (2𝑥 )  C04 Ei( 𝑥 /2) Ai( 𝑥 /2) + Bi 𝑥 2 C05 Si(1/𝑥 ) Bi(1/ 𝑥 )  C06 𝐽0 (log( 𝑥 ) /2) 𝐽1 log2 ( 𝑥 ) + 2  √ √  C07 𝐽0 𝑥 /2 erf 1/ 𝑥 + 2  C08 − Si(log( 𝑥 )) − Ai log2 ( 𝑥 ) 𝐽1 (log( 𝑥 )) C09 𝐼0 ( 𝑥 /2) 𝐸 (− 𝑥 )+ 1 √ √ C10 Ci 𝑥√ 𝐽1 √ 𝑥  C11 Ei 1/ 𝑥 𝐸 𝑥 /2 + 1 C12 Ai( 𝑥 /2) 𝐸 (−𝑥 ) + 2

Interval

Order, degree callable

float64 table

Other programs

[1/4, 2]

2, 2

closed form

recovered –

[−1/2, 2/5]

2, 2

closed form

recovered –

[−4/5, 1/5] [−4, −2] [1/20, 1/2] [1/20, 1/2] [−5, −2] [1/4, 2] [1/10, 3/5] [−4, −2] [−5, −2] [2, 10] [1/4, 2] [1/20, 1/2] [1/10, 3/5] [1/4, 2] [−4, −2] [1/20, 1/2]

3, 4 4, 15 3, 4 4, 8 3, 6 3, 2 3, 2 4, 6 3, 2 3, 2 3, 2 3, 4 3, 1 3, 6 3, 5 4, 16

closed form no model P14 no model no model – closed form no model P14 continuation no model P14 closed form recovered – closed form no model P14, B, F closed form recovered – continuation no model – continuation no model – no model no model – closed form recovered – closed form recovered P14, P, B, F closed form no model P14, P, B, F, O continuation no model – continuation no model – no model no model –

[1/10, 3/5]

3, 3

no model

[2, 10] [1/2, 4] [1/2, 4] [−4/5, 1/5] [1/4, 2] [−2, 1] [−2, 1] [1/4, 2] [−4, −2] [−5, −2] [1/2, 4] [−5, −2] [1/10, 3/5] [−5, −2]

3, 7 3, 6 3, 4 3, 4 3, 4 4, 3 3, 8 3, 2 3, 4 3, 4 3, 1 3, 5 3, 4 3, 3

closed form no model – continuation no model – continuation no model – closed form no model – no model no model – closed form no model – no model no model – closed form recovered – continuation no model – closed form no model – closed form recovered – closed form recovered – closed form no model – closed form no model –

[−4, −2]

3, 3

closed form

recovered –

[−5, −2] [−4, −2] [−2, 1] [1/4, 2]

3, 2 3, 2 3, 8 3, 4

no model closed form closed form no model

recovered – recovered – wrong – no model –

[1/20, 1/2] [−4, −2] [1/20, 1/2] [1/20, 1/2] [1/2, 4] [1/10, 3/5] [1/4, 2] [1/10, 3/5] [1, 6] [1, 6] [1/20, 1/2] [1/20, 1/2]

6, 35 5, 24 8, 15 6, 32 6, 22 5, 20 5, 20 7, 49 5, 11 6, 8 5, 14 5, 17

no model no model no model no model no model no model no model no model no model no model no model no model

no model no model no model no model no model no model no model no model no model no model no model no model

no model –

– – – – – – – – – – – P14, P, B, F, O

continued on the next page

67

Vitrify Exact Learning Target Formula

Interval

Order, degree callable

float64 table

Other programs

C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 C32 C33 C34 C35 C36

[1/20, 1/2] [1/10, 3/5] [1/10, 3/5] [−5, −2] [−4, −2] [−4, −2] [2, 10] [−5, −2] [1/4, 2] [1/4, 2] [1/2, 4] [1/2, 4] [1/20, 1/2] [1/4, 2] [1/4, 2] [1/20, 1/2] [1/20, 1/2] [1/20, 1/2] [1/2, 4] [1/10, 3/5] [−4, −2] [1/2, 4] [2, 10] [1/4, 2]

5, 12 7, 26 6, 24 8, 27 6, 26 5, 8 7, 36 6, 13 6, 26 5, 9 6, 26 5, 8 6, 15 6, 40 7, 28 5, 32 6, 22 6, 31 6, 6 5, 16 5, 10 5, 3 5, 20 8, 58

no model no model no model no model no model closed form no model no model no model no model no model closed form no model no model no model no model no model no model no model no model no model closed form no model no model

no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model no model

– – – – – – – – – – – – – – – – – – – – – P14, P, B, F, E B –

[1/2, 4]

–

no model

no model P14

[1/2, 4]

–

no model

no model –

[1/2, 4] [1/2, 4] [3/2, 5] [1/5, 3] [−1/2, 2/5] [1/5, 5/2]

– – – – – –

no model no model no model no model no model no model

no model P14 no model P14 no model – recovered – no model – recovered P, B, R

[3/10, 3]

–

closed form

recovered P, B, F, R

[−1, 3/5]

–

closed form

recovered P14, P, B, F, R, G

[−1, 5] [−2, 1]

– –

no model closed form

recovered P14, P, B, F, R, G recovered P14, P, B, R, G

 Shi( 𝑥 /2) + 2 𝐹1 7/5, 11/6; 4/5; 𝑥 2  Ei 𝑥 2 1 𝐹2 (1/6; 2/5, 5/3; 𝑥 ) − 12 bei5/3 ( 𝑥 /2) + 𝑌0 (1/ 𝑥 ) bei6/5 (− 𝑥 ) + Li3 ( 𝑥 ) erfi(1/ 𝑥 ) 2 𝐹2 (5/6, 11/6; 6/5, 7/4; 2 𝑥 ) ker7/5 (−𝑥 ) − 1 𝑃3/5 (2 𝑥 ) 0 𝐹2 (; 1/3, 4/3; 1/ 𝑥 ) − 1 𝑌6/5 (− 𝑥 ) + 0 𝐹3 (; 1/5, 7/6, 5/3; 2 𝑥 )  𝐼3/5 ( 𝑥 /2) + kei5/6 𝑥 2   √ √ Chi 𝑥 /2 + 𝑄 8/5 𝑥 /2 Chi(1/ 𝑥 ) Bi( 𝑥 /2) bei3/4 ( 𝑥 ) − 1 Chi( 𝑥 /2) 𝐻5/3 (− 𝑥 )  𝐽1 ( 𝑒𝑥 ) 𝐺3/5 (11/6, 𝑒 − 𝑥 ) + 𝐾1/6 𝑒2𝑥 𝑊5/6, 7/6 (1/ 𝑥 ) 0 𝐹2 (; 2/5, 7/6; − 𝑥 ) + 1 𝑌2/3 𝑥 2 𝑃3/4 ( 𝑥 /2) + 2 (4/5) 𝐶4/3 (− 𝑥 ) + kei7/4 (2 𝑥 )  𝐻3/5 (1/ 𝑥 ) + 𝑈 3/4, 2/3, 𝑥 2 𝑈 (5/4, 1/4, 𝑥 ) 2 H7/5 ( 𝑥 /2) √  √  Ei − 𝑥 𝐷5/3 2 𝑥 − 12 𝐹1/3 (5/6, − 𝑥 ) Γ (7/5, − 𝑥 ) + 21 0 𝐹3 (; 1/4, 5/3, 9/5; 𝑥 /2) − 1 𝐺1/3 (2/3, 1/ 𝑥 ) erfi(1/ 𝑥) + 2  Chi(1/ 𝑥 ) 𝐸8/5 𝑥 2 + 𝑌0 (1/ 𝑥 )

Tier N: no operator in 𝑥 (12 targets) N01 Γ(𝑥) 1 N02 Γ(𝑥) N03 log( Γ ( 𝑥 )) N04 𝜓( 𝑥) N05 𝜁 (𝑥) N06 𝑊 ( 𝑥 ) N07 erf −1 ( 𝑥 ) N08 𝑥𝑥 1 N09 𝑒𝑥 − 1 sin( 𝑥 ) N10 cos( 𝑥 ) 𝑒sin( 𝑥 ) N11 𝑥 N12 𝑒𝑒 /2

68

S12

The physical set, target by target

Table S15: The 29 quantities of the physical set (Section S5.6), grouped by the class of their known exact form. From the callable: the order and degree of the verified operator, the result and the time in seconds. The result is “closed form” when the closed form returned agrees with the target to 10−5 inside the range of the data and beyond it, and “continuation” when only the continued solution of the operator does. From the float64 table: the same for 1101 float64 points; “wrong” marks a returned certificate that fails that test (Section S5.6). Closest other program: the program whose formula has the smallest error when the larger of its two errors is taken, with its errors inside the range and beyond it. From the callable Quantity

Interval

Hypergeometric Pendulum period 0.05–0.6 over its small-angle period, against 𝑘 = sin(amplitude/2) Ellipse perimeter over 0.05–0.6 2𝜋𝑎, against the eccentricity Mutual inductance of 0.1–0.6 two equal coaxial loops over 𝜇 0 𝑎, against Maxwell’s modulus 𝑘 Lemniscate arc length 0.05–0.6 from the node, against the radius Period in the 0.01–0.1 potential 𝑞2 /2 − 𝑞3 /3, against the energy Period in the 0.01–0.15 potential 𝑞2 /2 − 𝑞4 /4, against the energy Period in the 0.01–0.18 potential 𝑞2 /2 − 𝑞5 /5, against the energy Comoving distance 0.05–3 over 𝑐/ 𝐻0 , flat universe with Ω𝑚 = 3/10, against the redshift 0.01–0.12 Bending angle of light by a Schwarzschild mass 𝑀 , against 𝑀 /𝑏 Generating function 0.05–0.6 of returns to the origin, body-centred cubic lattice, against its argument 0.1–3 Voigt profile: unit Gaussian convolved with a Lorentzian of half-width 1/2, against its argument

From the

Closest other program, its error

Ord. Deg. Result

Sec. float64 table Program

inside

beyond

2

3

closed form

1.7 closed form PySR

1 × 10−6

2 × 10−4

2

3

closed form

2.4 closed form PySR + 14 1 × 10−7 functions

1 × 10−4

2

4

closed form

3.6 closed form Flash-ANSR 1 × 10−5

0.02

2

4

closed form

1.9 closed form Flash-ANSR 2 × 10−8

2 × 10−4

2

2

closed form

2.8 closed form E2E

3 × 10−5

0.001

2

2

closed form

2.8 closed form Flash-ANSR 2 × 10−7

0.002

4

4

closed form 46.0 no model

PySR

2 × 10−6

3 × 10−4

2

3

closed form

4.0 closed form Bingo

4 × 10−4

3 × 10−4

4

3

closed form 10.6 no model

Bingo

1 × 10−7

0.01

3

4

closed form

5.2 wrong

PySR

5 × 10−8

2 × 10−4

3

2

continuation

2.4 continuation Flash-ANSR

0.002

0.01

69

From the callable Quantity

Interval

Meijer 𝐺 Density of the 0.2–3 product of three standard normal variables, against the product Density of the 0.2–3 product of four standard normal variables, against the product Thermonuclear rate 0.2–4 integral ∫∞ √ 𝑒 − 𝑦 − 𝑧/ 𝑦 d 𝑦 , 0 against 𝑧 Density of Wilks’ 0.05–0.6 Λ (3, 6, 3), against Λ K distribution: 0.1–3 density of an exponential variable with gamma-distributed mean, shape 5/3, against the variable

Ord. Deg. Result

From the

Closest other program, its error

Sec. float64 table Program

inside

beyond

3

2

closed form

6.2 closed form Flash-ANSR 1 × 10−4

3 × 10−4

4

3

closed form 10.7 closed form Flash-ANSR 8 × 10−5

2 × 10−4

3

1

closed form

5 × 10−4

0.002

3

4

closed form 62.9 closed form Operon

3 × 10−4

0.004

2

1

closed form

3.4 closed form Operon

2 × 10−4

4 × 10−4

2

3

closed form

1.6 closed form Flash-ANSR 9 × 10−5

1 × 10−4

2

3

closed form

4.0 closed form Flash-ANSR 4 × 10−4

0.001

5

4

closed form 30.0 no model

Flash-ANSR

0.001

0.004

5

9

closed form 35.0 no model

Flash-ANSR

0.001

0.009

3

2

closed form 13.9 wrong

Flash-ANSR 8 × 10−6

6 × 10−5

Fractional relaxation 0.1–6 function 𝐸1/2 (−𝑡 1/2 ), against

2

1

closed form

1.5 closed form Flash-ANSR 5 × 10−5

2 × 10−5

Mainardi’s 𝑀 function of index 2/3, against its argument

0.1–3

2

2

closed form

1.6 closed form PySR

6 × 10−5

3 × 10−5

0.05–0.6

2

4

closed form

6.1 closed form PySR

1 × 10−7

3 × 10−4

Fox 𝐻 Density of the 0.05–2 one-sided stable law of index 1/3, against its variable Density of the 0.1–2 one-sided stable law of index 2/3, against its variable Density of the 0.1–4 symmetric stable law of index 3/2, against its variable Holtsmark density of 0.2–4 the electric field strength in a plasma, against the field strength Fractional relaxation 0.1–6 function 𝐸1/3 (−𝑡 1/3 ), against 𝑡

4.3 closed form PySR

𝑡

Appell / Lauricella Incomplete elliptic integral 𝐹 (arcsin 𝑥 | 1/2), against 𝑥

70

From the callable Quantity

Interval

Complete elliptic 0.05–0.6 integral of the third kind Π ( 𝑛 | 1/2), against 𝑛 Demagnetising factor 0.2–0.7 along the short axis 𝑐 of an ellipsoid with 𝑎 = 2, 𝑏 = 1, against 𝑐 Surface area over 4𝜋 0.2–0.7 of an ellipsoid with 𝑎 = 2, 𝑏 = 1, against the short axis 𝑐 Heun type Period in the 0.05–2 potential 𝑞2 /2 + 𝑞3 /3 + 𝑞4 /4, against the energy Generating function 0.05–0.6 of returns to the origin, simple cubic lattice, against its argument

Ord. Deg. Result

From the

Closest other program, its error

Sec. float64 table Program

inside

beyond 0.01

3

3

continuation

8.6 no model

Bingo

4 × 10−6

3

5

continuation

9.7 no model

Bingo

1 × 10−8

3 × 10−6

3

6

continuation

5.6 no model

Flash-ANSR 4 × 10−7

4 × 10−5

2

4

continuation 13.2 no model

Flash-ANSR 4 × 10−4

5 × 10−5

3

6

continuation 17.1 no model

Flash-ANSR 2 × 10−7

4 × 10−5

71

Table S16: The differential equation that Vitrify Exact Learning found for each of the 29 quantities of the physical set from the callable, and the closed form returned. Every equation was found in 𝑥 itself, has exact coefficients and no fitted parameter, and applied to the target at 60 digits leaves a residual below 10−57 of the size of its terms. A number followed by dots is a constant of the closed form that stayed numerical. The Meijer 𝐺 -function is written with its upper parameters above its lower ones, and a dash for an empty list. Quantity

Differential equation found for 𝑓 ( 𝑥 )

Hypergeometric Pendulum period

Closed form returned





2

𝑥 ( 𝑥 − 1) ( 𝑥 + 1) 𝑓 ′′ + 3 𝑥 2 − 1 𝑓 ′ + 𝑥 𝑓 = 0

𝜋

𝐾 𝑥2



2  2

Ellipse perimeter

𝑥 ( 𝑥 − 1) ( 𝑥 + 1)

𝑓 ′′ + ( 𝑥 − 1) ( 𝑥 + 1)

Coaxial loops

𝑥 2 ( 𝑥 − 1) ( 𝑥 + 1)

𝑓 ′′ + 𝑥

Lemniscate arc

( 𝑥 − 1) ( 𝑥 + 1)

Cubic oscillator

6 𝑥 (6 𝑥 − 1) 𝑓 ′′ + 6 (12𝑥 − 1) 𝑓 ′ + 5 𝑓 = 0

2𝜋 2 𝐹1 (1/6, 5/6; 1; 6 𝑥 )

Quartic oscillator

4 𝑥 (4 𝑥 − 1) 𝑓 ′′ + 4 (8𝑥 − 1) 𝑓 ′ + 3 𝑓 = 0   10𝑥 (10𝑥 − 3) 100𝑥 2 + 30𝑥 + 9 𝑓 (4) + 30 4000𝑥 3 − 27 𝑓 ′′′ + 367000𝑥 2 𝑓 ′′ + 268000𝑥 𝑓 ′ + 15309 𝑓 = 0

2𝜋 2 𝐹1 (1/4, 3/4; 1; 4 𝑥 )

Quintic oscillator

𝑥2 + 1



72

3𝑥 3 + 9𝑥 2 + 9 𝑥 + 10



𝑥2 + 1



𝑓′ − 𝑥 𝑓 = 0

𝜋

   2 − 𝑥 2 𝐾 𝑥 2 − 2𝐸 𝑥 2

𝑓′ + 3 𝑓 = 0

𝑥 2 𝐹1 1/4, 1/2; 5/4; 𝑥 4

𝑓′ = 0

ΛCDM distance

2

Light deflection

𝑥 27 𝑥 2 − 1 𝑓 (4) + 3 (9 𝑥 − 1) (9 𝑥 + 1) 𝑓 ′′′ + 501 𝑥 𝑓 ′′ + 192 𝑓 ′ = 0

Body-centred cubic lattice

𝑥 2 ( 𝑥 − 1) ( 𝑥 + 1) 𝑓 ′′′ + 3 𝑥 2 𝑥 2 − 1 𝑓 ′′ + 7 𝑥 2 − 1 𝑓 ′ + 𝑥 𝑓 = 0

Voigt profile





𝑥



𝑓 ′′ + 2 𝑥 3 𝑓 ′ = 0

𝑓 ′′ + 9 ( 𝑥 + 1) 2

𝐸 𝑥



 4 𝑓 ′′′ + 8𝑥 𝑓 ′′ + 4 𝑥 2 + 13 𝑓 ′ + 8 𝑥 𝑓 = 0

Meijer 𝐺 Three normals

𝑥 2 𝑓 ′′′ + 3 𝑥 𝑓 ′′ + 𝑓 ′ + 𝑥 𝑓 = 0

Four normals

𝑥 3 𝑓 (4) + 6 𝑥 2 𝑓 ′′′ + 7 𝑥 𝑓 ′′ + 𝑓 ′ − 𝑥 𝑓 = 0

Reaction rate

𝑥 𝑓 ′′′ + 2 𝑓 = 0

Wilks’ Λ

4 𝑥 3 ( 𝑥 − 1) 𝑓 ′′′ − 6𝑥 2 (2 𝑥 − 1) 𝑓 ′′ + 3 𝑥 (9 𝑥 − 4) 𝑓 ′ − 6 (5 𝑥 − 2) 𝑓 = 0

K distribution

3 𝑥 𝑓 ′′ + 𝑓 ′ − 5 𝑓 = 0



2𝜋 4 𝐹3 1/10, 3/10, 7/10, 9/10; 1/3, 2/3, 1; 1000 𝑥 3 /27



√   70 ( 𝑥 + 1) 2 𝐹1 1/3, 1/2; 4/3; −3 ( 𝑥 + 1) 3 /7 − 1.140666875 . . . 7     4 𝑥 3 𝐹2 2/3, 1, 4/3; 3/2, 3/2; 27 𝑥 2 − 𝜋 + 𝜋 2 𝐹1 1/6, 5/6; 1; 27 𝑥 2  2 2 2 𝐹1 1/4, 1/4; 1; 𝑥 none; the continued operator reproduces the target √ 2 1

4𝜋2





𝐺 0,3 𝑥 2 /8

– 0, 0, 0

4, 0

– 0, 0, 0, 0

3, 0

4𝜋3/2



𝐺 0,4 𝑥 2 /16



 1 3, 0  – √ 𝐺 0,3 𝑥 2 /4 0,1/2,1 𝜋 √ 1575 𝜋 3,0  5/2,3,7/2  𝐺 3,3 𝑥 1,3/2,2 32 p   √ √ 5 · 21/6 · 311/12 · 51/3 Γ (1/6) 1/3 𝑥 𝐾2/3 2 15 𝑥 /3 3/4 6𝜋

Quantity

Differential equation found for 𝑓 ( 𝑥 )

Fox 𝐻 27𝑥 3 𝑓 ′′ + 108𝑥 2 𝑓 ′ + (60𝑥 − 1) 𝑓 = 0

Lévy 2/3

 27𝑥 3 𝑓 ′′ + 135 𝑥 2 − 8 𝑓 ′ + 105𝑥 𝑓 = 0

Stable 3/2

81 𝑓 (5) + 16 𝑥 4 𝑓 ′′′ + 240𝑥 3 𝑓 ′′ + 940𝑥 2 𝑓 ′ + 880𝑥 𝑓 = 0

Holtsmark

  81𝑥 5 𝑓 (5) − 486𝑥 4 𝑓(4) + 8𝑥 3 2 𝑥 6 + 243  𝑓 ′′′ + 24𝑥 2 10𝑥 6 − 243 𝑓 ′′ + 4𝑥 235𝑥 6 + 2916 𝑓 ′ + 16 55 𝑥 6 − 729 𝑓 = 0

Relaxation 1/3

9 𝑥 2 𝑓 ′′′ + 9 𝑥 ( 𝑥 + 2) 𝑓 ′′ + 2 (9 𝑥 + 1) 𝑓 ′ + 2 𝑓 = 0

Relaxation 1/2

2 𝑥 𝑓 ′′ − (2 𝑥 − 1) 𝑓 ′ − 𝑓 = 0

Wright 𝑀 2/3

9 𝑓 ′′ + 4 𝑥 2 𝑓 ′ + 10 𝑥 𝑓 = 0

73

Lévy 1/3

Appell / Lauricella Incomplete elliptic 𝐹 Elliptic Π Demagnetising factor Ellipsoid area

  ( 𝑥 − 1) ( 𝑥 + 1) 𝑥 2 − 2 𝑓 ′′ + 𝑥 2 𝑥 2 − 3 𝑓 ′ = 0  2 𝑥 ( 𝑥 − 1) (2 𝑥 − 1) 𝑓 ′′′ + 26𝑥 2 − 24𝑥 + 3 𝑓 ′′ + 4 (8𝑥 − 3) 𝑓 ′ + 4 𝑓 = 0  𝑥 ( 𝑥 − 2) ( 𝑥 − 1) ( 𝑥 + 1) ( 𝑥 + 2) 𝑓 ′′′ + 11 𝑥 4 − 25 𝑥 2 − 4 𝑓 ′′ +   𝑥 29 𝑥 2 − 10 𝑓 ′ + 2 8 𝑥 2 + 5 𝑓 = 0  2 𝑥 ( 𝑥 − 2) (𝑥 − 1) ( 𝑥 + 1) ( 𝑥 + 2) 𝑓 ′′′ + 𝑥 5 𝑥 4 − 5 𝑥 2 − 12 𝑓 ′′ + 2 2 ′ 2 2 𝑥 + 2 𝑥 + 3 𝑓 − 2𝑥 𝑥 + 5 𝑓 = 0

Closed form returned  √  √ √  √  √ 𝐼 3 −1/3 2 3/ 9 𝑥 − 𝐼1/3 2 3/ 9 𝑥 9 𝑥 3/2    √ 21/6 · 31/4 3 · 22/3 𝜋 𝑥 2/3 1 𝐹1 5/6; 2/3; −4/ 27 𝑥 2 + p 9𝜋3/4 𝑥 7/3 Γ (1/6)    Γ (1/6) 1 𝐹1 7/6; 4/3; −4/ 27 𝑥 2   0.02456431415 . . . 𝑥 4 2 𝐹3 13/12, 19/12; 7/6, 3/2, 5/3; −4 𝑥 6 /729 −   1 2 𝑥 3 𝐹4 3/4, 1, 5/4; 2/3, 5/6, 7/6, 4/3; −4 𝑥 6 /729 + 3𝜋   2 · 25/6 · 33/4 6 p 2 𝐹3 5/12, 11/12; 1/3, 1/2, 5/6; −4 𝑥 /729 9𝜋1/4 Γ (1/6)   0.05203095088 . . . 𝑥 6 2 𝐹3 17/12, 23/12; 4/3, 3/2, 11/6; −4 𝑥 6 /729 −   0.1965145132 . . . 𝑥 4 2 𝐹3 13/12, 19/12; 2/3, 7/6, 3/2; −4𝑥 6 /729 +   4 2 𝑥 3 𝐹4 3/4, 1, 5/4; 1/3, 2/3, 5/6, 7/6; −4 𝑥 6 /729 √3𝜋 3 3Γ (1/3) 2/3 3 𝑥 𝑥 1/3 1 𝐹1 (1; 4/3; − 𝑥 ) + 𝑒 − 𝑥 1 𝐹1 (1; 5/3; − 𝑥 ) − 4𝜋 Γ (1/3)  √  1 − erf 𝑥 𝑒𝑥   21/6 · 31/4 𝑥Γ (1/6) 1 𝐹1 7/6; 4/3; −4 𝑥 3 /27 + p 6𝜋3/4 Γ (1/6)   √ 3 · 22/3 𝜋 1 𝐹1 5/6; 2/3; −4 𝑥 3 /27 

𝑥𝐹1 1/2; 1/2, 1/2; 3/2; 𝑥 2 /2, 𝑥 2



none; the continued operator reproduces the target none; the continued operator reproduces the target none; the continued operator reproduces the target

Quantity

Differential equation found for 𝑓 ( 𝑥 )

Heun type Asymmetric oscillator

 12𝑥 (24𝑥 + 7) 144𝑥 2 + 12𝑥 + 7 𝑓 ′′ +  12 6912𝑥 3 + 3312𝑥 2 + 168𝑥 + 49 𝑓 ′ + 7776𝑥 2 + 5124𝑥 − 49 𝑓 = 0  4 2 ′′ 𝑥 2 ( 𝑥 − 3) ( 𝑥 − 1) (𝑥 + 1) ( 𝑥 + 3) 𝑓 ′′′  + 3 𝑥 3 𝑥 − 20 𝑥 + 9 𝑓 + 4 2 ′ 2 9 2𝑥 − 8𝑥 + 1 𝑓 + 6𝑥 𝑥 − 2 𝑓 = 0

Cubic lattice

Closed form returned

none; the continued operator reproduces the target none; the continued operator reproduces the target

S13 Operators found for the functions of two variables

74

Table S17: Every distinct operator recorded for the eight functions of two variables of Section S5.7 and for the control Γ ( 𝑥 + 2 𝑦 ), with its test on the held-out quadrant at 40 digits: the residual of the exact operator and the noise level, both relative to the size of its terms. An operator passes when the residual is at most ten times the noise. Role “generator”: an operator that the reduction of Section S2.11 kept from the system; the kept operators need not be a minimal set of generators. Role “series”: one of the two two-term operators that fix the ratios (S19). An operator can have both roles. For the Voigt function the reduction kept four rows, of which 𝑦 ( 𝜕2𝑣 + 𝜕2𝑦 ) and 𝑣 ( 𝜕2𝑣 + 𝜕2𝑦 ) print as one operator once the common factor is removed (“recorded twice”), and 𝜕2𝑣 + 𝜕2𝑦 is the difference of the other two operators listed. The operators of the two ellipsoid integrals are printed in the variables 𝑢 = 1 − 𝑥 and 𝑣 = 1 − 𝑦 in which they were found. Operator

Role

Residual

Noise

elliptic Pi, variables ( 𝑛, 𝑚) 2 ( 𝑚 − 𝑛 ) 𝜕 𝑛 𝜕 𝑚 + 𝜕 𝑛 − 2𝜕 𝑚 4𝑛 ( 𝑛 − 1) 𝜕2𝑛 + 2 (4𝑛 − 1) 𝜕𝑛 − 4𝑚 ( 𝑚 − 1) 𝜕2𝑚 − 4𝑚𝜕𝑚 + 1 2𝑛 ( 𝑛 − 1) 𝜕2𝑛 + 2𝑚 ( 𝑛 − 1) 𝜕𝑛 𝜕𝑚 + (5𝑛 − 2) 𝜕𝑛 + 2𝑚𝜕𝑚 + 1 4𝑛 ( 𝑚 − 1) 𝜕𝑛 𝜕𝑚 + 2𝑛𝜕𝑛 + 4𝑚 ( 𝑚 − 1) 𝜕2𝑚 + 4 (2𝑚 − 1) 𝜕𝑚 + 1 4𝑚 ( 𝑚 − 1) 𝜕𝑛 𝜕𝑚 + 2 ( 𝑚 + 𝑛 − 1) 𝜕𝑛 + 4𝑚 ( 𝑚 − 1) 𝜕2𝑚 + 4𝑚𝜕𝑚 + 1

generator generator series series generator

2.9 × 10−37 6.7 × 10−38 4.8 × 10−37 9.4 × 10−37 1.0 × 10−36

3.6 × 10−37 1.5 × 10−37 5.1 × 10−37 9.4 × 10−37 9.9 × 10−37

pendulum time,  variables ( 𝑠, 𝑚) 2 𝑚𝑠2 − 1 𝜕𝑠 𝜕𝑚 + 𝑠2 𝜕𝑠 𝑠 ( 𝑠 − 1) ( 𝑠 + 1) 𝜕2𝑠 − 2𝑚 ( 𝑠 − 1) ( 𝑠 + 1) 𝜕𝑠 𝜕𝑚 + 𝑠2 𝜕𝑠 2𝑠 ( 𝑚 − 1) 𝜕𝑠 𝜕𝑚 + 𝑠𝜕𝑠 − 4𝑚 ( 𝑚 − 1) 𝜕2𝑚 − 4 (2𝑚 − 1) 𝜕𝑚 − 1

series series generator

3.1 × 10−36 1.4 × 10−36 1.0 × 10−36 5.5 × 10−37 4.6 × 10−37 3.4 × 10−37

ellipsoid capacitance, variables 𝑢 = 1 − 𝑥 , 𝑣 = 1 − 𝑦 2 ( 𝑢 − 𝑣) 𝜕𝑢 𝜕𝑣 − 𝜕𝑢 + 𝜕𝑣 4𝑢 ( 𝑣 − 1) 𝜕𝑢 𝜕𝑣 + 2𝑢𝜕𝑢 + 4 𝑣 ( 𝑣 − 1) 𝜕2𝑣 + 2 (4 𝑣 − 3) 𝜕𝑣 + 1 4𝑢 ( 𝑢 − 1) 𝜕𝑢2 + 4 𝑣 ( 𝑢 − 1) 𝜕𝑢 𝜕𝑣 + 2 (4𝑢 − 3) 𝜕𝑢 + 2𝑣𝜕𝑣 + 1 2𝑢 ( 𝑢 − 1) 𝜕𝑢2 + (3𝑢 − 2) 𝜕𝑢 − 2 𝑣 ( 𝑣 − 1) 𝜕2𝑣 − (3𝑣 − 2) 𝜕𝑣 4𝑣 ( 𝑣 − 1) 𝜕𝑢 𝜕𝑣 + 2 ( 𝑢 + 𝑣 − 1) 𝜕𝑢 + 4𝑣 ( 𝑣 − 1) 𝜕2𝑣 + 2 (3𝑣 − 2) 𝜕𝑣 + 1

generator series series generator generator

9.0 × 10−37 1.1 × 10−36 7.8 × 10−37 1.3 × 10−37 1.2 × 10−36

1.1 × 10−36 1.3 × 10−36 9.8 × 10−37 2.6 × 10−37 1.4 × 10−36

75

Operator

Role

Residual

Noise

ellipsoid demagnetisation, variables 𝑢 = 1 − 𝑥 , 𝑣 = 1 − 𝑦 2 ( 𝑢 − 𝑣) 𝜕𝑢 𝜕𝑣 − 𝜕𝑢 + 𝜕𝑣 4𝑢 ( 𝑣 − 1) 𝜕𝑢 𝜕𝑣 + 2𝑢𝜕𝑢 + 4 𝑣 ( 𝑣 − 1) 𝜕2𝑣 + 2 (6 𝑣 − 5) 𝜕𝑣 + 3 4𝑢 ( 𝑢 − 1) 𝜕𝑢2 + 4𝑣 (𝑢 − 1) 𝜕𝑢 𝜕𝑣 + 2 (6𝑢 − 5) 𝜕𝑢 + 2 𝑣𝜕𝑣 + 3 2𝑢 ( 𝑢 − 1) 𝜕𝑢2 + (5𝑢 − 4) 𝜕𝑢 − 2 𝑣 ( 𝑣 − 1) 𝜕2𝑣 − (5 𝑣 − 4) 𝜕𝑣 4 𝑣 ( 𝑣 − 1) 𝜕𝑢 𝜕𝑣 + 2 ( 𝑢 + 𝑣 − 1) 𝜕𝑢 + 4 𝑣 ( 𝑣 − 1) 𝜕2𝑣 + 2 (5 𝑣 − 4) 𝜕𝑣 + 3

generator series series generator generator

9.5 × 10−38 4.5 × 10−38 3.7 × 10−38 3.7 × 10−38 5.3 × 10−38

3.7 × 10−37 3.0 × 10−37 3.4 × 10−37 2.1 × 10−37 2.8 × 10−37

anisotropic square lattice, variables ( 𝑎, 𝑏) 𝑎𝑏𝜕2𝑎 + 𝑏𝜕𝑎 − 𝑎𝑏𝜕2𝑏 − 𝑎𝜕𝑏  𝑎2 + 𝑏2 − 1 𝜕𝑎 𝜕𝑏 + 𝑏𝜕𝑎 + 2𝑎𝑏𝜕2𝑏 + 3𝑎𝜕𝑏 𝑎2 𝑏𝜕2𝑎 + 2𝑎𝑏2 𝜕𝑎 𝜕𝑏 + 4𝑎𝑏𝜕𝑎 + 𝑏 ( 𝑏 − 1) ( 𝑏 + 1) 𝜕2𝑏 + (2𝑏 − 1) (2𝑏 + 1) 𝜕𝑏 + 2𝑏 𝑎 ( 𝑎 − 1) ( 𝑎 + 1) 𝜕2𝑎 + 2𝑎2 𝑏𝜕𝑎 𝜕𝑏 + (2𝑎 − 1) (2𝑎 + 1) 𝜕𝑎 + 𝑎𝑏2 𝜕2𝑏 + 4𝑎𝑏𝜕𝑏 + 2𝑎

generator generator series series

2.9 × 10−37 1.9 × 10−36 6.1 × 10−37 3.6 × 10−37

4.5 × 10−37 6.3 × 10−36 9.4 × 10−37 7.0 × 10−37

Gordon integral, variables ( 𝑥, 𝑦 ) 6 𝑥 𝑦𝜕𝑥 𝜕 𝑦 + 2𝑥𝜕𝑥 + 6 𝑦 ( 𝑦 − 1) 𝜕2𝑦 + (23 𝑦 − 12) 𝜕 𝑦 + 5 4 𝑥 ( 𝑥 − 1) 𝜕2𝑥 + 4𝑥 𝑦𝜕𝑥 𝜕 𝑦 + 4 (4 𝑥 − 1) 𝜕𝑥 + 2 𝑦𝜕 𝑦 + 5 12𝑥 ( 𝑥 − 1) 𝜕2𝑥 + 4 (11 𝑥 − 3) 𝜕𝑥 − 12 𝑦 ( 𝑦 − 1) 𝜕2𝑦 − 8 (5 𝑦 − 3) 𝜕 𝑦 + 5

generator, series series generator

1.4 × 10−37 3.1 × 10−37 7.9 × 10−38 1.9 × 10−37 3.7 × 10−38 1.4 × 10−37

weighted elliptic K, variables ( 𝑥, 𝑦 ) 2 𝑥𝜕𝑥 𝜕 𝑦 − 2𝜕𝑥 + 𝜕 𝑦 2 ( 𝑥 − 1) 𝜕𝑥 − 2 𝑦𝜕2𝑦 + (2 𝑦 − 1) 𝜕 𝑦 + 1 2𝑥𝜕𝑥 𝜕 𝑦 − 2𝑥𝜕𝑥 + 2 𝑦𝜕2𝑦 − 2 ( 𝑦 − 1) 𝜕 𝑦 − 1 4𝑥 ( 𝑥 − 1) 𝜕2𝑥 + 4 𝑦 ( 𝑥 − 1) 𝜕𝑥 𝜕 𝑦 + 4 (2 𝑥 − 1) 𝜕𝑥 + 2 𝑦𝜕 𝑦 + 1

generator generator series series

4.4 × 10−37 1.4 × 10−37 3.1 × 10−37 3.3 × 10−37

Voigt function, variables ( 𝑣, 𝑦 ) 𝜕2𝑣 + 𝜕2𝑦 2𝑣𝜕𝑣 − 𝜕2𝑦 + 2 𝑦𝜕 𝑦 + 2 𝜕2𝑣 + 2 𝑣𝜕𝑣 + 2 𝑦𝜕 𝑦 + 2

generator (recorded twice) generator, series generator, series

6.1 × 10−37 8.8 × 10−37 3.2 × 10−38 1.4 × 10−37 2.0 × 10−38 1.3 × 10−37

control Γ ( 𝑥 + 2 𝑦 ), variables ( 𝑥, 𝑦 ) 2𝜕𝑥 − 𝜕 𝑦

generator

1.5 × 10−38 1.1 × 10−37

2.5 × 10−37 1.5 × 10−37 2.2 × 10−37 2.3 × 10−37

S14 The regression cases Table S18: The 125 regression cases of Section S5.9 with the first certificate that the frozen learner returned for each. Data: the kind of input. Change of variable: the map 𝑦 = 𝜑 ( 𝑥 ) of the certificate, with (𝑘 = 1) when the search ran on the pushforward of equation (S13); a dash when the operator was found in 𝑥 . Operator: the equation for 𝑓 ( 𝑥 ), for 𝑔 ( 𝑦 ) of equation (S14) after a change of variable, or the recurrence for a sequence 𝑎𝑛 ; for moments it is the equation of the density. 𝑎1 is a coefficient that stayed numerical. The groups are those of Section S5.9; “named densities” are six densities that an earlier version of the learner fitted by name, and the two later sets were written after the code that they test. Case names are those of the benchmark script. case

data

status

change of variable

operator

closed form

direct (13 cases) exp(-x)

callable

verified

–

𝑓′ + 𝑓 = 0

𝑒− 𝑥

21.5

1 1−𝑥

9.6

1/(1-x)

callable

verified

–

( 𝑥 − 1)

𝑓′ + 𝑓 = 0

76

exp(-x^2) Ai(x) J0(x) erf(x)

callable callable callable callable

verified verified verified verified

– – – –

𝑓 ′ + 2𝑥 𝑓 = 0 𝑓 ′′ − 𝑥 𝑓 = 0 𝑥 𝑓 ′′ + 𝑓 ′ + 𝑥 𝑓 = 0 𝑓 ′′ + 2 𝑥 𝑓 ′ = 0

(exp(x)-1)/x

callable

verified

–

𝑥 𝑓 ′′ − ( 𝑥 − 2) 𝑓 ′ − 𝑓 = 0

x exp(-x) exp(x)+cos(x) exp(x) sin(x) log(1+x)

callable callable callable callable

verified verified verified verified

– – – –

𝑥 𝑓 ′ + ( 𝑥 − 1)

sin(x)/x

callable

verified

–

𝑥 𝑓 ′′ + 2 𝑓 ′ + 𝑥 𝑓 = 0

𝑓 =0 𝑓 ′′′ − 𝑓 ′′ + 𝑓 ′ − 𝑓 = 0 𝑓 ′′ − 2 𝑓 ′ + 2 𝑓 = 0 ( 𝑥 + 1) 𝑓 ′′ + 𝑓 ′ = 0

constant 7/3

callable

verified

–

𝑓′ = 0

wider class (7 cases) K(m) complete elliptic

callable

verified

–

4 𝑥 ( 𝑥 − 1) 𝑓 ′′ + 4 (2 𝑥 − 1) 𝑓 ′ + 𝑓 = 0

Dawson F(x)

callable

verified

–

𝑓 ′′ + 2 𝑥 𝑓 ′ + 2 𝑓 = 0

Ai(x)^2 Rice density x^2 exp(-3 x^2.3 / 2) 1.7 x^0.7 exp(-x^1.7)

callable callable callable callable

verified verified verified verified

–

𝑓 ′′′ − 4 𝑥 𝑓 ′ − 2 𝑓 = 0 4 𝑦 𝑔 ′′ + 4 ( 𝑦 + 1) 𝑔 ′ + ( 𝑦 + 1) 𝑔 = 0

pi x^(pi-1) exp(-x^pi)

callable

verified

𝑦 = 𝑥 2 (𝑘 = 1)

𝑒

−𝑥2

11.0 12.6 26.0 9.8

Ai( 𝑥 ) 𝐽0 ( 𝑥 ) erf ( 𝑥 ) 𝑒𝑥 − 1

23.0

𝑥

𝑥𝑒 − 𝑥

29.9 12.2 22.0 25.3

𝑒𝑥 + cos( 𝑥 ) 𝑒𝑥 sin( 𝑥 ) log( 𝑥 + 1) sin( 𝑥 ) 𝑥

24.7

7 3

13.1

𝐾 (𝑥)

38.3

√

𝜋

−𝑥2

erfi( 𝑥 ) 𝑒 2 Ai( 𝑥 ) 2 2 𝑥 𝐼0 ( 𝑥 ) 𝑒 − 𝑥 /2−1/2 𝑥 2 𝑒 −3𝑥

𝑦 = 𝑥 17/10 (𝑘 = 1)

46 𝑦 𝑔 ′ + (69 𝑦 − 40) 𝑔 = 0 𝑔′ + 𝑔 = 0

𝑦 = 𝑥 𝜋 (𝑘 = 1)

𝑔′ + 𝑔 = 0

𝜋

𝑦 = 𝑥 23/10

seconds

23/10 /2

17 7/10 − 𝑥 17/10 𝑒 10 𝑥 𝜋 𝑥 𝜋 𝑒− 𝑥

𝑥

25.8 14.2 22.6 61.7 63.4 47.8

case

data

status

change of variable

operator

closed form

seconds

change of variable (9 cases) 2x exp(-x^2) (3/2) x^(1/2) exp(-a x^(3/2))

callable callable

verified verified

𝑦 = 𝑥 2 (𝑘 = 1)

𝑔′ + 𝑔 = 0

𝑦 = 𝑥 3/2 (𝑘 = 1)

𝑔′ + 𝑎

2 𝑥𝑒 − 𝑥 3 √ − 𝑎1 𝑥 3/2

19.0 29.0

exp(-a/x)/x^2

callable

verified

𝑦 = 1/ 𝑥 (𝑘 = 1)

𝑔 ′ + 𝑎1 𝑔 = 0

exp(-a x/(1-x))/(1-x)^2

callable

verified

𝑦 = 𝑥 /(1 − 𝑥 ) (𝑘 = 1)

𝑔 ′ + 𝑎1 𝑔 = 0

exp(-a asinh(x)^2)/ sqrt(1+x^2)

callable

verified

𝑦 = arsinh 𝑥 (𝑘 = 1)

𝑔 ′ + 𝑎1 𝑦 𝑔 = 0

exp(-a logit(x)^2)/ (x(1-x))

callable

verified

𝑦 = logit 𝑥 (𝑘 = 1)

𝑔 ′ + 𝑎1 𝑦 𝑔 = 0

𝑒 − 𝑎1 log (− 𝑥 /( 𝑥 −1) )/2 𝑥 (1 − 𝑥 )

66.3

sqrt(2 pi) exp(-(a-1/2) probit(x)^2) tan(x)

callable

verified

𝑦 = probit 𝑥

𝑔 ′ + 𝑎1 𝑦 𝑔 = 0

√ √ − 𝑎 erf −1(2𝑥 −1) 2 2 𝜋𝑒 1

76.1

callable

verified

𝑦 = tan 𝑥

𝑦 𝑔′ − 𝑔 = 0

tan( 𝑥 )

27.0

2

1𝑔 =0

2

𝑥𝑒

𝑒 − 𝑎1 / 𝑥 𝑥2 𝑒𝑎1 𝑥 /( 𝑥 −1)

28.6 42.1

( 𝑥 − 1) 2 𝑒 − 𝑎1 arsinh ( 𝑥 )/2 2

√

𝑥2 + 1

28.6

2

77

exp(-a logit(x/2)^2)/ (x(2-x)), map supplied by the caller control (7 cases) 1/(1+x^2), arcsinh only

callable

verified

𝑦 = logit( 𝑥 /2) (𝑘 = 1)

𝑔 ′ + 𝑎1 𝑦 𝑔 = 0

callable

no-model

–

–



2 𝑒 − 𝑎1 log (− 𝑥 /( 𝑥 −2) )/2

𝑥 (2 − 𝑥 )

–

3.6 1

𝑓 ′ + 2𝑥 𝑓 = 0

46.1



1/(pi (1+x^2)), full bank

callable

verified

–

𝑥2 + 1

exp(-a asinh(x)^2)/ sqrt(1+x^2), direct only tan(x), direct only Gamma(x) zeta(x) x^x

callable

no-model

–

–

–

86.0

callable callable callable callable

no-model no-model no-model no-model

– – – –

– – – –

– – – –

81.3 238.9 272.0 245.6

callable

verified

𝑦 = 𝑥 2 (𝑘 = 1)

𝑦 ( 𝑦 − 4) 𝑔 ′′ − 2 𝑔 ′ = 0

𝜋 𝑥2 + 1

geometry (4 cases) disk distance density

 √  4 − 𝑥 2 /2 − 𝑥 4 − 𝑥 2 𝜋  1 2 2 16 (3 𝑥 + 12) 2 𝑥 − 𝑥 2 √ 𝜋 4 − 𝑥2 1



ball distance density

callable

verified

–

𝑥 ( 𝑥 − 2) ( 𝑥 + 4) 𝑓 ′ − 5 𝑥 2 + 10 𝑥 − 16 𝑓 = 0

circle chord density

callable

verified

–

( 𝑥 − 2) ( 𝑥 + 2) 𝑓 ′ + 𝑥 𝑓 = 0

5.9

𝑥 4 arcsin

√

38.0 24.1 20.5

case

data

status

change of variable

operator

closed form

segment distance density

callable

verified

–

( 𝑥 − 1) 𝑓 ′ − 𝑓 = 0

2−2𝑥

gamma(5/2, 2/3)

callable

verified

–

2 𝑥 𝑓 ′ + 3 ( 𝑥 − 1) 𝑓 = 0

GB1(a=2, b=1, p=3/2, q=5/2)

callable

verified

–

𝑥 ( 𝑥 − 1) ( 𝑥 + 1) 𝑓 ′ − 5 𝑥 2 − 2 𝑓 = 0

√ 3 6 3/2 −3𝑥 /2 √ 𝑥 𝑒 2 𝜋  3/2 32 2  𝑥 1 − 𝑥2

GB2(a=2, b=1, p=1, q=3/2)

callable

verified

𝑦 = 𝑥 2 (𝑘 = 1)

2 ( 𝑦 + 1) 𝑔 ′ + 5 𝑔 = 0

3

beta prime(2, 3)

callable

verified

–

𝑥 ( 𝑥 + 1) 𝑓 ′ + (4 𝑥 − 1) 𝑓 = 0

lognormal(1/2, 3/4)

callable

verified

𝑦 = log 𝑥

9 𝑔 ′ + (16 𝑦 + 1) 𝑔 = 0

gamma-gamma(3, 1)

callable

verified

–

𝑥 𝑓 ′′ − 𝑓 ′ − 3 𝑓 = 0

12 ( 𝑥 + 1) 5 √ −8 log2( 𝑥 )/9 2 2𝑒 √ 1/9 2/9 3 𝜋𝑥  √ 𝑒√  9 𝑥 𝐾2 2 3 𝑥

table

verified

–

𝑥 𝑓 ′′ + 𝑓 ′ + 𝑥 𝑓 = 0

𝐽0 ( 𝑥 )

6.4

table table

verified verified

– –

𝑓 ′′ − ( 𝑥 − 3) 𝑓 = 0 𝑥 𝑓 ′′ + 𝑓 ′ + 𝑥 𝑓 = 0

Ai( 𝑥 − 3) 𝐽0 ( 𝑥 )

7.9 5.0

table

verified

–

𝑓′ + 𝑥 𝑓 = 0

𝑒 − 𝑥 /2

2.2

table

verified

𝑦 = log 𝑥

𝑔 ′ + (4 𝑦 + 1) 𝑔 = 0

𝑒 −2 log ( 𝑥 ) 𝑥

53.9

table

conjecture

–

𝑥 𝑓 ′′ + 𝑓 ′ + 𝑥 𝑓 = 0

𝐽0 ( 𝑥 )

2.4

table

no-model

–

–

–

21.0

table table

no-model no-model

– –

– –

– –

37.7 25.6

draws (7 cases) 2e6 draws, exponential(1) 2e6 draws, gamma(3, 1)

draws draws

conjecture conjecture

– –

𝑓′ + 𝑓 = 0 𝑥 𝑓 ′ + ( 𝑥 − 2) 𝑓 = 0

𝑒− 𝑥 1 2 −𝑥 2 𝑥 𝑒

31.9 38.9

2e6 draws, normal(0, 1)

draws

conjecture

–

𝑓′ + 𝑥 𝑓 = 0

named densities (6 cases)

78

tables (9 cases) J0, 45-digit table of 551 points Ai(x-3), 45-digit table J0, float64 table of 1101 points exp(-x^2/2), float64 table



seconds 27.4

𝜋

𝑥



5/2 𝑥2 + 1

𝑥

2

15.9 31.3 19.5 27.2 45.3 133.2

2

lognormal(0, 1/2), float64 table, full bank J0 + 1e-6 noise, float64 table J0 + 1e-3 noise, float64 table white noise table Gamma(x), float64 table

√ − 𝑥 2 /2 2𝑒 √ 2 𝜋

12.9

case

data

status

change of variable

operator

closed form

seconds

2e6 draws, beta(2, 3)

draws

conjecture

–

𝑥 ( 𝑥 − 1) 𝑓 ′ − (3 𝑥 − 1) 𝑓 = 0

45.5

2e6 draws, lognormal(0, 1/2)

draws

conjecture

𝑦 = log 𝑥 (𝑘 = 1)

𝑔′ + 4 𝑦 𝑔 = 0

12 𝑥 (1 − 𝑥 ) 2 √ −2 log2( 𝑥 ) 2𝑒 √

2e6 draws, Weibull(2) 2e6 draws, logistic, direct only

draws draws

conjecture no-model

𝑦 = 𝑥 2 (𝑘 = 1)

𝑔′ + 𝑔 = 0

–

–

2 𝑥𝑒 − 𝑥 –

35.7 3.5

sequence

verified

–

𝑎𝑛+1 − ( 𝑛 + 1) 𝑎𝑛 = 0

𝑛!

sequences (7 cases) n!

𝜋𝑥 2

40.5

0.1

4𝑛 (1/2) 𝑛 𝑛! 4𝑛 (1/2) 𝑛 (2) 𝑛 √ √ 𝑛 √ 𝑛  5 −𝑛  2 1+ 5 − 1− 5 5 –

0.1

79

binomial(2n, n)

sequence

verified

–

( 𝑛 + 1) 𝑎𝑛+1 − 2 (2𝑛 + 1) 𝑎𝑛 = 0

Catalan

sequence

verified

–

( 𝑛 + 2) 𝑎𝑛+1 − 2 (2𝑛 + 1) 𝑎𝑛 = 0

Fibonacci

sequence

verified

–

𝑎𝑛+2 − 𝑎𝑛+1 − 𝑎𝑛 = 0

Motzkin

sequence

verified

–

harmonic numbers primes

sequence sequence

verified no-model

– –

( 𝑛 + 4) 𝑎𝑛+2 − (2𝑛 + 5) 𝑎𝑛+1 − 3 ( 𝑛 + 1) 𝑎𝑛 = 0 ( 𝑛 + 2) 𝑎𝑛+2 − (2𝑛 + 3) 𝑎𝑛+1 + ( 𝑛 + 1) 𝑎𝑛 = 0 –

– –

0.1 0.0

moments (9 cases) moments n! (exponential) moments (n+2)!/2 (gamma 3)

moments moments

verified verified

– –

𝑓′ + 𝑓 = 0 𝑥 𝑓 ′ + ( 𝑥 − 2) 𝑓 = 0

𝑒− 𝑥 1 2 −𝑥 2 𝑥 𝑒

0.9 0.7

moments Catalan (Marchenko-Pastur)

moments

verified

–

𝑥 ( 𝑥 − 4) 𝑓 ′ − 2 𝑓 = 0

1 2𝜋

moments binomial(2n, n) (arcsine on [0, 4])

moments

verified

–

𝑥 ( 𝑥 − 4) 𝑓 ′ + ( 𝑥 − 2) 𝑓 = 0

moments (n-1)!! (normal)

moments

verified

–

𝑓′ + 𝑥 𝑓 = 0

moments of beta(2, 3)

moments

verified

–

𝑥 ( 𝑥 − 1) 𝑓 ′ − (3 𝑥 − 1) 𝑓 = 0

moments of the semicircle law moments 1/(n+1) (uniform) Bell numbers (Poisson moments)

moments

verified

–

( 𝑥 − 2) ( 𝑥 + 2)

moments moments

verified no-model

– –

𝑓′ = 0

–

𝑓′ − 𝑥 𝑓 = 0

√

√

4−𝑥 √ 𝑥

1

𝜋 4𝑥 − 𝑥 2

√ − 𝑥 2 /2 2𝑒 √ 2 𝜋 12 𝑥 (1 − 𝑥 ) 2 1 √ 4 − 𝑥2 2𝜋 1 –

0.1 0.2 1.3

2.5 1.2

0.4 0.1 1.9 0.1 0.0

case

data

status

change of variable

operator

closed form

callable

verified

–

𝑥 𝑓 ′′′ + 2 𝑓 ′′ + 𝑥 𝑓 ′ + 𝑓 = 0

2

later set 1 (25 cases) Struve H0(x)

80

J_{1/3}(x) exp(-x) J0(x)

callable callable

verified verified

– –

9 𝑥 2 𝑓 ′′ + 9 𝑥 𝑓 ′ + (3 𝑥 − 1) (3 𝑥 + 1)

1F1(1/3; 2/3; x)

callable

verified

–

3 𝑥 𝑓 ′′ − (3 𝑥 − 2) 𝑓 ′ − 𝑓 = 0

2F1(1/3, 2/3; 1; x)

callable

verified

–

9 𝑥 ( 𝑥 − 1) 𝑓 ′′ + 9 (2 𝑥 − 1) 𝑓 ′ + 2 𝑓 = 0

sqrt(1+x) + sqrt(1-x)

callable

verified

–

(1 + x^2/3)^-2

callable

verified

–

4 ( 𝑥 − 1) ( 𝑥 + 1) 𝑓 ′′ + 4𝑥 𝑓 ′ − 𝑓 = 0  𝑥 2 + 3 𝑓 ′ + 4𝑥 𝑓 = 0

arctan(x) exp(1/x) log(x)^2 cosh(sqrt(x)) Ei(x) Fresnel S(x) Gumbel density exp(-x exp(-x))

callable callable callable callable callable callable callable

verified verified verified verified verified verified verified

𝑦 = arctan 𝑥 𝑦 = 1/ 𝑥 𝑦 = log 𝑥

logistic density

callable

2e6 draws, Rayleigh(1) 2e6 draws, chi-square(4)

𝑓 =0 𝑥 𝑓 ′′ + (2 𝑥 + 1) 𝑓 ′ + (2 𝑥 + 1) 𝑓 = 0

𝑦 = 𝑒𝑥

𝑦 𝑔′ − 𝑔 = 0 𝑔′ − 𝑔 = 0 𝑦 𝑔′ − 2 𝑔 = 0 4 𝑥 𝑓 ′′ + 2 𝑓 ′ − 𝑓 = 0 𝑥 𝑓 ′′ − ( 𝑥 − 1) 𝑓 ′ = 0 𝑥 𝑓 ′′′ − 𝑓 ′′ + 𝜋2 𝑥 3 𝑓 ′ = 0 𝑦 2 𝑔 ′ + ( 𝑦 − 1) 𝑔 = 0

verified

𝑦 = 𝑒𝑥 (𝑘 = 1)

( 𝑦 + 1) 𝑔 ′ + 2 𝑔 = 0

draws draws

conjecture conjecture

𝑦 = 𝑥 2 (𝑘 = 1)

–

2e6 draws, Student t(5)

draws

conjecture

–

2 𝑔′ + 𝑔 = 0 2 𝑥 𝑓 ′ + ( 𝑥 − 2) 𝑓 = 0  𝑥 2 + 5 𝑓 ′ + 6𝑥 𝑓 = 0

2e6 draws, Cauchy

draws

conjecture

𝑦 = arctan 𝑥 (𝑘 = 1)

𝑔′ = 0

2e6 draws, arcsine

draws

conjecture

–

2 𝑥 ( 𝑥 − 1) 𝑓 ′ + (2 𝑥 − 1) 𝑓 = 0

Apery numbers

sequence

verified

–

derangements large Schroeder numbers central trinomial coefficients

sequence sequence sequence

verified verified verified

– – –

( 𝑛 + 2) 3 𝑎𝑛+2 −  (2𝑛 + 3) 17𝑛2 + 51𝑛 + 39 𝑎𝑛+1 + 3 ( 𝑛 + 1) 𝑎𝑛 = 0 𝑎𝑛+2 − ( 𝑛 + 1) 𝑎𝑛+1 − ( 𝑛 + 1) 𝑎𝑛 = 0 ( 𝑛 + 3) 𝑎𝑛+2 − 3 (2𝑛 + 3) 𝑎𝑛+1 + 𝑛 𝑎𝑛 = 0 ( 𝑛 + 2) 𝑎𝑛+2 − (2𝑛 + 3) 𝑎𝑛+1 − 3 ( 𝑛 + 1) 𝑎𝑛 = 0

– – –



𝑥 1 𝐹2 1; 3/2, 3/2; − 𝑥 2 /4

𝜋 𝐽1/3 ( 𝑥 ) 𝐽0 ( 𝑥 ) 𝑒 − 𝑥

𝑒1/𝑥

log2 ( 𝑥√)  cosh 𝑥 Ei( 𝑥 ) 𝑆(𝑥) −𝑥

𝑒𝑥 𝑥𝑒 − 𝑥 /2 1 − 𝑥 /2 4 𝑥𝑒 2

3𝜋 𝑥 2 + 5 1  𝜋 𝑥2 + 1 1 √ 𝜋 𝑥 − 𝑥2 –

– – –

35.1

24.6 46.7 21.5 12.9 11.2 19.7 24.7 20.8 24.2 29.1 34.6 34.2

( 𝑒𝑥 + 1) 2 √ 200 5



29.0 26.9

22/3 𝜋 1/6 𝑥 𝐼 −1/6 ( 𝑥 /2) 𝑒𝑥 /2 Γ (1/6) 2 𝐹1 (1/3, 2/3; 1; 𝑥 ) p √ 2 1 − 𝑥2 + 2 9 2 2 𝑥 +3 arctan( 𝑥 )

𝑒− 𝑥 −𝑒

seconds

25.9 21.0 3

30.4 10.6 33.5 0.2

0.0 0.2 0.1

81

case

data

status

change of variable

operator

closed form

partition numbers

sequence

no-model

–

–

–

0.0

later set 2 (22 cases) Y0(x) erfc(x) x K1(x) sin(x)^2 Si(x) (1+x)^(1/3) exp(-x/2) exp(-x^2/2) H3(x)

callable callable callable callable callable callable callable

verified verified verified verified verified verified verified

– – – – – – –

𝑥 𝑓 ′′ + 𝑓 ′ + 𝑥 𝑓 = 0 𝑓 ′′ + 2 𝑥 𝑓 ′ = 0 𝑥 𝑓 ′′ − 𝑓 ′ − 𝑥 𝑓 = 0 𝑓 ′′′ + 4 𝑓 ′ = 0 𝑥 𝑓 ′′′ + 2 𝑓 ′′ + 𝑥 𝑓 ′ = 0 6 ( 𝑥 + 1) 𝑓 ′ + (3 𝑥 + 1) 𝑓 = 0   𝑥 2𝑥 2 − 3 𝑓 ′ + 2𝑥 4 − 9𝑥 2 + 3 𝑓 = 0

𝑌0 ( 𝑥 )

27.0 11.2 80.9 11.7 31.5 15.9 7.4

parabolic cylinder D_1/2(x)

callable

verified

–

4 𝑓 ′′ − ( 𝑥 − 2) ( 𝑥 + 2) 𝑓 = 0

1/(x (1 + log(x)^2))

callable

verified

𝑦 = log 𝑥

𝑦 2 + 1 𝑔 ′ + ( 𝑦 + 1) 2 𝑔 = 0

exp(-a tan(x)^2)/cos(x)^2 x^(1/4) exp(-x^(5/4))

callable callable

verified verified

𝑦 = tan 𝑥 (𝑘 = 1)

𝑔 ′ + 𝑎1 𝑦 𝑔 = 0

𝑦 = 𝑥 5/4 (𝑘 = 1)

𝑔′ + 𝑔 = 0

1/(1 + exp(-x))

callable

verified

𝑦 = 𝑒𝑥 (𝑘 = 1)

( 𝑦 + 1) 𝑔 ′ + 𝑔 = 0

exp(sin(x)) Ai(x), float64 table J0 rounded to 12 digits, table 2e6 draws, beta(3, 2) 2e6 draws, Laplace binomial(2n, n)^2 central Delannoy numbers

callable table table

no-model verified verified

– – –

–

– Ai( 𝑥 ) 𝐽0 ( 𝑥 )

54.2 2.7 1.9

draws draws sequence sequence

conjecture no-model verified verified

– – – –

12 𝑥 2 (1 − 𝑥 ) – – –

29.9 15.5 0.0 0.1

Euler totient moments of the uniform density on [-1, 1]

sequence moments

no-model verified

– –

𝑥 ( 𝑥 − 1) 𝑓 ′ − (3 𝑥 − 2) 𝑓 = 0 – ( 𝑛 + 1) 2 𝑎𝑛+1 − 4 (2𝑛 + 1) 2 𝑎𝑛 = 0 ( 𝑛 + 2) 𝑎𝑛+2 − 3 (2𝑛 + 3) 𝑎𝑛+1 + ( 𝑛 + 1) 𝑎𝑛 = 0 – 𝑓′ = 0

–

0.0 0.0

moments binomial(2n, n)/ 4^n (arcsine on [0, 1])

moments

verified

–

2 𝑥 ( 𝑥 − 1) 𝑓 ′ + (2 𝑥 − 1) 𝑓 = 0



𝑓 ′′ − 𝑥 𝑓 = 0 𝑥 𝑓 ′′ + 𝑓 ′ + 𝑥 𝑓 = 0

1 − erf ( 𝑥 ) 𝑥 𝐾1 ( 𝑥 ) sin2 ( 𝑥 ) Si( 𝑥 ) ( 𝑥 + 1) 1/3 𝑒− 𝑥 /2  2 8 𝑥 3 − 12 𝑥 𝑒− 𝑥 /2 2 21/4 𝑒 − 𝑥 /4 √ 4 𝜋Γ (1/4)   𝑥Γ (1/4) 2 1 𝐹1 1/4; 3/2; 𝑥 2 /2 +   4𝜋 1 𝐹1 −1/4; 1/2; 𝑥 2 /2 1  𝑥 log ( 𝑥 ) + 1  2 tan2 ( 𝑥 ) + 1 𝑒− 𝑎1 tan ( 𝑥 )/2 2

𝑥 1/4 𝑒 − 𝑥 𝑒𝑥 𝑒𝑥 + 1

5/4

1 2

√

1

𝜋 𝑥 − 𝑥2

seconds

11.6

21.8 21.1 24.2 24.5

0.3

Related documents

Record · ID 1743465 · SHA-256 3c66fd10c851167e
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive