If open and connected , : integrable in for every open is weakly differentiable in and then is constant a.e. in

I don't even know where to begin with this one, the usual proof for when is differentiable does not apply since we don't really have a mean value theorem for this derivatives, so... I'm stuck. Any help is appreciated.