View on GitHub

Notes

reference notes

Intro

Propositional Calculus vs. Predicate Calculus

Logic

Propositional Constants

Propositional Variables

Atomic Propositions

Compound Propositions

Propositional Calculus Symbols

Sentences in the Propositional Calculus

Propositional Calculus Semantics

Truth Value Assignment

Compound Sentences

Term Symbol Meaning
Negations ¬ raining The argument of a negation is called the target.
Conjunctions raining ∧ snowing The arguments of a conjunction are called conjuncts.
Disjunctions raining ∨ snowing The arguments of a disjunction are called disjuncts.
Implications raining → cloudy The left argument is the antecedent, and the right is the consequent.
Reductions cloudy ← raining The left argument is the consequent, and the right is the antecedent.
Equivalences raining ↔ cloudy P ↔ Q is true if P and Q have the same values - both true or both false.

Rules of Algebraic Manipulation

Logical Equivalence

English Calculus / Logic Example
and, but AND (Λ) It is hot and cloudy
P: It is hot Q: It is cloudy P Λ Q
not NOT (¬) It is not hot
¬ P    
or (inclusive) OR (V) It is hot or cloudy (or both)
P V Q    
or (exclusive) P or Q but not both It is either hot or cloudy (but not both)
(P V Q) Λ ¬(P Λ Q)    
neither… nor ¬ P Λ ¬ Q It is neither hot nor cloudy
¬ P Λ ¬ Q    

Clausal Form

• Propositional resolution works only on expressions in clausal form. • Fortunately, it is possible to convert any set of propositional calculus sentences into an equivalent set of sentences in clausal form.

Conversion to Clausal Form

These rules are adapted from Artificial Intelligence, by Elaine Rich and Kevin Knight.

  1. Eliminate logical implications (⇒) using the fact that P ⇒ Q is equivalent to ¬P ∨ Q.
    • P ⇒ Q becomes ¬P ∨ Q
    • P ⇐ Q becomes P ∨ ¬Q
    • P ⇔ Q becomes (¬P ∨ Q) ∧ (P ∨ ¬Q)
  2. Reduce the scope of each negation to a single term, using the following facts:
    • ¬¬P = P
    • ¬(P ∧ Q) = ¬P ∨ ¬Q
    • ¬(P ∨ Q) = ¬P ∧ ¬Q
    • ¬∀x: P(x) = ∃x: ¬P(x)
    • ¬∃x: P(x) = ∀x: ¬P(x)

Predicate Calculus/Logic

Introduction

The Need for Predicate Calculus

Predicates in Predicate Calculus

Restructuring Statements with Predicates

Using Variables in Predicate Calculus

Conditional (→) and Biconditional (⇔) in Predicate Logic

Conditional (→)

Example:

Biconditional (⇔)

Example:

Quantifiers in Predicate Calculus

In Predicate Calculus, there are two ways variables may be used or quantified: Universal quantifiers () and Existential quantifiers (∃).

Universal quantifiers ()

Example:

∀x P(X) → Q(X)

This means, “For all X, if P(X) is true (X is in P), then Q(X) is also true.”

Existential quantifiers (∃)

Example:

∃X P(X) Λ Q(X)

This means, “There is some X in P with the property Q,” i.e., both P(X) is true and Q(X) is true.