Consider a collection of creation $a^\dagger$and annihilation operators $a$. In physics one defines Wick ordering (also known as normal ordering) as a prescription to place all creation operators before annihilation operators and this is commonly denoted by a set of dots $::$. For example, $$:a^\dagger a a a^\dagger a: = a^\dagger a^\dagger a a a.$$ The motivation for this is to have finite vacuum expectation values for quantum fields that are built out of creation and annihilation operators.
In rigorous approaches to quantum field theory (such as the books Quantum Physics: A Functional Integral Point of View by Glimm & Jaffe or The $P(\Phi)_2$ Euclidean (Quantum) Field Theory by Barry Simon) they also use an operation known as Wick ordering (or Wick powers/products), which I believe originates from probability theory.
I have seen various definitions for what the rigorous/probabilistic version of Wick ordering is. On Wikipedia and in Simon's book it is defined recursively as follows: suppose $X_1 \ldots X_n$ are random variables with finite moments. Then the Wick product $:X_1 \ldots X_n$: is defined so that
- The empty Wick product is 1, i.e. $:~: = 1$
- $$\frac{\partial}{\partial X_i}:X_1\ldots X_n:~ = ~:X_1\ldots X_{i-1}\hat{X}_{i}X_{i+1}\ldots X_n:$$ where $\hat{X_i}$ means $X_i$ is omitted.
- Each Wick product has zero expectation: $$\langle :X_1\ldots X_n:\rangle = 0$$
Another definition is in terms of Hermite polynomials, as presented in this arxiv paper or in Glimm & Jaffe's book. Yet another definition is given in Glimm & Jaffe's book, which is an orthogonal projection onto a subspace of Fock space.
I am getting confused with all these different definitions. The answer to this question gives some great motivation, but from a mathematical point of view I'm still not clear what exactly Wick ordering is doing (especially when viewed as an orthogonal projector). What is its relationship to the physicist's prescription of moving all creation operators to the left and annihilation operators to the right? Are all these definitions equivalent?