Let $F$ be a field and $h \in F[x]$ be an irreducible, degree $n$ monic polynomial. Let $G$ denote the Galois group of $h$.
It is well known that $G \subset A_n $ if and only if the discriminant of $h$, which we'll denote by $D(h)$, is a square in $F$. We could think of this as being a rationality condition: we are demanding an $F-$rational solution to the equation $y^2 = D(h)$.
My question is if this is always possible for any subgroup $H \subset Sym(n)$. That is, does there exist a polynomial $f\in F[a_0,\ldots,a_{n-1}]$ in the coefficients of $h$ and a polynomial $\phi \in F(y) $ such that $G \subset H$ only if $\phi(y) = f$ has a solution in $F$? Is it possible to make this a sufficient condition also? (I suspect that the answer is yes to the former and no to the latter).
Further, if such a $\phi$ exists, can we control its degree? Is such a condition unique and if there are many, is there a simplest?
Thanks!