Subproof inference compiles, needs testing