Probability distributions of the order parameter of the O ⁡ ( N ) O(N) model A. Rançon, B. Delamotte, L. Šaravanja, I. Balog Abstract We study the probability distribution function (PDF) of the order parameter of the three-dimensional O ⁡ ( N ) O(N) model at criticality using the functional renormalisation group. For this purpose, we generalize the method introduced in [Balog et al., Phys. Rev. Lett. 129 , 210602 (2022)] to the O ⁡ ( N ) O(N) model. We study the large N N limit, as well as the cases N = 2 N=2 and N = 3 N=3 at the level of the Local Potential Approximation (LPA), and compare our results to Monte Carlo simulations. We compute the entire family of universal scaling functions, obtained in the limit where the system size L L and the correlation length of the infinite system ξ ∞ \xi_{\infty} diverge, with the ratio ζ = L / ξ ∞ \zeta=L/\xi_{\infty} constant. We also generalize our results to the approach of criticality from the low-temperature phase where another infinite family of universal PDF exists. We find that the LPA describes very well the functional form of the family of PDFs, once we correct for a global amplitude of the (logarithm of the) PDF and of ζ \zeta . I Introduction The emergence of universal behavior from strong correlations has intrigued physicists for decades. Near a continuous phase transition, the divergence of the correlation length effectively erases most microscopic details, leaving the system characterized by universal behaviors at large scales. These manifest as scaling laws for most observables. Crucially, broad classes of systems, categorized by factors such as the symmetry of the order parameter, dimensionality, and other global properties, exhibit identical universal properties. Furthermore, the diverging correlation length implies that the system’s microscopic degrees of freedom are strongly correlated. This implies that close to criticality, the probability distribution function (PDF) of the order parameter can be non-Gaussian. For a model involving a N -component microscopic field \hat{\bm{\phi}} and described by a Hamiltonian {\cal H} , this PDF of a d -dimensional system of size L is given by P(\hat{\mathbf{s}}=\mathbf{s})=\mathcal{N}\int\mathcal{D}\hat{\bm{\phi}}\,\delta\left(\mathbf{s}-\hat{\mathbf{s}}\right)\exp(-{\cal H}[\hat{\bm{\phi}}]/T), (1) where \hat{\mathbf{s}}=L^{-d}\int_{\textbf{x}}\hat{\bm{\phi}}(\textbf{x}) is the total spin per unit volume, L the system size and \mathcal{N} a normalization factor. We focus here on systems with short-range interactions in dimension 22 , there is a second-order phase transition between a ferromagnetic ( \langle\hat{\bm{\phi}}\rangle\neq 0 ) and a paramagnetic ( \langle\hat{\bm{\phi}}\rangle=0 ) phase when tuning the potential (e.g. r_{0} at fixed u_{0} ). Here, averages are performed using \exp(-\mathcal{H}) as a Boltzmann weight. The generating functional of correlation functions of the O(N) model is defined as \begin{split}\mathcal{Z}[\mathbf{h}]=\int\mathcal{D}\hat{\bm{\phi}}\,e^{-\mathcal{H}[\hat{\bm{\phi}}]+\int_{\textbf{x}}\mathbf{h}.\hat{\bm{\phi}}}.\end{split} (5) In the large N limit, it is convenient to introduce two auxiliary fields \lambda(\textbf{x}) and \hat{\rho}(\textbf{x}) such that 1=\int\mathcal{D}\lambda\mathcal{D}\hat{\rho}\,\exp\left\{-i\int_{\textbf{x}}\lambda\left(\frac{\hat{\bm{\phi}}^{2}}{2}-\hat{\rho}\right)\right\} (6) allowing us to reexpress the partition function of the O(N) model as \begin{split}\mathcal{Z}[\mathbf{h}]=\int\mathcal{D}\hat{\bm{\phi}}\mathcal{D}\lambda\mathcal{D}\hat{\rho}\,e^{-\int_{\textbf{x}}\left(\frac{(\nabla\hat{\bm{\phi}})^{2}}{2}+i\lambda\frac{\hat{\bm{\phi}}^{2}}{2}\right)-\int_{\textbf{x}}\left(V(\hat{\rho})-i\lambda\hat{\rho}\right)+\int_{\textbf{x}}\mathbf{h}.\hat{\bm{\phi}}}.\end{split} (7) Writing the field \hat{\bm{\phi}}=(\hat{\sigma},\hat{\bm{\pi}}) , with the \hat{\sigma} direction along \mathbf{h} , and integrating out the \hat{\bm{\pi}} fields, we finally obtain \mathcal{Z}[\mathbf{h}]=\int\mathcal{D}\hat{\sigma}\mathcal{D}\lambda\mathcal{D}\hat{\rho}\,e^{-\mathcal{H}_{\rm eff}[\hat{\sigma},\lambda,\hat{\rho}]+\int_{\textbf{x}}h\hat{\sigma}}, (8) with \mathcal{H}_{\rm eff}[\hat{\sigma},\lambda,\hat{\rho}]=\int_{\textbf{x}}\left(\frac{(\nabla\hat{\sigma})^{2}}{2}+i\lambda\frac{\hat{\sigma}^{2}}{2}\right)+\int_{\textbf{x}}\left(V(\hat{\rho})-i\lambda\hat{\rho}\right)+\frac{N-1}{2}{\rm Tr}\log(g_{\pi}^{-1}), (9) and with the correlation function g_{\pi} of the \hat{\bm{\pi}} fields satisfying (-\nabla^{2}+i\lambda(\textbf{x}))g_{\pi}(\textbf{x},\textbf{y})=\delta(\textbf{x}-\textbf{y}) . We aim at computing the effective action \Gamma[\bm{\phi}] (or Gibbs free energy), the Legendre transform of \ln\mathcal{Z}[\mathbf{h}] with respect to \mathbf{h} , i.e. \Gamma[\bm{\phi}]=-\ln\mathcal{Z}[\mathbf{h}]+\int_{\textbf{x}}\mathbf{h}.\bm{\phi}, (10) with \bm{\phi}(\textbf{x})=\langle\hat{\bm{\phi}}(\textbf{x})\rangle the magnetization in presence of the magnetic field \mathbf{h} . Assuming that \hat{\sigma}\sim\sqrt{N} , \hat{\rho}\sim N,\lambda\sim 1 and V(\hat{\rho})\sim N for N large, all terms in Eq. ( 9 ) are of order N and the functional integral can be evaluated at the saddle-point as N\to\infty \begin{split}\frac{\delta\mathcal{H}_{\rm eff}}{\delta\lambda(\textbf{x})}\bigg|_{\lambda=\lambda_{0}}=0,\\ \frac{\delta\mathcal{H}_{\rm eff}}{\delta\hat{\rho}(\textbf{x})}\bigg|_{\hat{\rho}=\hat{\rho}_{0}}=0.\end{split} (11) Furthermore, the effective action reads in this approximation \Gamma[\bm{\phi}]=\mathcal{H}_{\rm eff}[\bm{\phi},\lambda_{0},\hat{\rho}_{0}], (12) where we have used the O(N) invariance to replace \hat{\sigma} by \bm{\phi} when performing the Legendre transform. In uniform magnetization \bm{\phi}(\textbf{x})=\bm{\phi} , \Gamma[\bm{\phi}]=L^{d}U(\rho) with \rho=\bm{\phi}^{2}/2 , and the saddle-point solutions \lambda_{0} and \hat{\rho}_{0} are also uniform (and dependent on \rho ). One shows that i\lambda_{0}=U^{\prime}(\rho) , primes meaning derivatives with respect to \rho , while the saddle-point equations read \begin{split}i\lambda_{0}&=V^{\prime}(\hat{\rho}_{0}),\\ \rho&=\hat{\rho}_{0}-\frac{N}{2}\frac{1}{L^{d}}\sum_{\mathbf{q}}\frac{1}{\mathbf{q}^{2}+W(\rho)},\end{split} (13) with W\equiv U^{\prime} , and the sum over momenta is understood as being regularized in the ultra-violet (UV), that is, for large momenta |\mathbf{q}| . Finally, it is convenient to introduce the inverse of the function V^{\prime} , which we call f_{\Lambda}(W) for later convenience (see Sec. III.4 ), i.e. V^{\prime}(f_{\Lambda}(W))=W . The gap equation can be rewritten as an implicit equation for \rho seen as a function of W , \rho=f_{\Lambda}(W)-\frac{N}{2}\frac{1}{L^{d}}\sum_{\mathbf{q}}\frac{1}{\mathbf{q}^{2}+W}. (14) In the following, we regularize the sum over momenta by introducing an exponential factor e^{-\mathbf{q}^{2}/\Lambda^{2}} , which allows for using Schwinger’s representation of the propagator and perform explicitly the sum over momenta [ 48 ] \begin{split}\frac{1}{L^{d}}\sum_{\mathbf{q}}\frac{1}{\mathbf{q}^{2}+W}\ \to\ \frac{1}{L^{d}}\sum_{\mathbf{q}}\frac{e^{-\mathbf{q}^{2}/\Lambda^{2}}}{\mathbf{q}^{2}+W}&=\frac{1}{L^{d}}e^{W/\Lambda^{2}}\int_{\Lambda^{-2}}^{\infty}ds\sum_{\mathbf{q}}e^{-s(\mathbf{q}^{2}+W)},\\ &=\frac{1}{L^{d}}\int_{\Lambda^{-2}}^{\infty}ds\,e^{-sW}\upvartheta^{d}(s4\pi/L^{2})+\mathcal{O}(W/\Lambda^{2}),\\ &=\frac{1}{L^{d-2}}\int_{\frac{4\pi}{\Lambda^{2}L^{2}}}^{\infty}\frac{ds}{4\pi}e^{-s\frac{L^{2}W}{4\pi}}\upvartheta^{d}(s)+\mathcal{O}(W/\Lambda^{2}),\end{split} (15) where we have neglected non-universal terms of order W/\Lambda^{2} (which can be absorbed into f_{\Lambda} ) and \upvartheta(s)=\sum_{n\in\mathbb{Z}}e^{-s\pi n^{2}} is a Jacobi theta function, which obeys in particular \upvartheta(s)=s^{-1/2}\upvartheta(1/s) . The UV divergence of the momentum integral translates into the divergence s^{-d/2} at small s for 20. (19) Note that \hat{f}_{\Lambda}(W) is a regular function of W at small W (the regime of interest, since the correlation length \xi is proportional to W^{-1/2} ), and the term proportional to W_{\infty}^{(d-2)/2} is therefore dominant compared to a term of order W_{\infty} . We can therefore expand \hat{f}_{\Lambda}(W_{\infty})=-N\delta+\mathcal{O}(W_{\infty}) and the gap equation in the thermodynamic limit becomes \begin{split}\rho/N=-\delta+c_{d}W_{\infty}^{\frac{d-2}{2}}.\end{split} (20) Note that \delta depends on the Hamiltonian and is thus non-universal (e.g. \delta=3r_{0}/u_{0}+\Lambda^{d-2}/((4\pi)^{d/2}(d-2)) for a (\hat{\bm{\phi}}^{2})^{2} theory with the regularization described above). The critical point is found by solving W_{\infty}(0)=0 (minimum of the free energy at zero magnetization and infinite correlation length \xi_{\infty}^{2}=1/W_{\infty}(0) ) and thus corresponds to \delta=0 . The system is disordered for \delta>0 (minimum at zero magnetization and finite correlation length), with correlation length diverging as \xi_{\infty}(\delta)=(\delta/c_{d})^{-\nu} with \nu=1/(d-2) as expected. For \delta<0 , the minimum of the free energy is at \rho_{0}=N\delta , from which we obtain the critical exponent \beta=1/2 . Note that the effective potential is not defined for \rho<\rho_{0} since by construction |\langle\hat{\bm{\phi}}\rangle_{h,\infty}|^{2}\geq 2\rho_{0} for all possible magnetic fields, and the relationship between h and \phi cannot be inverted (when doing the Legendre transform) for smaller magnetization. For finite-size systems, in the limit of small W (i.e. \hat{f}_{\Lambda}(W)=-N\delta+\mathcal{O}(W) ), the gap equation reads \begin{split}\rho=-N\delta+\frac{N}{L^{d-2}}F_{d}\left(\frac{L^{2}W}{4\pi}\right).\end{split} (21) The system starts showing critical-like behavior for \delta small enough and large enough size L . As noted in [ 49 ] , there are many inequivalent ways to take the limit \delta\to 0 and L\to\infty , leading to different scaling functions. We find it convenient to parametrize these in terms of \zeta={\rm sign}(\delta)L/\xi_{\infty}(|\delta|) , which is negative (positive) when criticality is obtained coming from the ordered (disordered) phase. Note that while the relationship between \delta and \xi_{\infty} depends on a non-universal amplitude, \zeta is free of such ambiguity, which makes it a good parametrization. At finite size L , W cannot vanish for any \rho (since we would have a divergence at \mathbf{q}=0 in the sum in Eq. ( 13 )), and thus W(\rho)>0 and the effective potential is strictly convex. Its minimum is thus at \rho=0 for all \delta , corresponding to the fact that the magnetization of a finite system vanishes, since spontaneous symmetry breaking can only happen in infinite systems. The gap equation reads \begin{split}F_{d}\left(\frac{L^{2}W}{4\pi}\right)=\frac{L^{d-2}\rho}{N}+\Delta,\end{split} (22) where we have introduced \Delta=L^{d-2}\delta , related to \zeta by \Delta={\rm sign}(\delta)c_{d}|\zeta|^{d-2}. (23) We find that L^{2}W is a universal function of \frac{L^{d-2}\rho}{N} , and \Delta plays the role of a shift in \rho . Deep in the disordered phase for finite but large L (i.e. \delta>0 and \delta\propto O(1) independent of L , and L large), W differs from W_{\infty} by an exponentially small correction, see Eq. ( 17 ) and below. Deep in the ordered side ( \delta<0 and |\delta|\propto O(1) independent of L , and L large), we find that W(0)\propto L^{-d} . Furthermore, we find that for \rho<\rho_{0} , W(\rho)\simeq\frac{N}{2L^{d}(\rho_{0}-\rho)} . Finally, for |\rho_{0}-\rho|\propto L^{-d+2} , W(\rho)\propto L^{-2} . The shape of the effective potential in the ordered phase can thus be expressed as U(\rho)=\frac{N}{L^{d}}G\left(L^{d-2}(\rho-\rho_{0})/N\right) with G(x)\propto\begin{cases}\log|x|&\text{if $x<0$ and }|x|\gg 1,\\ x&\text{if }|x|\ll 1,\\ x^{\frac{d}{d-2}}&\text{if $x>0$ and }x\gg 1.\\ \end{cases} (24) For all \Delta , W(\rho)\propto\rho^{\frac{2}{d-2}} at large field, corresponding to U(\rho)\propto\rho^{\frac{d}{d-2+\eta}} with \eta=0 for large N . 1 1 1 This is valid as long as \rho is not too large, i.e. as long as the universal part dominates compared to \hat{f}_{\Lambda} . At very large field, we recover U(\rho)=V(\rho) , the microscopic (and thus non-universal) potential. II.2 Rate function The derivation for the rate function is similar to that for the effective potential explained in Sec. II.1 , see also [ 3 ] . Starting from Eq. ( 1 ) and using the exponential representation of the delta-function, \delta(\mathbf{z})\propto\int d\mathbf{h}\,e^{i\mathbf{h}.\mathbf{z}} , 2 2 2 See [ 50 ] for an alternative calculation using a different exponentiation of the delta-function. such that P(\hat{\mathbf{s}}=\mathbf{s})=\mathcal{N}^{\prime}\int d\mathbf{h}\,e^{-iL^{d}\mathbf{h}.\mathbf{s}}\int\mathcal{D}\hat{\bm{\phi}}\,e^{-{\cal H}[\hat{\bm{\phi}}]+i\int_{\textbf{x}}\mathbf{h}.\hat{\bm{\phi}}} (25) with \mathcal{N}^{\prime} a new normalization factor. Introducing two auxiliary fields \check{\lambda}(\textbf{x}) and \hat{\rho}(\textbf{x}) , Eq. ( 25 ) reduces to \begin{split}P(\mathbf{s})=\int\mathcal{D}\hat{\bm{\phi}}\mathcal{D}\check{\lambda}\mathcal{D}\hat{\rho}d\mathbf{h}\,e^{-\int_{\textbf{x}}\left(\frac{(\nabla\hat{\bm{\phi}})^{2}}{2}+i\check{\lambda}\frac{\hat{\bm{\phi}}^{2}}{2}\right)-\int_{\textbf{x}}\left(V(\hat{\rho})-i\check{\lambda}\hat{\rho}\right)+i\mathbf{h}.\int_{\textbf{x}}(\mathbf{s}-\hat{\bm{\phi}})}.\end{split} (26) We stress that here, \check{\lambda} , \hat{\rho} and \bm{\phi} depend on x , whereas \mathbf{h} and \mathbf{s} do not (in particular, the integral over \mathbf{h} is not a functional integral). Calling \check{\sigma} the direction of \hat{\bm{\phi}} along \mathbf{s} , and splitting \mathbf{h} into h_{\sigma} and \mathbf{h}_{\pi} , the integral over the \hat{\bm{\pi}} fields followed by that over \mathbf{h}_{\pi} gives \begin{split}P(\mathbf{s})&=\int\mathcal{D}\check{\sigma}\mathcal{D}\check{\lambda}\mathcal{D}\hat{\rho}d\mathbf{h}\,e^{-\mathcal{H}_{eff}[\check{\sigma},\check{\lambda},\hat{\rho}]+ih_{\sigma}\int_{\textbf{x}}(s-\check{\sigma})-\frac{N-1}{2}{\rm Tr}\log(\check{g}_{\pi}^{-1})-\mathbf{h}_{\pi}^{2}\int_{\textbf{x},\textbf{y}}\check{g}_{\pi}(\textbf{x},\textbf{y})},\\ &=\int\mathcal{D}\check{\sigma}\mathcal{D}\check{\lambda}\mathcal{D}\hat{\rho}dh_{\sigma}\,e^{-\mathcal{H}_{eff}[\check{\sigma},\check{\lambda},\hat{\rho}]+ih_{\sigma}\int_{\textbf{x}}(s-\check{\sigma})-\frac{N-1}{2}{\rm Tr}\log(\check{g}_{\pi}^{-1})-\frac{N-1}{2}\log\left(\int_{\textbf{x},\textbf{y}}\check{g}_{\pi}(\textbf{x},\textbf{y})\right)},\end{split} (27) where (-\nabla^{2}+i\check{\lambda}(\textbf{x}))\check{g}_{\pi}(\textbf{x},\textbf{y})=\delta(\textbf{x}-\textbf{y}) . The saddle-point equations read, assuming that the solution is in constant fields, \begin{split}\check{\sigma}&=s,\\ i\check{\lambda}\check{\sigma}&=ih_{\sigma},\\ i\check{\lambda}&=V^{\prime}(\hat{\rho}),\\ \frac{\check{\sigma}^{2}}{2}&=\hat{\rho}-\frac{N}{2L^{d}}\sum_{\mathbf{q}\neq 0}\frac{1}{\mathbf{q}^{2}+i\check{\lambda}}.\end{split} (28) In the last equation, the subtraction of the \mathbf{q}=0 term comes from the derivative with respect to i\check{\lambda} of \log(\int_{\textbf{x},\textbf{y}}g_{\pi}(\textbf{x},\textbf{y}))=\log(L^{d}/i\check{\lambda}) in constant field. Writing \log(P(\mathbf{s}))=-L^{d}I(\check{\rho}) with \check{\rho}=\mathbf{s}^{2}/2 , one shows that at the saddle-point, i\check{\lambda}=\check{W}(\check{\rho})\equiv I^{\prime}(\check{\rho}) , and thus the gap equation of the rate function is \check{\rho}=f_{\Lambda}(\check{W})-\frac{N}{2L^{d}}\sum_{\mathbf{q}\neq 0}\frac{1}{\mathbf{q}^{2}+\check{W}}, (29) where f_{\Lambda} is the same function as in Eq. ( 14 ). Equation ( 29 ) is very similar to the gap equation ( 14 ), the only difference being the absence of the \mathbf{q}=0 term in the sum over momenta. We note right away that in the limit L\to\infty , the absence of this term does not matter, and the gap equations of W and \check{W} become identical, hence we recover the standard result that in the thermodynamic limit I(\check{\rho})=U(\rho=\check{\rho}) . Regularizing the gap equation as above, absorbing terms of order \Lambda^{d-2} into f_{\Lambda} which we rename \hat{f}_{\Lambda} , and focusing on the critical regime where we can approximate \hat{f}_{\Lambda}(\check{W})\simeq-N\delta , one can express the gap equation as \begin{split}\check{\rho}=-N\delta+\frac{N}{L^{d-2}}\check{F}_{d}\left(\frac{L^{2}\check{W}}{4\pi}\right),\end{split} (30) where \begin{split}\check{F}_{d}(z)=-\frac{1}{2}\int_{0}^{\infty}\frac{du}{4\pi}\left(e^{-uz}(\upvartheta^{d}(u)-1)-u^{-d/2}\right).\end{split} (31) The only difference with Eq. ( 17 ) is the presence of the -1 in the integrand, coming from subtracting the \mathbf{q}=0 term. Figure 1: Comparison between the universal functions F_{d} , Eq. ( 17 ), and \check{F}_{d} , Eq. ( 31 ), for d=3 . The vertical dashed line shows the position of the pole of \check{F}_{d}(z) at z=-\pi . The pole of F_{d}(z) is at z=0 . That the thermodynamic limit is the same for both W and \check{W} translates into \check{F}_{d}(z)\to F_{d}(z) for z\gg 1 . On the other hand, since the term \mathbf{q}=0 is absent from the sum over momenta, \check{F}_{d} does not have a pole at z=0 , but instead has a pole at a negative value of z=-\pi , \check{F}_{d}(z)\simeq-\frac{2d}{8\pi}\frac{1}{\pi+z} . This allows for a non-convex rate function at finite size. Finally, let us note that \check{F}_{d} is a monotone function and that \check{F}_{d}(0)>0 for all 20 (which, using Eq. ( 23 ), translates into a critical \zeta , \zeta_{c,\infty}\simeq 2.8373\ldots ). Indeed, we find that \check{W} vanishes at a finite value of \check{\rho}=\check{\rho}_{0}=\frac{N}{L^{d-2}}\left(\check{F}_{d}(0)-\Delta\right) , and \check{W}(\check{\rho})<0 for \check{\rho}\in[0,\check{\rho}_{0}[ and positive otherwise. Furthermore, we directly find that the rate function is given by a universal function of \frac{L^{d-2}\check{\rho}}{N} , I(\check{\rho},\delta)=NL^{-d}I_{\zeta}\left(\frac{L^{d-2}\check{\rho}}{N}\right), (33) with I_{\zeta}(x) such that \check{F}_{d}\left(\frac{L^{2}I^{\prime}_{\zeta}(x)}{4\pi}\right)=x+\Delta, (34) with \Delta related to \zeta by Eq. ( 23 ). Fig. 2 shows the rate functions in the critical regime for several \zeta . Figure 2: Rate function in the large N limit for d=3 for several values of \zeta . The rate function changes convexity at \zeta=\zeta_{c,\infty}\approx 2.84 . Deep in the disordered phase, \delta>0 and \xi_{\infty}\ll L , we recover \check{W}(\check{\rho})\simeq W_{\infty}(\rho=\check{\rho}) , a convex function. Deep in the ordered phase, \delta<0 and L large, with a finite magnetization \frac{\rho_{0}}{N}=-\delta>0 and \frac{\rho_{0}}{N}\propto O(1) in the thermodynamic limit, the minimum of the rate function is at \frac{\check{\rho}}{N}=\frac{\rho_{0}}{N}+\frac{1}{L^{d-2}}\check{F}_{d}(0) (which of course tends to \rho_{0} for L\to\infty ), and it is non-convex for any finite L . For small enough \check{\rho} , we find \check{W}(\check{\rho})\simeq-\frac{4\pi^{2}}{L^{2}}+\frac{2d}{L^{d}(\rho_{0}-\check{\rho})}. (35) Therefore, the typical size of the free-energy-density barrier between \check{\rho}=0 and \check{\rho}=\rho_{0} is \rho_{0}/L^{2} corresponding to an energy of order L^{d-2}\rho_{0} . This corresponds to the energy of a spin-wave excitation of wavelength of order L , needed to lower the magnetization below the equilibrium one. 3 3 3 Interestingly, a result similar to Eq. ( 35 ) has been obtained in [ 51 ] when studying the ordered phase in the large N limit with FRG. There, the role of L is played by the RG scale k^{-1} . III Renormalization group approach to the rate function calculation There is no known method to solve the O(N) model at finite N . In this section, we generalize the FRG approach devised in [ 49 ] to compute PDFs for Ising to the case of the O(N) model. III.1 Definition of the effective actions \Gamma_{M,k} The derivation of the FRG for the calculation of rate functions follows closely the original derivation [ 52 , 53 , 54 ] , see [ 46 , 47 ] for reviews of the method. In a nutshell, given the Hamiltonian of a theory \mathcal{H}[\hat{\bm{\phi}}] , a family of models is defined by introducing an addition to the Hamiltonian, \Delta\mathcal{H}_{k}=\frac{1}{2}\hat{\bm{\phi}}.R_{k}.\hat{\bm{\phi}} with R_{k}(\textbf{x},\textbf{y}) an infrared regulator, parametrized by a momentum RG scale k . It is chosen such that the integration over modes with momenta |q|k unchanged. Furthermore, we impose that R_{k=0}=0 while \lim_{k\to\Lambda}R_{k} is such that the modified model is exactly solvable in this limit. Defining a family of scale-dependent partition functions \mathcal{Z}_{k}[\mathbf{h}] and a scale-dependent free energy functional -\ln(\mathcal{Z}_{k}) , its (modified) Legendre transform \Gamma_{k}[\bm{\phi}] is the object of interest. This scale-dependent effective action \Gamma_{k}[\bm{\phi}] obeys an exact RG flow equation, which can be approximated non-perturbatively. To compute the rate function, one can follow a similar route, where now the (scale-dependent) partition function is modified to include the delta function found in Eq. ( 1 ), \mathcal{Z}_{M,k}[\mathbf{h}]=\int\mathcal{D}\hat{\bm{\phi}}\,e^{-\mathcal{H}_{M}[\hat{\bm{\phi}}]+\mathbf{h}.\hat{\bm{\phi}}-\frac{1}{2}\hat{\bm{\phi}}.R_{k}.\hat{\bm{\phi}}} (36) where {\cal H}_{M}[\hat{\bm{\phi}}]={\cal H}(\hat{\bm{\phi}})+\frac{M^{2}}{2}[\int_{\textbf{x}}(\hat{\bm{\phi}}(\textbf{x})-\mathbf{s})]^{2} . In the limit M\to\infty , the second term in {\cal H}_{M} becomes a delta function, and we recover the constraint L^{-d}\int_{\textbf{x}}\hat{\bm{\phi}}(\textbf{x})=\mathbf{s} . This implementation of the constraint is different from that of Sec. II.2 , but it is better suited for the present purpose. Introducing \bm{\phi}(\textbf{x})=\frac{\delta\ln\mathcal{Z}_{M,k}}{\delta\mathbf{h}(\textbf{x})} , we define the (modified) Legendre transform of \ln\mathcal{Z}_{M,k} by \Gamma_{M,k}[\bm{\phi}]=-\ln\mathcal{Z}_{M,k}[\mathbf{h}]+\mathbf{h}.\bm{\phi}-\frac{1}{2}\bm{\phi}.R_{k}.\bm{\phi}-\frac{M^{2}}{2}\left[\int_{\textbf{x}}(\bm{\phi}(\textbf{x})-\mathbf{s})\right]^{2}. (37) Using \frac{\delta\Gamma_{M,k}}{\delta\bm{\phi}(\textbf{x})}=\mathbf{h}(\textbf{x})-\int_{\textbf{y}}R_{k}(\textbf{x},\textbf{y})\bm{\phi}(\textbf{y})-M^{2}\int_{\textbf{y}}(\bm{\phi}(\textbf{y})-\mathbf{s}), (38) allows us to write \begin{split}e^{-\Gamma_{M,k}[\bm{\phi}]}=\int\mathcal{D}\hat{\phi}\,e^{-{\cal H}(\hat{\bm{\phi}})+\frac{\delta\Gamma_{M,k}}{\delta\bm{\phi}}.(\hat{\bm{\phi}}-\bm{\phi})-\frac{1}{2}(\hat{\bm{\phi}}-\bm{\phi}).R_{k}.(\hat{\bm{\phi}}-\bm{\phi})}e^{-\frac{M^{2}}{2}[\int_{\textbf{x}}(\hat{\bm{\phi}}(\textbf{x})-\bm{\phi}(\textbf{x}))]^{2}}.\end{split} (39) Note that although it is not explicit from its definition, Eq. ( 37 ), \Gamma_{M,k}[\bm{\phi}] is independent of s as can be checked from Eq. ( 43 ) or by deriving Eq. ( 37 ) with respect to \mathbf{s} . When evaluated in a constant field \bm{\phi}(\textbf{x})=\mathbf{s} and at k=0 , \frac{\delta\Gamma_{M,k=0}}{\delta\bm{\phi}(\textbf{x})}\bigg|_{\bm{\phi}(\textbf{x})=\mathbf{s}}=\mathbf{h}, (40) is a constant, by translation invariance, such that \langle\hat{\bm{\phi}}(\textbf{x})\rangle=\mathbf{s} . Thus, e^{-\Gamma_{M,k=0}[\bm{\phi}(\textbf{x})=\mathbf{s}]}=\int\mathcal{D}\hat{\bm{\phi}}\,e^{-{\cal H}(\hat{\bm{\phi}})-\frac{M^{2}}{2}[\int_{\textbf{x}}(\hat{\bm{\phi}}-\mathbf{s})]^{2}+\mathbf{h}.\int_{\textbf{x}}(\hat{\bm{\phi}}-\mathbf{s})}, (41) and therefore \begin{split}\lim_{M\to\infty}e^{-\Gamma_{M,k=0}[\bm{\phi}(\textbf{x})=\mathbf{s}]}\propto&\int\mathcal{D}\hat{\phi}\,\delta\left(\mathbf{s}-L^{-d}\int_{\textbf{x}}\hat{\bm{\phi}}\right)e^{-{\cal H}(\hat{\bm{\phi}})},\\ \propto&\ P(\mathbf{s}).\end{split} (42) This directly proves that \lim_{M\to\infty}\Gamma_{M,k=0}[\bm{\phi}(\textbf{x})=\mathbf{s}]=L^{d}I(\mathbf{s}) . At finite k , it is convenient to define \check{\Gamma}_{k}[\bm{\phi}]=\lim_{M\to\infty}\Gamma_{M,k}[\bm{\phi}] , and we interpret L^{-d}\check{\Gamma}_{k}[\bm{\phi}(\textbf{x})=\mathbf{s}]=I_{k}(\mathbf{s}) as a scale-dependent rate function. Defining R_{M,k}(\textbf{x},\textbf{y})=R_{k}(\textbf{x},\textbf{y})+M^{2} , Eq. ( 39 ) can be rewritten as e^{-\Gamma_{M,k}[\bm{\phi}]}=\int\mathcal{D}\hat{\phi}\,e^{-{\cal H}(\hat{\bm{\phi}})+\frac{\delta\Gamma_{M,k}}{\delta\bm{\phi}}.(\hat{\bm{\phi}}-\bm{\phi})-\frac{1}{2}(\hat{\bm{\phi}}-\bm{\phi}).R_{M,k}.(\hat{\bm{\phi}}-\bm{\phi})}, (43) and therefore \Gamma_{M,k}[\bm{\phi}] can be interpreted as the scale-dependent Gibbs free energy of a system with Hamiltonian \cal H regularized by R_{M,k} . Thus, the exact flow equation of \Gamma_{M,k} can be found similarly to that of the standard scale-dependent effective action \Gamma_{k}=\Gamma_{M=0,k} [ 49 ] \partial_{k}\Gamma_{M,k}[\phi]=\frac{1}{2}{\rm Tr}\int_{\textbf{x},\textbf{y}}\partial_{k}R_{M,k}(\textbf{x},\textbf{y})\left(\Gamma_{M,k}^{(2)}+R_{M,k}\right)^{-1}(\textbf{x},\textbf{y}), (44) where the trace is over the O(N) indices, and the elements of the matrix \Gamma_{M,k}^{(2)} are defined as \left(\Gamma_{M,k}^{(2)}\right)_{ij}=\Gamma_{ij,M,k}^{(2)}[\textbf{x},\textbf{y};\bm{\phi}]=\frac{\delta^{2}\Gamma_{M,k}}{\delta\phi_{i}(\textbf{x})\delta\phi_{j}(\textbf{y}))}. (45) The initial condition of the flow corresponds to k=\Lambda , for which \lim_{k\to\Lambda}R_{k}(\mathbf{q})\to\infty . A saddle-point analysis gives \lim_{k\to\Lambda}\mathcal{Z}_{M,k}[\mathbf{h}]\simeq e^{-\mathcal{H}_{M}[\bm{\phi}]+\mathbf{h}.\bm{\phi}-\frac{1}{2}\bm{\phi}.R_{\Lambda}.\bm{\phi}}, (46) with \bm{\phi}[\mathbf{h}] such that \frac{\delta\mathcal{H}_{M}}{\delta\bm{\phi}(\textbf{x})}-\mathbf{h}(\textbf{x})+\int_{\textbf{y}}R_{\Lambda}(\textbf{x},\textbf{y})\bm{\phi}(\textbf{y})=0. (47) Performing the Legendre transform and using Eq. ( 37 ), we obtain \lim_{k\to\Lambda}\Gamma_{M,k}[\bm{\phi}]=\mathcal{H}[\bm{\phi}]. (48) Finally, note that the effective action \Gamma[\bm{\phi}] of the original model, defined as the (true) Legendre transform of \ln\mathcal{Z}_{M=0,k=0}[\mathbf{h}] , is recovered from its scale-dependent counterpart \Gamma_{k}[\bm{\phi}]=\Gamma_{M=0,k}[\bm{\phi}] by taking the limit k\to 0 . On the contrary, when M\to\infty , \check{\Gamma}[\bm{\phi}]=\check{\Gamma}_{k=0}[\bm{\phi}] is not a true Legendre transform even in this limit, due to the M term in Eq. ( 37 ), and can therefore be non-convex. III.2 Local Potential Approximation The Local Potential Approximation (LPA) corresponds to approximating the modified scale-dependent effective average action by the ansatz \Gamma_{M,k}[\bm{\phi}]=\int_{\textbf{x}}\left(\frac{(\nabla\bm{\phi})^{2}}{2}+U_{M,k}(\rho)\right), (49) with \rho(\textbf{x})=\bm{\phi}(\textbf{x})^{2}/2 , analogous to the LPA for the standard scale-dependent effective action [ 47 ] . Note that I_{k}=\lim_{M\to\infty}U_{M,k} and that U_{k}=\lim_{M\to 0}U_{M,k} . Within this ansatz, the inverse propagator in momentum space and in constant field \bm{\phi} reads \Gamma_{ij,M,k}^{(2)}(\mathbf{q};\bm{\phi})=\delta_{ij}(\mathbf{q}^{2}+U_{M,k}^{\prime}(\rho))+\phi_{i}\phi_{j}U_{M,k}^{\prime\prime}(\rho), (50) allowing to write explicitly the flow equation for \Gamma_{M,k} . The propagator reads (\Gamma_{M,k}^{(2)}(\mathbf{q};\bm{\phi})+R_{k}(\mathbf{q}))^{-1}_{ij}=\frac{\phi_{i}\phi_{j}}{2\rho}\frac{1}{\mathbf{q}^{2}+U_{M,k}^{\prime}(\rho)+2\rho U_{M,k}^{\prime\prime}(\rho)}+\left(\delta_{ij}-\frac{\phi_{i}\phi_{j}}{2\rho}\right)\frac{1}{\mathbf{q}^{2}+U_{M,k}^{\prime}(\rho)}. (51) In this approximation, the only flowing quantity is U_{M,k} , and its flow equation reads \begin{split}\partial_{k}U_{M,k}=\frac{1}{2L^{d}}\sum_{\mathbf{q}}\partial_{k}R_{k}(\mathbf{q})\left(\frac{N-1}{\mathbf{q}^{2}+R_{k}(\mathbf{q})+M^{2}\delta_{\mathbf{q},0}+U^{\prime}_{M,k}}+\frac{1}{\mathbf{q}^{2}+R_{k}(\mathbf{q})+M^{2}\delta_{\mathbf{q},0}+U^{\prime}_{M,k}+2\rho U^{\prime\prime}_{M,k}}\right),\end{split} (52) where the trace over the O(N) indices has been performed. In the limit M=0 , we recover the flow equation of the effective potential U_{k}(\rho) (at finite size with periodic boundary conditions [ 55 ] ) \begin{split}\partial_{k}U_{k}(\rho)=&\frac{1}{2L^{d}}\sum_{\mathbf{q}}\partial_{k}R_{k}(\mathbf{q})\Bigg(\frac{N-1}{\mathbf{q}^{2}+R_{k}(\mathbf{q})+U^{\prime}_{k}}+\frac{1}{\mathbf{q}^{2}+R_{k}(\mathbf{q})+U^{\prime}_{k}+2\rho U^{\prime\prime}_{k}}\Bigg),\end{split} (53) while in the limit M\to\infty the zero-momentum contribution is suppressed, and the equation for I_{k} reads (recall that \rho is half of the average magnetization squared, while the argument of the rate function is \check{\rho}=\mathbf{s}^{2}/2 ) \begin{split}\partial_{k}I_{k}(\check{\rho})=&\frac{1}{2L^{d}}\sum_{\mathbf{q}\neq 0}\partial_{k}R_{k}(\mathbf{q})\Bigg(\frac{N-1}{\mathbf{q}^{2}+R_{k}(\mathbf{q})+I^{\prime}_{k}}+\frac{1}{\mathbf{q}^{2}+R_{k}(\mathbf{q})+I^{\prime}_{k}+2\check{\rho}I^{\prime\prime}_{k}}\Bigg).\end{split} (54) In the thermodynamic limit L\to\infty , the two sums converge to the same integral, and we recover the equivalence between the two, I_{k}(\check{\rho})=U_{k}(\rho=\check{\rho}) . To study the critical behavior, it is convenient to introduce the dimensionless momenta \tilde{\mathbf{q}}=\mathbf{q}/k and fields \tilde{\rho}=k^{-(d-2+\eta)}\rho and \breve{\rho}=k^{-(d-2+\eta)}\check{\rho} , and \tilde{U}_{k}(\tilde{\rho})=k^{-d}U_{k}(\tilde{\rho}k^{d-2+\eta}) and \tilde{I}_{k}(\breve{\rho})=k^{-d}I_{k}(\breve{\rho}k^{d-2+\eta}) . Here \eta is the anomalous dimension, equal to zero at LPA. Writing the regulator as R_{k}(\mathbf{q})=k^{2}\tilde{R}((\mathbf{q}/k)^{2}) , the flows become \begin{split}k\partial_{k}\tilde{U}_{k}=&-d\tilde{U}_{k}+(d-2)\tilde{\rho}\tilde{U}_{k}^{\prime}+\frac{1}{2(kL)^{d}}\sum_{\tilde{\mathbf{q}}}(2\tilde{R}-\tilde{\mathbf{q}}^{2}\tilde{R}^{\prime})\Bigg(\frac{1}{\tilde{\mathbf{q}}^{2}+\tilde{R}+\tilde{U}^{\prime}_{k}+2\tilde{\rho}\tilde{U}_{k}^{\prime\prime}}+\frac{N-1}{\tilde{\mathbf{q}}^{2}+\tilde{R}(\tilde{\mathbf{q}})+\tilde{U}^{\prime}_{k}}\Bigg),\end{split} (55) and \begin{split}k\partial_{k}\tilde{I}_{k}=&-d\tilde{I}_{k}+(d-2)\breve{\rho}\tilde{I}_{k}^{\prime}+\frac{1}{2(kL)^{d}}\sum_{\tilde{\mathbf{q}}\neq 0}(2\tilde{R}-\tilde{\mathbf{q}}^{2}\tilde{R}^{\prime})\Bigg(\frac{1}{\tilde{\mathbf{q}}^{2}+\tilde{R}+\tilde{I}^{\prime}_{k}+2\breve{\rho}\tilde{I}_{k}^{\prime\prime}}+\frac{N-1}{\tilde{\mathbf{q}}^{2}+\tilde{R}(\tilde{\mathbf{q}})+\tilde{I}^{\prime}_{k}}\Bigg),\end{split} (56) In the thermodynamic limit, both flow equations become the standard dimensionless LPA equation k\partial_{k}\tilde{U}_{k}=-d\tilde{U}_{k}+(d-2)\tilde{\rho}\tilde{U}_{k}^{\prime}+\frac{1}{2}\int_{\tilde{\mathbf{q}}}(2\tilde{R}-\tilde{\mathbf{q}}^{2}\tilde{R}^{\prime})\Bigg(\frac{1}{\tilde{\mathbf{q}}^{2}+\tilde{R}+\tilde{U}^{\prime}_{k}+2\tilde{\rho}\tilde{U}^{\prime\prime}_{k}}+\frac{N-1}{\tilde{\mathbf{q}}^{2}+\tilde{R}+\tilde{U}^{\prime}_{k}}\Bigg), (57) and k\partial_{k}\tilde{I}_{k}=-d\tilde{I}_{k}+(d-2)\tilde{\breve{\rho}}I_{k}^{\prime}+\frac{1}{2}\int_{\tilde{\mathbf{q}}}(2\tilde{R}-\tilde{\mathbf{q}}^{2}\tilde{R}^{\prime})\Bigg(\frac{1}{\tilde{\mathbf{q}}^{2}+\tilde{R}+\tilde{I}^{\prime}_{k}+2\breve{\rho}\tilde{I}^{\prime\prime}_{k}}+\frac{N-1}{\tilde{\mathbf{q}}^{2}+\tilde{R}+\tilde{I}^{\prime}_{k}}\Bigg), (58) and at criticality, the dimensionless effective potential reaches a fixed point as k\to 0 , that is, \lim_{k\to 0}\lim_{L\to\infty}\tilde{U}_{k}=\lim_{k\to 0}\lim_{L\to\infty}\tilde{I}_{k}=\tilde{U}^{*} , with \tilde{U}^{*} the solution of 0=-d\tilde{U}^{*}+(d-2)\tilde{\rho}\tilde{U}^{*^{\prime}}+\frac{1}{2}\int_{\tilde{\mathbf{q}}}(2\tilde{R}-\tilde{\mathbf{q}}^{2}\tilde{R}^{\prime})\Bigg(\frac{1}{\tilde{\mathbf{q}}^{2}+\tilde{R}+\tilde{U}^{*^{\prime}}+2\tilde{\rho}\tilde{U}^{*^{\prime\prime}}}+\frac{N-1}{\tilde{\mathbf{q}}^{2}+\tilde{R}+\tilde{U}^{*^{\prime}}}\Bigg). (59) It is important for the following to note that \tilde{U}^{*} , considered as a function of the modulus of the field \tilde{\phi}=\sqrt{2\tilde{\rho}} , is a non-convex function at small field (for d<4 ) whereas at k=0 , the dimensionful effective potential U_{k=0} is convex for all values of the field, as it should for a function obtained from a (true) Legendre transform. Beyond LPA, \eta takes a finite value at the fixed point, which, in particular, has the effect of turning (d-2) factors in the second terms of all equations between Eqs. ( 55 ) and ( 59 ) into (d-2+\eta) . For 20 ( \delta r<0 ). For small enough \delta r>0 , the correlation length behaves as \xi_{\infty,{\rm LPA}}(\delta r)=\xi_{+,{\rm LPA}}\delta r^{-\nu_{\rm LPA}}. (65) Here \nu_{\rm LPA} is the critical exponent \nu determined at LPA and \xi_{+,{\rm LPA}} is a non-universal amplitude that we fit. We have computed them for the regulators ( 63 ) at optimal \alpha (optimized over \nu_{\rm LPA} for each regulator), as summarized in Table 1 . For comparison, the best available results for the critical exponents \nu of the O(N) models are found from FRG at the fourth order of derivative expansion [ 58 ] and they read 0.6716(6) for N=2 and 0.7114(9) for N=3 . Then, for a given value of L and \zeta , we choose \delta r using Eq. ( 65 ) and the definition of \zeta , \zeta={\rm sign}(\delta r)\frac{L}{\xi_{\infty,{\rm LPA}}(|\delta r|)}, (66) that is, \delta r={\rm sign}(\zeta)\left(\frac{|\zeta|\xi_{+,{\rm LPA}}}{L}\right)^{1/\nu_{\rm LPA}}. (67) N reg. \alpha_{opt} \xi_{+,{\rm LPA}} \nu_{\rm LPA} \theta 1.0 1.0444 0.7082 2 exp. 4.65 1.3029 0.7106 Wett. 6.05 1.4148 0.7098 \theta 1.0 1.0458 0.7611 3 exp. 4.65 1.3794 0.7639 Wett. 6.05 1.5297 0.7631 Table 1: Numerical parameters from the FRG for the Eq. ( 65 ) at LPA. III.4 Rate function at large N from FRG Let us consider the large N limit, where the LPA flow of the potential becomes exact, as a benchmark for the numerical resolution of the flow equation. In this limit, starting from Eq. ( 58 ), we can derive the gap equation ( 29 ) straightforwardly. Following the reasoning from [ 60 ] , we first take the limit N\to\infty in Eq. ( 54 ) to obtain the corresponding large N flow equation. \partial_{k}I_{k}(\check{\rho})=\frac{N}{2L^{d}}\sum_{\mathbf{q}\neq 0}\frac{\partial_{k}R_{k}(\mathbf{q})}{\mathbf{q}^{2}+R_{k}(\mathbf{q})+I^{\prime}_{k}(\check{\rho})}. (68) Now, we define \check{f}_{k}(\check{W})=\check{\rho} as the inverse function of \check{W}_{k}(\check{\rho})\equiv I_{k}^{\prime}(\check{\rho}) . Note that since \check{\Gamma}_{k=\Lambda}[\bm{\phi}]=\mathcal{H}[\bm{\phi}] , we have that I_{k=\Lambda}(\check{\rho})=V(\check{\rho}) and thus \check{f}_{k=\Lambda}(\check{W})=f_{\Lambda}(\check{W}) , with f_{\Lambda} defined in Sec. II.1 . One readily finds the flow equation of \check{f}_{k} , \partial_{k}\check{f}_{k}(\check{W})=\frac{N}{2L^{d}}\sum_{\mathbf{q}\neq 0}\frac{\partial_{k}R_{k}(\mathbf{q})}{(\mathbf{q}^{2}+R_{k}(\mathbf{q})+\check{W})^{2}}, (69) the right-hand side of which is a total derivative with respect to k . Integrating this equation in k from 0 to \Lambda and using that \lim_{k\to 0}R_{k}=0 and \lim_{k\to\Lambda}R_{k}=\infty , we recover the gap equation ( 29 ) for the rate function, \check{\rho}=f_{\Lambda}(\check{W})-\frac{N}{2L^{d}}\sum_{\mathbf{q}\neq 0}\frac{1}{\mathbf{q}^{2}+\check{W}}, (70) from which the derivation detailed in Sec. II.2 follows. Clearly, any regulator dependence disappears from the end result. The same is not true however for the fixed point potential. One can show that the fixed point solution depends on the regulator at N\to\infty [ 61 ] , where the LPA is exact. The corresponding fixed-point potential equation reads -2\tilde{U}_{*}^{\prime}+(d-2)\tilde{\rho}\tilde{U}_{*}^{\prime\prime}-\tilde{U}_{*}^{\prime\prime}NL_{1}(\tilde{U}_{*}^{\prime})=0, (71) where the threshold function L_{1}(w) depends on the regulator R_{k}(\mathbf{q})=k^{2}\tilde{R}(\mathbf{q}^{2}/k^{2}) , L_{1}(w)=\frac{1}{2}\int_{\tilde{\mathbf{q}}}\frac{2\tilde{R}(\tilde{\mathbf{q}}^{2})-\tilde{\mathbf{q}}^{2}\tilde{R}^{\prime}(\tilde{\mathbf{q}}^{2})}{\left(\tilde{\mathbf{q}}^{2}+\tilde{R}(\tilde{\mathbf{q}}^{2})+w\right)^{2}}. (72) Introducing \tilde{W}(\tilde{\rho})=\tilde{U}_{*}^{\prime}(\tilde{\rho}) , it has been shown in [ 61 ] that the solution to Eq. ( 71 ) reads for an arbitrary regulator \tilde{\rho}=\tilde{F}_{d}\left(\tilde{W}(\tilde{\rho});\tilde{R}\right)\equiv\frac{N}{2(d-2)}\int_{\tilde{\mathbf{q}}}\frac{2\tilde{R}(\tilde{\mathbf{q}}^{2})-\tilde{\mathbf{q}}^{2}\tilde{R}^{\prime}(\tilde{\mathbf{q}}^{2})}{\left(\tilde{\mathbf{q}}^{2}+\tilde{R}(\tilde{\mathbf{q}}^{2})\right)^{2}}{}_{2}F_{1}\left(2,1-\frac{d}{2};2-\frac{d}{2}\bigg|-\frac{\tilde{W}(\tilde{\rho})}{\tilde{\mathbf{q}}^{2}+\tilde{R}(\tilde{\mathbf{q}}^{2})}\right), (73) where {}_{2}F_{1}(a,b,c|-z) is a hypergeometric function. Note that \tilde{F}_{d}(w;\tilde{R}) has a shape qualitatively similar to that of \check{F}_{d}(w) , see Eq. ( 31 ). Indeed, the singularity of the hypergeometric function at z=-1 , {}_{2}F_{1}\left(2,1-\frac{d}{2};2-\frac{d}{2}\bigg|-z\right)\simeq\frac{2-d}{2(z+1)} corresponds to the singularity at w=w_{-\infty}\equiv-\min_{\tilde{\mathbf{q}}}(\tilde{\mathbf{q}}^{2}+\tilde{R}(\tilde{\mathbf{q}}^{2})) in Eq. ( 72 ), similar to the pole at z=-\pi of \check{F}_{d}(z) , reached formally for \tilde{\rho}\to-\infty . On the other hand, in the limit \tilde{\rho}\to\infty , i.e. W(\tilde{\rho})\to\infty , Eq. ( 71 ) gives W(\tilde{\rho})\sim\tilde{\rho}^{\frac{2}{d-2}} , which is recovered from Eq. ( 73 ) using that {}_{2}F_{1}\left(2,1-\frac{d}{2};2-\frac{d}{2}\bigg|-z\right)\sim z^{\frac{d-2}{2}} for z\to\infty , as does \check{F}_{d}(z) . Finally, \tilde{F}_{d}(w;\tilde{R})=0 for some w_{0}<0 . This explains why the fixed point potential \tilde{U}^{*} and the rate function have similar shapes, although the former is regulator dependent while the latter is universal (but depends on the boundary conditions). While the shape of \tilde{U}^{*} depends on the regulator, the critical exponents, relevant or irrelevant, are independent of it [ 61 ] . By analyzing the stability matrix of the LPA flow equation, we find numerically in d=3 that \nu=1/(d-2) up to numerical uncertainty at the level of 5 -th digit, independently of the regulator shape or prefactor \alpha . Figure 3: Rate functions at \zeta=0 in the large N limit in d=3 obtained from FRG with different regulators, compared with the exact result. The inset shows the initial conditions of the flows (corresponding to the regulator-dependent fixed points). Although we can compute the rate function exactly in the present case, we nevertheless examine now the FRG results obtained by numerical integration of the LPA flow equation (as explained in Sec. III.3 ) to prepare for the next section. Figure 3 shows rate functions for different regulators compared with the exact result. Despite widely varying initial conditions, the rate functions converge to the exact result with high numerical precision by the end of the flow. An interesting quantity is the ratio between the probability of the average magnetization (corresponding to \check{\rho}=0 ) and the probability of the most probable total spin (corresponding to a \check{\rho}_{0} ). If the rate function has a non-trivial minimum (corresponding to \check{\rho}_{0}>0 ), this ratio is related to the difference between I_{min,N}\equiv I(\check{\rho}_{0}) and I_{0,N}\equiv I(0) . Since the rate function scales as L^{-d} in the scaling regime and is proportional to N at large N , it is convenient to introduce the universal amplitude \Delta I_{N}=L^{d}(I_{min,N}-I_{0,N})/N , which depends on \zeta . 6 6 6 This corrects a statement of Ref. [ 49 ] , where we wrote that there was a non-universal amplitude associated with the scale of the rate function. The exact value of \Delta I_{N} at \zeta=0 in large N is obtained from Eq. ( 30 ), \begin{split}\Delta I_{\infty}&=\frac{L^{d}}{N}\int_{0}^{\check{\rho}_{0}}\check{W}(\check{\rho})d\check{\rho},\\ &=-4\pi\int^{0}_{\check{z}_{0}}\check{F}_{d}(z)dz,\end{split} (74) where we used \check{\rho}=NL^{2-d}\check{F}_{d}(z) , z=L^{2}\check{W}/4\pi and we recall that \check{z}_{0} is such that \check{F}(\check{z}_{0})=0 . In three dimensions, it reads \Delta I_{\infty}\sim-1.00028... . Table 2 summarizes the comparison of \Delta I_{\infty} between this exact result and that obtained by integrating numerically in the same dimension the LPA equation. \Delta I_{\infty} exact -1.00028211.. \theta , \alpha=1 -1.00319 \theta , \alpha=5 -1.01548 exp., \alpha=1 -1.00013 exp., \alpha=5 -1.00004 Wett. \alpha=1 -0.99983 Wett. \alpha=5 -1.00005 Table 2: Universal amplitude \Delta I_{\infty} at \zeta=0 , see text, in the large N limit obtained from different regulators and compared to the exact result. Figure 4: Relative error of the rate function obtained from numerically solving LPA flow equation in the large N limit with respect to the exact result, for various regulators. Here \Delta I=I_{num}-I_{exact} and we compare it to I_{typ}(\check{\rho})={\rm max}(I_{exact}(\check{\rho}),1) , since the rate function is of order one and negative and changes sign for \check{\rho}\simeq 2\check{\rho}_{0} . In Fig. 4 , we show the relative error between the exact and FRG results for different regulators. For analytic regulators, the error is about 10^{-4} . In the case of the \theta regulator, the increased error is likely due to its nonanalytic properties, which affect the accuracy of the flow. Indeed the flow equation changes abruptly each time k changes by 2\pi/L since \partial_{k}R_{k}(\mathbf{q})\propto\theta(k^{2}-\mathbf{q}^{2}) in this case, see also [ 55 ] . These results demonstrate the high numerical accuracy of our numerical integration of the LPA flow equation, giving confidence in our numerical integration of the flows at finite N . IV Rate functions at finite N in dimension three For finite N , an exact solution for the rate function is not available, and the LPA provides only an approximation to the exact theory. In addition to the expected regulator dependence of the fixed point functions, some spurious regulator dependence remains in the rate functions after the flow is integrated, as explained in Sec. III.3 . Since the variance in FRG results caused by changing the regulator prefactor is not informative, we will only use the optimal prefactors given in Table 1 for N=2 and N=3 . We compare the FRG results at LPA with Monte Carlo (MC) results, which when L is large enough to ensure convergence, serve as the closest available proxy to exact results. From now on, we only consider three-dimensional systems. Figure 5: Probability distributions \langle\delta(\hat{\mathbf{s}}^{2}/2-\check{\rho})\rangle as a function of \check{\rho} for different N at \zeta=0 computed from MC at L=96 . The Jacobian term \propto\check{\rho}^{(N-2)/2} has not been extracted from it yet to obtain P(\mathbf{s}) Our MC simulations of the 3D O(2) (XY), O(3) (Heisenberg) and O(4) models were performed using Wolff cluster algorithm [ 62 ] with typically 10^{7} independent MC configurations. We do not directly evaluate histograms at given T but record for each MC configuration the squared total spin density \hat{\mathbf{s}}^{2}/2 and the energy density L^{-3}\sum_{\langle i,j\rangle}\hat{\bm{\sigma}}_{i}.\hat{\bm{\sigma}}_{j} , where \hat{\bm{\sigma}}_{i} are unit-length O(N) spins and the sum is over nearest-neighbors. This allows us to use histogram reweighting techniques [ 63 ] to extend the calculation of the rate function to a range of \zeta . Our results show that the difference between the scaled rate function at L=96 and L=128 is negligible for both N=2 and N=3 . The PDF so-obtained at \zeta=0 are shown in Fig. 5 . Note that by recording the squared magnetization we are in effect computing \langle\delta(\hat{\mathbf{s}}^{2}/2-\check{\rho})\rangle , which differs from P(\mathbf{s}) by a Jacobian term \propto\check{\rho}^{(N-2)/2} . We therefore divide the former by the Jacobian to reconstruct the rate functions. To vary \zeta , we need the critical temperatures and correlation length dependence on it for our specific models, as both are non-universal. Fortunately, these are available in the literature, and we used \xi_{\infty,{\rm MC}}=\xi_{+,{\rm MC}}\left(1-\frac{T_{c}}{T}\right)^{-\nu}, (75) with J/T_{c}\simeq 0.45416 and \xi_{+,{\rm MC}}\simeq 0.498 for N=2 ( J/T_{c}\simeq 0.6930 and \xi_{+}\simeq 0.484 for N=3 ) [ 64 , 65 , 66 ] . To compute the PDF for various L and fixed \zeta , the temperature is therefore chosen such that \xi_{\infty,{\rm MC}}=L/\zeta . Finally, let us note that the typical scale of the field is non-universal, meaning that there is a non-universal amplitude associated with \check{\rho} to be fixed. Since in all cases considered here, the rate function has a non-trivial minimum at \zeta=0 , we use the position of this minimum at \zeta=0 , called \check{\rho}_{0} to normalize the \check{\rho} . This allows for a direct comparison between MC simulations and FRG calculation. IV.1 Comparison between FRG and MC Figure 6: Rate functions of the O(2) model at \zeta=0 obtained from MC for various system sizes and FRG at LPA for various regulators at optimal \alpha . The inset zooms near the minimum. Figure 7: Rate functions of the O(3) model at \zeta=0 obtained from and FRG at LPA for various regulators at optimal \alpha . The inset zooms near the minimum. Figure 8: Universal amplitude \Delta I_{N}=\frac{L^{d}(I_{min,N}-I_{0,N})}{N} as a function of \zeta for different N , obtained from FRG and MC and from the exact solution in large N . N=2 N=3 \zeta_{c} N\Delta I_{N} \zeta_{c} N\Delta I_{N} MC 3.2\pm 0.2 -1.36\pm 0.01 2.7\pm 0.2 -2.03\pm 0.01 \theta 2.4931 -1.6998 2.5839 -2.5306 exp. 2.4904 -1.6948 2.5810 -2.5289 Wett. 2.4887 -1.6919 2.5795 -2.5238 Table 3: Universal amplitude \Delta I_{N}=\frac{L^{d}(I_{min,N}-I_{0,N})}{N} at \zeta=0 and critical ratio \zeta_{c} obtained from FRG for different regulators at optimal \alpha compared to MC. Figures 6 and 7 compare the rate functions at \zeta=0 for N=2 and 3 , respectively, as obtained from MC and FRG. We observe that while the shapes are similar, there is a discrepancy between the FRG result at LPA and the MC data. This cannot be due to finite-size corrections in the latter, as the variation from L=64 to L=128 is much smaller than the difference with FRG. Furthermore, we find a very small variation of the FRG results when changing regulators, as exemplified in Table 3 , which gives the universal amplitude \Delta I_{N}=\frac{L^{d}(I_{min,N}-I_{0,N})}{N} . This is clearly an issue due to the LPA, which is not exact for N=2 and N=3 . So far, we have focused on the case \zeta=0 . To test our method’s ability to capture universality, we examine the behavior of the rate functions for different values of \zeta , as these should all be universal. We observe that the dependence of the rate functions on \zeta for all N is qualitatively similar to the N\to\infty case shown in Fig. 2 . A concise way to characterize this universality is by examining the dependence of \Delta I_{N} on \zeta for different N . The combined results are shown in Fig. 8 . The FRG results for N\to\infty are excluded, as they match the exact results to high precision, as discussed in Sec. III.4 . As in the large N limit, we find that for finite N , the rate functions change convexity at a critical value \zeta_{c}>0 and consequently \Delta I_{N}\to 0 , as shown in Fig. 8 . In FRG calculations, I_{\zeta}^{\prime}(\check{\rho}) is computed directly during the flow, and \zeta_{c} is most easily identified as the point where I_{\zeta}^{\prime}(\check{\rho}=0) crosses zero. For MC, although \Delta I_{N} can be determined with high precision when it is not much smaller than 1, we find it more accurate to estimate \zeta_{c} by calculating I_{\zeta}^{\prime}(\check{\rho}=0) using histogram reweighting for different values of \zeta , as this quantity depends linearly on \zeta near \zeta_{c} . This critical value \zeta_{c} is given in Table 3 for N=2 and N=3 , and we find that the discrepancies between MC and FRG at LPA are approximately 25\% , similar to the results for \Delta I_{N} . IV.2 Shapes of the rate functions While we have seen that there is quite a discrepancy between FRG at LPA and MC simulations, we now show that the shape of the rate function is very well captured at LPA, if we correct for the amplitude of the rate function (i.e. allow ourselves to multiply it by a factor r_{I}(N) ) and of \zeta (i.e. allow ourselves to multiply it by a factor r_{\zeta}(N) ). Those factors are found by finding the best collapse between FRG and MC data of \Delta I_{N} as a function of \zeta , as shown in Fig. 9 , giving r_{I}(2)\approx 0.79 and r_{\zeta}(2)\approx 1.33 for N=2 and r_{I}(3)\approx 0.81 and r_{\zeta}(3)\approx 1.12 for N=3 . 7 7 7 In comparing FRG at LPA and MC for N=1 in [ 49 ] , we had allowed ourselves to rescale the amplitude of the rate function, although for an incorrect reason, see footnote 6 . This amounted to use r_{I}(1)\approx 0.80 and r_{\zeta}(1)\simeq 1.11 . Figure 9: Universal amplitude \Delta I_{N}^{\dagger}=\frac{L^{d}(I^{\dagger}_{min,N}-I^{\dagger}_{0,N})}{N} as a function of \zeta^{\dagger} for N=2 and 3 . For MC data, \zeta^{\dagger}=\zeta and I^{\dagger}(\check{\rho})=I(\check{\rho}) while for FRG \zeta^{\dagger}=r_{\zeta}(N)\zeta and I^{\dagger}(\check{\rho})=r_{I}(N)I(\check{\rho}) , see text. Figure 10: Rate functions as functions of \check{\rho} calculated by MC and FRG (with exponential regulator) for various \zeta^{\dagger} for the O(2) model. For MC data, \zeta^{\dagger}=\zeta and I^{\dagger}(\check{\rho})=I(\check{\rho}) while for FRG \zeta^{\dagger}=r_{\zeta}(N)\zeta and I^{\dagger}(\check{\rho})=r_{I}(N)I(\check{\rho}) , see text. Focusing on the case N=2 , for which there is the most discrepancy, Fig. 10 shows the comparison of rate functions for various \zeta between MC and FRG, once we have accounted for a rescaling of \zeta and amplitude of the rate function. We then find an excellent functional collapse both in field and in \zeta . The relative error between the FRG and MC rate functions, as a function of \check{\rho} , is less than 1\% . This suggests that the error induced by the LPA is primarily concentrated in the calculation of the two universal constants \Delta I_{N} and \zeta_{c} , while the finer details of the rate function’s dependence on \check{\rho} and \zeta are reproduced with high accuracy. This has also been observed in the calculation of the rate function of the 3D Ising model using FRG [ 49 ] and perturbative RG [ 45 ] . Finally, we compare in Fig. 11 the shape of the rate functions at \zeta=0 for various N as obtained from MC and in the large N limit. Since the rate function is of order N , we compare the rate functions normalized by N . Very surprisingly, we observe that the normalized rate functions at N=2 and N=3 are almost identical, while the rate function for N=4 is closer to that of large N . 8 8 8 We used T_{c}/J=1.0684(1) for N=4 [ 67 ] . We leave a more detailed understanding of this for future work. Figure 11: Rate functions for different N at \zeta=0 , obtained from MC at L=96 for finite N , and from the exact result for large N . Surprisingly, the N=2 and N=3 rate functions are almost on top of each other when rescaled by N . V Conclusion We have conducted a detailed study of the rate function in the O(N) models. In the N\to\infty limit, we derived an exact solution, similar to the well-known derivation of the effective potential in this limit [ 48 ] . This result provides valuable insights into the general O(N) case, as it qualitatively captures the key behaviors across the full range of N . We then applied the nonperturbative approach to calculating the rate function, first introduced in [ 49 ] , to the O(N) models. This approach leverages the full power of the FRG, allowing us to handle cases where exact solutions are not available. We focused on testing the reliability of results obtained using the Local Potential Approximation (LPA), the lowest order of the derivative expansion, which is the most widely used approximation in FRG studies. By benchmarking against the N\to\infty case, where the LPA becomes exact, we confirmed the robustness of our numerical implementation of the method. For finite N , the dependence on the infrared regulator introduces no more than a 0.5\% variation. However, estimating the universal scales characterizing the rate functions proved more challenging, with discrepancies of up to 25\% . Despite this, the nontrivial universal features of the rate functions are qualitatively well captured, even at the LPA level. Looking forward, future work will focus on improving the precision of universal scale estimates by extending the approximation level beyond LPA. Additionally, we aim to generalize the method to other models, in particular disordered systems and out-of-equilibrium statistical physics. Acknowledgements. IB wishes to thank Martin Hasenbusch for his valuable correspondence. AR and BD thank the Institute of Physics in Zagreb for its hospitality, and BD and IB for that of the Université de Lille, where parts of this work were done. AR and IB are supported by the Croatian Science fund project HRZZ-IP-10-2022-9423, an IEA CNRS project, and by the “PHC COGITO” program (project number: 49149VE) funded by the French Ministry for Europe and Foreign Affairs, the French Ministry for Higher Education and Research, and The Croatian Ministry of Science and Education. IB wishes to acknowledge the support of the INFaR and FrustKor projects financed by the EU through the National Recovery and Resilience Plan (NRRP) 2021-2026.