Stav dette: An algebraic normal form for regular events.