Gaussian Expectations via the Gaussian Differential Operator

Let {p(x) = \frac{1}{\sqrt{2\pi}} e^{-x^2/2}} be the standard normal probability density function, i.e. a Gaussian with zero mean and unit variance. There is a very nice result for calculating the Gaussian expectation of a function:

\displaystyle \mathbb{E}[f(x)] = \left. e^{\frac{1}{2} \frac{d^2}{dx^2}} f(x) \right|_{x=0} .\ \ \ \ \ (1)

I previously only knew the proofs that relied on shift operators or on Gaussian moments. But I found out today that there is a short and elegant Fourier analytic way to arrive at (1).

The expectation value {\mathbb{E}[f(x)]} of {f(x)} over the Gaussian distribution is given by the {L^2} inner product

\displaystyle \mathbb{E}[f(x)] = \langle p, f \rangle = \int_{-\infty}^{\infty} p(x) f(x) dx.

To establish the claim (1), we express the operator action evaluated at {x = 0} via the inverse Fourier transform. Let {\mathcal{F}} denote the continuous Fourier transform on {L^2(\mathbb{R})}:

\displaystyle \widehat f(k)= \mathcal{F}[f](k) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^{\infty} f(x) \, e^{-i k x} \, dx.

Evaluating a function at {x = 0} via the inverse Fourier transform is equivalent to integrating its transform against {e^{i k (0)} = 1}. Using the property that the differential operator {\frac{d}{dx}} acts as multiplication by {ik} in frequency space, the operator exponential {e^{\frac{1}{2} \frac{d^2}{dx^2}} f(x)} Fourier transforms to { e^{-\frac{1}{2} k^2} \widehat{f}(k)}. It is well known that the Fourier transform of a Gaussian is another Gaussian. In particular

\displaystyle \widehat{p}(k) = p(k) = \frac{1}{\sqrt{2\pi}} e^{-k^2/2}.

The last step is to apply the Parseval–Plancherel theorem to {\langle p, f \rangle}, and the expression (1) follows:

\displaystyle \begin{array}{rcl} \left. e^{\frac{1}{2} \frac{d^2}{dx^2}} f(x) \right|_{x=0} &=& \frac{1}{\sqrt{2\pi}} \int_{-\infty}^{\infty} \mathcal{F}\left[ e^{\frac{1}{2} \frac{d^2}{dx^2}} f \right](k) \, dk \\ &=& \frac{1}{\sqrt{2\pi}} \int_{-\infty}^{\infty} e^{-\frac{1}{2} k^2} \widehat{f}(k) \, dk \\ &=& \int_{-\infty}^{\infty} \widehat{p}(k) \widehat{f}(k) \, dk \\ &=& \langle \widehat{p}, \widehat{f} \rangle \\ &=& \langle p, f \rangle \\ &=& \mathbb{E}[f(x)] \quad \blacksquare \end{array}

Mahler Measures and Statistical Mechanics

1. Historical Background

The quantity that would later become known as the Mahler measure was originally introduced in 1933 by Derrick H. Lehmer, who was interested in finding large prime integers. For a monic polynomial, the Mahler measure is the product of the absolute values of all the roots outside the complex unit circle. More generally, let {p(x) = \sum_{i=0}^n a_i x^i = a_n \prod_{i=1}^n (x-\alpha_i)}. Then the Mahler measure {M(p(x))} is given by {M(p(x)) = |a_n| \prod_{i=1}^n \max(1,|\alpha_i|).}  The application of Jensen’s formula

\displaystyle \log|f(0)| = \frac{1}{2\pi} \int_0^{2\pi} \log|f(re^{i\theta})| \, d\theta - \sum_{|a_k|<r} \log\frac{r}{|a_k|} ~,

leads to the equivalent (and eponymous) analytic definition due to Kurt Mahler, who in the 1960s used it to obtain estimates in transcendence theory:

\displaystyle m(P) = \frac{1}{2\pi} \int_0^{2\pi} \log|P(e^{i\theta})| \, d\theta. \ \ \ \ \ (1)

 

2. Generalized Mahler Measures

The integral definition above sets the stage for generalizing Mahler measures beyond polynomials. Indeed, for an analytic function {f(z) = \sum_{n=0}^\infty a_n z^n}, we cannot rely on roots alone, since there could be infinitely many. Instead, we use the integral:

\displaystyle m(f) = \frac{1}{2\pi} \int_0^{2\pi} \log|f(e^{i\theta})| \, d\theta,

assuming the integral converges. This measure captures the average size of the function around the unit circle. Note that this integral expression is an arithmetic mean of a logarithm, so that it can be thought of as the logarithm of a geometric mean. Indeed, this is how I think of it, namely, as the logarithm of the geometric mean of {|f(z)|} over the unit circle. This is of course equal to the real part of the logarithm of the geometric mean of {f(z)}.

3. Mahler Measures and Hardy Spaces

I find Mahler measures to be incredibly fascinating. Before I discuss my personal interest in them, I wish to give a historical example in the one dimensional setting (1), namely the outer function in Hardy spaces, which are important in complex analysis, harmonic analysis, and operator theory and in the study of boundary values of holomorphic functions and singular integrals.

A Hardy space is a function space of holomorphic functions on the unit disk whose boundary values have finite {L^p}-norm. Mathematicians use Hardy space theory to understand how analytic functions behave near the circle. Every function can be split into three parts: the zeros inside the disk, any singular behaviors, and the remaining outer function {O(z)}, which reflects the average magnitude on the circle.

In Hardy space theory, the generalized Mahler measure of a function is called the outer function constant and equals the logarithm of the outer function at the origin:

\displaystyle m(f) = \log|O(0)|.

So the boundary behavior of a Hardy space function is related to this Mahler measure, which is a global quantity that captures the “size” of the function on the circle. This allows us to quantify and control the growth of functions in the Hardy space.

4. Mahler Measures in Higher Dimensions

For polynomials in several variables {P(z_1, \dots, z_n)}, Mahler’s analytic definition generalizes naturally:

\displaystyle m(P) = \frac{1}{(2\pi)^n} \int_0^{2\pi} \dots \int_0^{2\pi} \log|P(e^{i\theta_1}, \dots, e^{i\theta_n})| \, d\theta_1 \dots d\theta_n.

This quantity has intriguing connections to other quantities, such as various types of {L}-functions and other arithmetic properties of polynomials.

5. Other Names and Connections

Depending on context, {m(f)} is known as:

  • Logarithmic integral mean or mean value of {\log|f|}.
  • Outer function constant.
  • Logarithm of the geometric mean of {|f|} or Szegő integral.
  • Topological entropy of associated torus maps.

All these names point to the same idea: a number capturing the geometric mean of the function’s size on the circle.

6. Connections to Elliptic Functions and the Ising Model

Mahler measures have a long list of fascinating properties and applications. As detailed in this article, in the last two decades, Mahler measures have found applications across diverse areas of physics, including crystal melting instantons, mirror symmetry, toric quiver gauge theories, extremal (BPS) black holes, topological string theories, networked control systems and random walks on lattices. In statistical mechanics, they play key roles in spanning tree generating functions, lattice Green functions, and partition functions of lattice models.

In mathematics, Mahler measures continue to be a topic of research. Some historical examples follow. Boyd and Smyth (1980s–1990s) discovered remarkable connections to {L}-functions and elliptic curves and identified instances where the logarithmic Mahler measure of a polynomial equals a rational multiple of special values of some {L}-function. (The best known {L}-function is the Riemann zeta function.) Deninger, in the 1990s, showed that the logarithmic Mahler measure of a polynomial coincides with the topological entropy of certain algebraic dynamical systems.  See this article for details.

My own interest in Mahler measures lies in their remarkable connection to classical lattice spin models in statistical mechanics. In this context, recently I showed that Mahler measures are connected to partition functions of planar Ising models:

G. M. Viswanathan, “Mahler measures, elliptic curves, and 𝐿-functions for the free energy of the Ising model,”  Phys. Rev. E 110, 054134 (2024).

DOI: https://doi.org/10.1103/PhysRevE.110.054134

7. Final remarks

The above considerations and examples show the breadth of applications for Mahler measures. I hope that this blog article conveys to the reader a taste of why the subject remains active and interesting. Indeed, Mahler measures provide a simple but powerful way to capture information about polynomials and analytic functions. I am currently trying further to understand the role played by Mahler measures in statistical mechanics.

The Qualia-from-Quantum-Magic Hypothesis

[Update (1 October 2025):  I am happy to announce that PsyArXiv has accepted my appeal and my preprint has been accepted:

DOI: 10.31234/osf.io/2tbp7_v1

Meanwhile arXiv refused to even consider an appeal unless my paper is published in a journal. Isn’t the whole point of a preprint server to share papers prior to publication?  I cannot help but wonder whether or not this moderation policy is compatible with arXiv’s stated mission to provide “an open research sharing platform where scholars can share and discover new, relevant, and emerging science.”  ]


I just uploaded a preprint to zenodo.  It is a single-author paper, so the moderators of preprint servers, such as psyarxiv, are flagging it as AI-generated, which it is not (I wrote every sentence and made all the figures myself).  I have authored several papers by myself, for example see here this single-author article in Nature : https://doi.org/10.1038/4651018a

Since I am unable to get it onto the preprint servers, I am posting it here.

Title:

Qualia from quantum magic:
A quantum resource approach to phenomenal consciousness

Abstract:

Qualia—the first-person qualities of subjective experiences that constitute the “what it is like” of phenomenal consciousness—have thus far resisted physical explanation. Here we hypothesize that qualia are generated in the brain during the quantum computational resolution of difficult inverse problems when non-Clifford magic states are consumed above a threshold rate. Magic states are a well-known quantum resource necessary for universal quantum computation—a form of computational fuel. Inverse problems in cognition, such as reconstructing the state of the environment or internal states from incomplete or noisy sensory and interoceptive data, are typically ill-posed and computationally costly. A prototypical inverse problem is determining the actual 3D shape of an object from a blurry 2D retinal image. The Qualia-from-Quantum-Magic Hypothesis reframes classic philosophical thought experiments (e.g., zombies and inverted qualia), predicts when and where qualia should arise, and offers a natural explanation for their absence in simple systems such as thermostats and in many complex systems such as the Internet. In the brain, it predicts consciousness-related activity to be concentrated in the posterior sensory cortices, because vision and hearing pose some of the most challenging inverse problems that are vital to an animal’s survival. In light of this prediction, we conclude by discussing recent empirical findings of the Cogitate Consortium.

DOI: https://doi.org/10.5281/zenodo.17021675

 

Here is a challenge for you (and for any AI)

In my last blog post, I gave an example of a math challenge that OpenAI’s ChatGPT got wrong, but DeepSeek got right, even though it gave a much longer solution than my own.

Here is another beautiful identity for to you try to prove, either by yourself, or by using AI:

\displaystyle \sum_{n=0}^\infty\sum_{j=0}^{\lfloor (n+1)/2 \rfloor} { (-1)^n } { n!\over j!j!(n+1-2j)!} u^{2n+2-2j} =0

In fact, the two identities are related. (Question: How?)

This time, I am not posting my own short solution, which uses the Mercator series.

DeepSeek beat ChatGPT in this university-level math challenge

Today (1 August 2025) I asked ChatGPT and DeepSeek to prove the following identity:

\displaystyle \sum_{n=0}^\infty \sum_{k=0}^{\lfloor n/2 \rfloor} \binom{1/2}{n} \binom{n}{2k} 2^{2k} u^{2(n - k)} = 1. \ \ \ \ \ (1)

The series converges for {|u|<1}, but it is also valid more generally when seen algebraically as formal power series.

I can prove this identity in a few minutes (see below). But I was curious to see how far AI has come. So I tested the free versions of  ChatGPT and DeepSeek.

OpenAI’s chatGPT got it wrong. See here.

DeepSeek gave a valid proof. See here.

Compared to my short proof, DeepSeek’s proof is bulky. But at least it is correct. I cannot say the same for ChatGPT, which blundered.

I confess that I was quite shocked that DeepSeek did better. China has indeed overtaken the US in many ways.

To see my own proof, read on.

Continue reading →