Gravar-mail: ON THE MATHEMATICAL MECHANISM OF PHASE TRANSITION