Let $R=K[x_1,...,x_n]$ and $I$ be an ideal of $R$, $K$ being a field
Given $h\in I$, $g\in \sqrt{I}$ and $f\in\sqrt{I}$
Where $in_<(f)=in_<(h)$ and $g=f-h$. So $in_<(g) < in_<(f)=in_<(h)$ w.r.t the term order $<$
How can I show that $g\in I$
Let $R=K[x_1,...,x_n]$ and $I$ be an ideal of $R$, $K$ being a field
Given $h\in I$, $g\in \sqrt{I}$ and $f\in\sqrt{I}$
Where $in_<(f)=in_<(h)$ and $g=f-h$. So $in_<(g) < in_<(f)=in_<(h)$ w.r.t the term order $<$
How can I show that $g\in I$
As written, perhaps the OP meant that $h\in\sqrt{I}$ and $f\in\sqrt{I}$ and let $g=f-h$. In that case, the problem would be to show that $g\in\sqrt{I}$.
Since $f\in\sqrt{I}$, there is some $m$ such that $f^m\in I$ and since $h\in\sqrt{I}$, there is some $n$ such that $h^n\in I$. Then, consider $g^{n+m-1}$. In this case, you have that $$g^{n+m-1}=\sum_{i=0}^{n+m-1}\begin{pmatrix}n+m-1\\i\end{pmatrix}(-1)^if^{n+m+1-i}h^i.$$
Notice that for all choices of $i$, either $i\geq n$ or $n+m-i\geq m$. In these cases, the RHS is either a multiple of $h^n\in I$ or $f^m\in I$. Therefore, $g^{n+m+1}$ is a sum of elements of $I$ and is in $I$. Hence $g\in\sqrt{I}$.