The local analytic solution to some nonlinear diffusion-reaction problems