Given a first order vocabulary σ and a sentence φ over σ , a subset M ⊆ N of natural numbers is called the spectrum φ if for each n ∈ M , there is a model satisfying φ containing exactly n elements.
For example, the spectrum of the following sentence is the set of even numbers.
∀ x [ S ( x ) ⟺ ¬ T ( x ) ∧ f ( f ( x ) ) = x ∧ S ( x ) ⟺ T ( f ( x ) ) ]
A set M ⊆ N is said to be recursive if given a natural n , a Turing Machine can determine whether n ∈ M or n ∈ M .
Which of the following are true?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
@Agnishom Chattopadhyay my solution is now complete. I had to rethink my approach, and view the problem differently. A diagonal construction didn’t really do it, the trick was rapid growth. To do this, I first prove that one can characterise or capture spectra by finite initial segments of them. Then it is just a matter of suitably diverging from all finite segments in a manner than escapes being captured by a formula, as happens to spectra. Hope you enjoy it!
Log in to reply
Thank you for your hard work in putting this together. I did not think the whole thing through when I posted this problem.
I have not yet read the whole thing, but can you clarify what the notation N < ω is? Does it refer to finite lists of natural numbers?
Log in to reply
Your intuition is correct. My background is set theory. We use interchangeably ω = N = { 0 , 1 , 2 , … } . The first symbol has further meaning as the first infinite ordinal. The set X < ω is the set of finite sequences s = ⟨ s ( 0 ) , s ( 1 ) , … , s ( n − 1 ) ⟩ for each n ∈ N and where s ( 0 ) , s ( 1 ) , … , s ( n − 1 ) ∈ X . Note that for n = 0 this is the unique empty sequence. For X = N , the set X < ω is the set of finite sequences of natural numbers. For X = 2 , the set X < ω is the set of finite 0-1 sequences (in set theory 2 = { 0 , 1 } , so this notation makes a lot of sense). I think I wrote N < ω above, but meant 2 < ω . I’ll have a look and edit it.
It’s worth noting, that there is a recursive bijection between N and 2 < ω , so that one can view everything above in terms of elements of N . But in recursion theory, it kind of doesn’t matter. In fact, there is a lot of flexibility, and being recursive (respectively r.e.) turns out to be equivalent to being a Δ 1 0 (respectively Σ 1 0 ) set/function.
PS: It’s worth learning about ordinals / transfinite-arithmetic in general, although it does not come into play in this problem at all. I recommend Jech or Kunen.
Log in to reply
@R Mathe – Yes, I want to learn about ordinal arithmetic too. Thanks for the reccomendations.
So, suppose s ∈ 2 < ω , then what does the notation t ⊆ s or s ⊆ t mean? Are we considering them as multisets here? Or are we just ignoring the order and considering the sequence s as the set of elements used in it.
I am not also able to understand the proof of Claim 7 . How do you use ψ 0 , ψ 1 , … , ψ N − 1 to construct s M ⊆ M as mentioned in the next sentence?
Log in to reply
@Agnishom Chattopadhyay – The elements of 2 < ω are just partial functions, so f ⊆ g means, that the functions (viewed via their graphs) are subsets of each other. This is also clearly equivalent to: dom ( f ) ⊆ dom ( g ) and f ( x ) = g ( x ) for all x ∈ dom ( f ) , or in other words that ‘ g extends f ’.
Towards Claim 7, I admit I rushed that, as it is a bit messy. We have the N sets X 0 : = M ( ψ 0 ) , X 1 : = M ( ψ 1 ) , … , X N − 1 : = M ( ψ N − 1 ) and the set M , satisfying M = X i for all i < N . Viewing their dual objects x 0 , x 1 , … , x N − 1 , m ∈ 2 N respectively, we have m = x i for all i < N . Now for two functions f , g ∈ 2 N it holds
[ t ] r c l f = g ⟺ ⟺ ⟺ ∃ n ∈ N : f ( n ) = g ( n ) ∃ n ∈ N : f ∣ n = g ∣ n ∃ s ∈ 2 < ω : s ⊆ f , s ⊈ g
Hence there are s 0 , s 1 , … , s N − 1 ∈ 2 < ω with s i ⊆ m and s i ⊈ x i for all i < N . Let s : = ⋃ i < N s i . Since N is finite, it holds s ∈ 2 < ω . Further more it clearly still holds that s ⊆ m , since is it is a union of initial segments of m . For each i < N , since s i ⊆ s , it must hold that s ⊈ x i , otherwise by transitivity s i ⊆ x i which is a contradiction.
Summarised: there exists by virtue of M = M ( ψ i ) for all i < N an initial finite segment s ⊆ M , such that s ⊈ M ( ψ i ) for all i < N .
Problem Loading...
Note Loading...
Set Loading...
( ⇒ .) Let M ⊆ N be a spectrum. Then there exists a formula φ over σ , such that M = { ∣ A ∣ : A a $ \sigma $-structure , A ⊨ φ } . Since the elements of a structure do not matter, and only finitely many symbols occur in φ , it suffices to restrict to models of finite signature with domains of the form { 0 , 1 , … , n − 1 } . For any n there are thus only finitely many σ -structures to check, each of which can be performed in a uniformly recursive manner, to determine, whether or not there is a structure of size n satisfying φ . Hence M is recursive.
( ⇐ .) Wlog we restrict to a countably infinite vocabulary, σ , with countably infinitely many relations all arities, function all arities and constants. We also enumerate the symbols σ such that it everything is recursive: determining whether or not a (code for a) formula is a well defined formula, whether or not a σ -structure of a given size exists (utilising the above-mentioned finite-reduction trick) that satisfies a given formula, the length (or complexity) of a formula, etc. I’ll leave out the details, as that is a tedium and does not shed any light on anything.
Defn 1. Let [ ⋅ ] denote a suitable coding of formulae (preferably not the horrible one that Gödel used, better one that uses the much more mathematically practical encoding via prime powers). Denote the corresponding (strikt) linear ordering of the formulae by ≺ , ie ψ ≺ ϕ iff [ ψ ] < [ ϕ ] . Note that each formula has necessarily only finitely many ≺ -predecessors.
Defn 2. For any σ -sentence, φ , let M ( φ ) ⊆ N denote the spectrum of φ . In the following subsets of naturals will be occasionally be viewed dually as an element of 2 ω .
Defn 3.
Defn 4.
Observation 5. δ is well-defined: For every s ∈ 2 < ω one has at least s ⊆ M ( φ s ) where φ s : ≡ ⋁ i < ∣ s ∣ , s ( i ) = 1 φ i ∧ ¬ ⋁ i < ∣ s ∣ , s ( i ) = 0 φ i and φ i : ≡ ∃ x 0 ∃ x 1 … ∃ x n − 1 ⋀ i < j < n x i = x j ∧ ∀ x 0 ∀ x 1 … ∀ x n ⋁ i < j < n x i = x j . It is easy to show that the map s ↦ [ φ s ] is recursive. Due to the above ramble about ‘everything’ being recursive, and since s ↦ [ φ s ] yields a clearly recursive function providing upper bounds for the code of the minimal sentence in D ( s ) , it holds that δ is a recursive function.
Defn 6. For any spectrum, M , let ψ ^ M denote the ≺ -minimal sentence with M ( ψ ^ M ) = M .
The point of this construction is as follows.
Claim 7. For all spectra, M there exists s M ⊆ M sufficiently large, such that for all s ∈ 2 < ω with s M ⊆ s ⊆ M it holds that δ ( s ) = [ ψ ^ M ] . Pf. Consider all sentences ϕ with ϕ ≺ ψ ^ M . There are only finitely many of these! List them out: ψ 0 , ψ 1 , … , ψ N − 1 . Due to minimality, M ( ψ j ) = M for all j < N . Since there are only finitely many sets here, and viewing these dually as elements of 2 N , there exists a finite segment s M ⊆ M so that s M ⊈ M ( ψ i ) for all i < N . The same holds true for any s ∈ 2 < ω with s M ⊆ s ⊆ M . Thus for no sentence ϕ with [ ϕ ] < [ ψ ^ M ] does it hold that s ⊆ M ( ϕ ) . On the other hand, ψ ^ M is a sentence and s ⊆ M = M ( ψ ^ M ) . Hence [ ψ M ] = δ ( s ) . QED.
Corollary. Let M be a spectrum and m ∈ 2 N the corresponding dual element. Then the sequence ( δ ( m ∣ n ) ) n ∈ N converges in N , ie terminates.
That is, every spectrum can be identified in terms of its minimal sentence, via δ and a sufficiently large finite fragment of itself viewed as an element of 2 N . The idea now, is to come up with a way for recursive sets to escape this property of being captured in this manner.
Claim 8. The map s ↦ D ( s ) is antitone und hence s ↦ δ ( s ) is monotone. Pf. Let s ⊆ s ′ in 2 < ω . For ϕ ∈ D ( s ′ ) it holds that s ′ ⊆ M ( ϕ ) , hence s ⊆ M ( ϕ ) , hence ϕ ∈ D ( s ) . Thus D ( s ′ ) ⊆ D ( s ) . QED.
Claim 9. For all s ∈ 2 < ω there exists s ′ ⊃ s in 2 < ω , such that δ ( s ′ ) > δ ( s ) . In fact, one can choose s ′ to be one element longer than s . Pf. By monotonicity (claim 8) it suffices to show that δ ( s ′ ) = δ ( s ) for some s ′ ⊃ s . Let ϕ be the sentence such that [ ϕ ] = δ ( s ) . Let M = M ( ϕ ) . Now choose s ′ ⊃ s to be longer by one element, with s ′ ⊈ M : ie if ∣ s ∣ ∈ M , set s ′ = s ⌢ 0 and if ∣ s ∣ ∈ / M , set s ′ = s ⌢ 1 . Then ϕ ∈ / D ( s ′ ) , since s ′ ⊈ M ( ϕ ) . Hence δ ( s ′ ) = [ ϕ ] . QED.
Claim 10. The map α : s ∈ 2 < N ↦ min lex { s ′ ∈ 2 < ω : δ ( s ′ ) > δ ( s ) } is recursive and satisfies ∣ α ( s ) ∣ = ∣ s ∣ + 1 . Pf. For a given s one only has to choose between s ′ : = s ⌢ 0 and s ′ : = s ⌢ 1 . By claim 9 one of these satisfies δ ( s ′ ) > δ ( s ) . If both of them do, then one chooses the first one (this is then the lexical minimum). Since δ is recursive, checking each option is recursive. Hence α is well-defined and recursive. QED.
Construction. Appealing to these results of monotonicity and we now apply a typical trick of constructing an object, exhibitting too rapid a growth in terms of δ and its initial segments. The idea is to appeal to initial segments of the set being constructed to avoid being captured by a sentence.
It is easy to show that the relation { ( k , n ) : k < n ∧ d n ( k ) = 1 } is recursive (appealing to primitive recursion and the recursivity of α ), and thus that Δ is recursive. Furthermore, by strict monotonicity of α (see claim 10), one has
Hence Δ is the dual object to the infinite 0-1-sequence d .
We finally show that Δ is not a spectrum. By the corollary to Claim 7, and since d is the dual object to Δ it suffices to show that ( δ ( d ∣ n ) ) n ∈ N does not terminate. Note that by construction d ∣ n = d n for all n ∈ N . Further, by construction, one has δ ( d n + 1 ) = δ ( α ( d n ) ) > δ ( d n ) for all n ∈ N . Hence δ ( d 0 ) < δ ( d 1 ) < δ ( d 2 ) < … . Hence the sequence ( δ ( d ∣ n ) ) n ∈ N does not terminate. Thus by the corollary to Claim 7, Δ cannot be a spectrum.
Hence, Δ is a recursive set that is not a spectrum. QED.
Note the notation: for s ∈ 2 < ω , f ∈ 2 N and n < ∣ s ∣ I denote by s ∣ n and f ∣ n the restriction of these functions to { 0 , 1 , 2 , … , n − 1 } . In set theory, one denotes this set simply as n , so this notation makes sense.