On the Mathematical Structure of Cascade Effects and Emergent Phenomena