As proven in Gatheral notes (or in this discussion)
The equations of the local volatility as a function of the vanilla calls can be written as $$ \sigma^2(T,K) = \frac{\frac{\partial C}{\partial T} + (r - q)K \frac{\partial C}{\partial K} + qC}{ \frac{1}{2} K^2 \frac{\partial^2C}{\partial K^2}} $$
And or as a function of implied volatility surface as $$ \sigma_{\mathrm{Dup}}(T,K)^2 = \frac{ \frac{\partial w}{\partial T} }{1 - \frac{y}{w} \frac{\partial w}{\partial y}+ \frac{1}{4}\left( - \frac{1}{4} + \frac{1}{w} + \frac{y^2}{w^2} \right) \left(\frac{\partial w}{\partial y}\right)^2 + \frac{1}{2}\frac{\partial^2 w}{\partial y^2} } $$ with $y = \ln(K/F_0^T)$ and $w(T,y) = T\Sigma^2(T,y)$
However, I would require a precision on the time-dimension variables meaning (as I feel a bit confused with all these variables, especially the $w$ and $y$, that in their writings show a dependance to a $T$ variable.
In short version:
- What is $T$ in these writings ( $y = \ln(K/F_0^T)$ and $w(T,y) = T\Sigma^2(T,y)$ ) ?
- What points are evaluated the variables and derivatives ?
In confused version (this may help provide more elements of my misunderstanding):
- What is the $T$ in Dupire local volatility ?
- is it a $ T= t $ ?
- For instance a simulation step between such that $t>t_0 $ ? where $t_0$ is the spot calibration date ? But in such case, at what grid point are evaluated $w, y,$ and all the partial derivatives ?
- For instance, $w$ is defined as $w(T,y) = T\Sigma^2(T,y)$, in such case, if $T=t$, taking $t\Sigma^2(t,y)$ for $w$ does not make sense as it should be defined as a total implied variance from a maturity $T$ point ? Or should it be $T-t$ instead ?
- I have the same questions for the variables and derivatives in the formula of local volatility from vanilla calls. Should the calls be evaluated at $T$, $t$ or $T-t$ ?
- I don't think $T$ in Dupire formula represent a time to maturity as the local volatility is supposed to be specific maturity independent. But, I would require some explanations for a better understanding I guess...
Note: I help writing my question with use of different pdf and some quant.stackexchange pages such as this one