(Last modified Tue Jan 22 22:41 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
Propositional logic syntax

Propositional logic considers formulae made from the values "true" and "false" and variables representing those values.  These values and variables may be combined using many operations, but we will restrict ourselves to the operations "not", "and", and "or".  They are sufficient to express any other operations (such as "if ... then" or "if and only if"). 

We use the phrase "propositional logic" so frequently that we will abbreviate it as PL. 

conceptual map of propositional logic
key

Figure 1

Formulae

The various syntactic kinds of PL formulae are shown in Figure 1.  They are: 

Each of these is discussed in more detail below.  Strictly speaking, nothing other than these can be a PL formula (although one sometimes sees other operations). 

PL formulae have truth-values, either true or false (or unknown). 

We will use metavariables in discussing PL syntax.  A metavariable represents a syntactically-correct PL formula.  We will write metavariables as α, β, γ, ... , α1, α2, ...

Constants

The two constants "true" and "false", which we will write as true and false, are syntactically-correct PL formulae. 

Propositional variables

The propositional variables, of which there is an unbounded supply and which we will write as A, B, C, ... , Z, A1, A2, ... , Aa, Ab, ... , are syntactically-correct PL formulae. 

A propositional variable stands for a formula of the logic whose internal structure is not of importance to us.  It represents either "true" or "false" but we may not know which. 

Parentheses

If α is a PL formula, then its parenthesization, which we will write as (α) and pronounce "open paren alpha close paren", or whenever possible just "alpha" if no confusion would result, is also a syntactically-correct PL formula. 

Negation

If α is a PL formula, then its negation, which we will write as ¬α and pronounce "not alpha", is also a syntactically-correct PL formula. 

Conjunction

If α and β are PL formulae, then their conjunction, which we will write as αβ, and pronounce "alpha and beta", is also a syntactically-correct PL formula. 

α and β are called the conjuncts of the conjunction αβ.

A mnemonic for ∧ is that it looks somewhat like the "A" in "And". 

Disjunction

If α and β are PL formulae, then their disjunction, which we will write as αβ, and pronounce "alpha or beta", is also a syntactically-correct PL formula. 

α and β are called the disjuncts of the disjunction αβ.

The symbol ∨ (it was originally just "v") was chosen because the Latin word for "or" is vel

Minimizing parentheses

We use parentheses to show which operations are to be evaluated first, as in algebra.  Also as in algebra, we use conventions to reduce the number of parentheses.  The most common convention in logic is that anything in parentheses is evaluated first, then negation ¬ (like any unary operator), then conjunction ∧, and finally disjunction ∨. 

Examples:

Other operations

You will sometimes see other operations included as part of propositional logic, especially the material conditional "if ... then" (usually written →) and material equivalence "equivalent to" (usually written ↔ or ≡).  We will not use them, primarily because they can cause confusion about cause and effect (which these operations do not expression), and confusion with the meta-relationships implication and equivalence

It is not necessary to use material implication and equivalence because formulae involving them can be rewritten using ∧, ∨, and ¬.  Specifically, for any formulae α and β,

αβ is equivalent to ¬αβ,

and

αβ is equivalent to (αβ)∨(¬α∧¬β)

We will see below that these rewritings are semantically equivalent.  Indeed, it can be shown that any truth-function on PL formulae can be written using ∧, ∨, and ¬, or even using just ∧ and ¬, or just ∨ and ¬. 

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