Smoothness of weight sharply discards Lavrentiev's gap for double phase functionals | Synapse