{"id":19230,"date":"2024-02-25T10:03:55","date_gmt":"2024-02-25T09:03:55","guid":{"rendered":"https:\/\/djalil.chafai.net\/blog\/?p=19230"},"modified":"2024-09-05T18:31:49","modified_gmt":"2024-09-05T16:31:49","slug":"back-to-basics-from-ldp-to-clt","status":"publish","type":"post","link":"https:\/\/djalil.chafai.net\/blog\/2024\/02\/25\/back-to-basics-from-ldp-to-clt\/","title":{"rendered":"Back to basics : from LDP to CLT"},"content":{"rendered":"<figure id=\"attachment_19403\" aria-describedby=\"caption-attachment-19403\" style=\"width: 659px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/en.m.wikipedia.org\/wiki\/File:Legendre_and_Fourier_(1820).jpg\"><img loading=\"lazy\" class=\"wp-image-19403 size-full\" src=\"http:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2024\/02\/Legendre_and_Fourier_1820_crop.jpg\" alt=\"1820 watercolor caricatures of the French mathematicians Adrien-Marie Legendre (left) and Joseph Fourier (right) by French artist Julien-L\u00e9opold Boilly.\" width=\"659\" height=\"297\" srcset=\"https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2024\/02\/Legendre_and_Fourier_1820_crop.jpg 659w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2024\/02\/Legendre_and_Fourier_1820_crop-300x135.jpg 300w\" sizes=\"(max-width: 659px) 100vw, 659px\" \/><\/a><figcaption id=\"caption-attachment-19403\" class=\"wp-caption-text\">1820 watercolor caricatures of Adrien-Marie Legendre (left) and Joseph Fourier by Julien-L\u00e9opold Boilly (1796 -- 1874).<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">This post is about a link between large deviations inequalities and the central limit phenomenon. In a nutshell, for the random walk $S_n:=X_1+\\cdots+X_n$ where $X_1,\\ldots,X_n$ are independent copies on a real random variables $X$, the Markov inequality yields, for all $x$,<br \/>\n$$<br \/>\n\\mathbb{P}\\Bigr(\\frac{S_n}{n}\\geq x\\Bigr)<br \/>\n\\overset{\\lambda&gt;0}{=}<br \/>\n\\mathbb{P}(\\mathrm{e}^{\\lambda S_n}\\geq\\mathrm{e}^{n\\lambda x})<br \/>\n\\leq\\mathrm{e}^{-n\\sup_{\\lambda\\geq0}(\\lambda x-\\log\\mathbb{E}(\\mathrm{e}^{\\lambda X}))}.<br \/>\n$$ The variational function of $x$ in the right hand side reminds the Legendre transform of the log-Laplace transform, known as the Cram\u00e9r transform. When $X$ has finite exponential moments, we obtain, for $x=\\mathbb{E}(X)+r$, a reinforcement of the law of large numbers in terms of an exponential deviation inequality for $\\frac{S_n}{n}$ from $\\mathbb{E}(X)$. This leads to the Cram\u00e9r large deviations principle. When $x=\\mathbb{E}(X)+\\frac{r}{\\sqrt{n}}$, the left hand side is at the CLT scale and the right hand side leads to the second derivative, at $\\mathbb{E}(X)$, of the Cram\u00e9r transform, which turns out to be $\\frac{1}{\\mathrm{Var}(X)}$, making the upper bound Gaussian in accordance with the CLT.<\/p>\n<p style=\"text-align: justify;\"><strong>Legendre transform.<\/strong> Let us consider a function<br \/>\n$$<br \/>\n\\Phi:\\mathbb{R}\\to(-\\infty,+\\infty].<br \/>\n$$ We assume that $\\Phi\\not\\equiv+\\infty$, namely that<br \/>\n$$<br \/>\n\\{\\lambda\\in\\mathbb{R}:\\Phi(\\lambda)&lt;+\\infty\\}\\neq\\varnothing.<br \/>\n$$ Then its Legendre transform $\\Phi^*:\\mathbb{R}\\to(-\\infty,+\\infty]$ is defined for all $x\\in\\mathbb{R}$ by<br \/>\n$$<br \/>\n\\Phi^*(x):=\\sup_{\\lambda\\in\\mathbb{R}}(\\lambda x-\\Phi(\\lambda))<br \/>\n=\\sup_{\\Phi(\\lambda) < +\\infty}(\\lambda x-\\Phi(\\lambda)).\n$$ Since $\\Phi^*$ is the envelope of a family of affine functions, it is <strong>convex<\/strong>. Famous examples :<br \/>\n$$<br \/>\n\\begin{array}{c|c|c|c}<br \/>\n\\Phi(\\lambda) &amp; \\{\\Phi<+\\infty\\} &amp; \\Phi^*(x) &amp; \\{\\Phi^*<+\\infty\\}\\\\\\hline\n|\\lambda|^p, 1 &lt; p &lt; \\infty &amp; \\mathbb{R} &amp; |x|^q, \\frac{1}{p}+\\frac{1}{q}=1 &amp; \\mathbb{R}\\\\\n|\\lambda| &amp; \\mathbb{R} &amp; 0 &amp; [-1,1] \\\\\n\\mathrm{e}^\\lambda &amp; \\mathbb{R} &amp; x\\log(x)-x &amp; [0,+\\infty)\n\\end{array}\n$$ For all $\\lambda$ and $x$, the definition of $\\Phi^*$ gives the <strong>Young or Fenchel inequality<\/strong> :<br \/>\n$$<br \/>\n\\Phi(\\lambda)+\\Phi^*(x)\\geq\\Phi(\\lambda)+\\lambda x-\\Phi(\\lambda)=\\lambda x.<br \/>\n$$ If $\\Phi$ is convex, differentiable on an open interval $I\\subset\\{\\Phi<+\\infty\\}$ with $\\Phi'$ injective, then $\\Phi^*$ is differentiable on $\\Phi'(I)$ and satisfies the <strong>Legendre fundamental relation<\/strong> :<br \/>\n$$<br \/>\n(\\Phi^*)'=(\\Phi')^{-1}.<br \/>\n$$ Indeed, under these assumptions on $\\Phi$ the function $\\lambda\\mapsto\\lambda x-\\Phi(\\lambda)$ is then concave and achieves its supremum at $\\lambda=(\\Phi')^{-1}(x)$, hence the <strong>Legendre formula<\/strong><br \/>\n$$<br \/>\n\\Phi^*(x)=<br \/>\nx(\\Phi')^{-1}(x)-\\Phi((\\Phi')^{-1}(x)),<br \/>\n$$ which shows that $\\Phi^*$ is differentiable and gives<br \/>\n$$<br \/>\n(\\Phi^*)'(x)<br \/>\n=(\\Phi')^{-1}(x)+x((\\Phi')^{-1})'(x)-\\Phi'((\\Phi')^{-1}(x))((\\Phi')^{-1})'(x)<br \/>\n=(\\Phi')^{-1}(x).<br \/>\n$$ If $\\Phi^*\\not\\equiv+\\infty$ then $\\Phi^{**}:\\mathbb{R}\\to(-\\infty,+\\infty]$ is well defined, the Young inequality gives $\\Phi\\geq\\Phi^{**}$, and $\\Phi^{**}$ appears as a convexification of $\\Phi$. The Legendre fundamental relation indicates that $\\Phi^{**}=\\Phi$ if $\\Phi$ is convex, and $\\Phi$ and $\\Phi^*$ are then the Legendre transform of each other : we say that they are <strong>conjugate convex functions<\/strong>, and we speak about <strong>convex duality<\/strong>.<\/p>\n<p style=\"text-align: justify;\">The Legendre transform is a fundamental tool in nonlinear analysis due to its deep link with convexity. In classical mechanics, it relates the Lagrangian with the Hamiltonian, in thermodynamics and in statistical physics, it relates important variables and in particular the free energy is a Legendre transform. In information theory and in statistics, the Kullback-Leibler relative entropy is the Legendre transform of the log-Laplace transform. In probability theory, the Cram\u00e9r large deviations principle involves the Legendre transform of the logarithm of the Laplace transform. A take home idea is that if a problem involves a function which is convex in a variable, it is often interesting to consider its Legendre transform, which corresponds to a remarkably structured nonlinear change of variable and duality.<\/p>\n<p style=\"text-align: justify;\"><strong>Cram\u00e9r transform.<\/strong> The <strong>Laplace transform<\/strong> of a real random variable $X$ is given for all $\\lambda\\in\\mathbb{R}$ by<br \/>\n$$<br \/>\nL(\\lambda):=\\mathbb{E}(\\mathrm{e}^{\\lambda X})\\in[0,+\\infty].<br \/>\n$$ If it is finite in a neighborhood of $0$, then for all $n\\geq0$, by dominated convergence,<br \/>\n$$<br \/>\nL^{(n)}(\\lambda)=\\mathbb{E}(X^n\\mathrm{e}^{\\lambda X})<br \/>\n$$ in other words $L$ is the <strong>moments generating function<\/strong> :<br \/>\n$$<br \/>\nL(\\lambda)=\\sum_{n=0}^\\infty\\frac{\\mathbb{E}(X^n)}{n!}\\lambda^n,<br \/>\n\\quad\\text{in particular}\\ L(0)=1,\\ L'(0)=\\mathbb{E}(X),\\ L''(0)=\\mathbb{E}(X^2).<br \/>\n$$ The logarithm of the Laplace transform, or <strong>log-Laplace transform<\/strong>, is<br \/>\n$$<br \/>\n\\Lambda(\\lambda):=\\log L(\\lambda)\\in(-\\infty,+\\infty].<br \/>\n$$ It is the <strong>cumulants generating function<\/strong>. We have<br \/>\n$$<br \/>\n\\Lambda'(\\lambda)=\\frac{L'(\\lambda)}{L(\\lambda)}=\\frac{\\mathbb{E}(X\\mathrm{e}^{\\lambda X})}{L(\\lambda)}<br \/>\n\\quad\\text{and}\\quad<br \/>\n\\Lambda''(\\lambda)=\\frac{\\mathbb{E}(X^2\\mathrm{e}^{\\lambda X})L(\\lambda)-\\mathbb{E}(X\\mathrm{e}^{\\lambda X})^2}{L(\\lambda)^2}.<br \/>\n$$ In particular<br \/>\n$$<br \/>\n\\Lambda(0)=0,\\quad<br \/>\n\\Lambda'(0)=\\mathbb{E}(X),\\quad<br \/>\n\\Lambda''(0)=\\mathbb{E}(X^2)-\\mathbb{E}(X)^2=\\mathrm{Var}(X).<br \/>\n$$ The log-Laplace transform $\\Lambda$ is <strong>convex<\/strong>, indeed the H\u00f6lder inequality for $p=1\/\\theta$ gives<br \/>\n$$<br \/>\n\\Lambda(\\theta\\lambda_1+(1-\\theta)\\lambda_2)<br \/>\n=\\log\\mathbb{E}((\\mathrm{e}^{\\lambda_1 X})^\\theta(\\mathrm{e}^{\\lambda_2 X})^{1-\\theta})<br \/>\n\\leq\\theta\\Lambda(\\lambda_1)+(1-\\theta)\\Lambda(\\lambda_2).<br \/>\n$$ The <strong>Cram\u00e9r transform<\/strong> is the Lengendre transform of the log-Laplace transform :<br \/>\n$$<br \/>\n\\Lambda^*(x):=\\sup_{\\lambda\\in\\mathbb{R}}(\\lambda x-\\Lambda(\\lambda)).<br \/>\n$$ Since $\\Lambda^*(x)\\geq 0x-\\Lambda(0)=0$ for all $x\\in\\mathbb{R}$, we always have<br \/>\n$$<br \/>\n\\Lambda^*\\geq0.<br \/>\n$$ Examples of Cram\u00e9r transforms :<br \/>\n\\begin{array}{c|c|c}<br \/>\n\\text{Distribution}<br \/>\n&amp; \\Lambda(\\lambda)<br \/>\n&amp; \\Lambda^*(x)\\\\\\hline<br \/>\n\\underset{\\text{Bernoulli}\\ 0 &lt; p &lt; 1}{p\\delta_1+(1-p)\\delta_0} &amp; \\log(p\\mathrm{e}^{\\lambda}+(1-p)) &amp; \\begin{cases} x\\log\\frac{x}{p}+(1-x)\\log\\frac{1-x}{1-p}&amp;\\text{if $x\\in[0,1]$}\\\\ +\\infty&amp;\\text{otherwise} \\end{cases}\\\\ \\underset{\\text{Poisson}\\ \\theta&gt;0}{\\mathrm{e}^{-\\theta}\\sum_{n=0}^\\infty\\frac{\\theta^n}{n!}\\delta_n}<br \/>\n&amp;\\theta(\\mathrm{e}^{\\lambda}-1)<br \/>\n&amp;\\begin{cases}<br \/>\n\\theta-x+x\\log\\frac{x}{\\theta}&amp;\\text{if $x\\geq0$}\\\\<br \/>\n+\\infty&amp;\\text{otherwise}<br \/>\n\\end{cases}\\\\<br \/>\n\\underset{\\text{Exponential}\\ \\theta&gt;0}{\\theta\\mathrm{e}^{-\\theta x}\\mathbb{1}_{x\\geq0}\\mathrm{d}x}<br \/>\n&amp;\\begin{cases}<br \/>\n\\log\\frac{\\theta}{\\theta-\\lambda}&amp;\\text{if $\\lambda&lt;\\theta$}\\\\ +\\infty&amp;\\text{otherwise} \\end{cases} &amp;\\begin{cases} \\theta x-1-\\log(\\theta x)&amp;\\text{if $x&gt;0$}\\\\<br \/>\n+\\infty&amp;\\text{otherwise}<br \/>\n\\end{cases}\\\\<br \/>\n\\underset{\\text{Gaussian}\\ m\\in\\mathbb{R},\\ \\sigma&gt;0}{\\frac{1}{\\sqrt{2\\pi\\sigma^2}}\\mathrm{e}^{-\\frac{(x-m)^2}{2\\sigma^2}}\\mathrm{d}x}<br \/>\n&amp;\\lambda m+\\frac{\\sigma^2}{2}\\lambda^2<br \/>\n&amp;\\frac{(x-m)^2}{2\\sigma^2}<br \/>\n\\end{array}<\/p>\n<p style=\"text-align: justify;\">In these examples, $\\Lambda$ is finite in a neighborhood of $0$ with $\\Lambda''&gt;0$. Under these conditions, $X$ has all its moments finite, and remembering the properties of the Legendre transform, we get $\\Lambda'(0)=\\mathbb{E}(X)$ which gives $(\\Lambda')^{-1}(\\mathbb{E}(X))=0$, $\\Lambda''(0)=\\mathrm{Var}(X)>0$, and<br \/>\n$$<br \/>\n(\\Lambda^*)''(\\mathbb{E}(X))<br \/>\n=((\\Lambda')^{-1})'(\\mathbb{E}(X))<br \/>\n=\\frac{1}{\\Lambda''((\\Lambda')^{-1}(\\mathbb{E}(X)))}<br \/>\n=\\frac{1}{\\Lambda''(0)}<br \/>\n=\\frac{1}{\\mathrm{Var}(X)}.<br \/>\n$$ The function $\\Lambda^*$ vanishes at its unique minimizer $\\mathbb{E}(X)$. Moreover, if $x\\geq\\mathbb{E}(X)$, then<br \/>\n$$<br \/>\n\\Lambda^*(x)=\\sup_{\\lambda\\geq0}(\\lambda x-\\Lambda(\\lambda)).<br \/>\n$$ Indeed, if $x\\geq\\mathbb{E}(X)$ and $\\lambda\\leq0$ then $x\\lambda-\\Lambda(\\lambda)\\leq x\\mathbb{E}(X)-\\Lambda(\\lambda)\\leq0$ by the Jensen inequality, while $\\Lambda^*(x)\\geq0$ always. Similarly, if $x\\leq\\mathbb{E}(X)$, then<br \/>\n$$<br \/>\n\\Lambda^*(x)=\\sup_{\\lambda\\leq0}(\\lambda x-\\Lambda(\\lambda)).<br \/>\n$$<\/p>\n<p style=\"text-align: justify;\"><strong>Cram\u00e9r-Chernoff large deviation upper bound.<\/strong> With all the above we get, for all $x\\in\\mathbb{R}$,<br \/>\n$$<br \/>\n\\mathbb{P}\\Bigr(\\frac{S_n}{n}\\geq x\\Bigr)<br \/>\n\\leq\\exp\\Bigr(-n\\Lambda^*(x)\\Bigr).<br \/>\n$$ It follows that for all $r\\geq0$,<br \/>\n$$<br \/>\n\\mathbb{P}\\Bigr(\\sqrt{n}\\Bigr(\\frac{S_n}{n}-\\mathbb{E}(X)\\Bigr)\\geq r\\Bigr)<br \/>\n\\leq\\exp\\Bigr(-n\\Lambda^*\\Bigr(\\mathbb{E}(X)+\\frac{r}{\\sqrt{n}}\\Bigr)\\Bigr).<br \/>\n$$ Now, since $\\Lambda^*(\\mathbb{E}(X))=(\\Lambda^*)'(\\mathbb{E}(X))=0$, $(\\Lambda^*)''(\\mathbb{E}(X))=\\frac{1}{\\mathrm{Var}(X)}$, by a Taylor formula,<br \/>\n$$<br \/>\n\\Lambda^*\\Bigr(\\mathbb{E}(X)+h\\Bigr)<br \/>\n=\\frac{h^2}{2}(\\Lambda^*)''(\\mathbb{E}(X))+o(h^2)<br \/>\n=\\frac{h^2}{2\\mathrm{Var}(X)}+o(h^2),<br \/>\n$$ and we get finally the Gaussian estimate<br \/>\n$$<br \/>\n\\mathbb{P}\\Bigr(\\sqrt{n}\\Bigr(\\frac{S_n}{n}-\\mathbb{E}(X)\\Bigr)\\geq r\\Bigr)<br \/>\n\\leq\\exp\\Bigr(-\\frac{r^2}{2\\mathrm{Var}(X)}+o_{n\\to\\infty}(1)\\Bigr).<br \/>\n$$ Beyond the model of the empirical mean for iid samples, this suggests a way to pass from a large deviations principle (LDP) to a central limit theorem (CLT). The take home message is that up to regularity aspects, the second order derivative of the LDP rate functional at its minimizer gives the variance of a CLT. When this second order derivative vanishes, the CLT may still hold but at another scale (as for the critical Curie-Weiss model for example). The method applies to most large deviations principles for Boltzmann-Gibbs measures describing interacting particle systems. The classical example in statistical mechanics is the magnetization for the Curie-Weiss model. Another example in statistical physics is the linear statistics for Riesz gases including Coulomb gases. More precisely, in that case, the rate function is the infinite dimensional quadratic form<br \/>\n$$<br \/>\n\\mathrm{I}(\\mu)=\\frac{1}{2}\\iint K(x-y)\\mathrm{d}\\mu(x)\\mathrm{d}\\mu(y)+\\int V(x)\\mathrm{d}\\mu(x)<br \/>\n$$ for which the second derivative is constant and equal to the kernel $K$, which is, for Coulomb gases, the inverse Laplacian $-c_d\\Delta^{-1}$, hence the link with the Gaussian Free Field (GFF). A way to make this rigorous is to extract from the LDP an asymptotic analysis for the log-Laplace of the object of interest for the CLT. For Coulomb gazes, this is done via loop equations.<\/p>\n<p style=\"text-align: justify;\"><strong>Numerical experiment with Julia.<\/strong><\/p>\n<figure id=\"attachment_19402\" aria-describedby=\"caption-attachment-19402\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2024\/02\/ldp-clt-ber.png\"><img loading=\"lazy\" class=\"wp-image-19402 size-medium\" src=\"http:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2024\/02\/ldp-clt-ber-300x225.png\" alt=\"LDP vs CLT for Bernoulli\" width=\"300\" height=\"225\" srcset=\"https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2024\/02\/ldp-clt-ber-300x225.png 300w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2024\/02\/ldp-clt-ber-768x576.png 768w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2024\/02\/ldp-clt-ber.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-19402\" class=\"wp-caption-text\">LDP vs CLT for Bernoulli<\/figcaption><\/figure>\n<pre class=\"prettyprint\">using Distributions, LaTeXStrings, Plots, Printf  \r\n# using Pkg; Pkg.add.([\"Distributions\", \"LaTeXStrings\", \"Plots\", \"Printf\"])\r\nn = 100 ; p = .8 ; q = 1-p ; dx = .01 ; r = collect(0:dx:1-p-dx) ; x = r.+p\r\nexa = Distributions.ccdf.(Binomial(n,p),n*x)\r\nclt = Distributions.ccdf.(Normal(n*p,sqrt(n*p*q)),n*x)\r\nldp = exp.(-n.*(x.*log.(x.\/p)+(1 .-x).*log.((1 .-x).\/q)))\r\nplot(r,log.(exa).\/n,color=[:black],lw=2,label=\"Exact\")\r\nplot!(r,log.(clt).\/n,color=[:red],lw=2,label=\"CLT\")\r\nplot!(r,log.(ldp).\/n,color=[:blue],lw=2,label=\"LDP\")\r\ntitle!(@sprintf(\"LDP vs CLT approximation : Bernoulli p=%2.1f, n=%d\",p,n))\r\nxlabel!(\"r\") ; ylabel!(L\"\\frac{1}{n}\\log(\\mathbb{P}(S_n\\geq p+r))\") ; \r\nplot!(size=(1024,768)); savefig(\"ldp-clt-ber.png\") ; gui()\r\n<\/pre>\n<p style=\"text-align: justify;\"><strong>Further reading.<\/strong><\/p>\n<ul>\n<li>Wlodzimierz Bryc<br \/>\n<a>A remark on the connection between the large deviation principle and the central limit theorem<\/a><br \/>\nStatistics &amp; Probability Letters 18 253-256 (1993)<\/li>\n<li>Frank den Hollander<br \/>\n<a>Large deviations<\/a> - specifically Section I.4(7)<br \/>\nFields Institute Monographs 14 - American Mathematical Society (2000)<\/li>\n<li>G\u00e9rard Ben Arous and Marc Brunaud<br \/>\n<a>The Laplace method: variational study of the fluctuations of mean-field diffusions<\/a><br \/>\nStochastics Stochastics Reports 31(1-4) 79\u2013144 (1990)<\/li>\n<li>Djalil Chafa\u00ef<br \/>\n<a>Aspects of Coulomb gases<\/a> - specifically Section 5<br \/>\nPanoramas et Synth\u00e8ses 59 - Soci\u00e9t\u00e9 Math\u00e9matique de France, 1\u201340 (2023)<\/li>\n<li>Mich\u00e8le Audin et Jean-Pierre Kahane<br \/>\n<a href=\"https:\/\/images.math.cnrs.fr\/Portraits-d-Adrien-Marie-Legendre.html\">Portrait d'Adrien-Marie Legendre (1752 - 1833) ?<\/a><br \/>\nImage des math\u00e9matiques, 8 mai 2011<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This post is about a link between large deviations inequalities and the central limit phenomenon. In a nutshell, for the random walk $S_n:=X_1+\\cdots+X_n$ where $X_1,\\ldots,X_n$&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/djalil.chafai.net\/blog\/2024\/02\/25\/back-to-basics-from-ldp-to-clt\/\">Continue reading<span class=\"screen-reader-text\">Back to basics : from LDP to CLT<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":549},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/19230"}],"collection":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/comments?post=19230"}],"version-history":[{"count":221,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/19230\/revisions"}],"predecessor-version":[{"id":20569,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/19230\/revisions\/20569"}],"wp:attachment":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/media?parent=19230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/categories?post=19230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/tags?post=19230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}