slow work towards COMPILER_RUN_INV_INR

not completely sure about the final cheat, but the others seems
plausible.