Documentation

Bookshelf.Enderton.Logic.Chapter_1

Enderton.Logic.Chapter_1 #

Sentential Logic

If a Wff does not contain the ¬ symbol, it has the same number of sentential connective symbols as it does binary connective symbols. In other words, the negation symbol is the only non-binary sentential connective.

Parentheses Count #

Let φ be a well-formed formula and c be the number of places at which a sentential connective symbol exists. Then there is 2c parentheses in φ.

Exercise 1.1.2 #

Show that there are no wffs of length 2, 3, or 6, but that any other positive length is possible.

Exercise 1.1.3 #

Let α be a wff; let c be the number of places at which binary connective symbols (, , , ) occur in α; let s be the number of places at which sentence symbols occur in α. (For example, if α is (A → (¬ A)) then c = 1 and s = 2.) Show by using the induction principle that s = c + 1.

Exercise 1.1.5 (a) #

Suppose that α is a wff not containing the negation symbol ¬. Show that the length of α (i.e., the number of symbols in the string) is odd.

Suggestion: Apply induction to show that the length is of the form 4k + 1.

Exercise 1.1.5 (b) #

Suppose that α is a wff not containing the negation symbol ¬. Show that more than a quarter of the symbols are sentence symbols.

Suggestion: Apply induction to show that the number of sentence symbols is k + 1.

Exercise 1.2.1 #

Show that neither of the following two formulas tautologically implies the other:

(A ↔ (B ↔ C))
((A ∧ (B ∧ C)) ∨ ((¬ A) ∧ ((¬ B) ∧ (¬ C)))).

Suggestion: Only two truth assignments are needed, not eight.

theorem Enderton.Logic.Chapter_1.exercise_1_2_2a (P : Prop) (Q : Prop) :
((PQ)P)P

Exercise 1.2.2 (a) #

Is (((P → Q) → P) → P) a tautology?

Exercise 1.2.2 (b) #

Define σₖ recursively as follows: σ₀ = (P → Q) and σₖ₊₁ = (σₖ → P). For which values of k is σₖ a tautology? (Part (a) corresponds to k = 2.)

theorem Enderton.Logic.Chapter_1.exercise_1_2_3a (P : Prop) (Q : Prop) :
(PQ) (QP)

Exercise 1.2.3 (a) #

Determine whether or not ((P → Q)) ∨ (Q → P) is a tautology.

theorem Enderton.Logic.Chapter_1.exercise_1_2_3b (P : Prop) (Q : Prop) (R : Prop) :
P QR (PR) (QR)

Exercise 1.2.3 (b) #

Determine whether or not ((P ∧ Q) → R)) tautologically implies ((P → R) ∨ (Q → R)).

Exercise 1.2.5 #

Prove or refute each of the following assertions:

(a) If either Σ ⊨ α or Σ ⊨ β, then Σ ⊨ (α ∨ β). (b) If Σ ⊨ (α ∨ β), then either Σ ⊨ α or Σ ⊨ β.

theorem Enderton.Logic.Chapter_1.exercise_1_2_5a (P : Prop) (α : Prop) (β : Prop) :
(Pα) (Pβ)Pα β

Exercise 1.2.15 #

Of the following three formulas, which tautologically implies which? (a) (A ↔ B) (b) (¬((A → B) →(¬(B → A)))) (c) (((¬ A) ∨ B) ∧ (A ∨ (¬ B)))

theorem Enderton.Logic.Chapter_1.exercise_1_2_15_i (A : Prop) (B : Prop) :
(A B) ¬((AB)¬(BA))