• Keine Ergebnisse gefunden

Frettl¨oh Formal Logic — Exercise Sheet 2 Exercise 5: (Laws of Logic) (a)Prove the following laws using truth tables, compare Theorem 1.1

N/A
N/A
Protected

Academic year: 2021

Aktie "Frettl¨oh Formal Logic — Exercise Sheet 2 Exercise 5: (Laws of Logic) (a)Prove the following laws using truth tables, compare Theorem 1.1"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Dr. D. Frettl¨oh 15.10.2019

Formal Logic — Exercise Sheet 2

Exercise 5: (Laws of Logic)

(a)Prove the following laws using truth tables, compare Theorem 1.1.

1. F ∧(F∨G)≡F,F∨(F∧G)≡F (Absorption) 2. ¬(F∧G)≡ ¬F∨ ¬G (de Morgan’s law 1)

(b) Show the following equivalnces using the laws in Theorem 1.1 and the definitions of ⇔ and⇒ only (compare Example 1.4). For each transformation state the law you used.

1. ¬(F∨G∨H)≡ ¬F∧ ¬G∧ ¬H 2. F ⇔G≡(F ⇒G)∧(G⇒F)

3. F ∧(G⇔H)≡(F∧G∧H)∨ ¬(¬F ∨G∨H)

Exercise 6: (CNF and DNF)

Transform the following formulas into conjunctive normal form and into disjunctive normal form, using Algorithm 1.1 shown in the lecture.

F =¬

A∨ ¬ B∧ ¬(C∨D)

∧(A⇒B), G= (A∧B∧ ¬C)∨(D∧ ¬E)

Exercise 7: (Borromean formulas)

(a)Find three formulasF1, F2, F3such thatFi∧Fj is satisfiable for all choices of 1≤i < j ≤3, butF1∧F2∧F3 is not satisfiable.

(b) Find four formulas F0, F1, F2, F3 such that Fi ∧Fj ∧Fk is satisfiable for all choices of i, j, k∈ {0,1,2,3}, butF0∧F1∧F2∧F3 is not satisfiable.

Exercise 8: (Switch and and or)

Let F ≡ G. Let neither F nor G contain any ⇔ or ⇒. Let F0 (respectively G0) be the resulting formulas if one changes each∨ in F (respectively G) into ∧ and vice versa. Prove thatF0≡G0.

Hand in your solutions until 21.10.2019 at 11:00 in post box 2183 in V3, or via email to the tutor.

Please indicate the name of the tutor on your solution sheet.

Tutors: Oliver Tautz otautz@techfak.uni-bielefeld.de Wed 8-10 Jonas Kalinski jkalinski@techfak.uni-bielefeld.de Tue 16-18

Referenzen

ÄHNLICHE DOKUMENTE

Teaching assistant: Biagio Paparella Tutor: Marko Rajkovi´ c (marko.rajkovic@uni-bonn.de). Exercise

V4E2 - Numerical Simulation. Sommersemester

Applied Automata Theory (WS 2014/2015) Technische Universit¨ at Kaiserslautern.. Exercise

Arielle TM : I will come to the party only if Belle TM and Cinderella TM will come as well;.. otherwise I will

If they do not spend their holiday in Spain they need to buy the moped in order to conciliate their spoilt son who is slightly mentally unstable.. Model the situation into a formula

[r]

Visualise the following relations as directed graphs G = (W, R). Which one is, which one is not