Let $X$ and $Y$ be problems, and let $X \le_p Y$. Is it true that \begin{equation} Y \in NP \rightarrow X \in NP\ ? \end{equation}
I do mean $NP$ here, not $NP$-complete or $NP$-hard.
The solution is simple if the reduction from $X$ to $Y$ transforms an instance of $X$ to an instance of $Y$; to verify that a solution to $X$ is correct, we could transform it to an instance of $Y$ and then verify that the transformed instance is a solution to $Y$.
All we know from $X \le_p Y$, though, is that you can solve $X$ with a polynomial number of solutions to $Y$; we're not guaranteed a simple one-to-one transformation.
I suspect that \begin{equation} Y \in NP \rightarrow X \in NP \end{equation} is true for all $X,Y$ such that $X \le_p Y$, but I would like confirmation, and I would like to know how to prove it.