Docsity

Math 430: Problem Set III - Logic and Graph Theory, Assignments of Reasoning

Toggle sidebar
bg1
Math 430: Problem Set III
due: Friday, 2/17
Recall the following versions of Soundness and Completeness: (in the following table,
Γ⊆ L0and ϕ∈ L0)
(version) (what)
Soundness (v.1) If Γ is satisfiable, then Γ is consistent
Soundness (v.2) If Γ `ϕ, then Γ ϕ
Completeness (v.1) If Γ is consistent, then Γ is satisfiable
Completeness (v.3) If ϕ, then `ϕ
1. Suppose {(¬ϕ)} ` ϕ. Show that `ϕ. [Hint: try using the Deduction lemma and a
Logical Axiom.]
2. Prove Completeness-(v.1) implies Completeness-(v.3). [Hint: Assume C.-(v.1). To
prove C.-(v.3), assume the hypothesis, that ϕ, i.e., ϕis a tautology. (want: `ϕ)
By Problem 1. on WSIII, (¬ϕ) is unsatisfiable. By the contrapositive of C.-(v.1),
{(¬ϕ)}is inconsistent. So the latter set proves anything, in particular ϕ. Use Problem
1.]
3. Prove: If Γ `ϕ, then Γ ∪ {(¬ϕ)}is inconsistent. [Hint: use the fact that Γ ∪ {(¬ϕ)}
trivially proves (¬ϕ), whereas Γ alone is enough to prove ϕ.]
4. Prove Soundness-(v.1) implies Soundness-(v.2). [Hint: Assume S.-(v.1). To prove
S.-(v.2), assume the hypothesis, that Γ `ϕ. (want: Γ ϕ) By previous Problem 3.,
we have that Γ ∪ {(¬ϕ)}is inconsistent. Apply the contrapositive of S.-(v.1)]
Definition 0.1. Agraph is an ordered pair G= (G, R) where Gis any set and R⊆G×G.
We call Gthe set of vertices and Rthe edge relation.
Definition 0.2. A subgraph H= (H, E ) of a graph Gis a graph such that H⊆Gand E
is the restriction of Rto H, i.e. for all a, b ∈H,aEb ⇔aRb.
(This is often referred to as an induced subgraph.)
In the following questions, we work with a symmetric graph with no loops: i.e. a graph
satisfying the additional axioms that (a) for all a, b ∈G,aRb ⇔bRa and (b) for all a∈G,
it is not the case that aRa.
1
pf2

Partial preview of the text

Download Math 430: Problem Set III - Logic and Graph Theory and more Assignments Reasoning in PDF only on Docsity!

Math 430: Problem Set III due: Friday, 2/ Recall the following versions of Soundness and Completeness: (in the following table, Γ ⊆ L 0 and ϕ ∈ L 0 )

(version) (what) Soundness (v.1) If Γ is satisfiable, then Γ is consistent Soundness (v.2) If Γ ϕ, then Γ  ϕ Completeness (v.1) If Γ is consistent, then Γ is satisfiable Completeness (v.3) If  ϕ, then ϕ

  1. Suppose {(¬ϕ)} ϕ. Show that ϕ. [Hint: try using the Deduction lemma and a Logical Axiom.]
  2. Prove Completeness-(v.1) implies Completeness-(v.3). [Hint: Assume C.-(v.1). To prove C.-(v.3), assume the hypothesis, that  ϕ, i.e., ϕ is a tautology. (want: ` ϕ) By Problem 1. on WSIII, (¬ϕ) is unsatisfiable. By the contrapositive of C.-(v.1), {(¬ϕ)} is inconsistent. So the latter set proves anything, in particular ϕ. Use Problem 1.]
  3. Prove: If Γ ` ϕ, then Γ ∪ {(¬ϕ)} is inconsistent. [Hint: use the fact that Γ ∪ {(¬ϕ)} trivially proves (¬ϕ), whereas Γ alone is enough to prove ϕ.]
  4. Prove Soundness-(v.1) implies Soundness-(v.2). [Hint: Assume S.-(v.1). To prove S.-(v.2), assume the hypothesis, that Γ ` ϕ. (want: Γ  ϕ) By previous Problem 3., we have that Γ ∪ {(¬ϕ)} is inconsistent. Apply the contrapositive of S.-(v.1)]

Definition 0.1. A graph is an ordered pair G = (G, R) where G is any set and R ⊆ G × G. We call G the set of vertices and R the edge relation.

Definition 0.2. A subgraph H = (H, E) of a graph G is a graph such that H ⊆ G and E is the restriction of R to H, i.e. for all a, b ∈ H, aEb ⇔ aRb. (This is often referred to as an induced subgraph.)

In the following questions, we work with a symmetric graph with no loops: i.e. a graph satisfying the additional axioms that (a) for all a, b ∈ G, aRb ⇔ bRa and (b) for all a ∈ G, it is not the case that aRa. 1

Definition 0.3. Let G = (G, R) be a symmetric graph with no loops and k a positive integer. We identify k = { 0 ,... , k − 1 }. A k-coloring of G is a function f : G → k such that adjacent vertices do not have the same color, i.e. for all a, b ∈ G, if aRb then f (a) 6 = f (b).

  1. (Erd¨os-deBruijn) Fix finite k. Suppose that every finite subgraph of the graph G = (G, R) has a k-coloring. Show G has a k-coloring. [Hint: List propositional symbols Pai for a ∈ G and i < k [this is a countable set if G is countable so we already have enough symbols; in the case that G is uncountable, pretend we set up the language with enough propositional symbols to start with.] We understand that Pai axiomatizes the proposition: “vertex a is color i”. Describe an infinite set of propositional formulas that say, cumulatively, that (i) for every a ∈ G: “a is some color among 0,... , k − 1”, (ii) for every a ∈ G: “a is not two colors among 0,... , k − 1”, (iii) for every a, b ∈ G such that aRb: “a and b cannot both be color i, for i ∈ { 0 ,... , k − 1 }”. This is tricky because you only have the propositional symbols and propositional formulas to work with. Feel free to use connectives in {∧, ∨}. Note that the use of finitely many colors is crucial in building these propositional formulas. Compactness for propositional logic as well as the assumption that every finite subgraph has a k-coloring should yield the result.]
  2. Identify the letters (∗) that are (i) a term τ ∈ T , (ii) a formula ϕ ∈ L, (iii) neither. (a) For π(Fi) = 3, Fi(x 1 , x 15 , c 2 ) (b) For π(Fi) = 3, Fi(x 1 =ˆ x 15 , c 2 ) (c) For π(Fi) = 3, Fi(x 1 , x 15 , Fi(x 1 , x 15 , c 2 )) (d) For π(Fi) = 3, Fi(x 1 , x 15 , Fi(x 1 , x 15 , c 2 )) ˆ= x 2 (e) For π(Fi) = 3 and π(Rj ) = 2, Fi(x 1 , x 15 , Rj (c 2 , c 2 )) (f) For π(Fi) = 3 and π(Rj ) = 2, Rj (Fi(x 1 , x 15 , x 1 ), c 2 ) (g) For π(Fi) = 3 and π(Rj ) = 2, Rj (Fi(x 1 , x 15 , x 1 ), c 2 ) ˆ= Fi(x 1 , x 2 )