According to $[$Exercise $12.8$, $1]$ we have the following version of the Second Derivative Test:
Theorem. Let $E=(E,\|\cdot \|)$ be a Banach space, let $D$ be a subset of $E$ and suppose $f: D \rightarrow \mathbb{R}$ is $2$ times continuously differentiable at a point $x \in D$. If $f'(x)=0$ and the bilinear form $f''(x)$ is positive definite that is $[f''(x)(v)](v)>0$ for every nonzero $v \in E$, then $f$ attains a local mininum at $x \in D$ that is there exists an $\varepsilon>0$ such that if $\|y-x\|<\varepsilon$, then $f(x)<f(y)$.
Here, the differentiability is in the Fréchet sense, where $f'(x):E \rightarrow \mathbb{R}$ denote the first Fréchet derivative of $f$ at $x$ and $f''(x)$ stands the second Fréchet derivative of $f$ at $x$ so that for each $v \in E$, $f''(x)v \in \mathcal{L}(E, \mathbb{R})$ . Moreover, $f$ be $2$ times continuously differentiable in $x$ means that the function $y \mapsto f'(y)$ is continuously differentiable in $x$ that is $y \mapsto f'(y)$ is differentiable at each point in a neighborhood of $x$ and $y \mapsto f'(y)$ is continuous at $x$.
Question. The theorem above is true? If is true, how to prove?
I've seen similar results $($for instance in $[2])$. However, in general such results require that the domain $D$ of the functional be either open/convex $($for instance, a open ball in $E)$. In this case, we have that the domain of the functional is just a subset of $E$. So I seriously doubt whether such a result remains valid in this subset context. In $[1]$ the author gives a hint to prove the theorem: use the Mean Value Theorem $([$Theorem $12.7$, $1])$ twice to show that $f(y)-f(x)>0$ for all $y \in E$ in a sufficiently small ball around $x$. But even then I still haven't been able to prove such a result. Is it possible to prove it this way?
$[1]$ Baggett, L. Functional analysis. A primer. Marcel Dekker, Inc., New York, $1992$.
$[2]$ Deimling, K., Nonlinear functional analysis. Springer-Verlag, Berlin, $1985$.