Final report: Basic Research in Artificial Intelligence and Foundations of Programming