Lec03 Prop Induction Nosol
Lec03 Prop Induction Nosol
Lec03 Prop Induction Nosol
Structural Induction
Alice Gao
Lecture 3
Learning goals
Propositional language
Structure of formulas
▶ Propositional symbols: 𝑝, 𝑞, 𝑟, … .
▶ Connective symbols: ¬, ∧, ∨, →, ↔.
▶ Punctuation symbols: ( and ).
Definition (𝐹 𝑜𝑟𝑚(𝐿𝑝 ))
An expression of 𝐿𝑝 is a member of 𝐹 𝑜𝑟𝑚(𝐿𝑝 ) iff its being so
follows from (1) - (3):
1. 𝐴𝑡𝑜𝑚(𝐿𝑝 ) ⊆ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ).
2. If 𝐴 ∈ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ), then (¬𝐴) ∈ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ).
3. If 𝐴, 𝐵 ∈ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ), then (𝐴 ∗ 𝐵) ∈ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ).
Learning goals
Propositional language
Structure of formulas
Definition (𝐹 𝑜𝑟𝑚(𝐿𝑝 ))
An expression of 𝐿𝑝 is a member of 𝐹 𝑜𝑟𝑚(𝐿𝑝 ) iff its being so
follows from (1) - (3):
1. 𝐴𝑡𝑜𝑚(𝐿𝑝 ) ⊆ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ). (Base case)
2. If 𝐴 ∈ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ), then (¬𝐴) ∈ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ). (Inductive case)
3. If 𝐴, 𝐵 ∈ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ), then (𝐴 ∗ 𝐵) ∈ 𝐹 𝑜𝑟𝑚(𝐿𝑝 ). (Inductive
case)
Learning goals
Propositional language
Structure of formulas
Consider the domain set, the core set, and the set of operations
defined below.
▶ The domain set X = ℝ (the set of real numbers)
▶ The core set C = {0}.
▶ The set of operations P = {𝑓(𝑥) = 𝑥 + 1}
CQ: What set does this define?
(A) The set of natural numbers {0, 1, 2, ...}.
(B) The set of even natural numbers {0, 2, ...}.
(C) The set of integers {..., −2, −1, 0, 1, 2, ...}.
(D) The set of even integers {..., −2, 0, 2, ...}.
(E) The set of real numbers.
Consider the domain set, the core set, and the set of operations
defined below.
▶ The domain set X = ℝ (the set of real numbers)
▶ The core set C = {0, 2}.
▶ The set of operations P =
{𝑓1(𝑥, 𝑦) = 𝑥 + 𝑦, 𝑓2(𝑥, 𝑦) = 𝑥 − 𝑦}
CQ: What set does this define?
(A) The set of natural numbers {0, 1, 2, ...}.
(B) The set of even natural numbers {0, 2, ...}.
(C) The set of integers {..., −2, −1, 0, 1, 2, ...}.
(D) The set of even integers {..., −2, 0, 2, ...}.
(E) The set of real numbers.