The interval $[0,1]$ is partitioned to $n$ disjoint parts. Is the set of all possible partitions compact?
There are several cases:
A. All $n$ parts are connected intervals (possibly empty). In this case, every partition can be represented as a vector with $n-1$ elements in $[0,1]$ (representing the locations of cuts). Hence the set of all partitions is equivalent to $[0,1]^{n-1}$, which is compact by the Tychonoff theorem.
B. The $n$ parts are arbitrary subsets of $[0,1]$. In this case, every partition can be represented as a function from $[0,1]$ to the finite set $\{1,...,n\}$, where $f$ assigns to each point the number of the part it belongs to. The set of such functions is $\{1,...,n\}^{[0,1]}$, which is also compact by the Tychonoff theorem.
C. The $n$ parts are measurable subsets of $[0,1]$. A partition can be represented as in B., but now $f$ has to be measurable. Is the subset of measurable functions compact in the Tychonoff topology of $\{1,...,n\}^{[0,1]}$?