Gaussian Processes (GP) are widely viewed as practical ways to implement Gaussian Measures (GM) numerically. In fact, in many contexts it seems that to each GP corresponds a GM and vice versa, see, e.g., this. The focus there is mainly on GP/M on infinite dimensional spaces. In particular, they consider the separable Frechet spaces $C(I),\,C^k(I),\,AC(I)$, where $I$ is a real interval. Separability is an important assumption that ensures the fact that
The Borel sigma algebra on a Frechet space $X$ coincides with the smallest sigma algebra which makes continous linear functionals on $X$ measurable (see top p.3 here)
Replacing the real interval with a bounded open set in $\mathbb R^n$ changes nothing in their approach. My question is whether the result holds also for $C^\infty$, let's say on the unit cube -- open or closed. I could not adjust the proof for $C^k$ (obviously), nor could I find a reference, despite scouring the internet.
Does anyone know the answer for the question in the title? Thank you!
Yes, $C^\infty([0,1]^n)$ is a very nice nuclear Fréchet space which, in particular, is separable.
The definition of differentiability is no problem since, at all points $x$ of the cube $Q=[0,1]^n$ and for each direction $r\in S^{n-1}$, either $x+tr\in Q$ for all small $t>0$ or $x-tr\in Q$ for all small $t>0$. (As pointed out by GEdgar, this is nonsense. But the partial derivatives exist. In general, it is important that enough directional derivatives exist to define the Fréchet derivative uniquely.)
The topology of $C^\infty(Q)$ is the topology of uniform convergence on $Q$ of all partial derivatives. That this topology is completely metrizable is a standard argument based on the fundamental theorem of calculus (for $f_n\to f$ such that $\partial_j f_n\to g_j$ uniformly, the limit $f$ is partially differentiable with $\partial_f=g$). Also nuclearity is, essentially, a consequence of the FTC, alternatively, one can use Arzelá-Ascoli to prove that $C^\infty(Q)$ is Fréchet-Schwartz which is enough for separability (but slightly weaker than nuclearity). You can also show directly that (restrictions to $Q$ of) polynomials are dense in $Q$, e.g., using Weierstrass's theorem as suggested in the comment of Jose27. As a reference I would recommend the book Introduction to Functional Analysis of Meise and Vogt.
A simple instance of Whitney's extension theorem implies that the restriction operator $C^\infty(\mathbb R^n)\to C^\infty(Q)$, $f\mapsto f|_Q$ is surjective and even has a continuous linear right inverse.
For general compact sets $Q$ there is a notion of smooth functions on $Q$ in terms of Whitney jets. The definition is somwhat elaborated but it turns out that the restriction operators from $C^\infty(\mathbb R^n)$ to $C^\infty(Q)$ (which is usually denoted as $\mathscr E(Q)$) is surjective but the existence of a continuous linear right inverse (an extension operator) is a notorously difficult question about the geoemtry of $Q$.