It's simpler to quote the oft paraphrased definition of magic:
"Magic is the highest most absolute and divine knowledge of natural philosophy advanced in its works and wonderful operations by a right understanding of the inward and occult vertue of things, so that true agents being applied to proper patients, strange and admirable effects will thereby be produced; whence magicians are profound and diligent searchers into nature, they because of their skill know how to anticipate an effect which to the vulgar shall seem a miracle."
- Lemegeton Clavicula Salomonis, Preface from Harl. 6483