MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE