Documents Sciences formelles A Tutorial on Proof Theoretic Foundations of Logic Programming Paola Bruscoli And Alessio Guglielmi