Bil133 HW1 2023

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

TOBB ETU C OMPUTER E NGINEERING D EPARTMENT

BIL 133 Combinatorics and Graph Theory

Study Question Set - 1

1 P ROVING P ROPOSITIONAL L OGIC S EQUENTS


Prove the following propositional logic sequents using basic natural deduction rules. You are
NOT allowed to use the derived rules MT, RAA, LEM and double-negation.

a) p ∧ (¬p ∨ q) ⊢ q

b) ¬p → ¬q ⊢ (¬p → q) → p

c) p → q ∨ r ⊢ ¬q → (p → r )

d) p → (q → r ) ⊢ p ∧ q → r

2 P ROVING P ROPOSITIONAL T HEOREMS


Recall that logical formulas φ such that ⊢ φ holds are called theorems, i.e., all of the below
sequents are theorems. And you are asked to prove them using natural deduction rules. Aside
from basic natural deduction rules, you CAN also use the derived rules MT, RAA, LEM and
double-negation.

a) ⊢ p ∧ q → ((p → s) ∨ (q → s) → s)

b) ⊢ (p → q) → ((q ∧ r → s) → (¬s ∧ p → ¬r ))

1
3 P ROVING P REDICATE L OGIC S EQUENTS
Prove the following predicate logic sequents.

a) ∀x(P (x) ∧Q(x)) ⊢ ∃xP (x) ∧ ∃xQ(x).

b) ∀x(¬P (x) ∧Q(x)) ⊢ ∀x(P (x) → Q(x))

c) ∀x(P (x) ∨Q(x)), ∀x¬Q(x) ⊢ ∀xP (x)

d) ∀x∀y(P (x) ∧Q(x) → R(y)), ∀xP (x), ∃y¬R(y) ⊢ ∃x¬Q(x)

4 D RAWING PARSE T REE OF L OGIC F ORMULAS


a) (p ∧ q → ¬r ) → (q → (¬r ∨ (¬p ∧ s))))

• Draw parse tree of the formula above.


• List all of its subformulas.

b) ∀xP (x) ∧ (∃y(Q(x, y) ∧Q(y, z) → ∀zR(x, z)))


• Draw parse tree of the formula above.
• Indicate bound and free variables.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy