Errors will be added to an array if the optimizer finds invalid operations involving constants (e.g. (inv 0))