The two notions are not equivalentin the generality that is stated, but one gets an equivalence by making a slight change. The change is that rather than saying that the $\sigma$-algebra is countably generatedIndeed, what you get will be that it is contained within the completion of a countably generated $\sigma$-algebra.
Note that the second definition you cite is only defined they are notequivalent even when there is also a measure $\mu$ on the $\sigma$-algebra, and one considers completing the distance between two measureby adding all null sets in the $\sigma$-algebra is defined with respect to be the measure of their symmetric difference any countably generated $d(A,B)=\mu(A\triangle B)$.
For a \sigma$-algebra.
The easiest counterexample to for the strict interpretation of your question , asked isto let $X$ be any an uncountable set and $S$ S=P(X)$, thefull power set of $X$. This is a $\sigma$-algebra, but itis easily seen not to be countably generatedas a $\sigma$-algebra. But fix . Fix any $p\inX$ and let $\mu$ be the measure placing mass $1$ at $p$, with no measure p$ and0 mass outside of {p}. In this case, the family {emptyset, {p}} X}is dense in your the semi-metric, since every subset isessentially empty or {p}. all of $X$, depending on whether itcontains $p$. So the semi-metric is separable, but the$\sigma$-algebra is not countably generated.QED (More interesting examples can easily be constructed without point masses using
Note that in this counterexample, the same idea: add $\sigma$ algebra isobtained from the counting measure on {p} by adding anuncountable set of measure $0$ and use taking the completion.Similar counterexamples can be obtained by adding anuncountable set of the measure $\sigma$-algebra.)
For 0$ to any space and taking thepositive resultcompletion.
At first, note I thought incorrectly that one could address the counterexample $\sigma$ algebra was issue by considering the completion of the finite Boolean algebra generated by {p}. So you should really be speaking of measure, and showing that the $\sigma$-algebra being (would be contained in) the completion of within a countably generated $\sigma$-algebra. And with But I now realize that this version of the questionis incorrect, you get and I can provide a counterexample even to this form of the desired equivalence.
To prove the desired equivalencesee this, suppose that a (finite) measure is defined on a consider the filter$\sigma$-algebra F$ of all sets $S$ A\subset \omega_1$ that is generated by contain a closedunbounded set of countable subfamily $A_0$, $A_1$, $A_2$, ordinals. This is known as theclub filter, and so onit is closed under countableintersection. Every set The corresponding ideal $A\in S$ is obtained by NS$ consists of thenon-stationary sets, those that omit a club, and theseare closed under countable unionof . It follows that theform collection $A=\bigcup_{n\in I} \pm A_n$S=F\cup NS$, where which are the sets measured by aclub set, forms a $+A=A$ and \sigma$-algebra. The natural measure$-A$ is the complement of \mu$ on $A$ S$ gives every set in $F$ measure $1$ and everyset in $I$ NS$ measure $0$. This is any a countably additive2-valued measure on $S$. Note that every set of natural numbers. Let in $B_k=\bigcup_{n\in IS$ hasmeasure $0$ or $1$; in particular, n\lt k} \pm A_n$ be there are no disjointpositive measure sets. It follows that the finite approximationsfamily{emptyset,$\omega_1$} is dense in the semi-metric, so that sinceevery set in $A=\bigcup_k B_{k+1}-B_k$S$ either contains or omits a club set, which is andhence either agrees with emptyset or with the whole set ona disjoint unionclub. Thus, the measure of semi-metric is separable. But for anycountable subfamily $B_{k+1}-B_k$ must tend S_0\subset S$, we may intersect the clubsused to decide the members of $0$, S_0$, and so we can find some $B_k$ as close to a single clubset $A$ as desired. Thus, the finite Boolean combinations C\subset\omega_1$ that decides every member of the $A_n$ are dense S_0$, inyour semi-metric space.
Conversely, suppose the sense that some countable family every member of $S_0$ either contains oromits $C$. This feature is dense in your semi-metric space. Let preserved under complements,countable unions and intersections, and therefore $S$ be C$decides every member of the $\sigma$-algebra generated bythese sets. For any $A\in S$, we may find S_0$. The completion of the measure on the$A_n\subset A$ with \sigma$-algebra generated by $A_n\in S_0$ and $d(A,A_n)\lt \frac1n$. Thus, is therefore containedwithin the principal filter generated by $\bigcup_n A_n$ C$ together withits dual ideal. This is in not all of $S$, and differs from since there areclub sets properly contained within $A$ on a C$, such as the set ofmeasure limit points of $0$. So C$. Thus, this is a measure space that has a separablesemi-metric, but the $A$ \sigma$-algebra is not contained inthe completion of any countably generated $S$, as desired.\sigma$-algebra.