1 Statements and Truth Values
A statement (or proposition) is a sentence that is either true (⊤) or false (⊥) — never both, never neither. Examples of statements: The sky is blue. (true), 2 + 2 = 5. (false). Non-statements include questions (Is it raining?) and commands (Close the door.), because they have no truth value.
- Statements are the atoms of logical reasoning.
- We use letters like
p,q,rto represent them. - The law of excluded middle: every statement is either true or false.
- The law of non-contradiction: no statement can be both true and false at once.
p = "It is raining." q = "The ground is wet." p can be ⊤ or ⊥; q can be ⊤ or ⊥ — independently.