Spectral densities from Euclidean correlators via integral transforms: theoretical framework Preprint: CERN-TH-2026-150 ​​ L. Giusti, ​​, M. Saccardi, ​​, and D. Toniolo Abstract Spectral densities link experimental measurements to dynamical properties of a quantum field theory which, in turn, can be resolved non-perturbatively from the Euclidean time-dependence of correlation functions. By making extensive use of integral transforms, we present analytic formulae to carry out the inverse Laplace transform so as to extract spectral densities from either the continuum or the discrete sampling of correlation functions in the Euclidean time. Formulae extend to regulated and/or smeared spectral densities as well. We explicitly show that the proposed lattice solution tends to its continuum counterpart up to O ⁡ ( a 2 ) O(a^{2}) effects in the lattice spacing a a if the lattice correlator is O ⁡ ( a ) O(a) -improved. In practical computations, lattices have necessarily a finite Euclidean temporal extent, a lack of knowledge which suggests to introduce incomplete integral transforms and the corresponding incomplete smeared spectral densities. The contribution from the unknowns to a smeared spectral density can then be rigorously bound and kept under control if the integral transform of the smearing function decays fast enough with the conjugate variable. Conversely, the bound can be used to plan lattices so as to achieve a given target precision on the reconstructed spectral density of interest. The formulae presented here in the context of lattice field theory can be easily applied or extended to other areas of research. 1 Introduction Spectral densities play a central rôle in field theories. They link dynamical properties of a theory to observables that can be measured in experiments. In the presence of strongly interacting fields, such as in Quantum Chromodynamics (QCD), non-perturbative computations of spectral densities from first principles are essential for a detailed comprehension of the dynamics of the theory, e.g. its particle and resonance content and their properties, and for the comparison against experimental results. Smeared spectral densities from physics-motivated kernels are interesting as well. These classes of observables give access to inclusive hadronic cross sections, semi-leptonic decay rates, or non-static properties of the quark-gluon plasma, to name a few (see for instance Refs. 45 ; 51 ; 26 ; 20 ; 30 ; 41 ). Correlation functions of (composite) fields in Euclidean space-time are the primary quantities that are computed non-perturbatively on the lattice by Monte Carlo evaluations of path-integrals. Thanks to the Källén–Lehmann decomposition, two-point correlators are related to the corresponding spectral densities by a Laplace transform. The direct extraction of (smeared) spectral densities from lattice data thus entails the Inverse Laplace Transform (ILT) of correlators, a notorious difficult inverse problem. The conceptual, algorithmic and technological progress in lattice QCD, however, unlocked unprecedented levels of precision in modern numerical calculations 7 ; 5 . Correlation functions at larger and larger time-distances are becoming accessible thanks to more efficient statistical estimators and to the development of multi-level integration techniques in the presence of fermions 13 ; 14 ; 15 . Larger and larger lattices with a denser and denser spectrum of states are being simulated in master-field simulations 38 ; 22 ; 19 . Therefore, it has become interesting and timely to reconsider the direct extraction of (smeared) spectral densities from lattice data 26 ; 25 ; 8 . Recently, we have proposed explicit analytic formulae to extract smeared spectral densities from the Euclidean time-dependence of correlation functions 10 . By making extensive use of integral transforms, the aim of this paper is to generalize and extend these results so as to be able to extract regulated and/or smeared spectral densities from either the continuous or discrete sampling of correlation functions in the Euclidean time. We pay particular attention to discretization effects and to rigorously bind the systematic uncertainties due to the finite extension of the time direction. The practical implementation of the strategy proposed here, and its first application to real lattice QCD data generated by a multi-level Monte Carlo will be presented in full details in a companion paper 21 . 2 Spectral densities from integral transforms In this paper we focus on two-point connected correlation functions in Euclidean space-time 1 1 1 In the main sections of this paper we assume the time-momentum representation of correlators, omitting the momentum dependence from the notation, and consider the zero momentum case. Our results, however, are fully generic and applicable to non-zero momentum correlators defined in Appendix A . Note also that our derivation applies straightforwardly to higher n -point functions, involving multiple Euclidean-time separations 11 ; 44 . C(t)=\int\,\langle{\mathcal{O}}_{1}(t,\mathbf{x}){\mathcal{O}}_{2}(0,\mathbf{0})\rangle_{\rm c}\;d^{3}\mathbf{x}\,, (1) where {\mathcal{O}}_{1} and {\mathcal{O}}_{2} are two renormalized scalar fields 2 2 2 Generalization to non-zero spin can be found in many textbooks, see for instance Ref. 51 . . Thanks to the Källén–Lehmann spectral decomposition, see Appendix A for the notation, two-point correlators are related to the corresponding spectral densities \rho(\omega) by the Laplace transform C(t)=\int_{0}^{\infty}\rho(\omega)\,e^{-\omega t}\,d\omega\,. (2) The spectral density is a function of the energy \omega , with support over [\omega_{0}\!>\!0,\infty) in channels with a mass gap \omega_{0} , which encodes the dynamical information of the theory in the channel identified by the quantum numbers of the fields in Eq. ( 1 ). When combined with the short-distance (operator product expansion) analysis, these properties fix the asymptotic behaviour of correlation functions at the origin and at infinity to be \lim_{t\rightarrow 0^{+}}C(t)=O(t^{-p})\,,\qquad\lim_{t\rightarrow+\infty}C(t)=O(e^{-\omega_{0}t})\,, (3) where p is close to an integer in QCD. This, together with Eq. ( 2 ), in turn implies that \rho(\omega)\Big|_{\omega\in[0,\omega_{0})}=0\,,\qquad\lim_{\omega\rightarrow+\infty}\rho(\omega)=O(\omega^{p-1})\,. (4) To determine the spectral density from the correlator, the Eq. ( 2 ) has to be inverted, or equivalently the ILT of the correlator has to be computed. For the clarity of the presentation, in the first part of this section we present a rather general scheme of how integral transforms can lead to the extraction of the spectral density. The underlying assumptions and the details of the particular transforms (e.g. basis functions, domain of integration, etc.) are fully spelled out in the following subsections. For the time being, given the asymptotic behaviours in Eqs. ( 3 ) and ( 4 ), let us assume that the correlator and the spectral density in Eq. ( 2 ) admit integral transforms, e.g. one of those in Appendix C , defined as {\overline{\rm C}}_{s}=\int C(t)\,\bar{\rm u}_{s}(t)\,dt\,,\qquad\hat{\uprho}_{s}=\int\rho(\omega)\,\hat{\rm u}_{s}(\omega)\,d\omega\,, (5) and their inverses, and that the basis functions \bar{\rm u}_{s}(t) and \hat{\rm u}_{s}(\omega) are related by \text{\char 21\relax}_{s}\,\hat{\rm u}_{s}(\omega)=\int e^{-\omega t}\,\bar{\rm u}_{s}(t)\,dt\,, (6) where \text{\char 21\relax}_{s} is a numerical coefficient and s is the real conjugate variable, see below. By inserting Eq. ( 6 ) into the second of Eqs. ( 5 ), and then by using Eq. ( 2 ), it immediately follows that {\overline{\rm C}}_{s}=\text{\char 21\relax}_{s}\,\hat{\uprho}_{s}\,. (7) As a result, the basic integral equation ( 2 ) becomes an algebraic relation between the integral transforms of the correlator and of the spectral density provided \text{\char 21\relax}_{s}\neq 0 for all s . This is the main advantage for considering integral transforms in this context. If we require the orthogonality condition \int\hat{\rm u}^{*}_{s}(\omega)\,\hat{\rm u}_{s^{\prime}}(\omega)\,d\omega=\delta(s-s^{\prime})\,, (8) then Eq. ( 6 ) leads to \int\int\bar{\rm u}^{*}_{s}(t)\,A(t+t^{\prime})\,\bar{\rm u}_{s^{\prime}}(t^{\prime})\,dt\,dt^{\prime}=|\text{\char 21\relax}_{s}|^{2}\delta(s-s^{\prime})\,, (9) where A(t+t^{\prime}) is the kernel of a (quasi) Carleman operator 3 3 3 The (quasi) Carleman operators are real and they always admit a basis of real eigenvectors, see Appendix B for details. We prefer, however, to keep the discussion more general, and leave the possibility that the basis functions are complex. defined in Eq. ( 134 ) of Appendix B . If the \bar{\rm u}_{s}(t) are chosen to be eigenfunctions of A , \int A(t+t^{\prime})\,\bar{\rm u}_{s}(t^{\prime})\,dt^{\prime}=|\text{\char 21\relax}_{s}|^{2}\,\bar{\rm u}_{s}(t)\,, (10) then also the vectors \bar{\rm u}_{s}(t) form an orthonormal basis and satisfy \text{\char 21\relax}^{*}_{s}\,\bar{\rm u}_{s}(t)=\int e^{-t\omega}\,\hat{\rm u}_{s}(\omega)\,d\omega\,. (11) Therefore, once the integral transform of the correlator is computed, by using the completeness relation \int\hat{\rm u}^{*}_{s}(\omega)\,\hat{\rm u}_{s}(\omega^{\prime})\,ds=\delta(\omega-\omega^{\prime})\,, (12) the spectral density can be readily computed as \rho(\omega)=\int\frac{{\overline{\rm C}}_{s}}{\text{\char 21\relax}_{s}}\,\hat{\rm u}^{*}_{s}(\omega)\,ds\,. (13) Notice that typically |\text{\char 21\relax}_{s}| decreases exponentially with s as well as |{\overline{\rm C}}_{s}| , and a delicate cancellation between numerator and denominator is at work on the r.h.s. of Eq. ( 13 ). 2.1 Mellin transform Maybe the simplest choice to implement the strategy outlined above is the Mellin transform, see Ref. 10 and references therein. In this subsection we first examine the case of correlators which are L^{2}(\mathbb{R}^{+}) . The corresponding spectral densities are L^{2}(\mathbb{R}^{+}) as well, and do not need to be regulated, see Appendix A . The more general case of regulated spectral densities follows. 2.1.1 Spectral density If C(t)\in L^{2}(\mathbb{R}^{+}) , i.e. p<1/2 in Eq. ( 3 ), the basis functions and eigenvalues for the Mellin transform either for the correlator or for the spectral density are 4 4 4 Notice the change in the sign of the label s when moving from the basis u_{s}(t) for the correlator to u_{s}^{\ast}(\omega)=u_{-s}(\omega) for the spectral density. \bar{\rm u}_{s}(t)=u_{s}(t)=\frac{t^{is}}{\sqrt{2\pi t}}\,,\quad\hat{\rm u}_{s}(\omega)=u^{*}_{s}(\omega)\,,\quad\text{\char 21\relax}_{s}=\lambda_{s}=\Gamma\Big(\frac{1}{2}+is\Big)\,,\quad s\in{\mathbb{R}}\,, (14) since the Carleman operator is the one given in Eq. ( 135 ), see Appendix B for more details. The Mellin transforms of the correlator and the spectral density read \overline{C}_{s}=\int_{0}^{\infty}C(t)\,u_{s}(t)\,dt\,,\qquad\hat{\rho}_{s}=\int_{0}^{\infty}\rho(\omega)\,u^{*}_{s}(\omega)\,d\omega\,, (15) and thanks to the analogous of Eq. ( 6 ), see Appendix B , \lambda_{s}u_{s}^{\ast}(\omega)=\int_{0}^{\infty}e^{-\omega t}u_{s}(t)\,dt\,, (16) we have \overline{C}_{s}=\lambda_{s}\,\hat{\rho}_{s}\,. (17) Notice that \overline{C}_{s} and \hat{\rho}_{s} are analytic in the strip of the complex plane where they exist, see for instance Refs. 52 ; 17 . The spectral density is then obtained as 10 \rho(\omega)=\int_{-\infty}^{+\infty}\frac{\overline{C}_{s}}{\lambda_{s}}\,u_{s}(\omega)\,ds\,, (18) and, as anticipated, a delicate cancellation between numerator and denominator is at work. 2.1.2 Regulated spectral density When in Eq. ( 3 ) p\geq 1/2 , the Mellin transform of the correlator can be defined as \overline{C}_{m,s}=\frac{1}{\sqrt{2\pi}}\int_{0}^{\infty}C(t)\,t^{m-1/2+is}dt=\int_{0}^{\infty}C(t)\,t^{m}\,u_{s}(t)\,dt\,,\quad m\in(p-1/2,+\infty)\,, (19) where s\in{\mathbb{R}} , see Appendix C for more details. It amounts to multiplying C(t) by t^{m} , with m>p-1/2 , so that the resulting function is in L^{2}(\mathbb{R}^{+}) and can again be expanded on the basis of the u_{s}(t) . Analogously, the Mellin transform of the spectral density can be reformulated as \hat{\rho}_{m,s}=\frac{1}{\sqrt{2\pi}}\int_{0}^{\infty}\rho(\omega)\,\omega^{-m-1/2-is}d\omega=\int_{0}^{\infty}\rho_{m}(\omega)\,u^{*}_{s}(\omega)d\omega\,,\quad m\in(p-1/2,+\infty)\,, (20) and it corresponds to the Mellin transform of the regulated spectral density \rho_{m}(\omega)=\rho(\omega)/\omega^{m}\in L^{2}(\mathbb{R}^{+}) , see Appendix A , which again can be expanded on the basis of the u^{*}_{s}(\omega) . From Eq. ( 16 ) it follows \lambda_{m,s}\,\omega^{-m}\,u^{*}_{s}(\omega)\!=\!\lambda_{s}\Big(\!\!-\!\frac{\partial}{\partial\omega}\Big)^{m}\!\!u^{*}_{s}(\omega)=\Big(\!\!-\!\frac{\partial}{\partial\omega}\Big)^{m}\!\!\!\!\int_{0}^{\infty}\!\!e^{-\omega t}\,u_{s}(t)\,dt=\!\!\int_{0}^{\infty}\!\!\!\!e^{-\omega t}\,t^{m}u_{s}(t)\,dt\,, (21) where \lambda_{m,s}=\Gamma\big(m+\frac{1}{2}+is\big) , which implies again that the basic integral equation ( 2 ) becomes an algebraic relation between the Mellin transforms of the correlator and of the spectral density \overline{C}_{m,s}=\lambda_{m,s}\,\hat{\rho}_{m,s}\,. (22) By using the inversion formula in Eq. ( 174 ) of Appendix C , the regulated spectral density can finally be written as 10 \rho_{m}(\omega)=\frac{\rho(\omega)}{\omega^{m}}=\int_{-\infty}^{+\infty}\frac{\overline{C}_{m,s}}{\lambda_{m,s}}u_{s}(\omega)\,ds\;,\qquad m\geq 0\;. (23) 2.2 Kontorovich–Lebedev and Mehler-Fock transforms Lattice correlators are often affected by very large discretization effects at short time-distances. It is therefore appropriate to consider integral transforms defined by integrating over t\geq t_{0}>0 . In this subsection we first examine the case of correlators with spectral densities which are L^{1}(\omega_{0},\infty) , i.e. p<0 in Eq. ( 3 ), which do not need to be regulated to define the Kontorovich–Lebedev transform and its inverse. The more general case of regulated spectral densities follows. 2.2.1 Spectral density When in Eq. ( 3 ) p<0 , the spectral density is L^{1}(\omega_{0},\infty) and the Kontorovich–Lebedev transform and its inverse can be defined. The basis functions and eigenvalues for the related Mehler-Fock and Kontorovich–Lebedev transforms for the correlator and the spectral density are \displaystyle\bar{\rm u}_{s}(t) \displaystyle= \displaystyle\bar{u}_{s}(t,t_{0})=\sqrt{\frac{s\tanh(\pi s)}{t_{0}}}\,{}_{2}F_{1}\Big(\frac{1}{2}+is,\frac{1}{2}-is;1;\frac{t_{0}-t}{2t_{0}}\Big)\,,\quad\text{\char 21\relax}_{s}=|\lambda_{s}|\,, (24) \displaystyle\hat{\rm u}_{s}(\omega) \displaystyle= \displaystyle\hat{u}_{s}(\omega,t_{0})=\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\ \frac{K_{is}(\omega t_{0})}{\sqrt{\omega}}\,,\quad t\geq t_{0}>0\,\;\;s\in{\mathbb{R}}^{+}\,, (25) where {}_{2}F_{1} and K_{\nu} are the Gauss’s hypergeometric function and the modified Bessel function of the second kind respectively 24 , see Appendix B for more details. The corresponding quasi-Carleman operators are defined in Eqs. ( 163 ) and ( 149 ). The Mehler-Fock and the Kontorovich–Lebedev transforms of the correlator and of the spectral density then read 5 5 5 We use the same notation for these transforms and the corresponding Mellin ones since any ambiguity is resolved from the context. The same applies to the regulated ones below. For the clarity of the notation, we leave the dependence on t_{0} implicit. \overline{C}_{s}=\int_{t_{0}}^{\infty}C(t)\,\bar{u}_{s}(t,t_{0})\,dt\,,\qquad\hat{\rho}_{s}=\int_{0}^{\infty}\rho(\omega)\,\hat{u}_{s}(\omega,t_{0})\,d\omega\,,\quad s\in{\mathbb{R}^{+}}\,, (26) while the analogous of Eq. ( 6 ), see Eq. ( 171 ) in Appendix B , becomes the “incomplete” Laplace transform |\lambda_{s}|\,\hat{u}_{s}(\omega,t_{0})=\int_{t_{0}}^{\infty}e^{-\omega t}\,\bar{u}_{s}(t,t_{0})\,dt\,. (27) This implies that \overline{C}_{s}=|\lambda_{s}|\,\hat{\rho}_{s}\,, (28) and the spectral density is then obtained as \rho(\omega)=\int_{0}^{\infty}\frac{\overline{C}_{s}}{|\lambda_{s}|}\,\hat{u}_{s}(\omega,t_{0})\,ds\, (29) where a delicate cancellation between numerator and denominator is again at work. 2.2.2 Regulated spectral density When in Eq. ( 3 ) p\geq 0 , we can apply the procedure of the previous subsection but on a suitably regulated correlator and spectral density. Following the standard line of argumentation summarized in Appendix A , we define the regulated correlator and spectral density as C_{m}(t)=\int_{0}^{\infty}\rho_{m}(\omega)\,e^{-\omega t}\,d\omega\,,\qquad\rho_{m}(\omega)=\frac{\rho(\omega)}{\omega^{m}}\,,\qquad m>p\,. (30) By noticing that \Big(-\frac{\partial}{\partial t}\Big)^{m}C_{m}(t)=C(t)\,, (31) and that, in the presence of a mass gap, the regulated correlator and its derivatives are null at infinity, the C_{m}(t) can be written as C_{m}(t)=\frac{1}{\Gamma(m)}\int_{t}^{\infty}C(t^{\prime})\,(t^{\prime}-t)^{m-1}\,dt^{\prime}\,,\quad m>0\,, (32) while C_{0}(t)=C(t) for m=0 . The Mehler-Fock transform of C_{m}(t) reads \overline{C}_{m,s}=\int_{t_{0}}^{\infty}C_{m}(t)\,\bar{u}_{s}(t,t_{0})\,dt=\int_{t_{0}}^{\infty}C(t)\,\bar{u}_{m,s}(t,t_{0})\,dt\,,\quad m\geq 0\,, (33) where \bar{u}_{0,s}(t,t_{0})=\bar{u}_{s}(t,t_{0}) while, by using Eqs. (7.137.9) and (8.702) of Ref. 24 , \displaystyle\bar{u}_{m,s}(t,t_{0}) \displaystyle= \displaystyle\frac{1}{\Gamma(m)}\,\int_{t_{0}}^{t}\bar{u}_{s}(t^{\prime},t_{0})\,(t-t^{\prime})^{m-1}\,dt^{\prime} (34) \displaystyle= \displaystyle\sqrt{\frac{s\tanh(\pi s)}{t_{0}}}\,\frac{\,\,(t-t_{0})^{m}}{\Gamma(m+1)}\,\,{}_{2}F_{1}\Big(\frac{1}{2}+is,\frac{1}{2}-is;1+m;\frac{t_{0}-t}{2t_{0}}\Big)\,,\quad m\geq 0\,. The Kontorovich–Lebedev transform of \rho_{m}(\omega) is \hat{\rho}_{m,s}=\int_{0}^{\infty}\rho_{m}(\omega)\,\hat{u}_{s}(\omega,t_{0})\,d\omega=\int_{0}^{\infty}\rho(\omega)\,\hat{u}_{m,s}(\omega,t_{0})\,d\omega\,, (35) where \hat{u}_{m,s}(\omega,t_{0})=\frac{1}{\omega^{m}}\,\hat{u}_{s}(\omega,t_{0})\,, (36) and |\lambda_{s}|\hat{u}_{m,s}(\omega,t_{0})=\int_{t_{0}}^{\infty}e^{-\omega t}\,\bar{u}_{m,s}(t,t_{0})\,dt\,, (37) with the last two equations which can also be explicitly derived by using Eqs. (8.702) and (7.141.5) of Ref. 24 . By inserting Eq. ( 30 ) into Eq. ( 33 ) and by using Eq. ( 37 ), it follows that \overline{C}_{m,s}=|\lambda_{s}|\,\hat{\rho}_{m,s}\,, (38) and the regulated spectral density reads \rho_{m}(\omega)=\int_{0}^{\infty}\frac{\overline{C}_{m,s}}{|\lambda_{s}|}\,\hat{u}_{s}(\omega,t_{0})\,ds\,,\quad m\geq 0\,. (39) Notice that, if this very same procedure is adopted for the case of the Mellin transform, it leads to the results given in Section 2.1.2 where in particular \bar{u}_{m,s} is replaced by t^{m}u_{s}(t) up to a ratio of Gamma functions. 3 Smeared spectral densities A smeared spectral density is defined by integrating a (regulated) density with a known kernel function \kappa(\omega) , \rho_{\kappa;m}=\int_{0}^{\infty}\rho_{m}(\omega)\,\kappa(\omega)\,d\omega\,. (40) Smeared spectral densities are interesting for several reasons. For physics-motivated kernels, they give access to phenomenologically relevant observables, such as inclusive hadronic cross sections or semi-leptonic decay rates to name a few (see for instance Refs. 26 ; 20 ; 16 ; 4 ). From a more theoretical point of view, we have that often correlation functions are computed in a finite spatial volume. In those cases, the associated spectral densities are weighted sum of Dirac \delta -functions with possibly large spacings between successive levels. Integrating them with kernels which are representations of a Dirac \delta -function peaked around a certain energy \omega_{\ast} with a smearing width \sigma allows one to define the infinite volume limit smoothly 26 . For the clarity of the presentation, we first extend the general picture provided at the beginning of Section 2 by introducing a rather general scheme for computing smeared spectral densities via integral transforms. The discussion is later made precise for the Mellin and Kontorovich-Lebedev cases. Let us assume that the smearing function \kappa(\omega) admits an integral transform defined as {\hat{\rm k}}_{s}=\int\kappa(\omega)\,\hat{\rm u}^{*}_{s}(\omega)\,d\omega\,. (41) By inserting the Eq. ( 13 ) into the Eq. ( 40 ) we arrive to the Parseval-like formula \rho_{\kappa}=\int\hat{\uprho}_{s}\,{\hat{\rm k}}_{s}\,ds=\int\frac{{\overline{\rm C}}_{s}}{\text{\char 21\relax}_{s}}\,{\hat{\rm k}}_{s}\,ds\,, (42) which can be directly used for the calculation of \rho_{\kappa} . The Eq. ( 42 ) may alternatively be derived by assuming that \kappa(\omega) admits not only the integral transform but also its inverse, i.e. satisfies the conditions described in Section 2 . Then, by inserting the analogous of Eq. ( 13 ) for the smearing function into the Eq. ( 40 ), Eq. ( 42 ) is readily obtained. This way \rho_{m}(\omega) is only required to admit the integral transform, a condition that can be more easily met by spectral densities which become distributions at some finite value of \omega . When a definite kernel is needed for illustration, in this paper we consider the Breit-Wigner smearing defined as \kappa(\omega)=\frac{1}{\pi}\frac{\sigma}{(\omega-\omega_{*})^{2}+\sigma^{2}}\,, (43) while a more general discussion will be reported in Ref. 21 . 3.1 Mellin case Again the Mellin transform is maybe the simplest option for computing a smeared spectral density in the continuum. By following the line of argumentation presented above, we define \hat{\kappa}_{s}=\int_{0}^{\infty}\kappa(\omega)\,u_{s}(\omega)\,d\omega\,. (44) By inserting the Eq. ( 23 ) into the Eq. ( 40 ) we then obtain \rho_{\kappa;m}=\int_{-\infty}^{+\infty}\frac{\overline{C}_{m,s}}{\lambda_{m,s}}\,\hat{\kappa}_{s}\,ds\,,\qquad m\geq 0\,, (45) where \overline{C}_{m,s} is defined in Eq. ( 19 ). For the Breit-Wigner, by using Eq. (3.197.1) of Ref. 24 , the transform reads \displaystyle\hat{\kappa}_{s} \displaystyle= \displaystyle\frac{|\lambda_{s}|^{2}}{2\pi i}\Big[u_{s}(-\omega_{*}-i\sigma)-u_{s}(-\omega_{*}+i\sigma)\Big] (46) \displaystyle= \displaystyle\frac{1}{\cosh({\pi s})}\Bigg[\sqrt{\frac{b+\omega_{*}}{2b}}\cosh(s\vartheta)-i\sqrt{\frac{b-\omega_{*}}{2b}}\sinh(s\vartheta)\Bigg]\,u_{s}(b)\,, where b=\sqrt{\omega_{*}^{2}+\sigma^{2}} and \cos\vartheta=-\frac{\omega_{*}}{b} . 3.2 Kontorovich–Lebedev case For the case of the Kontorovich–Lebedev transform, we proceed analogously to the previous subsection. The transform of the smearing function is defined as \hat{\kappa}_{s}=\int_{0}^{\infty}\kappa(\omega)\,\hat{u}_{s}(\omega,t_{0})\,d\omega\,. (47) By inserting the Eq. ( 39 ) into the Eq. ( 40 ) we obtain \rho_{\kappa;m}=\int_{0}^{\infty}\frac{\overline{C}_{m,s}}{|\lambda_{s}|}\,\hat{\kappa}_{s}\,ds\,,\quad m\geq 0\,, (48) where \overline{C}_{m,s} is defined in Eq. ( 33 ). For the Breit-Wigner, by using Eqs. (6.562.3) and (8.432.8) of Ref. 24 , the Kontorovich–Lebedev transform reads \displaystyle\hat{\kappa}_{s} \displaystyle= \displaystyle\displaystyle\frac{\sqrt{s\sinh(\pi s)\,t_{0}}}{8\pi^{2}}\,\mathrm{Im}\Biggr\{2\left|\Gamma\left(-\frac{1}{4}+i\,\frac{s}{2}\right)\right|^{2}\!\!_{1}F_{2}\left(1;\frac{5}{4}-i\,\frac{s}{2},\frac{5}{4}+i\,\frac{s}{2};\frac{(\omega_{\ast}+i\sigma)^{2}t_{0}^{2}}{4}\right)+ (49) \displaystyle+ \displaystyle\displaystyle t_{0}\,(\omega_{\ast}+i\sigma)\left|\Gamma\left(-\frac{3}{4}+i\,\frac{s}{2}\right)\right|^{2}\!\!_{1}F_{2}\left(1;\frac{7}{4}-i\,\frac{s}{2},\frac{7}{4}+i\,\frac{s}{2};\frac{(\omega_{\ast}+i\sigma)^{2}t_{0}^{2}}{4}\right)+ \displaystyle+ \displaystyle 8\sqrt{2}\left|\Gamma\left(\frac{1}{2}+is\right)\right|^{2}\frac{K_{is}(-(\omega_{\ast}+i\sigma)t_{0})}{\sqrt{-(\omega_{\ast}+i\sigma)\,t_{0}}}\Biggr\}\,, where {}_{1}F_{2} is a generalized hypergeometric series 24 . 4 Smeared spectral densities from incomplete ones Correlation functions are often known for 0\leq t\leq t_{\rm max} only 6 6 6 Throughout this paper we assume the interval 0\leq t\leq t_{\rm max} to be chosen so that the effects due to the boundary conditions in the time-direction are negligible. Otherwise, the additional systematics can be easily quantified by applying standard arguments. . It is therefore necessary to study the effect of this limitation on the extraction of (smeared) spectral densities. To this aim, from this section to the end of the paper, we focus on the Kontorovich–Lebedev and Mehler-Fock transforms since they are the continuum limit counterparts of those used in Section 5 for the ILT of correlation functions sampled on a discrete lattice. In particular, we introduce the incomplete Mehler-Fock transform and the incomplete (smeared) spectral densities, and scrutinize their behaviour. We then bind the difference between the target smeared spectral density and its incomplete counterpart so as to have a rigorous estimate of the systematic error associated to the ILT. An analogous (simpler) discussion can be applied to the Mellin transform as well. Figure 1: Absolute value of the complete (black) and incomplete Mehler-Fock transforms for m=0 of the function e^{-\omega_{0}t} with \omega_{0}=0.9 and t_{0}=1 for various values of \omega_{0}t_{\rm max} . The dashed lines represent the bounds obtained in Eq. ( 53 ) which, when |\overline{C}_{m,s}|\ll|\widetilde{C}_{m,s}(t_{\rm max})| , de-facto binds |\widetilde{C}_{m,s}(t_{\rm max})| too. The norm of the (incomplete) Mehler-Fock transform vanishes in the region of downward oscillations represented in the plot. However, for clarity, the s -grid has been chosen to avoid representing these zeros. 4.1 Incomplete Mehler-Fock transform When a correlation function is sampled on a finite temporal domain t_{0}\leq t\leq t_{\rm max} , we have access to the incomplete Mehler-Fock transform \widetilde{C}_{m,s}(t_{\rm max})=\int_{t_{0}}^{t_{\rm max}}C(t)\,\bar{u}_{m,s}(t,t_{0})\,dt\,,\quad m\geq 0\,, (50) which differs from the complete one by \overline{C}_{m,s}-\widetilde{C}_{m,s}(t_{\rm max})=\int_{t_{\rm max}}^{\infty}C(t)\,\bar{u}_{m,s}(t,t_{0})\,dt\,. (51) Thanks to Eq. ( 2 ) we can assume that, for large enough values of t_{\rm max} , it holds 10 |C(t)|\leq|C(t_{\rm max})|\,e^{-\omega_{0}(t-t_{\rm max})}\,,\quad t\geq t_{\rm max}\,. (52) This implies that \Big|\overline{C}_{m,s}-\widetilde{C}_{m,s}(t_{\rm max})\Big|\leq\Big|C(t_{\rm max})\Big|\,b_{m,s}(t_{\rm max})\,, (53) where 7 7 7 The dependence of b_{m,s}(t_{\rm max}) on \omega_{0} and t_{0} is omitted for the clarity of the notation. b_{m,s}(t_{\rm max})=\int_{t_{\rm max}}^{\infty}e^{-\omega_{0}(t-t_{\rm max})}\,|\bar{u}_{m,s}(t,t_{0})|\,dt\,. (54) For asymptotically large values of t , it holds \bar{u}_{m,s}(t,t_{0})=2\frac{|\lambda_{s}|}{|\lambda_{m,s}|}\,t^{m}\,\Big\{{\rm Re}\Big[e^{i\phi_{m,s}}\,u_{s}(t)\Big]\,+O\Big(\frac{t_{0}}{t}\Big)\Big\}\,,\quad e^{i\phi_{m,s}}=\frac{\Gamma(is)}{|\Gamma(is)|}\,\frac{|\lambda_{m,s}|}{\lambda_{m,s}}\left(\frac{t_{0}}{2}\right)^{-is}\,, (55) leading to b_{m,s}(t_{\rm max})\leq\sqrt{\frac{2}{\pi}}\,\frac{|\lambda_{s}|}{|\lambda_{m,s}|}\,\frac{t^{m}_{\rm max}}{\omega_{0}\sqrt{t_{\rm max}}}\,+\dots\,, (56) which in turn implies that the r.h.s of Eq. ( 53 ) is exponentially suppressed in t_{\rm max} . As a representative example, in Figure 1 we show the absolute value of the complete (black) and the incomplete Mehler-Fock transforms for m=0 of a single exponential C(t)=e^{-\omega_{0}t} with \omega_{0}=0.9 in units of t_{0}=1 for various values of \omega_{0}t_{\rm max} together with the bound in Eq. ( 53 ). Analogous results are obtained for higher values of m where, as expected from Eq. ( 56 ), a weak dependence on s is observed for b_{m,s}(t_{\rm max}) . On the one hand the norm of the Mehler-Fock transform of a correlation function of the type considered in this paper, see Eq. ( 2 ), is expected to decrease exponentially with s up to harmful oscillations. On the other hand, the r.h.s of Eq. ( 53 ) is exponentially suppressed in t_{\rm max} but very weakly dependent on s . Therefore, \widetilde{C}_{m,s} is an excellent approximation of \overline{C}_{m,s} when t_{\rm max} is large and s is small, see below. But the larger s gets, the worse the approximation becomes, until the delicate cancellation between the numerator and the denominator in the r.h.s. of Eq. ( 39 ) is not at work anymore if \overline{C}_{m,s} is approximated by \widetilde{C}_{m,s} in that formula. 4.2 Incomplete spectral density The previous considerations suggest to define an incomplete spectral density as \rho_{m}(\omega,s_{\rm max})=\int_{0}^{s_{\rm max}}\frac{\overline{C}_{m,s}}{|\lambda_{s}|}\,\hat{u}_{s}(\omega,t_{0})\,ds\,,\quad m\geq 0\,, (57) which, for \omega=\omega_{*} , can also be interpreted as a smeared spectral density with smearing function \kappa(\omega)=\int_{0}^{s_{\rm max}}\hat{u}_{s}(\omega_{*},t_{0})\,\hat{u}_{s}(\omega,t_{0})\,ds\,. (58) Thanks to the upper cut-off s_{\rm max} , the replacement of {\overline{C}}_{m,s} with {\widetilde{C}}_{m,s} is well justified, and therefore we introduce \tilde{\rho}_{m}(\omega,s_{\rm max})=\int_{0}^{s_{\rm max}}\frac{\widetilde{C}_{m,s}(t_{\rm max})}{|\lambda_{s}|}\,\hat{u}_{s}(\omega,t_{0})\,ds\,,\quad m\geq 0\,. (59) Its difference from \rho_{m}(\omega,s_{\rm max}) satisfies \big|\rho_{m}(\omega,s_{\rm max})-\tilde{\rho}_{m}(\omega,s_{\rm max})\big|\leq\Delta\tilde{\rho}_{m}(\omega,s_{\rm max})\,, (60) where \Delta\tilde{\rho}_{m}(\omega,s_{\rm max})=\Big|C(t_{\rm max})\Big|\,\int_{0}^{s_{\rm max}}\frac{b_{m,s}(t_{\rm max})\,|\hat{u}_{s}(\omega,t_{0})|}{|\lambda_{s}|}\,ds (61) with the integral on the r.h.s that can be computed numerically. At asymptotically large values of s_{\rm max} , that integral scales approximatively proportionally to e^{\pi s_{\rm max}/2}/s^{m}_{\rm max} . Therefore, to meet a given absolute precision on the incomplete spectral density, s_{\rm max} has to scale approximately proportionally to \omega_{0}t_{\rm max} . Figure 2: Left: The approximated incomplete smeared spectral density \tilde{\rho}_{\kappa;0}(s_{\rm max}) with the error estimated as in Eq. ( 65 ), against the incomplete smeared spectral density \rho_{\kappa;0}(s_{\rm max}) for the single exponential e^{-\omega_{0}t} with \omega_{0}=0.9 , t_{0}=1 . Right: The approximated incomplete smeared spectral density \tilde{\rho}_{\kappa;0}(s_{\rm max}) with the total error estimated as in Eq. ( 75 ), against the exact smeared spectral density \rho_{\kappa;0} for the same exponential. 4.3 Incomplete smeared spectral densities Analogously to the previous subsection, we can define the incomplete smeared spectral densities as \rho_{\kappa;m}(s_{\rm max})=\int_{0}^{s_{\rm max}}\frac{\overline{C}_{m,s}}{|\lambda_{s}|}\,\hat{\kappa}_{s}\,ds\,,\quad m\geq 0\,. (62) Also in this case, if we define \tilde{\rho}_{\kappa;m}(s_{\rm max})=\int_{0}^{s_{\rm max}}\frac{\widetilde{C}_{m,s}(t_{\rm max})}{|\lambda_{s}|}\,\hat{\kappa}_{s}\,ds\,,\quad m\geq 0\,, (63) its difference from \rho_{\kappa;m}(s_{\rm max}) satisfies \big|\rho_{\kappa;m}(s_{\rm max})-\tilde{\rho}_{\kappa;m}(s_{\rm max})\big|\leq\Delta\tilde{\rho}_{\kappa;m}(s_{\rm max})\,, (64) where \Delta\tilde{\rho}_{\kappa;m}(s_{\rm max})=\Big|C(t_{\rm max})\Big|\,\int_{0}^{s_{\rm max}}b_{m,s}(t_{\rm max})\,\frac{|\hat{\kappa}_{s}|}{|\lambda_{s}|}\,ds\,, (65) and again the integral on the r.h.s can be computed numerically. As a representative example, in the left panel of Figure 2 we show \tilde{\rho}_{\kappa;0}(s_{\rm max}) with its error, estimated as in Eq. ( 65 ), against \rho_{\kappa;0}(s_{\rm max}) both extracted from the exponential considered in Section 4.1 . The smearing function is a Breit-Wigner with \sigma=\omega_{0}/3 . 4.4 Smeared spectral densities An incomplete smeared spectral density becomes a satisfactory approximation of the complete one if s_{\rm max}\sim\omega_{0}t_{\rm max} is chosen large enough so as to guarantee a reconstruction error below the target precision. To quantify this systematics, we decompose a smeared density as \rho_{\kappa;m}=\tilde{\rho}_{\kappa;m}(s_{\rm max})+\Big[\rho_{\kappa;m}(s_{\rm max})-\tilde{\rho}_{\kappa;m}(s_{\rm max})\Big]+\Big[\rho_{\kappa;m}-\rho_{\kappa;m}(s_{\rm max})\Big]\,. (66) The norm of the second term on the r.h.s of this equation is bounded by \Delta\tilde{\rho}_{\kappa;m}(s_{\rm max}) in Eq. ( 65 ). We are therefore left to bind the difference between the target smeared spectral density and its incomplete counterpart. To do so, we notice that from Eqs. ( 38 ), ( 35 ) and ( 25 ) it follows \displaystyle\Bigg|\frac{\overline{C}_{m,s}}{\lambda_{s}}\Bigg| \displaystyle\leq \displaystyle\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\int_{0}^{\infty}\Big|\frac{\rho_{m}(\omega)}{\sqrt{\omega}}\Big|\,\Big|K_{is}(\omega t_{0})\Big|\,d\omega\, (67) \displaystyle\leq \displaystyle\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\max_{\;\;\omega\,\in\,{\mathbb{R}^{+}}}\Big|K_{is}(\omega t_{0})\Big|\,r_{m}\,, where r_{m}=\int_{0}^{\infty}\Big|\frac{\rho_{m}(\omega)}{\sqrt{\omega}}\,\Big|\,d\omega\,. (68) The modified Bessel function K_{is}(x) oscillates for xs due to the change in nature of the differential equation it satisfies. As a consequence, its absolute maximum is the last peak of the oscillatory phase which occurs for x just below s . By assuming that \rho_{m}(\omega) and therefore C_{m}(t) have a definite sign, and by using Eq. ( 22 ) for s=0 , r_{m} can be re-written as r_{m}=\frac{1}{\Gamma(m+\frac{1}{2})}\,\int_{0}^{\infty}|C(t)|\,t^{m-1/2}\,dt\,. (69) The integral in Eq. ( 69 ) can be decomposed in the short-, intermediate- and long-distance contributions r_{m}^{\rm s} , r_{m}^{\rm i} and r_{m}^{\rm l} corresponding to integrating in the ranges [0,t_{0}] , [t_{0},t_{\rm max}] , and [t_{\rm max},\infty] respectively. The short- and the intermediate-distance contributions can be bound or determined from the knowledge 8 8 8 For small enough values of t_{0} , perturbation theory is an interesting viable option to bind C(t) in [0,t_{0}] , and therefore r_{m}^{\rm s} . of the correlator up to t_{\rm max} , respectively. By using Eq. ( 52 ), the long distance contribution satisfies r_{m}^{\rm l}\leq r_{m}^{\rm l,\max}=\frac{e^{\omega_{0}t_{\rm max}}}{\omega_{0}^{m+1/2}}\,\frac{\Gamma(m+\frac{1}{2},\omega_{0}t_{\rm max})}{\Gamma(m+\frac{1}{2})}\,|C(t_{\rm max})|\,, (70) with \Gamma(a,x) being the upper incomplete \Gamma -function which can easily be computed numerically 3 . For asymptotically large values of x , it holds \Gamma\big(a,x\big)=x^{a-1}e^{-x}\,+\dots (71) leading to r_{m}^{\rm l,\max}=\frac{1}{\Gamma(m+\frac{1}{2})}\,\frac{t_{\rm max}^{m-1/2}}{\omega_{0}}\,|C(t_{\rm max})|\,+\dots (72) which is exponentially suppressed in t_{\rm max} . The difference between the smeared spectral density and the incomplete one can then be bounded as \Big|\rho_{\kappa;m}-\rho_{\kappa;m}(s_{\rm max})\Big|\leq\Delta\rho_{\kappa;m}(s_{\rm max})\,, (73) with \Delta\rho_{\kappa;m}(s_{\rm max})=r^{\rm\max}_{m}\int_{s_{\rm max}}^{\infty}\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\max_{\;\;\omega\,\in\,{\mathbb{R}^{+}}}\Big|K_{is}(\omega t_{0})\Big|\,\Big|\hat{\kappa}_{s}\Big|\,ds\,, (74) where r^{\rm\max}_{m} is the sum of the bounds on r_{m}^{\rm s} , r_{m}^{\rm i} and r_{m}^{\rm l} . By using Eqs. ( 65 ) and ( 74 ), it follows that \Big|\rho_{\kappa;m}-\tilde{\rho}_{\kappa;m}(s_{\rm max})\Big|\leq\Delta\tilde{\rho}_{\kappa;m}(s_{\rm max})+\Delta\rho_{\kappa;m}(s_{\rm max})\,. (75) Therefore, the approximated incomplete smeared spectral density \tilde{\rho}_{\kappa;m}(s_{\rm max}) , when supplemented by the systematic error [\Delta\tilde{\rho}_{\kappa;m}(s_{\rm max})+\Delta\rho_{\kappa;m}(s_{\rm max})] , becomes a rigorous estimate of the smeared spectral density. As a representative example, in the right panel of Figure 2 we show \tilde{\rho}_{\kappa;0}(s_{\rm max}) together with the total error, estimated as in Eq. ( 75 ), against \rho_{\kappa;0} both extracted from the exponential considered in subsection 4.1 . The smearing function is the same Breit-Wigner used in the left panel of the same figure. If instead a Breit-Wigner with a varying width but with \sigma/\omega_{*} kept constant as a function of \omega_{*} was chosen, see Section 7 , the error bound would have been more uniform as a function of \omega_{*} . The s -dependence of the integrand in Eq. ( 74 ) is de-facto the one of the function |\hat{\kappa}_{s}| , since the remaining factor depends very weakly on s . Therefore, the dependence on s of the norm of the Kontorovich-Lebedev transform of the smearing function determines the rate of convergence to zero of \Delta\rho_{\kappa;m}(s_{\rm max}) as a function of s_{\rm max} . As discussed in Section 4.1 , when a correlation function is only known on a finite temporal domain t\leq t_{\rm max} , we have access to \overline{C}_{m,s} for s\leq s_{\rm max}\sim\omega_{0}t_{\rm max} only, a lack of knowledge which prevents us to reconstruct exactly the (regulated) spectral density. If, however, we restrict ourselves to smeared spectral densities with |\hat{\kappa}_{s}| decaying fast enough with s , the effect of the unknowns can be bounded and kept under control. It is therefore wise to choose smearing functions with a fast decaying integral transform if the problem under investigation allows to do so. In this respect, the Breit-Wigner is a very conservative example since its transform decays approximatively as 9 9 9 A similar bound can be derived for the Mellin transform. In that case, the transform of the smearing function decays exponentially with s , see Eq. ( 46 ), and the bound on the error is tighter. However, in order to extract the spectral density, the Mellin transform requires the knowledge of C(t) in the interval [0,t_{0}] and not only to bind its contribution to the associated systematic error. 1/s^{2} , but it has the advantage of having a simple expression which can be managed easily in the numerical examples considered in this paper. 5 Spectral densities from discrete sampling When QCD is regularized on a lattice, the correlators are defined at discrete Euclidean times only, {\cal C}(t_{0}+an)=\int_{0}^{\infty}\varrho(\omega)\,e^{-\omega(t_{0}+an)}\,d\omega\,,\quad n=0,1,2,\dots,\infty\,, (76) where a is the lattice spacing. Similarly to the continuum, the Eq. ( 76 ) must be inverted to extract the spectral density. We proceed by mimicking the derivation in Section 2.2 with t_{0} as a freely selectable parameter to leave open the possibility of avoiding potentially large discretization effects at short time-distances. 5.1 Spectral density When a correlator is sampled on regularly-spaced discrete points, the Eqs. ( 26 ) are replaced by {\overline{\cal C}}_{s}=a\sum_{n=0}^{\infty}{\cal C}(t_{0}+an)\,\overline{v}_{s}(n,t_{0},a)\,,\qquad\hat{\varrho}_{s}=\int_{0}^{\infty}\varrho(\omega)\,\hat{v}_{s}(\omega,t_{0},a)\,d\omega\,,\quad s\in{\mathbb{R}^{+}}\,,\\ (77) where t_{0}=an_{0} , and the basis functions are related by the discretized version of Eq. ( 27 ), namely |\lambda_{s}|\,\hat{v}_{s}(\omega,t_{0},a)=a\sum_{n=0}^{\infty}e^{-\omega(t_{0}+an)}\,\bar{v}_{s}(n,t_{0},a)\,. (78) From this equation it immediately follows {\overline{\cal C}}_{s}=|\lambda_{s}|\,\hat{\varrho}_{s}\,, (79) which is exact at finite lattice spacing. Similarly to the continuum, if we require the orthogonality condition \int_{0}^{\infty}\hat{v}_{s}(\omega,t_{0},a)\,\hat{v}_{s^{\prime}}(\omega,t_{0},a)\,d\omega\,=\delta(s-s^{\prime}) (80) to hold, then Eq. ( 78 ) implies a^{2}\sum_{n,n^{\prime}=0}^{\infty}\overline{v}_{s}(n,t_{0},a)\mathcal{A}(n+n^{\prime})\,\overline{v}_{s^{\prime}}(n^{\prime},t_{0},a)=|\lambda_{s}|^{2}\,\delta(s-s^{\prime})\,, (81) a straightforward discretization of Eq. ( 9 ) with \mathcal{A}(n+n^{\prime}) being the kernel of the discretized quasi-Carleman operator defined in Eq. ( 194 ) of Appendix D . We then choose the \overline{v}_{s}(n,t_{0},a) to be the eigenvectors of \mathcal{A} a\sum_{n^{\prime}=0}^{\infty}\mathcal{A}(n+n^{\prime})\,\overline{v}_{s}(n^{\prime},t_{0},a)=|\lambda_{s}|^{2}\,\overline{v}_{s}(n,t_{0},a)\,, (82) which form a complete and orthonormal basis for the discretized functions in \ell^{2}(\mathbb{Z}^{+}) , see Appendix D for their definition and properties. Notice that, as expected, the eigenvalues |\lambda_{s}|^{2} of \mathcal{A} are the same as those of the continuum operator 55 . The spectral density can then be extracted as \varrho(\omega)=\int_{0}^{\infty}\frac{{\overline{\cal C}}_{s}}{|\lambda_{s}|}\,\hat{v}_{s}(\omega,t_{0},a)\,ds\,. (83) Continuum limit at fixed t_{0} To study the approach to the continuum limit of \varrho(\omega) at fixed t_{0} , we start by analyzing the leading discretization effects in {\overline{\cal C}}_{s} defined in Eq. ( 77 ). By assuming that discretization effects in {\cal C}(t_{0}+an) start at O(a^{2}) , by using Eq. ( 204 ) in Appendix D , and by noticing that the trapezoidal rule is adopted in the first of Eqs. ( 77 ) up to a factor 1/2 in the first contribution to the sum, we obtain {\overline{\cal C}}_{s}=\overline{C}_{s}+\frac{a}{2}\,C(t_{0})\,\bar{u}_{s}(t_{0},t_{0})+\frac{a}{4t_{0}}\int_{t_{0}}^{\infty}C(t)\,\Big[1+2t\frac{\partial}{\partial t}\Big]\,\bar{u}_{s}(t,t_{0})\,dt+O(a^{2})\,, (84) where \overline{C}_{s} is defined in Eq. ( 26 ). By integrating by parts the last integral, it follows that {\overline{\cal C}}_{s}=\Big[1-\frac{a}{4t_{0}}\Big]\,\overline{C}_{s}-\frac{a}{2t_{0}}\int_{t_{0}}^{\infty}t\,\Big[\frac{\partial}{\partial t}C(t)\Big]\,\bar{u}_{s}(t,t_{0})\,dt+O(a^{2})\,, (85) and by using Eq. ( 2 ) and integrating again by parts we finally arrive at {\overline{\cal C}}_{s}=|\lambda_{s}|\Big\{\Big[1+\frac{a}{4t_{0}}\Big]\,\hat{\rho}_{s}+\frac{a}{2t_{0}}\,\int_{0}^{\infty}\Big[\omega^{\prime}\frac{\partial}{\partial\omega^{\prime}}\rho(\omega^{\prime})\Big]\,\hat{u}_{s}(\omega^{\prime},t_{0})\,d\omega^{\prime}+O(a^{2})\Big\}\,. (86) Notice that, since both \overline{C}_{s} and {\overline{\cal C}}_{s} are suppressed exponentially in s , discretization effects are suppressed exponentially in s as well. By inserting Eqs. ( 86 ) and ( 221 ) into Eq. ( 83 ) we obtain \displaystyle\varrho(\omega) \displaystyle= \displaystyle\Big[1-\frac{a}{2t_{0}}\omega\frac{\partial}{\partial\omega}\Big]\,\rho(\omega)\,+ (87) \displaystyle+\frac{a}{2t_{0}}\int_{0}^{\infty}\Big\{\int_{0}^{\infty}\Big[\omega^{\prime}\frac{\partial}{\partial\omega^{\prime}}\,\rho(\omega^{\prime})\Big]\,\hat{u}_{s}(\omega^{\prime},t_{0})\,d\omega^{\prime}\Big\}\,\hat{u}_{s}(\omega,t_{0})\,ds+O(a^{2})\,. By assuming that the Kontorovich–Lebedev transform and its inverse exist not only for \rho(\omega) but also for \omega\frac{\partial}{\partial\omega}\,\rho(\omega) , we finally arrive to \varrho(\omega)=\rho(\omega)+O(a^{2})\,, (88) which explicitly shows that the inversion procedure does not introduce O(a) -effects. If {\cal C}(t_{0}+an) had no discretization effects and if \rho(\omega) admitted the transform and its inverse on the basis of the \hat{v}_{s}(\omega,t_{0},a) , then the extracted spectral density would not be affected by discretization effects. 5.2 Regulated spectral density The Eqs. ( 32 ) and ( 33 ) can be discretized as {\cal C}_{m}(t_{0}+an)=\frac{a}{\Gamma(m)}\sum_{n^{\prime}=n}^{\infty}w_{n^{\prime}-n}\,{\cal C}(t_{0}+an^{\prime})(an^{\prime}-an)^{m-1}\,,\quad m>0\,, (89) where w_{0}=\frac{1}{2} and w_{i}=1 for i>0 to implement the trapezoidal rule 10 10 10 By changing the weights w_{i} , different Newton-Cotes rules could be implemented as well. , and {\overline{\cal C}}_{m,s}=a\sum_{n=0}^{\infty}{\cal C}_{m}(t_{0}+an)\,\overline{v}_{s}(n,t_{0},a)=a\sum_{n=0}^{\infty}{\cal C}(t_{0}+an)\,\overline{v}_{m,s}(n,t_{0},a)\,,\quad m\geq 0\,, (90) where {\cal C}_{0}(t_{0}+an)={\cal C}(t_{0}+an) , \overline{v}_{m,s}(n,t_{0},a)=\frac{a}{\Gamma(m)}\sum_{n^{\prime}=0}^{n}w_{n-n^{\prime}}\,(an-an^{\prime})^{m-1}\,\overline{v}_{s}(n^{\prime},t_{0},a)\,, (91) and \overline{v}_{0,s}(n,t_{0},a)=\overline{v}_{s}(n,t_{0},a) . By defining |\lambda_{s}|\hat{v}_{m,s}(\omega,t_{0},a)=a\sum_{n=0}^{\infty}e^{-\omega(t_{0}+an)}\,\bar{v}_{m,s}(n,t_{0},a)\,, (92) after some algebra it is possible to show that \hat{v}_{m,s}(\omega,t_{0},a)=\frac{1}{\upomega^{m}}\,\hat{v}_{s}(\omega,t_{0},a)\,,\qquad\frac{1}{\upomega^{m}}=\frac{a}{\Gamma(m)}\Big(-\frac{\partial}{\partial\omega}\Big)^{m-1}\Big[\frac{1}{1-e^{-a\omega}}-\frac{1}{2}\Big]\,, (93) and therefore we define \hat{\varrho}_{m,s}=\int_{0}^{\infty}\varrho(\omega)\,\hat{v}_{m,s}(\omega,t_{0},a)\,d\omega=\int_{0}^{\infty}\frac{\varrho(\omega)}{\upomega^{m}}\,\hat{v}_{s}(\omega,t_{0},a)\,d\omega\,. (94) Notice that, as in the continuum, the dependence on m and s in \hat{v}_{m,s} is factorized. By inserting Eq ( 76 ) into Eq. ( 90 ), it immediately follows that {\overline{\cal C}}_{m,s}=|\lambda_{s}|\,\hat{\varrho}_{m,s}\,, (95) and therefore \varrho_{m}(\omega)=\frac{\varrho(\omega)}{\upomega^{m}}=\int_{0}^{\infty}\frac{{\overline{\cal C}}_{m,s}}{|\lambda_{s}|}\,\hat{v}_{s}(\omega,t_{0},a)\,ds\,. (96) Since \upomega^{m}/\omega^{m}=1+O(a^{2}) , in the continuum we recover the expected subtraction power and, by following the same line of argumentation of the previous section, it follows that \varrho_{m}(\omega)=\rho_{m}(\omega)+O(a^{2})\,. (97) An alternative procedure to extract regulated spectral densities is discussed in Appendix E , where the starting point is to consider the correlator C(t)\,t^{m} and extract the corresponding spectral density with the formula analogous to Eq. ( 83 ). The latter is then linked to the target regulated spectral density, see Eqs. ( 224 ) and ( 225 ). When applied to discrete sampling, discretization effects are different with respect to the procedure described in this section. 5.3 Smeared spectral densities For smeared spectral densities, we proceed analogously to Section 3.2 . We define the transform of the smearing function as \hat{\it k}_{s}=\int_{0}^{\infty}\kappa(\omega)\,\hat{v}_{s}(\omega,t_{0},a)\,d\omega\,. (98) By inserting Eq. ( 96 ) into the analogous of Eq. ( 40 ) for \varrho_{m} we obtain 11 11 11 For a single exponential, an explicit check of discretization effects induced by the ILT reveals that for m=0 there are none, while for m>0 they are very moderate as expected from the expression of \upomega^{m}/\omega^{m} . The more involved procedure in Appendix E removes them by construction. \varrho_{\kappa;m}=\int_{0}^{\infty}\frac{{\overline{\cal C}}_{m,s}}{|\lambda_{s}|}\,\hat{\it k}_{s}\,ds\,,\qquad m\geq 0\,, (99) where {\overline{\cal C}}_{m,s} is defined in Eq. ( 90 ). 6 Smeared spectral densities from discrete incomplete ones To compute a smeared spectral density from a discrete sampling of a correlator known for t_{0}\leq t\leq t_{\rm max} only, we adapt the strategy outlined in Section 4 to the discrete case. In particular, we introduce the incomplete discrete Mehler-Fock transform and the corresponding incomplete (smeared) spectral density. We then bind the difference between the target smeared spectral density and its incomplete counterpart so as to have a rigorous estimate of the systematic uncertainty associated to the ILT. Figure 3: Absolute value of the complete (black) and incomplete discrete Mehler-Fock transforms for m=0 of the function e^{-\omega_{0}(t_{0}+an)} with a\omega_{0}=0.3 , t_{0}=3a , and t_{\rm max}=t_{0}+an_{\rm max} for various values of \omega_{0}\,t_{\rm max} . The dashed lines represent the bounds obtained from Eq. ( 103 ). As in the continuum, the norm of the (incomplete) discrete Mehler-Fock transform vanishes in the region of downward oscillations represented in the plot. However, for clarity, the s -grid has been chosen to avoid representing these zeros. 6.1 Incomplete discrete Mehler-Fock transform When a correlation function is sampled on regularly-spaced discrete points of a finite temporal domain t_{0}\leq t\leq t_{\rm max} , we have access to the incomplete discrete Mehler-Fock transform {\widetilde{\cal C}}_{m,s}(n_{\rm max})=a\sum_{n=0}^{n_{\rm max}}{\cal C}(t_{0}+an)\,\overline{v}_{m,s}(n,t_{0},a)\,,\quad m\geq 0\,, (100) with an_{\rm max}=t_{\rm max}-t_{0} , which differs from the complete one by {\overline{\cal C}}_{m,s}-{\widetilde{\cal C}}_{m,s}(n_{\rm max})=a\sum_{n=n_{\rm max}+1}^{\infty}{\cal C}(t_{0}+an)\,\overline{v}_{m,s}(n,t_{0},a)\,. (101) Thanks to Eq. ( 76 ) we can assume that, for large enough values of n_{\rm max} , it holds |{\cal C}(t_{0}+an)|\leq|C(t_{0}+an_{\rm max})|\,e^{-a\omega_{0}(n-n_{\rm max})}\,,\quad n\geq n_{\rm max}\,. (102) This implies that \Big|{\overline{\cal C}}_{m,s}-{\widetilde{\cal C}}_{m,s}(n_{\rm max})\Big|\leq\Big|{\cal C}(t_{0}+an_{\rm max})\Big|\,{\mathfrak{b}}_{m,s}(n_{\rm max})\,, (103) where {\mathfrak{b}}_{m,s}(n_{\rm max})=a\sum_{n=n_{\rm max}+1}^{\infty}e^{-a\omega_{0}(n-n_{\rm max})}\,|\overline{v}_{m,s}(n,t_{0},a)|\,. (104) As a representative example, in Figure 3 we show the complete (black) and the incomplete discrete Mehler-Fock transforms for m=0 of a single exponential e^{-\omega_{0}(t_{0}+an)} with a\omega_{0}=0.3 and t_{0}=3a for various values of \omega_{0}t_{\rm max} together with the bound obtained from Eq. ( 103 ). Analogous results are obtained for higher values of m . Comments similar to those reported at the end of Section 4.1 apply also in this case. In particular the larger s gets, the worse \widetilde{C}_{m,s} approximates \overline{C}_{m,s} , until the delicate cancellation between the numerator and the denominator in the r.h.s. of Eq. ( 96 ) is not at work anymore. 6.2 Incomplete spectral density from discrete sampling The previous considerations suggest to define an incomplete spectral density as \varrho_{m}(\omega,s_{\rm max})=\int_{0}^{s_{\rm max}}\frac{{\overline{\cal C}}_{m,s}}{|\lambda_{s}|}\,\hat{v}_{s}(\omega,t_{0},a)\,ds\,,\quad m\geq 0\,. (105) If we define \tilde{\varrho}_{m}(\omega,s_{\rm max})=\int_{0}^{s_{\rm max}}\frac{{\widetilde{\cal C}}_{m,s}(n_{\rm max})}{|\lambda_{s}|}\,\hat{v}_{s}(\omega,t_{0},a)\,ds\,,\quad m\geq 0\,, (106) its difference from \varrho_{m}(\omega,s_{\rm max}) satisfies \big|\varrho_{m}(\omega,s_{\rm max})-\tilde{\varrho}_{m}(\omega,s_{\rm max})\big|\leq\Delta\tilde{\varrho}_{m}(\omega,s_{\rm max})\,, (107) where \Delta\tilde{\varrho}_{m}(\omega,s_{\rm max})=\Big|{\cal C}(t_{0}+an_{\rm max})\Big|\,\int_{0}^{s_{\rm max}}\frac{{\mathfrak{b}}_{m,s}(n_{\rm max})\,|\hat{v}_{s}(\omega,t_{0},a)|}{|\lambda_{s}|}\,ds (108) with the integral on the r.h.s that can be computed numerically. Figure 4: Left: The approximated incomplete smeared spectral density \tilde{\varrho}_{{\it k};0}(s_{\rm max}) with the error estimated as in Eq. ( 112 ), against the incomplete smeared spectral density \varrho_{\kappa;0}(s_{\rm max}) for the single exponential e^{-\omega_{0}(t_{0}+an)} with a\omega_{0}=0.3 and t_{0}=3a . Right: The approximated incomplete smeared spectral density \tilde{\varrho}_{\kappa;0}(s_{\rm max}) with the total error estimated as in Eq. ( 123 ), against the exact spectral density \varrho_{\kappa;0} for the same exponential. 6.3 Incomplete smeared spectral densities from discrete sampling Analogously to the continuum, we can define the incomplete smeared spectral densities as \varrho_{\kappa;m}(s_{\rm max})=\int_{0}^{s_{\rm max}}\frac{{\overline{\cal C}}_{m,s}}{|\lambda_{s}|}\,{\hat{\it k}}_{s}\,ds\,,\quad m\geq 0\,, (109) where {\hat{\it k}}_{s} is defined in Eq. ( 98 ). Again, the truncation given by s_{\rm max} allows us to define \tilde{\varrho}_{\kappa;m}(s_{\rm max})=\int_{0}^{s_{\rm max}}\frac{\widetilde{\cal C}_{m,s}(n_{\rm max})}{|\lambda_{s}|}\,{\hat{\it k}}_{s}\,ds\,,\quad m\geq 0\,. (110) Its difference from \varrho_{\kappa;m}(s_{\rm max}) satisfies \big|\varrho_{\kappa;m}(s_{\rm max})-\tilde{\varrho}_{\kappa,m}(s_{\rm max})\big|\leq\Delta\tilde{\varrho}_{\kappa;m}(s_{\rm max})\,, (111) where \Delta\tilde{\varrho}_{\kappa;m}(s_{\rm max})=\Big|{\cal C}(t_{0}+an_{\rm max})\Big|\,\int_{0}^{s_{\rm max}}{\mathfrak{b}}_{m,s}(n_{\rm max})\,\frac{|{\hat{\it k}}_{s}|}{|\lambda_{s}|}\,ds\,, (112) and again the integral on the r.h.s can be computed numerically. As a representative example, in the left panel of Figure 4 we show \tilde{\varrho}_{\kappa;m}(s_{\rm max}) with its error, estimated as in Eq. ( 112 ), against \varrho_{\kappa;m}(s_{\rm max}) both extracted from the exponential considered in Section 6.1 . The smearing function is a Breit-Wigner with \sigma=\omega_{0}/3 . 6.4 Smeared spectral densities from discrete sampling Analogously to the continuum, an incomplete smeared spectral density becomes a satisfactory approximation of the complete one if \omega_{0}\,t_{\rm max} is chosen large enough so as to guarantee a reconstruction error below the target precision. To quantify this systematics, we decompose a smeared density as 12 12 12 A decomposition in which the three contributions are O(a) -improved independently is beyond the scope of this paper. \varrho_{\kappa;m}=\tilde{\varrho}_{\kappa;m}(s_{\rm max})+\Big[\varrho_{\kappa;m}(s_{\rm max})-\tilde{\varrho}_{\kappa;m}(s_{\rm max})\Big]+\Big[\varrho_{\kappa;m}-\varrho_{\kappa;m}(s_{\rm max})\Big]\,. (113) The norm of the second term on the r.h.s of this equation is bounded by \Delta\tilde{\varrho}_{\kappa;m}(s_{\rm max}) in Eq. ( 112 ). To bind the difference between the target smeared spectral density and its incomplete counterpart, we notice that from Eqs. ( 207 ) and ( 213 ) it follows that \displaystyle\Bigg|\frac{{\overline{\cal C}}_{m,s}}{\lambda_{s}}\Bigg| \displaystyle\leq \displaystyle\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\int_{0}^{\infty}|\varrho_{m}(\omega)|\frac{a}{\sqrt{1-e^{-a\omega}}}\,\Big|{\cal K}_{is}(\omega,t_{0})\Big|\,d\omega\, (114) \displaystyle\leq \displaystyle\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\max_{\;\;\omega\,\in\,{\mathbb{R}^{+}}}\Big|{\cal K}_{is}(\omega,t_{0})\Big|\,{\mathfrak{r}}_{m}\,, where {\cal K}_{is}(\omega,t_{0})=\sqrt{\frac{\pi}{a}}\,\Big|\Gamma\Big(2t_{0}/a\!-\!1/2\!+\!is\Big)\Big|\,\sqrt{\frac{e^{-a\omega}}{1-e^{-a\omega}}}\,P^{1-2t_{0}/a}_{-\frac{1}{2}+is}\Big(\coth\Big(\frac{a\omega}{2}\Big)\Big)\,, (115) and {\mathfrak{r}}_{m}=a\int_{0}^{\infty}|\varrho_{m}(\omega)|\sqrt{\frac{1}{1-e^{-a\omega}}}\,d\omega\,. (116) Analogously to the continuum the function {\cal K}_{is}(\omega,t_{0}) first oscillate and then it decades exponentially, and its absolute maximum can be easily computed numerically. By assuming that \varrho_{m}(\omega) and therefore {\cal C}(t_{0}+an) has a definite sign, and by remembering that \frac{1}{\sqrt{1-e^{-a\omega}}}=\sum_{n=0}^{\infty}(-1)^{n}\binom{-\frac{1}{2}}{n}\,e^{-a\omega n}\,, (117) we obtain {\mathfrak{r}}_{m}=a\sum_{n=0}^{\infty}(-1)^{n}\binom{-\frac{1}{2}}{n}\,{\cal C}_{m}(an)=a\sum_{n=0}^{\infty}b^{n}_{m}\,{\cal C}(an)\,, (118) where from Eq. ( 89 ) b^{n}_{m}=\frac{a}{\Gamma(m)}\sum_{n^{\prime}=0}^{n}w_{n-n^{\prime}}\,(-1)^{n^{\prime}}\binom{-\frac{1}{2}}{n^{\prime}}\,(an-an^{\prime})^{m-1}\,,\quad m\geq 1\,, (119) while for m=0 we use the expression in the middle of Eq. ( 118 ). Analogously to the continuum, the sum in Eq. ( 118 ) can be decomposed in the short-, intermediate- and long-distance contributions {\mathfrak{r}}_{m}^{\rm s} , {\mathfrak{r}}_{m}^{\rm i} and {\mathfrak{r}}_{m}^{\rm l} corresponding to sum in the ranges [0,t_{0}] , [t_{0},t_{\rm max}] , and [t_{\rm max},\infty] respectively. For the short- and the intermediate-distance contributions considerations analogous to those in the continuum apply. By using Eq. ( 102 ), the long distance contribution satisfies {\mathfrak{r}}_{m}^{\rm l}\leq{\mathfrak{r}}_{m}^{\rm l,\max}=|{\cal C}(an_{\rm max})|\,\,a\!\!\!\!\!\!\!\!\sum_{n=n_{\rm max}+1}^{\infty}b^{n}_{m}\,e^{-a\omega_{0}(n-n_{\rm max})}\,. (120) which is exponentially suppressed in n_{\rm max}=t_{\rm max}/a . The difference between the smeared spectral density and the incomplete one can then be bounded as 13 13 13 With a similar spirit, while we were completing this paper an approximation of these bounds was proposed in Ref. 50 . Additionally, explicitly enforcing the positivity of spectral functions recently allowed one to compute alternative bounds on their smeared counterpart 36 ; 2 ; 29 . \Big|\varrho_{\kappa;m}-\varrho_{\kappa;m}(s_{\rm max})\Big|\leq\Delta\varrho_{\kappa;m}(s_{\rm max})\,, (121) with \Delta\varrho_{\kappa;m}(s_{\rm max})={\mathfrak{r}}_{m}^{\max}\int_{s_{\rm max}}^{\infty}\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\max_{\;\;\omega\,\in\,{\mathbb{R}^{+}}}\Big|{\cal K}_{is}(\omega,t_{0})\Big|\,\Big|{\hat{\it k}}_{s}\Big|\,ds\,, (122) where {\mathfrak{r}}_{m}^{\max} is the sum of the bounds on {\mathfrak{r}}_{m}^{\rm s} , {\mathfrak{r}}_{m}^{\rm i} and {\mathfrak{r}}_{m}^{\rm l} . By using Eqs. ( 112 ) and ( 122 ) it follows that \Big|\varrho_{\kappa;m}-\tilde{\varrho}_{\kappa;m}(s_{\rm max})\Big|\leq\Delta\tilde{\varrho}_{\kappa;m}(s_{\rm max})+\Delta\varrho_{\kappa;m}(s_{\rm max})\,. (123) Analogously to the continuum case, the approximated incomplete smeared spectral density \tilde{\varrho}_{\kappa;m}(s_{\rm max}) , when supplemented by the systematic error [\Delta\tilde{\varrho}_{\kappa;m}(s_{\rm max})+\Delta\varrho_{\kappa;m}(s_{\rm max})] , becomes a rigorous estimate of the smeared spectral density at finite lattice spacing. As a representative example, in the right panel of Figure 4 we show \tilde{\varrho}_{\kappa;m}(s_{\rm max}) together with the total error, estimated as in Eq. ( 123 ), against \varrho_{\kappa;m} both extracted from the exponential considered in Subsection 6.1 . Also in this case, the smearing function is a Breit-Wigner with \sigma=\omega_{0}/3 . 7 Discussion When a correlator and the associated spectral density admit integral transforms and their inverses with basis functions related by an equation of the type ( 6 ), the basic integral equation in Eq. ( 2 ) becomes a simple algebraic relation among the integral transforms of the correlator and of the spectral density, see Eq. ( 7 ). The (smeared) spectral density is then readily obtained as an inverse transform. The key issue is the delicate cancellation between the numerator and the denominator in the integral on the r.h.s. of Eq. ( 13 ), i.e. between the exponential decay of the integral transform of the correlator as a function of the conjugate variable s and the exponentially decaying numerical coefficient in the denominator. If the correlator is known for all t\geq t_{0} , the Laplace transform can be inverted exactly. In practical applications, however, the correlator is often known only up to t\leq t_{\rm max} . This implies that we only have access to an incomplete transform, see Eq. ( 50 ), due to the finiteness of the simulated lattice or possibly to the further limitation due to the worsening of the signal-to-noise ratio, see Ref. 21 for more details. At small values of s , the latter typically approximates the complete transform exponentially well in t_{\rm max} , see Figure 1 . But when s\geq s_{\rm max}\sim\omega_{0}t_{\rm max} , with \omega_{0} being the mass gap in that channel, the norm of the incomplete transform of the correlator does not decay exponentially with s anymore, a fact which prevents us from reconstructing exactly the (smeared) spectral density. This is clearly shown in Figure 1 for the Mehler-Fock transform, and an analogous plot can be obtained for the Mellin one. This lack of knowledge implies that we have de-facto access to the incomplete smeared spectral density as defined in Eq. ( 62 ) only. If we restrict ourselves to smearing functions which have transforms decaying fast enough with s , however, the contributions of the unknowns to the smeared spectral density can be bounded and kept under control 14 14 14 An analogous line of argumentation can be applied to the study of finite volume effects. A complementary approach has been recently presented in Ref. 9 . , see Figure 2 . Very similar comments apply when the correlation function is sampled on discrete points only, as discussed in detail in Section 6 . It is instructive to scrutinize these findings for a simple example of a correlator made of a sum of 3 exponentials C(t)=c_{0}\,e^{-\omega_{0}t}+c_{1}\,e^{-\omega_{1}t}+c_{2}\,e^{-\omega_{2}t} (124) with \omega_{0}=0.5 , \omega_{1}=1.0 , \omega_{2}=1.5 and c_{0}=1.0 , c_{1}=0.5 , c_{2}=1.25 in units of t_{0}=1 . From this correlator we compute the spectral density smeared with the Breit-Wigner in Eq. ( 43 ) centered in \omega_{*} and with width \sigma . The Breit-Wigner is a very conservative example since its Kontorovich–Lebedev transform decays quite slowly as 1/s^{2} , but it has the advantage that its transform has a simple expression which can be managed easily. Figure 5: The approximated incomplete smeared spectral density \tilde{\rho}_{\kappa;0}(s_{\rm max}) with the total error estimated as in Eq. ( 75 ), against the exact one \rho_{\kappa;0} for the correlator in Eq. ( 124 ) and for a Breit-Wigner smearing centered in \omega_{*} and with width \sigma/\omega_{0}=0.6 . The three panels correspond to \omega_{0}t_{\rm max}=15 (left), 27 (center) and 51 (right). Figure 6: The approximated incomplete smeared spectral density \tilde{\rho}_{\kappa;0}(s_{\rm max}) with the total error estimated as in Eq. ( 75 ), against the exact one \rho_{\kappa;0} for the correlator in Eq. ( 124 ) and for a Breit-Wigner smearing centered in \omega_{*} and with width \sigma/\omega_{0}=0.9 (left), 0.6 (center), and 0.3 (right) for \omega_{0}t_{\rm max}=51 . Figure 7: The approximated incomplete smeared spectral density \tilde{\rho}_{\kappa;0}(s_{\rm max}) with the total error estimated as in Eq. ( 75 ), against the exact one \rho_{\kappa;0} for the correlator in Eq. ( 124 ) and for a Breit-Wigner smearing centered in \omega_{*} and with width \sigma/\omega_{*}=1/5 . The three panels correspond to \omega_{0}t_{\rm max}=15 (left), 27 (center) and 51 (right). Figure 8: The approximated incomplete smeared spectral density \tilde{\rho}_{\kappa;0}(s_{\rm max}) with the total error estimated as in Eq. ( 75 ), against the exact one \rho_{\kappa;0} for the correlator in Eq. ( 124 ) and for a Breit-Wigner smearing centered in \omega_{*} and with width \sigma/\omega_{*}=1/2 (left), 1/5 (center), and 1/10 (right, different scale on vertical axis) for \omega_{0}t_{\rm max}=51 . In the three panels in Figure 5 we show the reconstructed smeared spectral density with constant width \sigma=0.6\,\omega_{0} for three values of t_{\rm max} corresponding to \omega_{0}\,t_{\rm max}=15,27 and 51 . By comparing the exact smeared spectral density (blue line) with the incomplete one (orange line), it is clear that the density can be reconstructed reliably with a rigorous bound of the systematic error attached to it. For the Breit-Wigner, the error decreases approximatively as 15 15 15 The choice of the value of s_{\rm max} gives a handle to minimize the error in Eq. ( 75 ) by balancing the two competing contributions. In the simple examples shown in this section we have not extensively exploited this possibility. s^{-1}_{\rm max}\sim(\omega_{0}t_{\rm max})^{-1} , and it turns out to be quite loose. In the three panels in Figure 6 we show the very same reconstruction at fixed \omega_{0}\,t_{\rm max}=51 but for three values of the smearing width \sigma/\omega_{0}=0.9 , 0.6 and 0.3 . As expected, the three-peak structure emerges when the smearing is smaller than the distance between the peaks, with the bound on the error that increases significantly. In the three panels in Figure 7 we show, for \omega_{0}t_{\rm max}=15,27 and 51 , the reconstruction of the smeared spectral density with varying width but with the ratio \sigma/\omega_{*}=1.5 kept constant as a function of \omega_{*} . The error bound is more uniform as a function of \omega_{*} than in the panels of Figure 5 . It is again clear that the spectral density can be reconstructed reliably with a rigorous estimate of the systematic error attached to it. Finally, in Figure 8 we show the very same reconstruction at fixed \omega_{0}\,t_{\rm max}=51 but for three values of the ratio \sigma/\omega_{*}=1/2 , 1/5 and 1/10 . As expected, the three-peak structure emerges when the smearing gets smaller and, at variance of the analogous plots in Figure 6 , the error bound is more uniform as a function of \omega_{*} . Figure 9: The approximated incomplete smeared spectral density \tilde{\rho}_{\kappa;0}(s_{\rm max}) with the total error estimated as in Eq. ( 75 ) computed by preconditioning the correlator as explained in the main text, against the exact one \rho_{\kappa;0} for the correlator in Eq. ( 124 ) and for a Breit-Wigner smearing centered in \omega_{*} and with width \sigma/\omega_{0}=0.6 . The three panels correspond to \omega_{0}t_{\rm max}=15 (left), 27 (center) and 51 (right). If one or a few leading exponential states are known, then they can be treated exactly and all considerations above apply to the “preconditioned” correlation function, i.e. the correlation function subtracted by the known exponentials 31 ; 42 . In the three panels in Figure 9 we show the reconstructed smeared spectral density with constant width \sigma=0.6\,\omega_{0} for three values of t_{\rm max} corresponding to \omega_{0}\,t_{\rm max}=15,27 and 51 obtained by subtracting the leading exponential, by computing the spectral density, and then by adding back the contribution of the leading exponential to the smeared spectral density. When compared with the three panels in Figure 5 , the gain is substantial and approximatively as expected. This time the relevant parameter is s_{\rm max}\sim\omega_{1}\,t_{\rm max} which is twice the one without preconditioning. When the correlator is computed numerically, however, whether this is an advantage depends on how much t_{\rm max} needs to be reduced once the leading exponential(s) has (have) been subtracted from the original correlator. 8 Conclusions Integral transforms offer a powerful theoretical framework to compute the inverse Laplace transform of a correlator and to study the associated systematics. Leading discretization effects, systematics due to a finite temporal extent or to a finite spatial volume can be disentangled and studied independently on the lattice and in the continuum, respectively. The solution proposed here, based on the Mehler-Fock and Kontorovich–Lebedev transforms, guarantees that a spectral density extracted from an O(a) -improved lattice correlator is O(a) -improved as well. In practical applications, the correlator is known on a finite time-interval only, e.g. up to t\leq t_{\rm max} . This implies that we can only have access to an incomplete transform of the correlator and therefore to an incomplete smeared spectral density. However, if the transform of the smearing function decays fast enough with the conjugate variable s , the unknown contributions can be bound and kept under control. Here we have presented a generic derivation of the associated error bound. Depending on the particular physics application one is interested in, better bounds could be found by accelerating the convergence to zero of the transform of the smearing function, by deriving a more sophisticated formula for the bound, and/or by preconditioning the correlation function. Once all these optimizations are done, the improvement of the reconstruction requires measuring the correlator at larger and larger time-distances. This can be achieved by enhancing the signal-to-noise ratio of the estimators of the correlators by variance reduction techniques such as the multi-level Monte Carlo integration. Acknowledgements. We thank M. Bruno for many discussions on the techniques and the phenomenological applications of spectral density reconstruction. This work is (partially) supported by ICSC - Centro Nazionale di Ricerca in High Performance Computing, Big Data and Quantum Computing, funded by European Union – NextGenerationEU. M.S. has been partially supported by the Italian Fondazione Angelo Della Riccia . Appendix A Källén-Lehmann representation and spectral densities In this appendix we collect well-known formulas for subtracted dispersive relations in order to fix our notation and conventions for regulated spectral densities. We focus on two-point connected correlation functions in Euclidean space-time of the form C(x)=\langle{\mathcal{O}}_{1}(x){\mathcal{O}}_{2}(0)\rangle_{\rm c}\,, (125) where {\mathcal{O}}_{1} and {\mathcal{O}}_{2} indicate two renormalized scalar fields 16 16 16 Generalizations to non-zero spin fields can be found in many textbooks, see for instance Ref. 51 . . Thanks to the Källén-Lehmann spectral decomposition, we can define \Pi(p^{2})=\int C(x)\,e^{-ipx}d^{4}x=\int_{0}^{\infty}\frac{\rho(\sqrt{s})}{p^{2}+s}\,ds\,,\qquad p=(p_{0},{\bf p})\,, (126) where \rho(\sqrt{s}) is the spectral density associated to the correlator {\rm C}(x) which has support over [\sqrt{s}\geq\omega_{0}\!>\!0,\infty) if the sector has a mass gap \omega_{0} . Being an integrated correlation function, \Pi(p^{2}) can suffer from ultraviolet divergences. They can be removed by subtracting local counter terms to the correlation function, i.e. by defining the m -time subtracted function \Pi_{m}(p^{2}) ( m=1,2,\dots ) as \Pi(p^{2})=\sum_{k=0}^{m-1}c_{k}(-p^{2})^{k}+(-p^{2})^{m}\,\Pi_{m}(p^{2})\,, (127) where \Pi_{m}(p^{2})=\int_{0}^{\infty}\frac{\rho_{2m}(\sqrt{s})}{p^{2}+s}\,ds\,,\quad\rho_{m}(\sqrt{s})=\frac{\rho(\sqrt{s})}{(\sqrt{s})^{m}}\,,\quad c_{k}=\int_{0}^{\infty}\frac{\rho(\sqrt{s})}{s^{k+1}}ds\,, (128) with \rho_{m}(\sqrt{s}) being the regulated spectral density. Each coefficient c_{k} is, up to a sign, the derivative of order k of \Pi(p^{2}) with respect to p^{2} computed at p^{2}=0 . A.1 Spectral density as inverse Laplace transform By introducing the time-momentum representation of the correlator C(x_{0},{\bf p})=\int{\rm C}(x)\,e^{-i{\bf p}{\bf x}}\,d^{3}{\bf x}\,,\qquad x=({x_{0},{\bf x}})\,, (129) by using Eq. ( 126 ) and the known integral 24 \int_{-\infty}^{\infty}\frac{\;\;\;e^{ip_{0}x_{0}}}{p_{0}^{2}+\omega^{2}}\,\frac{dp_{0}}{2\pi}\,=\frac{1}{2\omega}e^{-\omega|x_{0}|}\,, (130) it is easy to show that C(x_{0},{\bf p})=\int_{{}_{\!\!\!\sqrt{{\bf p}^{2}}}}^{\infty}e^{-\omega x_{0}}\rho(\sqrt{\omega^{2}-{\bf p}^{2}})\,d\omega\,,\qquad x_{0}\geq 0\,, (131) In Euclidean space-time, the spectral density can thus be extracted as the ILT of the time-momentum representation of the correlator. Following the same line of argumentation, one can relate the subtracted correlators in the time-momentum representation with the regulated spectral densities as C_{2m}(x_{0},{\bf p})=\int_{-\infty}^{\infty}\frac{dp_{0}}{2\pi}\,e^{ip_{0}x_{0}}\int_{0}^{\infty}\frac{\rho_{2m}(\sqrt{s})}{p_{0}^{2}+{\bf p^{2}}+s}\,ds=\int_{{}_{\!\!\!\sqrt{{\bf p}^{2}}}}^{\infty}e^{-\omega x_{0}}\rho_{2m}(\sqrt{\omega^{2}-{\bf p}^{2}})\,d\omega\,. (132) Appendix B Quasi-Carleman operators We are interested in a class of Hankel operators, the so-called quasi-Carleman operators, defined as (Af)(x)=\int_{0}^{\infty}A(x+x^{\prime})f(x^{\prime})dx^{\prime} (133) from the space of functions f\in L^{2}(\mathbb{R}^{+}) onto itself with kernels 17 17 17 We use the same symbol for operators and their kernels since the ambiguity is easily resolved from the context. A(x+x^{\prime})=\frac{1}{x+x^{\prime}+r}\;e^{-\beta(x+x^{\prime})}\,,\qquad x,x^{\prime}\geq 0\,. (134) The spectrum and the eigenfunctions of these operators for r\geq 0 and \beta=0 , and for r=0 and \beta>0 were derived many years ago 40 ; 12 ; 39 ; 46 ; 47 , see also Ref. 49 ; 37 ; 54 for a review. Here we summarize the results relevant for the present paper only. B.1 The Carleman operator The kernel of the Carleman operator is defined as in Eq. ( 134 ) with r=0 and \beta=0 . Since A(t+t^{\prime})=\frac{1}{t+t^{\prime}}=\int_{0}^{\infty}e^{-\omega(t+t^{\prime})}\,d\omega\,, (135) by defining u_{s}(t)=\frac{t^{is}}{\sqrt{2\pi t}}\,,\quad\lambda_{s}=\Gamma\left(\frac{1}{2}+is\right)\,,\quad s\in\mathbb{R}\,, (136) where \Gamma is the Euler gamma function 24 , and by noticing that \int_{0}^{\infty}u_{s}(\omega)e^{-\omega t}\,d\omega=\lambda_{s}u_{s}^{\ast}(t)\,, (137) it immediately follows that the u_{s}(t) diagonalize the Carleman operator \int_{0}^{\infty}\frac{1}{t+t^{\prime}}\,u_{s}(t^{\prime})\,dt^{\prime}=|\lambda_{s}|^{2}u_{s}(t)\,,\quad|\lambda_{s}|^{2}=\frac{\pi}{\cosh(\pi s)}\,. (138) The orthonormality of the basis functions can be proven by considering the change in the integration variable \eta=\log(t) so that \int_{0}^{\infty}u_{s}^{\ast}(t)u_{s^{\prime}}(t)\,dt=\int_{-\infty}^{\infty}e^{i\eta(s-s^{\prime})}\,\frac{d\eta}{2\pi}=\delta(s-s^{\prime})\,. (139) The completeness is instead guaranteed by noticing that \int_{-\infty}^{\infty}u_{s}^{\ast}(t)u_{s}(t^{\prime})\,ds=\frac{\delta(\log(t/t^{\prime}))}{\sqrt{tt^{\prime}}}=\delta(t-t^{\prime})\,, (140) where \delta(t-t^{\prime}) on the r.h.s. indicates a representation of the \delta -function acting on the space of functions for which the Mellin transform and its inverse exist, see Appendix C . In this basis, the kernel of the Carleman operator can be written in the diagonal form A(t+t^{\prime})=\int_{-\infty}^{\infty}|\lambda_{s}|^{2}\,u_{s}(t)\,u_{s}^{\ast}(t^{\prime})\,ds\,. (141) Being the operator real, it is possible to choose a basis of real eigenfunctions \displaystyle u_{s}^{+}(t)=\frac{u_{s}(t)+u_{s}^{\ast}(t)}{\sqrt{2}}=\frac{\cos(s\log(t))}{\sqrt{\pi t}}\,, (142) \displaystyle u_{s}^{-}(t)=\frac{u_{s}(t)-u_{s}^{\ast}(t)}{\sqrt{2}i}=\frac{\sin(s\log(t))}{\sqrt{\pi t}}\,, (143) with s\in\mathbb{R}^{+} . These functions satisfy the orthogonality relations \int_{0}^{\infty}u_{s}^{\pm}(t)\,u_{s^{\prime}}^{\pm}(t)\,dt=\delta(s-s^{\prime})\,,\quad\int_{0}^{\infty}u_{s}^{\pm}(t)\,u_{s^{\prime}}^{\mp}(t)\,dt=0\,, (144) while their completeness stems from \int_{0}^{\infty}[u_{s}^{+}(t)u_{s}^{+}(t^{\prime})+u_{s}^{-}(t)u_{s}^{-}(t^{\prime})]\,ds=\delta(t-t^{\prime})\,. (145) In this basis, the kernel can be written as A(t+t^{\prime})=\int_{0}^{\infty}|\lambda_{s}|^{2}\Big[u_{s}^{+}(t)u_{s}^{+}(t^{\prime})+u_{s}^{-}(t)u_{s}^{-}(t^{\prime})\Big]\,ds\,, (146) making explicit the double degeneracy of the spectrum which originates from the fact that the kernel of A is singular when its argument approaches either zero or infinity, see for instance 28 ; 53 . Notice that, analogously to the case of the Fourier transform, the two ensembles of u_{s}^{+}(t) and u_{s}^{-}(t) are bases for the even and odd functions under the transformation t\rightarrow 1/t , respectively. Indeed, to break the degeneracy of the spectrum, one can introduce the additional operator \mathcal{G}(t,t^{\prime}) by starting from Eq. ( 138 ) and by performing the change of variable t^{\prime}\to 1/t^{\prime} on the l.h.s so to obtain 28 \int_{0}^{\infty}\mathcal{G}(t,t^{\prime})\,u_{s}^{\pm}(t^{\prime})\,dt^{\prime}=\pm|\lambda_{s}|^{2}\,u_{s}^{\pm}(t)\, (147) with \mathcal{G}(t,t^{\prime})=\frac{1}{1+tt^{\prime}}=\int_{0}^{\infty}|\lambda_{s}|^{2}\big[u_{s}^{+}(t)u_{s}^{+}(t^{\prime})-u_{s}^{-}(t)u_{s}^{-}(t^{\prime})\big]\,ds\,. (148) B.2 The quasi-Carleman operator for r=0 and \beta>0 For r=0 and \beta=t_{0}>0 , the kernel in Eq. ( 134 ) reads A(\omega+\omega^{\prime})=\frac{1}{\omega+\omega^{\prime}}\;e^{-t_{0}(\omega+\omega^{\prime})}=\int_{t_{0}}^{\infty}e^{-t(\omega+\omega^{\prime})}dt\,. (149) By defining \hat{u}_{s}(\omega,t_{0})=\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\ \frac{K_{is}(\omega t_{0})}{\sqrt{\omega}}\,,\qquad t_{0}>0\,,\qquad s\in{\mathbb{R}}^{+}\,, (150) where K_{\nu} is the modified Bessel function of the second kind 24 , from Eq. (6.627) of Ref. 24 it follows that \int_{0}^{\infty}\frac{1}{\omega+\omega^{\prime}}\;e^{-t_{0}(\omega+\omega^{\prime})}\,\hat{u}_{s}(\omega^{\prime},t_{0})\,d\omega^{\prime}=|\lambda_{s}|^{2}\hat{u}_{s}(\omega,t_{0})\,,\qquad\omega\geq 0\,,\;\;t_{0}>0\,. (151) The basis vectors \hat{u}_{s}(\omega,t_{0}) satisfy the orthonormality condition \int_{0}^{\infty}\hat{u}_{s}(\omega,t_{0})\,\hat{u}_{s^{\prime}}(\omega,t_{0})\,d\omega=\delta(s-s^{\prime})\,, (152) while their completeness stems from \int_{0}^{\infty}\hat{u}_{s}(\omega,t_{0})\,\hat{u}_{s}(\omega^{\prime},t_{0})\,ds=\delta(\omega-\omega^{\prime})\,\qquad\omega,\omega^{\prime}\geq 0\,, (153) where \delta(\omega-\omega^{\prime}) on the r.h.s. indicates a representation of the \delta -function acting on the space of functions for which the Kontorovich–Lebedev transform and its inverse exist, see Appendix C . The kernel of the quasi-Carleman operator in Eq. ( 149 ) can then be written in the diagonal form as A(\omega+\omega^{\prime})=\int_{0}^{\infty}|\lambda_{s}|^{2}\,\hat{u}_{s}(\omega,t_{0})\,\hat{u}_{s}(\omega^{\prime},t_{0})\,ds (154) making explicit the non-degeneracy of the spectrum. The Eq. ( 152 ) can be derived by starting from Eq. (6.576.4) of Ref. 24 which reads \int_{0}^{\infty}\frac{K_{is}(\omega)K_{is^{\prime}}(\omega)}{\omega^{1-\epsilon}}\,d\omega=\frac{2^{\epsilon-3}}{\Gamma(\epsilon)}\,\Big|\Gamma\Big(\frac{\epsilon+i(s+s^{\prime})}{2}\Big)\Big|^{2}\;\Big|\Gamma\Big(\frac{\epsilon+i(s-s^{\prime})}{2}\Big)\Big|^{2}\,. (155) By using \Gamma(z)=\Gamma(1+z)/z , |\Gamma(is)|^{2}=\pi/(s\sinh(\pi s)) , and by noticing that the ratio \epsilon/[\pi((s-s^{\prime})^{2}+\epsilon^{2})] is a representation of the \delta -function when \epsilon\rightarrow 0 , one arrives at 1 \lim_{\epsilon\rightarrow 0}\int_{0}^{\infty}\frac{K_{is}(\omega)K_{is^{\prime}}(\omega)}{\omega^{1-\epsilon}}\,d\omega=\frac{\pi^{2}}{2s\sinh(\pi s)}\delta(s-s^{\prime})\,, (156) from which it follows Eq. ( 152 ). To understand how Eq. ( 153 ) can be derived, we start by defining \displaystyle I_{\epsilon}(\omega,\omega^{\prime}) \displaystyle= \displaystyle\int_{0}^{\infty}e^{-\epsilon s}\,\hat{u}_{s}(\omega,t_{0})\,\hat{u}_{s}(\omega^{\prime},t_{0})\,ds (157) \displaystyle= \displaystyle\frac{2}{\pi^{2}\sqrt{\omega\omega^{\prime}}}\int_{0}^{\infty}e^{-\epsilon s}\,s\,\sinh(\pi s)K_{is}(\omega t_{0})\,K_{is}(\omega^{\prime}t_{0})\,ds and, by using both representations in Eq. (9.6.22) of Ref. 3 \displaystyle K_{\nu}(x) \displaystyle= \displaystyle\frac{1}{\cos(\pi\nu/2)}\int_{0}^{\infty}\cos(x\sinh z)\cosh(\nu z)\,dz (158) \displaystyle= \displaystyle\frac{1}{\sin(\pi\nu/2)}\int_{0}^{\infty}\sin(x\sinh z)\sinh(\nu z)\,dz\,, it follows that \displaystyle I_{\epsilon}(\omega,\omega^{\prime}) \displaystyle= \displaystyle\frac{2}{\pi^{2}\sqrt{\omega\omega^{\prime}}}\int_{0}^{\infty}dz\int_{0}^{\infty}dz^{\prime}\sin(\omega t_{0}\sinh z)\cos(\omega^{\prime}t_{0}\sinh z^{\prime})\times (159) \displaystyle\hskip 42.67912pt\times\int_{0}^{\infty}e^{-\epsilon s}s\Big[\sin(s(z+z^{\prime}))+\sin(s(z-z^{\prime}))\Big]ds\,. By noticing that \int_{0}^{\infty}e^{-\epsilon s}\,s\sin(\alpha s)\,ds=-\pi\frac{\partial}{\partial\alpha}\Big(\frac{\epsilon/\pi}{\alpha^{2}+\epsilon^{2}}\Big)\,, (160) and by choosing \alpha=z\pm z^{\prime} , by replacing the derivative with respect to \alpha with the one with respect to z , and by integrating by parts we then obtain \displaystyle I_{\epsilon}(\omega,\omega^{\prime}) \displaystyle= \displaystyle\frac{2t_{0}}{\pi}\sqrt{\frac{\omega}{\omega^{\prime}}}\int_{0}^{\infty}dz\int_{0}^{\infty}dz^{\prime}\cosh(z)\,\cos(\omega t_{0}\sinh z)\,\cos(\omega^{\prime}t_{0}\sinh z^{\prime})\,\times (161) \displaystyle\hskip 88.91486pt\times\Big[\,\frac{\epsilon/\pi}{(z+z^{\prime})^{2}+\epsilon^{2}}+\frac{\epsilon/\pi}{(z-z^{\prime})^{2}+\epsilon^{2}}\,\Big]\,. We can now take the limit \epsilon\rightarrow 0 to obtain \lim_{\epsilon\rightarrow 0}I_{\epsilon}(\omega,\omega^{\prime})=\frac{2t_{0}}{\pi}\sqrt{\frac{\omega}{\omega^{\prime}}}\int_{0}^{\infty}\cos(\omega t_{0}x)\cos(\omega^{\prime}t_{0}x)\,dx=\delta(\omega-\omega^{\prime})\,, (162) from which it follows Eq. ( 153 ). B.3 The quasi-Carleman operator for r>0 and \beta=0 For r=2t_{0}>0 and \beta=0 , the kernel in Eq. ( 134 ) reads A(t+t^{\prime})=\frac{1}{t+t^{\prime}+2t_{0}}=\int_{0}^{\infty}e^{-\omega(t+t^{\prime}+2t_{0})}\,d\omega\,,\qquad t,t^{\prime}\geq 0\,. (163) By defining \displaystyle\bar{u}_{s}(t,t_{0}) \displaystyle= \displaystyle\sqrt{\frac{s\tanh(\pi s)}{t_{0}}}\,P_{-\frac{1}{2}+is}\Big(\frac{t}{t_{0}}\Big) (164) \displaystyle= \displaystyle\sqrt{\frac{s\tanh(\pi s)}{t_{0}}}\,{}_{2}F_{1}\Big(\frac{1}{2}+is,\frac{1}{2}-is;1;\frac{t_{0}-t}{2t_{0}}\Big)\,,\;\;t\geq t_{0}>0\,\;\;s\in{\mathbb{R}}^{+}\,, where P_{\nu} is the Legendre function and {}_{2}F_{1} is the Gauss’s hypergeometric function 24 , it follows that \int_{0}^{\infty}\frac{1}{t+t^{\prime}+2\,t_{0}}\;\,\bar{u}_{s}(t^{\prime}+t_{0},t_{0})\,dt^{\prime}=|\lambda_{s}|^{2}\,\bar{u}_{s}(t+t_{0},t_{0})\,,\qquad t\geq 0\,, (165) or equivalently \int_{t_{0}}^{\infty}\frac{1}{t+t^{\prime}}\;\,\bar{u}_{s}(t^{\prime},t_{0})\,dt^{\prime}=|\lambda_{s}|^{2}\,\bar{u}_{s}(t,t_{0})\,,\qquad t\geq t_{0}\,. (166) The basis vectors \bar{u}_{s}(t,t_{0}) satisfy the orthonormality condition \int_{t_{0}}^{\infty}\bar{u}_{s}(t,t_{0})\,\bar{u}_{s^{\prime}}(t,t_{0})\,dt=\delta(s-s^{\prime})\,, (167) while their completeness stems from \int_{0}^{\infty}\bar{u}_{s}(t,t_{0})\,\bar{u}_{s}(t^{\prime},t_{0})\,ds=\delta(t-t^{\prime})\,,\qquad t,t^{\prime}\geq t_{0}>0\,, (168) where \delta(t-t^{\prime}) on the r.h.s. indicates a representation of the \delta -function acting on the space of functions for which the Mehler-Fock transform and its inverse exist, see Appendix C . In this basis, the kernel of the quasi-Carleman operator in Eq. ( 163 ) can be written in the diagonal form as A(t+t^{\prime})=\int_{0}^{\infty}|\lambda_{s}|^{2}\,\bar{u}_{s}(t,t_{0})\,\bar{u}_{s}(t^{\prime},t_{0})\,ds\,,\qquad t,t^{\prime}\geq t_{0}>0 (169) making explicit the non-degeneracy of the spectrum. The Eqs. ( 166 )-( 168 ) can be derived directly from the analogous ones ( 151 )-( 153 ) in the previous subsection by noticing that, see Eqs. (6.621.3), (8.82) and (8.82.7) in Ref. 24 and Eq. (15.3.4) in Ref. 3 , the \bar{u}_{s}(t,t_{0}) is the Laplace transform of \hat{u}_{s}(\omega,t_{0}) , i.e. \int_{0}^{\infty}\,e^{-t\omega}\hat{u}_{s}(\omega,t_{0})\,d\omega=|\lambda_{s}|\,\bar{u}_{s}(t,t_{0})\,. (170) By computing an incomplete Laplace transform of the two sides of Eq. ( 170 ), and by using Eqs. ( 149 ) and Eq. ( 151 ), it follows that \int_{t_{0}}^{\infty}e^{-\omega t}\,\bar{u}_{s}(t,t_{0})\,dt=|\lambda_{s}|\,\hat{u}_{s}(\omega,t_{0})\,. (171) The Eq. ( 166 ) can be derived 18 18 18 A direct derivation can also be obtained by using Eq. ( 164 ) and Eq. (7.512.10) in Ref. 24 . by performing the Laplace transform of both sides of Eq. ( 151 ), and then by using Eq. ( 149 ). The Eq. ( 167 ) is obtained by writing each of the \bar{u}_{s}(t,t_{0}) as in Eq. ( 170 ), and then by using Eqs. ( 149 ) and ( 151 ). A similar procedure applies to derive Eq. ( 168 ) from Eq. ( 153 ). For completeness we notice that Eqs. ( 167 ) and ( 168 ) can also be obtained with a derivation analogous to the one in Eqs. ( 155 )–( 162 ) 48 . Appendix C Integral transforms In this appendix we collect a few textbook formulas on the integral transforms that are used in the paper. C.1 Mellin transform Given a function f(x) which is piecewise continuous for x\in{\mathbb{R}}^{+} and is of bounded variation in every finite subinterval, its Mellin transform 19 19 19 With respect to the most common definition, we introduce a normalization factor 1/\sqrt{2\pi} . reads 52 ; 17 \tilde{f}_{\bf s}=\frac{1}{\sqrt{2\pi}}\int_{0}^{\infty}f(x)\,x^{{\bf s}-1}dx=\int_{0}^{\infty}f(x)\,x^{q-1/2}u_{s}(x)dx\,, (172) where {\bf s}\in{\mathbb{C}} is often defined as {\bf s}=q+is with q,s\in{\mathbb{R}} , while u_{s}(x) is given in Eq.( 136 ). If \lim_{x\rightarrow 0^{+}}f(x)=O(x^{-u})\,,\qquad\lim_{x\rightarrow+\infty}f(x)=O(x^{-v})\,, (173) then \tilde{f}_{\bf s} exists in the “fundamental” open strip of the complex plane q\in(u,v) , \tilde{f}_{\bf s} depends analytically on {\bf s} in that strip, and then the inversion formula reads 20 20 20 For functions which are L^{2}(\mathbb{R}^{+}) , the u_{s}(x) are the basis functions of choice and q=1/2 . f(x)=\frac{1}{\sqrt{2\pi}i}\int_{q-i\infty}^{q+i\infty}\tilde{f}_{\bf s}\,x^{-{\bf s}}d{\bf s}=x^{1/2-q}\int_{-\infty}^{+\infty}\tilde{f}_{\bf s}\,u^{*}_{s}(x)ds\,,\qquad q\in(u,v)\,.\\ (174) One important property of the Mellin transform is the rescaling rule which states that the transform of g(x)=f(\mu x) is \tilde{g}_{\bf s}=\frac{1}{\mu^{{\bf s}}}\tilde{f}_{\bf s}\,,\qquad\mu>0\,. (175) As an example relevant for this paper, the Mellin transform of the simple exponential f(x)=\operatorname{exp}\left\{-x\right\}\quad{\rm is}\quad\tilde{f}_{\bf s}=\frac{\Gamma({\bf s})}{\sqrt{2\pi}}\,, (176) and is defined in the strip q\in(0,+\infty) . C.2 Kontorovich–Lebedev transform The Kontorovich–Lebedev transform of a function f(\omega) is defined as 21 21 21 With respect to the standard definition which assumes t_{0}=1 , we let the value of t_{0}>0 be generic and leave the dependence on it implicit for the clarity of the presentation. 33 ; 34 ; 37 ; 23 \hat{f}_{s}=\int_{0}^{\infty}f(\omega)\,\hat{u}_{s}(\omega,t_{0})d\omega\,,\qquad s\in{\mathbb{R}}^{+}\, (177) where \hat{u}_{s}(\omega,t_{0}) is defined in Eq. ( 150 ). If f(\omega) , defined for \omega\in{\mathbb{R}}^{+} , is piecewise continuous, of bounded variation in every finite subinterval, and it satisfies \lim_{\omega\rightarrow 0^{+}}f(\omega)=O(\omega^{-u})\,,\qquad\lim_{\omega\rightarrow+\infty}f(\omega)=O(\omega^{-v})\,, (178) then \hat{f}_{s} and the pointwise inversion formula exist if u<1/2 and v>1 37 . By using the completeness relation of the basis functions ( 153 ), the inversion formula then reads f(\omega)=\int_{0}^{\infty}\,\hat{f}_{s}\,\hat{u}_{s}(\omega,t_{0})\,ds\,,\qquad t_{0}>0\,. (179) As a consequence, the functions which satisfy the conditions above are L^{2}(\mathbb{R}^{+}) but the viceversa in not true, i.e. not all the functions in L^{2}(\mathbb{R}^{+}) admit the inverse of the Kontorovich–Lebedev transform which requires a stronger convergence to zero at infinity. C.3 Mehler-Fock transform The Mehler-Fock transform of a function f(t) 40 ; 18 ; 37 ; 23 is defined as 22 22 22 We let again the value of t_{0}>0 be generic and leave the dependence on it implicit. \bar{f}_{s}=\int_{t_{0}}^{\infty}f(t)\,\bar{u}_{s}(t,t_{0})\,dt\,,\qquad s\in{\mathbb{R}}^{+}\,, (180) where \bar{u}_{s}(t,t_{0}) is defined in Eq. ( 164 ). If f(t) , defined for t\geq t_{0} , is piecewise continuous, of bounded variation in every finite subinterval, and it satisfies \lim_{t\rightarrow t_{0}^{+}}f(t)=O((t-t_{0})^{-u})\,,\qquad\lim_{t\rightarrow+\infty}f(t)=O(t^{-v})\,, (181) then \bar{f}_{s} and the pointwise inversion formula exist if u<1/4 and v>1/2 37 . By using the completeness relation of the basis functions ( 168 ), the inversion formula then reads f(t)=\int_{0}^{\infty}\bar{f}_{s}\,\bar{u}_{s}(t,t_{0})\,ds\,. (182) As a consequence, the functions which satisfy the conditions above are L^{2}(t_{0},\infty) but the viceversa in not true, i.e. not all the functions in L^{2}(t_{0},\infty) admit the inverse of the Mehler-Fock transform which requires a weaker divergence in t_{0} . Appendix D Quasi-Carleman operators on discrete With the intent of studying the discretized counterpart of the quasi-Carleman operators introduced in Appendix B , here we summarize known facts of the infinite Hilbert matrix 39 ; 46 ; 47 from which we derive properties of the discretized quasi-Carleman operators of interest for this paper. D.1 Hilbert matrix The infinite Hilbert matrix \mathcal{A}_{nn^{\prime}}=\frac{1}{n+n^{\prime}+\lambda}\,,\qquad n,n^{\prime}=0,1,2,\dots\,,\quad\lambda\in{\mathbb{R}}\,,\quad\lambda\neq 0,-1,-2,\dots (183) can be regarded as an operator acting on \ell^{2}(\mathbb{Z}^{+}) . We begin from its diagonalization 27 \sum_{n^{\prime}=0}^{\infty}A_{nn^{\prime}}\,x_{n^{\prime}}(\lambda,\mu)=\frac{\pi}{\sin(\pi\mu)}\,x_{n}(\lambda,\mu)\,, (184) where 0<{\rm Re}\,\mu\leq 1/2 , with the components of the eigenvectors given by x_{n}(\lambda,\mu)=\sum_{k=0}^{n}\binom{n}{k}(-1)^{k}\,\frac{\Gamma(k+\mu)\Gamma(k+1-\mu)}{\Gamma(k+\lambda)\Gamma(k+1)}\,,\qquad n=0,1,2,\dots\,. (185) By noticing that \binom{n}{k}(-1)^{k}=\frac{(-n)_{k}}{k!}=\frac{1}{k!}(-n)(-n+1)\dots(-n+k-1)\,, (186) with the rising factorial (Pochhammer symbol) defined as (x)_{k}=x\,(x+1)\dots(x+k-1)\,, (187) and by using the definition of the generalized hypergeometric series in Eq. (9.14.1) of Ref. 24 , it is easy to show that x_{n}(\lambda,\mu)=\frac{\Gamma(1-\mu)\Gamma(\mu)}{\Gamma(\lambda)}\ {}_{3}F_{2}(-n,\mu,1-\mu;1,\lambda;1)\,. (188) For the case of interest, \mu=\frac{1}{2}+is , the eigenvalues in Eq. ( 184 ) coincide with those in the continuum, i.e. \pi/\sin(\pi\mu)=|\lambda_{s}|^{2} , see Eq. ( 138 ). To verify the completeness of the basis of eigenvectors, we notice that the x_{n}(\lambda,\frac{1}{2}+is) are related to the so-called continuous dual Hahn polynomials, defined as 32 ; 43 ; 35 S_{n}(s^{2};a,b,c)=(a+b)_{n}(a+c)_{n}\;{}_{3}F_{2}(-n,a+is,a-is;a+b,a+c,1)\,. (189) They satisfy the orthogonality relation, see for instance Ref. 32 , \displaystyle\frac{1}{2\pi}\int_{0}^{\infty}ds\,|W_{s}(a,b,c)|^{2} \displaystyle S_{m}(s^{2};a,b,c)\,S_{n}(s^{2};a,b,c) (190) \displaystyle=n!\,\Gamma(n+a+b)\Gamma(n+a+c)\Gamma(n+b+c)\,\delta_{nm}\,, with W_{s}(a,b,c)=\frac{\Gamma(a+is)\Gamma(b+is)\Gamma(c+is)}{\Gamma(2is)}\,. (191) By choosing a=b=1/2 and c=\lambda-1/2 , we obtain the completeness relation for the normalized eigenvectors of the Hilbert matrix \frac{1}{2\pi}\int_{0}^{\infty}\Big|\frac{\Gamma(\lambda-1/2+is)}{\Gamma(2is)}\Big|^{2}x_{n}\big(\lambda,\frac{1}{2}+is\big)\,x_{m}\big(\lambda,\frac{1}{2}+is\big)\,ds=\delta_{nm}\,, (192) from which one can verify explicitly the orthogonality condition \sum_{n=0}^{\infty}x_{n}\big(\lambda,\frac{1}{2}+is\big)\,x_{n}\big(\lambda,\frac{1}{2}+is^{\prime}\big)=2\pi\Big|\frac{\Gamma(2is)}{\Gamma(\lambda-1/2+is)}\Big|^{2}\delta(s-s^{\prime})\,. (193) D.2 Discretized quasi-Carleman operator for r>0 and \beta=0 We consider the discretization of the kernel of the quasi-Carleman operator in Eq. ( 163 ) defined as \mathcal{A}(n+n^{\prime})=\frac{1}{a(n+n^{\prime})+2t_{0}}=\int_{0}^{\infty}e^{-\omega(an+an^{\prime}+2t_{0})}\,d\omega\,,\quad(n,n^{\prime}=0,1,2,\dots)\,, (194) where a is the lattice spacing. By using Eq. ( 184 ), we obtain a\!\!\sum_{n^{\prime}=0}^{\infty}\mathcal{A}(n+n^{\prime})\,\overline{v}_{s}(n^{\prime},t_{0},a)=\!\!\sum_{n^{\prime}=0}^{\infty}\frac{1}{n+n^{\prime}+2t_{0}/a}\,\overline{v}_{s}(n^{\prime},t_{0},a)=|\lambda_{s}|^{2}\,\overline{v}_{s}(n,t_{0},a)\,, (195) with s\in\mathbb{R}^{+} and, thanks to Eqs. ( 188 ), ( 193 ), and ( 194 ), the eigenvectors are given by \overline{v}_{s}(n,t_{0},a)=\sqrt{\frac{s\tanh(\pi s)}{t_{0}}}\,\frac{\big|\Gamma(2t_{0}/a\!-\!1/2\!+\!is)\big|}{\sqrt{a/(2t_{0})}\,\Gamma(2t_{0}/a)}\,{}_{3}F_{2}\Big(-n,\frac{1}{2}\!+\!is,\frac{1}{2}\!-\!is;1,\frac{2t_{0}}{a};1\Big)\,. (196) The Eq. ( 195 ) is the discretized version of Eq. ( 165 ) that we adopt. As expected, the eigenvalues of \mathcal{A} coincide with those in the continuum, i.e. |\lambda_{s}|^{2} , since for 2t_{0}=a the matrix \mathcal{A}(n+n^{\prime}) corresponds to a discrete representation of the quasi-Carleman operator in Eq. ( 149 ), see Ref. 55 for a recent review. Thanks to Eqs. ( 192 ) and ( 193 ), the following completeness and orthogonality conditions hold \int_{0}^{\infty}\overline{v}_{s}(n,t_{0},a)\overline{v}_{s}(n^{\prime},t_{0},a)\,ds=a^{-1}\delta_{nn^{\prime}}\,,\quad a\sum_{n=0}^{\infty}\overline{v}_{s}(n,t_{0},a)\overline{v}_{s^{\prime}}(n,t_{0},a)=\delta(s-s^{\prime})\,. (197) Continuum limit at fixed t_{0} We study the approach to the continuum limit of \overline{v}_{s}(n,t_{0},a) when t_{0} and t=an+t_{0} are kept constant. To this aim, we begin with the representation of the generalized hypergeometric series in Eq. (2.2.2) of Ref. 6 \hskip-7.11317pt{}_{3}F_{2}\Big(\lambda z,\frac{1}{2}\!+\!is,\frac{1}{2}\!-\!is;1,\lambda;1\Big)\!=\!\frac{1}{|\lambda_{s}|^{2}}\int_{0}^{1}\!\!\!x^{-\frac{1}{2}-is}(1\!-\!x)^{-\frac{1}{2}+is}{}_{2}F_{1}\Big(\lambda z,\frac{1}{2}\!+\!is;\lambda;x\Big)\,dx\,, (198) where \lambda=2t_{0}/a and z=(t-t_{0})/(2t_{0}) . We then represent the Gauss hypergeometric function as in Eq. (3.197.1) of Ref. 24 , but with the change of integration variable y\rightarrow y/(1-x) , i.e. \hskip-7.11317pt{}_{2}F_{1}\Big(\lambda z,\frac{1}{2}\!+\!is;\lambda;x\Big)=\frac{\Gamma(\lambda)}{\lambda_{s}\Gamma(\lambda\!-\!\frac{1}{2}\!-\!is)}\int_{0}^{\infty}\!\!\!\!y^{-\frac{1}{2}+is}\,e^{-\lambda[z\log(1+(1-x)y)+(1-z)\log(1+y)]}\,dy\,. (199) By noticing that the expression in the squared brackets at the exponent, for z<0 and x\in(0,1) , has its minimum for y=0 , we use the Laplace method at the next-to-leading order in 1/\lambda to obtain \displaystyle\hskip-21.33955pt{}_{2}F_{1}\Big(\lambda z,\frac{1}{2}+is;\lambda;x\Big)=\frac{\Gamma(\lambda)\lambda^{-\frac{1}{2}-is}}{\Gamma(\lambda\!-\!\frac{1}{2}\!-\!is)}\times \displaystyle\times\Big\{\Big[1+\frac{1}{2\lambda}\,\Big[\frac{3}{4}+2is-s^{2}+z(1-z)\frac{\partial^{2}}{\partial z^{2}}\Big]\Big]\,(1-xz)^{-\frac{1}{2}-is}+O\Big(\frac{1}{\lambda^{2}}\Big)\Big\}\,. (200) By inserting this equation in Eq. ( 198 ), using Eq. (9.111) in Ref. 24 , and then plugging in the result in Eq. ( 196 ), we obtain \overline{v}_{s}(n,t_{0},a)=\frac{|\Gamma(\lambda-\frac{1}{2}+is)|}{\Gamma(\lambda-\frac{1}{2}-is)}\lambda^{-is}\Big\{\Big[1+\frac{1}{2\lambda}\Big[1+2is+2t\frac{\partial}{\partial t}\Big]\Big]\,\bar{u}_{s}(t,t_{0})+O\Big(\frac{1}{\lambda^{2}}\Big)\Big\}\,, (201) where t=an+t_{0} and we have used the differential equation for the Legendre functions in Eq. (8.1.1) of Ref. 3 \Big[(t_{0}^{2}-t^{2})\frac{\partial^{2}}{\partial t^{2}}-2t\frac{\partial}{\partial t}-\frac{1}{4}-s^{2}\Big]\,\bar{u}_{s}(t,t_{0})=0\,. (202) By using Eqs. (6.1.27) and (6.3.18) of Ref. 3 we obtain \frac{|\Gamma(\lambda-\frac{1}{2}+is)|}{\Gamma(\lambda-\frac{1}{2}-is)}\lambda^{-is}=1-\frac{is}{\lambda}+O\Big(\frac{1}{\lambda^{2}}\Big)\,, (203) which finally leads to \overline{v}_{s}(n,t_{0},a)=\Big\{1+\frac{a}{4t_{0}}\,\Big[1+2t\frac{\partial}{\partial t}\Big]\Big\}\,\bar{u}_{s}(t,t_{0})+O(a^{2})\,, (204) from which the derivative of \overline{v}_{s}(n,t_{0},a) with respect to a in the limit a\rightarrow 0 is readily obtained. As expected the basis vectors \overline{v}_{s}(n,t_{0},a) tend to the continuum ones \bar{u}_{s}(t,t_{0}) , whereas discretization effects start at O(a) . D.3 Discretized quasi-Carleman operator for r=0 and \beta>0 By adopting a naive discretization of the integral on the r.h.s of Eq. ( 149 ), the kernel of that quasi-Carleman operator is modified as \mathcal{A}(\omega+\omega^{\prime})=\frac{a\,e^{-t_{0}(\omega+\omega^{\prime})}}{1-e^{-a(\omega+\omega^{\prime})}}=a\sum_{n=0}^{\infty}e^{-(an+t_{0})(\omega+\omega^{\prime})}\,. (205) The Eq. ( 151 ) is then replaced by \int_{0}^{\infty}\frac{a\,e^{-t_{0}(\omega+\omega^{\prime})}}{1-e^{-a(\omega+\omega^{\prime})}}\,\hat{v}_{s}(\omega^{\prime},t_{0},a)\,d\omega^{\prime}=|\lambda_{s}|^{2}\hat{v}_{s}(\omega,t_{0},a)\,,\qquad\omega\geq 0\,,\;\;t_{0}>0\,, (206) with the eigenfunctions given by \displaystyle\hat{v}_{s}(\omega,t_{0},a) \displaystyle= \displaystyle\frac{\sqrt{2s\sinh(\pi s)}}{\pi}\frac{\big|\Gamma(2t_{0}/a\!-\!1/2\!+\!is)\big|}{\sqrt{a/(2t_{0})}\,\Gamma(2t_{0}/a)}\,\times (207) \displaystyle\times\sqrt{\frac{\pi}{2t_{0}}}\,e^{-\omega t_{0}}\,\frac{a}{1-e^{-a\omega}}\;{}_{2}F_{1}\Big(\frac{1}{2}+is,\frac{1}{2}-is;\frac{2t_{0}}{a};-\frac{e^{-a\omega}}{1-e^{-a\omega}}\Big)\,. The \hat{v}_{s}(\omega,t_{0},a) and \overline{v}_{s}(t,t_{0},a) are related by the equation a\sum_{n=0}^{\infty}e^{-\omega(an+t_{0})}\,\bar{v}_{s}(n,t_{0},a)=|\lambda_{s}|\hat{v}_{s}(\omega,t_{0},a)\, (208) which is a discretized version of the Laplace transform in Eq. ( 171 ). It can be derived by combining Eqs. ( 185 ) and ( 188 ) so to have \displaystyle\sum_{n=0}^{\infty}\zeta^{n}\,{}_{3}F_{2}(-n,\mu,1\!-\!\mu;1,\lambda;1)\! \displaystyle= \displaystyle\!\frac{\Gamma(\lambda)}{\Gamma(1\!-\!\mu)\Gamma(\mu)}\sum_{k=0}^{\infty}(-1)^{k}\,\frac{\Gamma(k\!+\!\mu)\Gamma(k\!+\!1\!-\!\mu)}{\Gamma(k\!+\!\lambda)\Gamma(k\!+\!1)}\sum_{n=k}^{\infty}\binom{n}{k}\zeta^{n} (209) \displaystyle= \displaystyle\frac{1}{1-\zeta}\;{}_{2}F_{1}\Big(\mu,1-\mu;\lambda;-\frac{\zeta}{1-\zeta}\Big)\,, where we have used the identity \sum_{n=k}^{\infty}\binom{n}{k}\zeta^{n}=\frac{\zeta^{k}}{(1-\zeta)^{k+1}} (210) obtained by deriving k times the summation of the geometric series with respect to \zeta . Then Eq. ( 207 ) is obtained from Eqs. (15.1.1) in Ref. 3 by choosing \zeta=e^{-a\omega} . The Eq. ( 206 ) can easily be derived by starting from Eq. ( 195 ), by representing the kernel as on the r.h.s of Eq. ( 194 ), then by performing a discrete Laplace transform on both sides of the equation, and finally by using Eq. ( 205 ). By performing the Laplace transform on both sides of Eq. ( 208 ), and by using Eqs. ( 194 ) and Eq. ( 195 ) it follows that \int_{0}^{\infty}e^{-(an+t_{0})\omega}\,\hat{v}_{s}(\omega,t_{0},a)\,d\omega\,=|\lambda_{s}|\,\bar{v}_{s}(n,t_{0},a)\,, (211) the analogous of Eq. ( 170 ). By using Eqs. ( 194 ) and ( 195 ), and the completeness and orthonormality conditions in Eq. ( 197 ) it follows that \hskip-7.11317pt\int_{0}^{\infty}\!\!\!\hat{v}_{s}(\omega,t_{0},a)\,\hat{v}_{s^{\prime}}(\omega,t_{0},a)\,d\omega=\delta(s-s^{\prime})\,,\;\;\int_{0}^{\infty}\!\!\!\hat{v}_{s}(\omega,t_{0},a)\,\hat{v}_{s}(\omega^{\prime},t_{0},a)\,ds=\delta(\omega-\omega^{\prime})\,, (212) where \delta(\omega-\omega^{\prime}) on the r.h.s. indicates a representation of the \delta -function acting on the space of functions for which Eq. ( 76 ) can be uniquely inverted. Continuum limit at fixed t_{0} To study the approach to the continuum limit of the functions \hat{v}_{s}(\omega,t_{0},a) defined in Eq. ( 207 ), we start from Eq. (15.4.16) of Ref. 3 which, by defining \lambda=2t_{0}/a , reads {}_{2}F_{1}\Big(\frac{1}{2}+is,\frac{1}{2}-is;\lambda;-\frac{e^{-2\omega t_{0}/\lambda}}{1-e^{-2\omega t_{0}/\lambda}}\Big)=\Gamma(\lambda)\,e^{\omega t_{0}}\,e^{-\omega t_{0}/\lambda}\,P^{1-\lambda}_{-\frac{1}{2}-is}\Big(\coth\Big(\frac{\omega t_{0}}{\lambda}\Big)\Big)\,. (213) Thanks to Eq. (8.713.3) of Ref. 24 , the associated Legendre function of first kind can be represented as P^{1-\lambda}_{-\frac{1}{2}-is}(z)=\sqrt{\frac{2}{\pi}}\,\frac{\Gamma(\bar{\lambda})}{|\Gamma(\bar{\lambda}-is)|^{2}}\,J(z,\bar{\lambda})\,,\quad\bar{\lambda}=\lambda-\frac{1}{2}\,,\quad z=\coth\Big(\frac{\omega t_{0}}{\lambda}\Big)\,, (214) where \quad J(z,\bar{\lambda})=(z^{2}-1)^{\frac{\bar{\lambda}}{2}-\frac{1}{4}}\,\int_{0}^{\infty}\cosh(isx)\,e^{-\bar{\lambda}\log(z+\cosh x)}\,dx\,. (215) By defining y^{2}=(\cosh x-1) , then J(z,\bar{\lambda})=2\,(z^{2}-1)^{\frac{\bar{\lambda}}{2}-\frac{1}{4}}\int_{0}^{\infty}\cosh(isx(y))\,e^{-\bar{\lambda}\log(z+1+y^{2})}\,\frac{dy}{\sqrt{2+y^{2}}}\,, (216) and by using the Laplace method at the next-to-leading order in 1/\bar{\lambda} we obtain \displaystyle\hskip-7.11317ptJ(z,\bar{\lambda}) \displaystyle= \displaystyle(z^{2}-1)^{\frac{\bar{\lambda}}{2}-\frac{1}{4}}\,(z+1)^{-\bar{\lambda}}\,e^{\alpha}\times (217) \displaystyle\times\Big\{\Big[1+\frac{\bar{\lambda}}{2(z+1)^{2}}\Big[1+2\frac{\partial}{\partial\alpha}+\frac{\partial^{2}}{\partial\alpha^{2}}\Big]\Big]K_{is}(\alpha)\Big|_{\alpha=\frac{\bar{\lambda}}{z+1}}+O\Big(\frac{1}{\lambda^{2}}\Big)\Big\}\,, where we have used the integral representation of the modified Bessel function in Eq. (9.6.24) of Ref. 3 K_{is}(\alpha)=\int_{0}^{\infty}\cosh(isx)\,e^{-\alpha\cosh x}\,dx\,. (218) By expanding the various terms in 1/\lambda , we obtain J(z,\bar{\lambda})=\sqrt{\frac{t_{0}}{\lambda}}\,\Big\{\omega\,\Big[1-\frac{1}{2\lambda}\Big[1+s^{2}+2\omega\frac{\partial}{\partial\omega}\Big]\Big]\frac{K_{is}(\omega t_{0})}{\sqrt{\omega}}+O\Big(\frac{1}{\lambda^{2}}\Big)\Big\}\,, (219) where we have used the differential equation for the modified Bessel function in Eq. (9.6.1) of Ref. 3 \Big[\omega^{2}\frac{\partial^{2}}{\partial\omega^{2}}+\omega\frac{\partial}{\partial\omega}-(\omega t_{0})^{2}+s^{2}\Big]\,K_{is}(\omega t_{0})=0\,. (220) By expanding at the next-to-leading order in 1/\lambda the prefactors in Eqs. ( 207 ) and ( 214 ), and by setting \lambda=2t_{0}/a we finally obtain \hat{v}_{s}(\omega,t_{0},a)=\Big\{1-\frac{a}{4t_{0}}\,\Big[1+2\omega\frac{\partial}{\partial\omega}\Big]\Big\}\,\hat{u}_{s}(\omega,t_{0})+O(a^{2})\,, (221) from which the derivative of \hat{v}_{s}(\omega,t_{0},a) with respect to a in the limit a\rightarrow 0 is readily obtained. As expected the basis vectors \hat{v}_{s}(\omega,t_{0},a) tend to the continuum ones \hat{u}_{s}(\omega,t_{0}) , whereas discretization effects start at O(a) . As further checks, we have verified that, order by order, the r.h.s. of Eq. ( 204 ) is obtained from the r.h.s. of Eq. ( 221 ) by using Eq. ( 211 ) and viceversa by using Eq. ( 208 ). Appendix E Alternative strategy for (smeared) regulated spectral densities In this appendix, we present an alternative method to compute the regulated spectral density \rho_{m}(\omega) . The idea is to modify the ultraviolet behavior of C(t) so that, in the presence of a mass gap, the modified correlation function C_{(m)}(t)=C(t)\,t^{m}=\int_{0}^{\infty}\rho(\omega)\,\Big(-\frac{\partial}{\partial\omega}\Big)^{m}e^{-\omega t}\,d\omega=\int_{0}^{\infty}\rho_{(m)}(\omega)\,e^{-\omega t}\,d\omega (222) is associated to the spectral density {\rho}_{(m)}(\omega)=\frac{\partial^{m}}{\partial\omega^{m}}\big[\rho(\omega)\big]=\frac{\partial^{m}}{\partial\omega^{m}}\big[\omega^{m}\rho_{m}(\omega)\big]\,. (223) This relation can be inverted similarly to Eq. ( 31 ). By noticing that, in the presence of a mass gap, \rho_{m}(\omega) and its derivatives vanish at \omega=0 , then the regulated spectral density can be obtained as \rho_{m}(\omega)=\frac{1}{\Gamma(m)\,\omega^{m}}\int_{0}^{\omega}{\rho}_{(m)}(\omega^{\prime})\,(\omega-\omega^{\prime})^{m-1}d\omega^{\prime}\,\,. (224) The smeared spectral density \rho_{\kappa;m} , see Eq. ( 40 ), directly follows from integrating \rho_{m}(\omega) , written as in Eq. ( 224 ), with \kappa(\omega) \rho_{\kappa;m}=\int_{0}^{\infty}\rho_{(m)}(\omega)\kappa_{(m)}(\omega)\,d\omega\,, (225) where \kappa_{(m)}(\omega)=\frac{1}{\Gamma(m)}\int_{\omega}^{\infty}\kappa(\omega^{\prime})\frac{(\omega^{\prime}-\omega)^{m-1}}{\omega^{{}^{\prime}m}}\,d\omega^{\prime}\,. (226) For the Breit-Wigner kernel considered in this work, see Eq. ( 43 ), this integral amounts to \kappa_{(m)}(\omega)=\frac{1}{\pi\,\Gamma(1+m)\,\omega}\,\text{Im}\left\{{}_{2}F_{1}\left(1,1;1+m;\frac{\omega_{\ast}+i\sigma}{\omega}\right)\right\}\,, (227) where in the derivation Eqs. (3.197.2) and (15.3.3) of Refs. 24 and 3 have been used, respectively.