The reaction follows a 6 πelectron electrocyclic reaction.
All calculations (reactants and transition states) were obtained with the PM6 method.