
Homework 8 283
Homework 8
1. Show that the set of finite subsets of ω, represented as a set of strings
in {0, 1}
ω
, is accepted by a nondeterministic B¨uchi automaton, but by
no deterministic B¨uchi automaton. (Recall that in B¨uchi acceptance,
F ⊆ Q, and a run σ is accepting if IO(σ) ∩ F = ∅.)
2. (a) Show that integer addition (that is, the predicate “x = y+z”) is not
definable in S1S.(Hint. Use a pumping technique from automata
theory. See [61, Section 4.1] or [76, Lectures 11, 12].)
(b) On the other hand, for a finite set A ⊆ ω, define
n(A)=
x∈A
2
x
.
Let ϕ(A, B, C) be the predicate
“A, B, C are finite sets, and n(A)=n(B)+n(C)”.
Show how to express this in S1S.
3. (a) For n ≥ 1, let B
n
⊆ ω be the set
B
n
= {x | if x = mn + k,0≤ k<n,then
m
2
k
is odd}.
In other words, for any m ≥ 0, the mnth,mn+1st,... ,mn+ n −
1st bits in the {0, 1}
ω
representation of B
n
represent m mod 2
n
in
binary, lowest-order bit first. For example,
B
7
= 0000000
n
1000000
n
0100000
n
1100000
n
0010000
n
... .
Let ϕ
n
(x, y) be the predicate “x ≡ y (mod n)”, and let ψ
n
(B)be
the predicate “B = B
n
”. Construct S1S formulas for ϕ
1
and ψ
1
,
and show inductively how to get short S1S formulas for ϕ
n2
n
and
ψ
n2
n
, given formulas for ϕ
n
and ψ
n
.
(b) Explain informally how you might use (a) to show that S1S is
nonelementary.