Suppose $L^\infty(X;\mu)$ is not finite dimensional. We have to prove it is non-separable. Suppose not i.e. $L^\infty(X,\mu)$ is separable. Then $\mathcal{F}=\{f\in L^\infty(X;\mu):\ \text{Range}(f)\subseteq\{0,1\}\}=\{\chi_A:\ A\text{ is measurable}\}$ is separable in $\lVert\cdot\rVert_\infty$ norm.
I have proved that for $f,g\in\mathcal{F}$ with $f\ne g$, we have $\lVert f-g\rVert_\infty=1$. Hence, $\mathcal{F}$ is discrete space. As $\mathcal{F}$ is separable, $\mathcal{F}$ should be countable.
From here, I want to prove $L^\infty(X;\mu)$ is finite dimensional. Usually the cardinality of the set $\{f:X\to\Bbb{C}:\ \text{Range}(f)\subseteq\{0,1\}\}$ is $2^{|X|}$ but when we consider the functions as member of $L^\infty$, two distict maps $f,g$ (as set theoretic) may be equal more specifically, $\chi_A=\chi_B\iff \mu(A\triangle B)=0$.
Can anyone help me complete the proof? Thanks for your help in advance.
We say a measure $\mu$ has infinite support if there is a sequence of pairwise disjoint subsets $A_n$ such that $\mu(A_n)>0.$ For any subset $I\subset \mathbb{N}$ let $f_I$ denote the indicator function of $B_I=\displaystyle\bigcup_{i\in I}A_i.$ Then $\|f_I-f_J\|_\infty\ge 1$ for $I\neq J,$ as $ \mu (B_I\triangle B_J)>0.$ The cardinality of the family $I\subset \mathbb{N}$ is equal continuum. Therefore the space is not separable.
If the measure $\mu$ has finite support then $X$ can be decompsed into a finite family of disjoint subsets $A_1,A_2,\ldots,A_n$ of positive measure such that every set $A_j$ cannot be decomposed into two disjoint sets of positive measure. Then $L^\infty$ is $n$-dimensional.