It's object-oriented programming, applied to mathematics (with the application to mathematics predating and anticipating the object-oriented programing paradigm, itself). Just as you have base types, and derived types in object oriented programming, so you have base formalisms and derived formalisms in mathematics; and just as the type inheritance relation yields a stratification into an inheritance hierarchy in object-oriented programming, you have a similar stratification of mathematical formalisms.
Classical analysis, when viewed this way, stratifies naturally into an inheritance hierarchy, with each of the major classical results and concepts in classical analysis finding their proper location at the appropriate stratum. Integrals (and sums) live in measure spaces, with measure theory, the differentiation operator lives in Banach spaces, parallelism lives in Affine geometry, as does linearity, the underlying formalism for partial differential equations (and such results as finding all the symmetries of a given system of partial differential equations) lives in Jet bundles, notions regarding continuity, connectedness, and the like, live in topological spaces and are recognized as topological concepts.
So, in the Great Sorting Out of the late 19th century and early 20th century, all the layers were recognized and formalized, and all the classical concepts and results were sorted into their respective strata. The typical way in which a layer came to be recognized was to take the classical result, whittle down the least and most general conditions that led to that result and to then take those conditions as being some or all the core of the corresponding stratum. (This process could be automated, by the way - so it may be possible to go back and redo the whole exercise by machine, starting with classical analysis, to see what results.)
Enough concepts were found to have an overlapping range of cores that centered on the notion of topology that the layer known as Topology came to be recognized in its own right. A typical starting presentation of the subject will start with a zillion different equivalent ways to define the concept of a topological space (open sets, closed sets, the interior operator, the closure operator, the boundary operator, neighborhoods, etc.); and each of those ways may have, historically, been a separate and independent way in which the concept of a topological space was first recognized.
The Intermediate Value Theorem, essentially, says that a continuous function ranges over all the points between any two values it takes, as the independent variables go from one setting to the other. That has the topological concepts of connectivity and continuity underlying it. Another theorem states that a continuous function assumes a minimum and maximum value as its independent variables range over a bounded interval. That's directly connected to the topological concept of compactness. The underlying role of each of those concepts were recognized in enough other contexts to justify calling them out, as well as calling out the "topology" stratum as a bona fide stratum in its own right.
A vestige of the historical evolution of these concepts remains intact in most presentations - the portfolio of examples (or exercises) typically displayed, each time a topological concept or result is rolled out, during the presentation ... because humans are creatures of habit and always keep harping the same notions.
Within the inheritance hierarchy, the "topology" stratum serves as a base formalism for other derived formalisms, including "measure theory", "Banach space", "manifold theory" and so on. So, the net result of The Great Sorting Out was an hierarchy of (now) well-established post-classical 19-20th century theories, which topology is at the relatively low end of.
Beneath it is a deeper, even more base, formalism: that of the point set, with its corresponding formalism of set theory - so the two are often presented together. However, it is possible to divorce the "topology" stratum from the underlying "point set" stratum and treat it autonomously - which leads to "pointless topology". In pointless topology, the basic objects are not points, at all, but the hierarchy of open sets - with the sets, themselves, taken as the fundamental objects, paying no regard to what their respective constituencies are.
Pointless Toplology: https://en.wikipedia.org/wiki/Pointless_topology
That tends to be less a form of analysis and more an algebraic theory. A lot of the proofs of results in topology can be done without making reference to open sets as being sets of points, but just objects in their own right. So, there's enough there to serve as the basis of another under-stratum to topology. In that respect, the "topology" layer has a dual inheritance from two separate base formalisms: the "pointless topology" formalism and the "set theory" formalism.
DaveL.Renfro: I don't think I know enough of game theory to speak comfortably about nash equilibrium and similar stuff.
– Daniel Robert-Nicoud Feb 20 '13 at 16:21