Let $X$ be a linear subspace of a Hilbert space $Y$. Let $a(\cdot,\cdot):X \times X \to \mathbb{R}$ be bilinear. Suppose I know what $a$ is on $X$.
Is there some theorem or other that tells me that $a$ can be uniquely extended to all of $Y$? Something similar to a bounded linear transform theorem? ($X$ is not necessarily dense in $Y$.)
are there other assumptions I can use?
Consider unique continuous extenstion $\overline{a}$ of $a$ from $X\times X$ to $\overline{X}\times \overline{X}$. It is always possible. Now we have bilinear form defined on Hilbert space $\overline{X}$. By $P$ we denote orthogonal projection from $Y$ to $\overline{X}$. Recall that there exist linear isometric bijection between bounded operators and bilinear forms $$ I_H:\mathcal{B}(H)\to\mathcal{Bil}(H,H) : T\mapsto((x,y)\mapsto \langle T(x),y\rangle) $$ where $H$ - is a Hilbert space.
The desired bilinear extension $b$ is $I_{Y}(I_{\overline{X}}^{-1}(\overline{a})P)$.