If you thought the growing criticism directed at the United States Patent and Trademark Office would force them to rethink their strategies in granting patents, you're most likely wrong. After a re-examination that took more than four years, the USPTO has reconfirmed Amazon's ominous one-click patent.

Mathematics is an abstraction of logic. Therefore, mathematics is logic, but logic is not always mathematics. Logic can be cognition, the recognition of a sun rise, differentiated from a sun set.
QED, a logic circuit or a processor doesn't intrinsically do maths, though it is easy to abstract some algorithmic results to symbolise mathematics, while other results might symbolise other forms of logic.