Gravar-mail: On the mathematical theory of globally optimal planned economic systems