Finished whole program type soundness
A whole program inference soundness theorem