We just had the definition of compactification in our lecture, which says that Y must be compact and X must be a dense and open subspace of X. However in his Notes he gave the Definition so that X must only be a dense, open subset. My question now is if this condition is necessary for compactification or if it can be put down.
I am especially interested if compact Sets wouldnt necessarily remain compact if X only needs to be a subset.
The term "subspace" in the context of topology means, essentially, a subset when considered with the induced topology.
In particular, every subspace is a subset of the space, and every subset is a subspace of the space.