The Ontological Hierarchy of Mathematics and Physics: First-Principle Derivation of Topological Invariants and Geometric Scale from the Generalized Collatz Map | Synapse