The OP should put down whatever book/notes they are reading and try a fresh approach - read this relevant wikipedia definition for compactness.
It starts off by defining compactness for any topological space $X$, and you will see equal signs, not inclusion signs. It then continues with the definition for a subset of a topological space, and you will see inclusion signs, not equal signs.
Well, to say a subset $K$ of a topological space $X$ is compact means that the (induced) topological subspace $K$ is compact. So, of course, if you don't like seeing the inclusion symbols, you can write out the 'induced formulation' using only the equal sign (provided you understand what the induced topology is).
The wikipedia article also states
Compactness is a "topological" property. That is, if ${\displaystyle X\subset Z\subset Y}$, with subset $Z$ equipped with the subspace topology, then $X$ is compact in $Z$ if and only if $X$ is compact in $Y$.
In particular, the induced topology on $X$ is compact if and only if $X$ is a compact subset of $Y$.
Of course if $X$ is a compact space, the subset $X \subset X$ with the induced topology is compact.
Writing all this out makes me want to google
'tautologically treating tortuous topological type things'.