Given a measure space $\mathcal M$, I am wondering what kind of measure space $\mathcal T(\mathcal M)$ one could associate to the set of binary trees with elements from $\mathcal M$ at each node.
The kind of trees I mean can probably best be described in functional programming syntax:
datatype Tree(a) = Leaf | Node(Tree(a), a, Tree(a))
In particular, I wonder what the $\sigma$-algebra of that $\mathcal T(\mathcal M)$ would look like, and how this generalises to other algebraic datatypes.