“…In this paper when we say that some subset or function is definable, we mean it is first-order definable (possibly with parameters) in the sense of the structure M. A general reference for first-order logic is [9]. All the notions related to o-minimality can be found in [17,12,18], see also [19] for a nice overview. We start with the definition of an o-minimal structure: The field of reals R, <, +, ·, 0, 1 , the group of rationals Q, <, +, 0 , the field of reals with exponential function, the field of reals expanded by restricted pfaffian functions and the exponential function are o-minimal structures.…”