Your mistake is one that’s easy to make and one that I’ve made myself before. We’re not trolling you. You’re just losing track of a factor of f and thereby getting the wrong result.
By the way, I also agree with your overall point about smaller sensor cameras being better suited to macro photography. It’s just that your f512 claim is based on a mistaken calculation.