COMP 1002 Unit 1 overview

In Unit 1, you will learn about the language of propositional logic. We will see how logic formulas are constructed, how to read them, and how to translate from English to logic and back. We will spend a fair bit of time talking about the meaning of these formulas, and how to determine when (if ever) a given formula is true or false, and when two formulas are equivalent. We will also look a a generalization of formulas, Boolean circuits, which are the basis of computer hardware.

Additionally, we will look at other connection of propositional model with computation, namely at computing functions which output 0/1 values with formulas and circuits. Finally, we will discuss what variants of propositional logic have the same expressive power, more specifically what logical connectives do we need to express all possile Boolean functions.

This unit has a number of puzzles, to help you play around with the concepts. Try to solve the puzzles yourself before moving on to the next video, and try to do the relevant exercises from the labs, online exercises and practice problems as soon as you are done watching the corresponding videos.

Readings

The material in this unit loosely corresponds to section 1.1-1.2 in the textbook. For the syntax trees, you might find examples example 5 on page 779 and example 10 on page 782 helpful. Logic circuits appear at the end of section 1.2. Representing Boolean functions as DNFs/CNFs (sums of products / product of sums expansions) is in section 12.2.

Learning objectives

Vocabulary

You need to know the meaning of the following terminology: