Related to this question, suppose we define $G(k,n)$ to be the set of $n\times k$ matricies with rank $k$, equipped with the quotient topology of $\mathbb{R}^{nk}$ by the equivalence relaiton $$A\sim B\iff \exists g\in GL(k,\mathbb{R}), A = Bg.$$
To show $G(k,n)$ is compact, we only need to show that $F(k,n)$ is compact, where $F(k,n)$ is the set of $n\times k$ matrices with rank $k$. As a subset of $\mathbb{R}^{kn}$, we need show that $F(k,n)$ is closed and bounded in Mat$_{n\times k}$.
When I try to show closedness, I observe that $A\in F(k,n)$ iff there exists a $(k,k)$-minor that has nonvanishing determinant. Thus I realized $F(k,n)$ has a finite union of complements of zero sets of polynomials, which is open. This is to the opposite of what I was expecting. Please help.