Mathematical logic for computer science