"Conjugated dienes and hexatrienes are capable of (reversible) electrocyclic ring closures to cyclobutenes and 1,3-cyclohexadienes, respectively. The diene – cyclobutene system prefers thermal conrotatory and photochemical disrotatory modes. The triene – cyclohexadiene system reacts in the opposite way, proceeding through thermal disrotatory and photochemical conrotatory rearrangements. The stereochemistry of such electrocyclic reactions is governed by the Woodward-Hoffmann rules."
January 1, 1970
https://en.wikiquote.org/wiki/Conjugated_system