tentative implementation to extract interpolants from proofs