Can someone explain the difference between a basis of a topology and a generator of a topology?
I already know that by taking unions of elements in the basis, you can construct the whole topology.
From the lectures I know that a topology generated by a set A, which is a collection of subsets of the topological space $(X,\mathcal{T}_X)$, is defined as the intersection of all topologies on $X$ containing $A$. So, $\mathcal{T}_X$ is the smallest topology on $X$, containing $A$.
Is it also true that you can take unions of elements in $A$ to construct the whole topology? I don't think that this is true. Take for example $X=\{1,2,3\}$ and $A=\{\{1\},\{1,2\}\}\subset \mathcal{P}(X)$. Right now you cannot construct $X$.
Thanks in advance!