I was studying some basic topology and was wondering about the basis for a quotient topology. I came up with the following, but I can't seem to find something this elementary stated explicitly anywhere, and this set of notes (link is 404, only available in Google cache) seems to suggest that a the (fix: Brian) basis is in general unclear. Have I made a mistake somewhere?
Lemma: Let $q: X\rightarrow X/{\sim}$ be a quotient map, and let $\mathcal{B}$ be a basis for the original topology $\tau$ on $X$. Then $q(\mathcal{B})=\{q(B)\mid B\in\mathcal{B}\}$ is a basis for the quotient topology $\tau_q$ iff $q$ is an open map.
Proof: Suppose $q(\mathcal{B})$ is a basis for $(X/{\sim}, \tau_q)$. Therefore, the image of each $B\in\mathcal{B}$ is open, and since every open $O\subseteq X$ is a union of the basis elements (and $q(\emptyset)=\emptyset$), $q(O)$ is open. Thus $q$ is an open map.
Suppose $q$ is open. $q$ is surjective, so $q(\mathcal{B})$ covers $X/{\sim}$ since $\mathcal{B}$ covers $X$. Now, consider the intersection $O':=q(B)\cap q(B')$. It is open, since $q$ is open. Thus $O:=q^{-1}(q(B)\cap q(B'))$ is open as $q$ is continuous. Since $q$ is surjective, $O'=q(q^{-1}(O'))=q(O)=\bigcup_{\delta}q(B_{\delta})$ as $O$ is a union of some basis elements $B_{\delta}$. So for all $x\in O', x\in q(B_{\delta})\subseteq O'$ for some $\delta$. Thus $q(\mathcal{B})$ is a basis. By the same construction, any open set in $\tau_q$ is expressible as a union of basis elements, and conversely any union of basis elements is in $\tau_q$. Thus $q(\mathcal{B})$ is indeed a basis for $\tau_q$. $\blacksquare$
Edit: I just realized this certainly does not solve for the general case, derp. It still seems quite useful to not appear though. For instance, the typical question of the quotient of $\mathbb{R}^2$ by $(x,y)\sim(a,b)\Leftrightarrow x^2+y^2=a^2+b^2$ can be seen to be an open map, since every 'open box' in $\mathbb{R}^2$ maps to open intervals in $[0,\infty)$, so the intervals $[0, x)$ and $(a, b)$ with $a$ positive form a basis.