Rigidity of solutions to PDE’s with symmetries