Interpreting IDR as a Petrov-Galerkin method