Homework 2
Homework 2
Week 2
(a) ∆ |= α and ∆ ⊆ Γ ⇒ Γ |= α;
(b) ∆, α |= β ⇔ ∆ |= α → β;
(c) ∆ |= α and Γ |= α ⇒ ∆ ∩ Γ |= α.
3. So far we have seen examples of one 0-ary connective (⊥), one 1-ary
connective (¬), and four binary connectives (∧, ∨, →, ↔), but there
are n-ary connectives, for each n ∈ N. What really matters is not
the symbol used to denote the connective, but rather its semantics.
For instance, the semantics of connective ∧ is given by the mapping
f∧ : {0, 1}2 → {0, 1} defined by f∧ (x, y) = min(x, y).
In general, an n-ary connective ♯ applies to n formulas α1 , . . . , αn and
returns a formula ♯(α1 , . . . , αn ). The truth value of the latter formula
depends on the truth values of α1 , . . . , αn according to a map f♯ :
{0, 1}n → {0, 1}, called the characteristic function of ♯. Map f♯ defines
the semantics of ♯.
1
4. A formula φ Vis in Conjunctive Normal Form (briefly: CNF) if it is
of the form 1≤i≤n φi , where each φ is a disjunction of atomic or
negations of atomic formulas.
Give a criterion (i.e. a necessary and sufficient condition) for a formula
in CNF to be a tautology.
W
Hint. First establish a criterion for a formula of the form 1≤i≤n ψi ,
where each φi is an atomic or a negated atomic formula, to be a
tautology.
5. Exercises 1, 2, 13, 14 (see the warning below!), 15, pp. 27–29, in van
Dalen, Logic and structure, 4th ed.
Comment. In Exercise 13, ∥p∥v stands for v(p). The exercise deals
with the so called Cantor space, namely with the space C = {0, 1}N of
binary sequences, equipped with the product topology of the discrete
topology on {0, 1}. By Tychonoff Theorem, C is a compact space.
You are asked to prove that such space has a basis of clopen (i.e.
simultaneously open and closed) sets.
In addition to that, show that C is Hausdorff and totally disconnected,
the latter meaning that its only nonempty connected subsets are the
singletons.
A topological space which is compact, Hausdorff and admits a base of
clopen sets is called a Stone space.
2
Can you see why we need to pick p as suggested above?
7. Andrew, Barbara and Charles plan to enter university. They are asked
what subject they will study. Here are their answers (we assume that
none of them is a liar):
Andrew: if Barbara or Charles will not study Law, I will do it.
Barbara: Charles will study Law.
Charles: not all of us will study Law.
Can you tell whether at least one of the three will study Law for sure?
If so, who?
(a) Mr. Census asks Mr. White which group his and his wife belong
to.
Mr. White: we both belong to the F’s.
What is really the situation?
Hint: Mr. White belongs to the T’s if and only if his answer is
true.
(b) Same question as above to Mrs. Yellow.
Mrs. Yellow: If I belong to the T’s, then my husband too.
Is there any information that Mr. Census can derive from this
answer?
(c) Now Mr. Census asks Mr. and Mrs. Yellow whether they have
children.
3
Mrs. Yellow: If my husband belongs to the T’s, then we do have
children.
Mr. Yellow: If my wife belongs to the F’s, then we do have
children.
Help Mr. Census to fill in his questionnaire!
(d) Same question about children to Mr. and Mrs. Red.
Mr. Red: If I belong to the the T’s and my wife belong to the
F’s then we do have children.
Mrs. Red: What my husband says is false!
Mr. Census believes that the Reds have children. Is he right?