I'm referring to Lebesgue measure here. If it helps, we can work in $[0,1]^n$ instead, since if a set has measure zero in each cube, then it has measure zero overall.
For example, I'm thinking of the set of invertible matrices (as a subset of $\mathbb R^{n^2}$), or the set of matrices with $n$ distinct eigenvalues. I'm pretty sure both of those are dense open sets. Is that sufficient to prove that the complement has measure zero?
It seems like it should be, but I can't seem to prove it, and now I'm worried it might not be true. I can't find a counterexample either.
If this is not a sufficient condition, I'd be interested to know if there is some extra fact that's true of the set of invertible matrices, that would make it sufficient.