A type of cyclic rearrangement (or its converse) in which a sigma bond is formed between two terminal carbon atoms of a conjugated molecule, resulting in a decrease of one in the number of pi bonds present. Electrocyclic reactions can be described by either Woodward–Hoffmann frontier-orbital theory or the Woodward–Hoffmann rules.