Let $A$ be some arbitrary finite set. (e.g. $\{a,b\}$).
Now let $$S=(A\times B)^n$$ Where $B$ is the set of all possible probability functions on $S$:
$$B=\left\{p\in S\to\mathbb R^+:\int_S p(s)ds=1\right\}$$
This definition of $S$ has a kind of "self-referential" structure. Things tend to go wrong when we introduce self-reference in mathematics, so my question is: Is this a well-defined set? If it is not a set, is it even a well-defined class? Is there any way to make sense of this (e.g. using measure theory), or is it nonsensical?
Note that this definition is inspired by Aumann's concept of an interactive belief system, where $n$ agents have a probability distribution over the set $A$, but also over each other's probability distributions over this set, and over THESE probability distributions, ad infinitum.