A fractal is usually defined to be a self-similar shape (this is the informal definition). But, the formal definition is:
A fractal is a set for which the Hausdorff dimension strictly exceeds the topological dimension (formal definition).
Before proceeding to the question, I will tell what this means. The topological dimension is the "normal" dimension; a line is 0 dimensional, a surface is 2 dimensional, etc. The Hausdorff dimension is defined as $\log s/\log z$. What are $s$ and $z$? Suppose we zoom in to the shape. Here, $z$ is the zoom change, and $s$ is the size change in the shape.
So, my question is
In what cases and why are the formal definition and the informal definition equivalent?
I don't know much about topological and Hausdorff dimensions; I just know their intuitive meaning. So please pardon me if the definitions' equivalence is obvious from some elementary property of those dimensions.