Գրեք սա: Analysis and optimal control of phase-field transition system