There are three schools of magic.
One: State a tautology, then ring the changes on its corollaries; that’s philosophy. Two: Record many facts. Try to find a pattern. Then make a wrong guess at the next fact; that’s science. Three: Be aware that you live in a malevolent Universe controlled by Murphy’s Law, sometimes offset by Brewster’s Factor; that’s engineering.