For , define
The function is a pseudometric. Declare when , and give the quotient set the induced metric, again denoted . This is the real tree encoded by an excursion .