I'm trying to understand the geometry of the Hamilton-Jacobi equation (working from Gelfand + Fomin), but I'm stuck. I know that:
If we define the function $S(t,y;t_0, y_0)$ as:
$$S(t,y;t_0,y_0) = \int_{t_0}^{t_1} L(t,y_{cl},y_{cl}') dt$$
where $y_{cl}$ is the unique (by assumption) extremal joining $(t_0, y_0)$ and $(t,y)$ then, holding $(t_0, y_0)$ fixed, $S(t,y)$ will satisfy the Hamilton-Jacobi equation:
$$\frac{\partial S}{\partial t} + H(t,y,\nabla_y S)=0.$$
I'm happy working in this direction: define $S(t,y,t_0, y_0)$, then observe it obeys a PDE.
However, I'm a little confused going the other way - from the PDE to the complete solution.
We know from above that all of the functions
$$S(t,y;t_0,y_0) + S_0$$
for any fixed $t_0,y_0$ and $S_0$ will be solutions of the Hamilton-Jacobi equation (we can add $S_0$ because the Hamilton-Jacobi equation doesn't depend on $S$ explicitly.) Thus, if we imagine $y = (y_1,y_2,\ldots,y_n)$, the possible solutions will be a family with at least $n+2$ independent parameters: $$S(t,y;t_0,y_0,S_0) = S(t,y;\alpha_1,\alpha_2,\ldots,\alpha_{n+2})$$
However, the H-J equation is a First Order PDE in $n+1$ variables, and so it's complete integral depends on only $n+1$ parameters:
$$S = S(t,y;\alpha_1,\alpha_2,\ldots,\alpha_{n+1})$$
It seems the complete integral doesn't contain enough parameters to cover the solutions I know about, let alone any others!
My questions are:
What am I misunderstanding about the H-J equations/complete integrals?
Are all solutions of the H-J equations of the form: $$S(t,y;t_0,y_0) + S_0$$ i.e., does each solution correspond to some point $(t_0,y_0)$ in phase space, with $S$ giving us the minimal action between that point and every other in phase space (at least up to an additive constant)?