Given a FSM: A={2Vin,2Vout,I,2Vstate,R} where Vin={a}, Vout={o}, Vstate={p,q}, I=q<->q<->q, R=next(q)&(next(p)|(p->o))&!(q->a)
Question : How to represent R in DNF? Please explain step by step. If there is any reference material available, where it is explained clearly, please let me know.