As a physics major student, I'm not familiar what regularity means in the scope of PDE. Based on my understanding, regularity of a real-valued function expresses how smooth the function is. But I have some questions about the details. From one paper (in appendix of this papper), I read the following content:
Suppose that one is given a linear equation like $Lf=g$: knowing the regularity of $g$, what can be said of the regularity of $f$ ? Of course the answer depends of the type of the equation: if it is elliptic, then typically second derivatives of $f$ have the same regularity as $g$, etc. In the case then $f$ is a priori $\gamma$ degrees less smooth than g, one says that the equation loses $\gamma$ derivatives.
I don't understand why $f$ would be less smooth than $g$? For example: $$ f(x)= \begin{cases} x^2, \quad x \geq 0\\ 0,\,\,\, \quad x <0 \end{cases}, \qquad g(x) = {\partial^2 \over \partial x^2}f= \begin{cases} 2, \quad x \geq 0\\ 0, \quad x <0 \end{cases} $$
Shouldn't $f$ be more smooth than $g$? Do I have some misunderstanding?