(Last modified Wed May 07 22:43 2008)

home foundations

Logic
Glossary of logic terms and concepts
Propositional logic (PL)
  syntax semantics interpretation
First-order logic (FOL)
  syntax semantics interpretation
Modal and temporal logic
conceptual map of propositional logic
key
Propositional logic (PL) overview

Propositional logic (PL) concerns statements that can be true or false, possibly combined into more complex statements using negation (¬α), disjunction (α∨β), and conjunction (α∧β), where α and β are meta-variables that represent formulae in PL. 

Common notationsOursASCIIOthers
True T T 1, tt, T
False F F 0, ff, ⊥
Negation ¬α α, ~α, -α
Disjunction α∨β α|β, α||β α+β
Conjunction α∧β α&β, α&&β α·β, αβ

The only variable-like elements in PL are propositional variables (also called sentence letters), such as A, B, or C.  A propositional variable represents either "true" or "false", although we may not know which. 

An interpretation is a mapping from propositional variables to truth values.  A propositional logic formula involving propositional variables can always be evaluated as true or false in a specific interpretation that defines its propositional variables. 

Properties of PL operations

You will notice that the PL operations ¬ ∧ ∨ have the same properties as the set operations    ∩ ∪: PL and sets are both examples of lattices.  As with ∩ and ∪, ∧ and ∨ exhibit duality

The symbol ≡ represents logical equivalence.  α≡β means that for every assignment of T or F to each of the variables in α and β (in other words, for every interpretation), either

PropertyDefinition for ∧ and ∨Definition for ∨ and ∧
idempotent XX ≡ X XX ≡ X
commutative XYY∧X XYY∨X
associative (XY)∧ZX∧(YZ) (XY)∨ZX∨(YZ)
distributive X∧(YZ) ≡ (XY)∨(XZ) X∨(YZ) ≡ (XY)∧(XZ)
De Morgan's laws ¬(XY) ≡ ¬X ∨ ¬Y ¬(XY) ≡ ¬X ∧ ¬Y
absorptive X∧(XY) ≡ XX∨(XY)

The issue of PL implication

One sometimes sees material implication α→β, usually pronounced as "if α then β".  It seems to imply that its left operand causes its right operand.  However, this is misleading and incorrect.  Logic abstracts everything but truth value and logical structure — cause and effect are simply not there.  The material conditional is simply another truth-function.  A material implication α→β may always be rewritten as ¬α∨β, and almost always should be (except perhaps when dealing with logical proofs, in which material implication corresponds to syntactic implication, and cause and effect are not relevant).  This form ¬α∨β is clearer and doesn't imply anything more than it says. 

One also sometimes sees material bi-implication α↔β, usually pronounced "α if and only if β" and also best avoided in most circumstances. 

Material implication is involved in the paradoxes of classical logic

Binding precedence

For the purpose of minimizing parentheses, ¬ binds tightest, followed by ∧ and ∨, followed by →, and finally ↔ (and any other operators).  Logicians have not adopted a single custom for ∧ and ∨, so it is safest to parenthesize sentences that contain both.  However, in computer science it has long been customary for ∧ to bind more tightly than ∨, and we will follow that approach.  Thus for us α∨¬β∧γ→δ is the same as (α∨((¬β)∧γ))→δ

Disproof in PL

It is handy to know how to show the various forms of propositions are not true: 

PL syntax semantics interpretation

Share-Alike Made with jEdit Valid CSS! Valid HTML 4.01! UC Irvine Thomas A. Alspaugh
Assistant Professor, Informatics Dept.
School of Information and Computer Sciences