Propositional Logic Overview and Techniques
Propositional Logic Overview and Techniques
Objectives 4
Introduction 5
I - Propositional Language 6
1. The alphabet ..............................................................................................................6
2. Propositional Formulas .............................................................................................6
3. Syntax Trees ...............................................................................................................7
4. Formalization .............................................................................................................7
II - Semantic 9
1. Interpretation ............................................................................................................9
2. Satisfiability .............................................................................................................11
3. Satisfiability of a set of formulas.............................................................................12
4. Tautology .................................................................................................................12
5. Logical consequence ...............................................................................................13
6. Substitution theorem ..............................................................................................14
7. Replacement theorem.............................................................................................14
8. Sematic Equivalence ...............................................................................................14
9. Complete set of connectives ...................................................................................15
10. Conjunctive and Disjunctive Normal Form ..........................................................15
III - The Deductive System (¬, ∧ )
18
1. Deduction.................................................................................................................18
2. Rules of Deduction...................................................................................................19
3. Strategy ....................................................................................................................20
4. Other deductive systems.........................................................................................21
IV - DEMONSTRATION THEORY 22
1. Resolution Principle ................................................................................................22
2. Resolution Algorithm...............................................................................................23
3. Strategies of Resolution ..........................................................................................24
Conclusion 25
Bibliography 26
1. [Link]
Chapter II introduces propositional logic as a foundational element of formal logic and mathematical
reasoning. It provides a systematic study of propositions, their syntactic structure, semantic
interpretation, and the process of formal deduction. The chapter progresses from defining the basic
components of propositional language to establishing logical equivalence, deduction systems, and
resolution methods for automated reasoning.
1. Introduction
The propositional language is composed of formulas representing propositions. Like other languages, the
language of propositional logic is characterized by its syntax and semantics.
2. The alphabet
Definition
3. Propositional Formulas
The writing rules specify how the symbols of the alphabet are assembled to form well-formed
expressions (or formulas) of the propositional language:
1. Any propositional variable is a formula.
2. If 𝛼 is a formula, ¬𝛼 or 𝑎 is a formula.
3. If 𝛼 and 𝛽 are formulas, (𝛼∧𝛽), (𝛼 ⋁ 𝛽), (𝛼⟶𝛽) and (𝛼↔𝛽) are also formulas.
4. An expression is only a formula if it is written according to rules 1, 2 and 3.
Example
Connector priority
The connectors are applied in the following order:
(¬, ⋀, ⋁, →, ⟷)
Example
1. ¬𝑝 ⋀ 𝑞 is read as (¬ 𝑝 ) ⋀ 𝑞
2. 𝑝 ⋀ 𝑞 ⟶ 𝑟 is read as ( 𝑝 ⋀ 𝑞 ) ⟶ 𝑟
3. 𝑝 ⋁ 𝑞 ⋀ 𝑟 is read as 𝑝 ⋁ ( 𝑞 ⋀ 𝑟 )
4. 𝑝 ⋁ 𝑞 ∨ 𝑟 is read as (𝑝 ⋁ 𝑞 ) ∨ 𝑟
4. Syntax Trees
Definition
A syntax tree is a graphical representation that illustrates the hierarchical structure of a formula.
Example
5. Formalization
Definition
Formalization is the process of translating a statement from natural language into a formula of
propositional logic.
3. Selection of Connectives:
Determine the logical relationships (such as implication, conjunction, etc.) and represent
them using the appropriate logical connectives.
Example
1. Interpretation
The semantic study of a language for the calculation of propositions aims to give a truth value to the
formulas of the language. It is also called model theory.
The semantics associates a valuation function.
V : vp → (1, 0)
(Where vp is the set of propositional variables, 1 means true and 0 means false) unique to each of the
logical connectors.
This function is described by a graph called truth table. Each formula α with n propositional variables
has a unique truth function. The graph of this function is defined by a truth table with 2n lines
representing the truth value of a corresponding to each combination of truth values of the n variables
(also called distribution of truth values of the variables).1 p.26
The negation
The negation of a proposition a noted ¬a or ā is defined as follows:
If the proposition a is true, then ā is false.
If the proposition a is false, then ā is true.
The truth table of negation:
a ā
1 0
0 0
The conjunction
The conjunction of two propositions a and b noted symbolically by a ∧ b and read (a and b) is true if
and only if both propositions a and b are true simultaneously.
The truth table of the conjunction:
a b a ∧ b
1 1 1
1 0 0
0 1 0
0 0 0
The disjunction
The disjunction of two propositions a and b noted symbolically by a ∨ b and reads (a or b) is false if
and only if both propositions a and b are false simultaneously.
The truth table of the disjunction:
a b a ∨ b
1 1 1
1 0 1
0 1 1
0 0 0
Conditional
The proposition a → b is false in the case where a is true and b is false. It is defined by the following
table:
a b a → b
1 1 1
1 0 0
0 1 1
0 0 1
Let a and b be two propositions, in the formula , a is called the antecedent and b the
a → b
consequence.
With conditional situations, we also have the following:
The original conditional is “if a, then b” a → b
Biconditional
The proposition a ↔ b is true in the case where a and b have the same truth value. It is defined by the
following table:
a b a ↔ b
1 1 1
1 0 0
0 1 0
0 0 0
Example
p q r p ∨ q α
1 1 1 1 1
1 1 0 1 0
1 0 1 1 1
1 0 0 1 0
0 1 1 1 1
0 1 0 1 0
0 0 1 0 1
0 0 0 0 1
2. Satisfiability
Definition
A formula α is said to be satisfiable if and only if its truth table contains at least one row where the truth
value of α is true (or V (α) = 1).
Example
Example
¯
Let β be the formula (p ∧ q) ∧ (p ↔ q)
¯
p q p ∧ q (p ↔ q) β
1 1 1 0 0
1 0 0 1 0
0 1 0 1 0
0 0 0 0 0
Hence β is unsatisfiable.
Example
4. Tautology
Definition
A formula αis a tautology (note ⊨ ), if and only if α is true on all lines of its truth table.
α
Example
A formula a ∧ b → b is a tautology
a b a ∧ b a ∧ b → b
1 1 1 1
1 0 0 1
0 1 0 1
0 0 0 1
Note
Lemma
A formula α is a tautology if and only if ᾱis unsatisfiable.
Demonstration Method
Suppose that ⊨ α but ᾱ is satisfiable. Therefore, there is at least one row in the truth table
where ᾱ is true. For this line, α is false but ⊨ α. Then α is unsatisfiable.
Now suppose that α is unsatisfiable, but α is not a tautology. Therefore, there is at least one line
in the truth table where α is false. For this line, ᾱ must be true which contradicts the fact that ᾱis
unsatisfiable.
Theorem
If ⊨ α and ⊨ α → β, then ⊨ β.
Demonstration Method
5. Logical consequence
In propositional language, a formula 𝛽 is a logical consequence of a formula 𝛼 (and we note 𝛼 ⊨ 𝛽 ), if
and only if given the truth table of 𝛼 and 𝛽, the truth value of 𝛽 is true on all lines where the truth value
of 𝛼 is true.
In general, a formula 𝛽 is a logical consequence of a set of formulas Γ = {𝛼1,𝛼2, … ,𝛼n } (and we note Γ ⊨
𝛽 or 𝛼1,𝛼2, … ,𝛼n ⊨ 𝛽) if and only if, given the truth table of the formulas 𝛼1, 𝛼2, … , 𝛼n, 𝛽, the truth
value of 𝛽 is true on all the lines in which the formulas 𝛼1, 𝛼2, … , 𝛼n, are true simultaneously.
Example
,
p → q q̄ ⊨ p̄
p q p → q q̄ p̄
1 1 1 0 0
1 0 0 1 0
0 1 1 0 1
0 0 1 1 1
Note
6. Substitution theorem
Definition
(see Substitution_Theorem.pdf)
Let β be a formula containing the propositional variable x, and let β be the formula obtained from β by
′
Example
7. Replacement theorem
Definition
(see Replacement_Therorem.pdf)
Let α be a formula in which the formula β appears in one or more occurrences and let α be the formula
′
obtained from α by replacing β in one or more of its occurrences by the formula β'.
If β ≡ β , then α
′
≡ α ′
Note
α ′
≡ x ∨ (x → y) ↔ (z ∨ ( z̄ ∨ y)) We can easily verify that α ≡ α. ′
8. Sematic Equivalence
Definition
Two well formed formulas F and G are equivalent, if and only if, the truth values of F and G are the
same.
Equivalence Name
A → B ≡ ¬A ∨ B Implication
A ⟷ B ≡ (A → B) ∧ (B → A) Equivalence
A ∨ B ≡ B ∨ A Commutative
A ∧ B ≡ B ∧ A laws
Equivalence Name
(A ∨ B) ∨ C ≡ A ∨ (B ∨ C) Associative
(A ∧ B) ∧ C ≡ A ∧ (B ∧ C) laws
A ∨ (B ∧ C) ≡ (A ∨ B) ∧ (A ∨ C) Distributive
A ∧ (B ∨ C) ≡ (A ∧ B) ∨ (A ∧ C) laws
A ∧ T ≡ A Identity
A ∨ F ≡ A laws
A ∨ T ≡ A Domination
A ∧ F ≡ F laws
A ∨ ¬A ≡ T negation
A ∧ ¬A ≡ F laws
A ∧ A ≡ A Idempotent
A ∨ A ≡ A laws
Logical Equivalences
Example
An atom or atomic formula is a formula with only one propositional variable (no connectives).
A literal is an atomic formula or the negation of an atomic formula.
A conjunctive monomial is a conjunction of literals.
A formula is in Conjunctive Normal Form (CNF) if it is a conjunction (AND, ∧) of one or more clauses,
where each clause is a disjunction (OR, ∨) of literals (a literal is a variable or its negation, e.g., P or ¬P).
•In other words, CNF is an AND of ORs.
General Form
C1 ∧ C 2 ∧ ⋯ ∧ Cn
where each Ciis a clause of the form:
L1 ∨ L 2 ∨ ⋯ ∨ L m
and each Lj is a literal.
The formula: •(P ∨ ¬Q) ∧ (¬P ∨ R) ∧ (Q ∨ ¬R) is in CNF because it is a conjunction of three clauses:
1. P ∨ ¬Q
2. ¬P ∨ R
3. Q ∨ ¬R
A formula is in Disjunctive Normal Form (DNF) if it is a disjunction (OR, ∨) of one or more terms, where
each term is a conjunction (AND, ∧) of literals. In other words, DNF is an OR of ANDs.
General Form
T1 ∨ T 2 ∨ ⋯ ∨ T n
where each Tiis a term of the form:
L1 ∧ L 2 ∧ ⋯ ∧ L m
and each Ljis a literal.
The formula:
(P ∧ ¬Q) ∨ (¬P ∧ R) ∨ (Q ∧ ¬R) is in DNF because it is a disjunction of three terms:
1. P ∧ ¬Q
2. ¬P ∧ R
3. Q ∧ ¬R
Example
≡ ¬A ∨ B ∨ ¬C ∨ B ∨ (A ∧ B)
≡ (A ∨ ¬A ∨ B ∨ ¬C ∨ B) ∧ (B ∨ ¬A ∨ B ∨ ¬C ∨ B)
1. Introduction
The deductive system is a formal method that allows us to derive a new formula β from a set of initial
formulas, called premises or hypotheses {α1,…,αn}, by using predefined syntactic transformation rules
(form transformation).
The rules of the deductive system (¬, ∧) allow for the construction of a new formula.
They are generally of the form:
2. Deduction
Definition
A deduction in the deductive system (¬, ∧) is a finite tree that uses the rules (I ∧), (E ∧), (I ¬), and (E ¬),
called Gentzen's Natural Deduction Rules. The leaves of the tree are the initial premises (hypotheses),
and the root is the conclusion.
Notations
Let Γ be a set of formulas and β a formula. We denote:
Γ ⊢ β: If there exists a deduction D with conclusion β, and all non-eliminated premises
(hypotheses) of D are in Γ.
We say that D is a deduction of β from Γ.
⊢ β: If there exists a deduction D with conclusion β, and all premises (hypotheses) have been
eliminated.
In this case (Γ = ∅), we say that β is a theorem of Lp(¬, ∧).
If Γ is a set of formulas, and β, α, α₁, …, αₙ are formulas, then we write:
α₁, …, αₙ ⊢ β instead of {α₁, …, αₙ} ⊢ β.
Γ, α ⊢ β instead of Γ ∪ {α} ⊢ β.
3. Rules of Deduction
For each of the connectives ¬ and ∧, we associate two rules (Gentzen's Natural Deduction Rules):
1. An introduction rule for the connective, which allows us to derive a compound formula using
this connective.
2. An elimination rule for the connective, which is used to derive a simpler formula by
eliminating this connective.
"If we have the formula α and if we also have the formula β, then we can derive the formula α ∧ β."
Elimination rule for ∧, denoted as: (E ∧) It has two (02) forms:
4. Strategy
To prove that: 𝛼1,…,𝛼𝑛 ⊢ 𝛽?
To construct 𝛽, we often assume, in addition to the initial hypotheses, ¬𝛽 (the negation of the
conclusion). This follows a proof by contradiction.
Example 01 Example
Example 02 Example
Prove the deduction ⊢ α ∨ ¬α, which can also be interpreted as showing that α ∨ ¬α is a theorem of Lp ?
Remark: There are no initial hypotheses (i.e., Γ = ∅).
Since we are working within the deductive system of Lp (¬, ∧), we replace ∨ with its definition. Thus, the
proof reduces to showing ⊢ ¬(¬α ∧ ¬¬α)
Example 03 Example
1. Resolution Principle
The resolution principle is an automatic method used to prove the validity of a logical formula.
Before diving into resolution, two key concepts must be understood: clauses and resolvents.
Clause Concept
A clause is a well-formed formula that consists of a disjunction of literals (e.g., A ∨ B ∨ C ∨ D).
To obtain a set of clauses from a well-formed formula:
1. Convert the formula into its conjunctive normal form (CNF).
2. Eliminate the "∧" connectors, resulting in a set S of clauses
Resolving Clause
If C1 and C2 are clauses, and there is a literal L1 in C1 that is the negation of a literal L2 in C2 (i.e.,
L1=¬L2), you can resolve these clauses.
• The resolvent clause C is formed by removing L1 and L2 from C1 and C2 and taking the disjunction
(logical OR) of the remaining literals.
• This process is called resolution, and the resulting clause C is denoted as Resolvent(C1,C2).
Example 01 Example
Example 02 Example
2. Resolution Algorithm
Let R1 = R ∨ Q and R2 = ¬R.
Resolving R1 and R2 gives Q (since R and ¬R cancel out).
This process continues until the empty clause is derived (if possible).
If the empty clause ∅ is derived from a set of clauses S, then S is unsatisfiable (i.e., there is no
assignment of truth values that makes all clauses in S true).
The process of deriving the empty clause is called a refutation.
Example 01 Example
Example 02 Example
Important Remarks
A clause can be used multiple times in the resolution process.
Clauses cannot be used to directly deduce the empty clause; the empty clause is derived through a
series of resolutions.
Only one resolution is performed at a time.
For example, if C1 = P ∨ Q and C2 = ¬P ∨ ¬Q:
Resolving C1 and C2 can give P ∨ ¬P (eliminating Q and ¬Q).
Alternatively, it can give Q ∨ ¬Q (eliminating P and ¬P).
However, it cannot directly give the empty clause ∅.
3. Strategies of Resolution
The resolution rule is an inference rule that states:
If you have {X ∨ A, ¬X ∨ B}, you can derive A ∨ B.
This can be interpreted as:
(¬X ∨ B) = (X → B)
(A ∨ X) = (¬A → X)
Combining these gives ¬A → B = A ∨ B.
Example
Let C1 = P ∨ Q ∨ R, C2 = ¬P ∨ Q ∨ R, and C3 = ¬Q ∨ R.
Resolving C1 and C2 gives C4 = Q ∨ R.
Resolving C4 and C3 gives R.
Thus, R is a logical consequence of the set {P ∨ Q ∨ R, ¬P ∨ Q ∨ R, ¬Q ∨ R}.
To prove a proposition, start with a set of clauses that includes the negation of the proposition.
Apply the resolution rule repeatedly, adding new resolvents to the set.
If the empty clause ∅ is derived, the original proposition is valid (since its negation leads to a
contradiction).
This chapter equips learners with essential tools to analyze and construct logical arguments using
propositional logic. By mastering syntax, semantics, and deduction systems, students gain the ability to
formalize problems, verify logical validity, and apply automated reasoning techniques like resolution.
These skills lay the groundwork for deeper study in formal logic, computer science, and mathematical
proof systems.
[1] [Link]