This might be super trivial but I if possible would like some clarification on this topic.
I am reading from Munkres' Topology, 2nd edition, page 78 (if interested).
My question regards what a basis for a topology means. Below is what I am thinking it means; besides its definition I wonder if the following is true:
[$\mathcal{B}$ is a basis for a topology $\tau$] $\Rightarrow \tau$ is the topology generated by $\mathcal{B}$, that is $$\tau=\tau_\mathcal{B}=\{ U \subseteq X: \forall x\in U \exists B\in\mathcal{B}\left( x\in B \subseteq U\right)\}.$$
Essentially what I want is that when we say $\mathcal{B}$ is a basis for a topology, then the topology that $\mathcal{B}$ is a basis for (might just be definition here) is the topology $\tau_\mathcal{B}$ mentioned above.
*Munkres' defines a basis for a topology as:
If $X$ is a set, a basis for a topology on $X$ is a collection $\mathcal{B}$ of subsets of $X$ (called basis elements) such that $$(1)\, \text{For each $x \in X$, there is at least one basis element $B$ containing $x$}$$ $$(2)\, \text{If $x$ belongs to the intersection of two basis elements $B_1$ and $B_2$, then there is a basis}$$ $$\text{element $B_3$ containing $x$ such that $B_3 \subseteq B_1 \cap B_2$.}$$ If $\mathcal{B}$ satisfies these two conditions, then we define the topology $\tau$ generated by $\mathcal{B}$ as follows: A subset $U$ of $X$ is said to be open in $X$ if for each $x \in U$, there is a basis element $B \in \mathcal{B}$ such that $x \in B$ and $B\subseteq U$.
Later in a lemma we prove:
Let $X$ be a set; let $\mathcal{B}$ be a basis for a topology $\tau$ on $X$. Then $\tau$ equals the collection of all unions of elements of $\mathcal{B}.$
In the proof of this lemma, it looks to me like they are saying that $\tau=\tau_\mathcal{B}$ as I defined above so this leads me to think that at this point, when we say $\mathcal{B}$ is a basis for a topology $\tau$ on $X$, we are meaning $\tau=\tau_\mathcal{B}$.
I am still trying to get a sense of what your answers means, Berci. In an older topology book that I used in undergrad, we defined a basis of a topology as being some subset of a topology $\tau$ where each element of $\tau$ could be written as the union of members of $\mathcal{B}$, which I am sure is equivalent to how it is defined in Munkres' text, I am just trying to put some pieces together so that I have some hard statements to prove.