All Magic (or any other interaction) can be distilled to a series of If...Then statements. What separates the authors "real world" examples from say magic in TES, or DnD, or whatever else, is two things: Fluff and internal consistency.
Fluff is just how the person performs the magic...