When it comes to the relation of modern mathematics and philosophy, most people tend to think of the three major schools of thought—i.e. logicism, formalism, and intuitionism—that emerged as profound researches on the foundations and nature of mathematics in the beginning of the 20th century and have shaped the dominant discourse of an autonomous discipline of analytic philosophy, generally known under the rubric of “philosophy of mathematics” since then. What has been completely disregarded by these philosophical attitudes, these foundational researches which seek to provide pure mathematics with a philosophically plausible justification by founding it on firm logico-philosophical bases, is that the genuine self-foundation of pure mathematics had been done before, namely during the 19th century, when it was developing into an entirely new and independent discipline as a concomitant of the continuous dissociation of mathematics from the physical world. This self-foundation of the 19th-century pure mathematics, however, was more akin to the German-idealist interpretations of Kant’s transcendental philosophy, than the post-factum, retrospective 20th-century researches on the foundations of mathematics. This article aims to demonstrate this neglected historical fact via delving into the philosophical inclinations of the three major founders of the 19th-century pure mathematics, Riemann, Dedekind and Cantor. Consequently, pure mathematics, with respect to its idealist origins, proves to be a formalization and idealization of certain activities specific to a self-conscious transcendental subjectivity.