Model theory

Models of Arithmetic

Reading preferences

Optional display controls need JavaScript. All reading content and navigation work without it.

Source file content/model-theory/models-of-arithmetic/models-of-arithmetic.tex

documentclass[../../../include/open-logic-chapter]subfiles

Document

Models of Arithmetic

olimportintroduction

olimportstandard-models

olimportnon-standard-models

olimportmodels-of-q

olimportmodels-of-pa

olimportcomputable-models

Source file content/model-theory/models-of-arithmetic/introduction.tex

documentclass[../../../include/open-logic-section]subfiles

Document

olfileidmodmarint

Introduction

The standard model of arithmetic is the structure N\Struct{N}source with |N|=\Domain{N} = \Natsource in which 0\Obj{0}source, \primesource, ++source, ×\timessource, and <<source are interpreted as you would expect. That is, 0\Obj{0}source is 00source, \primesource is the successor function, ++source is interpreted as addition and ×\timessource as multiplication of the numbers in \Natsource. Specifically,

0N=0N(n)=n+1+N(n,m)=n+m×N(n,m)=nm\Assign{\Obj{0}}{N} & = 0\\ \Assign{\prime}{N}(n) & = n + 1\\ \Assign{+}{N}(n, m) & = n + m\\ \Assign{\times}{N}(n, m) & = nmsource

Of course, there are structures for LA\Lang{L_A}source that have domains other than \Natsource. For instance, we can take M\Struct{M}source with domain |M|={a}*\Domain{M} = \{a\}^*source (the finite sequences of the single symbol aasource, i.e., \emptysetsource, aasource, aaaasource, aaaaaasource, dots), and interpretations

0M=M(s)=sa+M(n,m)=an+m×M(n,m)=anm\Assign{\Obj{0}}{M} & = \emptyset\\ \Assign{\prime}{M}(s) & = s \concat a\\ \Assign{+}{M}(n, m) & = a^{n + m}\\ \Assign{\times}{M}(n, m) & = a^{nm}source

These two structures are “essentially the same” in the sense that the only difference is the elements of the domains but not how the elements of the domains are related among each other by the interpretation functions. We say that the two structures are isomorphic.

It is an easy consequence of the compactness theorem that any theory true in N\Struct{N}source also has models that are not isomorphic to N\Struct{N}source. Such structures are called non-standard. The interesting thing about them is that while the elements of a standard model (i.e., N\Struct{N}source, but also all structures isomorphic to it) are exhausted by the values of the standard numerals n¯\num{n}source, i.e.,

|N|={n¯N:n}\Domain{N} = \Setabs{\Value{\num{n}}{N}}{n \in \Nat}source

that isn't the case in non-standard models: if M\Struct{M}source is non-standard, then there is at least one x|M|x \in \Domain{M}source such that xn¯Mx \neq \Value{\num{n}}{M}source for all nnsource.

These non-standard elements are pretty neat: they are “infinite natural numbers.” But their existence also explains, in a sense, the incompleteness phenomena. Consider an example, e.g., the consistency statement for Peano arithmetic, ConPA\OCon[\Th{PA}]source, i.e., ¬xPrfPA(x,)\lnot \lexists[x][\OPrf[\Th{PA}](x, \gn{\lfalse})]source. Since PA\Th{PA}source neither proves ConPA\OCon[\Th{PA}]source nor ¬ConPA\lnot \OCon[\Th{PA}]source, either can be consistently added to PA\Th{PA}source. Since PA\Th{PA}source is consistent, NConPA\Sat{N}{\OCon[\Th{PA}]}source, and consequently N¬ConPA\Sat/{N}{\lnot \OCon[\Th{PA}]}source. So N\Struct{N}source is not a model of PA{¬ConPA}\Th{PA} \cup \{\lnot \OCon[\Th{PA}]\}source, and all its models must be nonstandard. Models of PA{¬ConPA}\Th{PA} \cup \{\lnot \OCon[\Th{PA}]\}source must contain some element that serves as the witness that makes xPrfPA(x,)\lexists[x][\OPrf[\Th{PA}](x, \gn{\lfalse})]source true, i.e., a G\"odel number of a derivation of a contradiction from PA\Th{PA}source. Such an element can't be standard---since PA¬PrfPA(n¯,)\Th{PA} \Proves \lnot \OPrf[\Th{PA}](\num{n}, \gn{\lfalse})source for every nnsource.

Source file content/model-theory/models-of-arithmetic/standard-models.tex

documentclass[../../../include/open-logic-section]subfiles

Document

olfileidmodmarstm

Standard Models of Arithmetic

The language of arithmetic LA\Lang{L_A}source is obviously intended to be about numbers, specifically, about natural numbers. So, “the” standard model N\Struct{N}source is special: it is the model we want to talk about. But in logic, we are often just interested in structural properties, and any two structures that are isomorphic share those. So we can be a bit more liberal, and consider any structure that is isomorphic to N\Struct{N}source “standard.”

Definition of a standard arithmetic structure

A structure for LA\Lang{L_A}source is standard if it is isomorphic to N\Struct{N}source.

Standard structures are exhausted by numeral values

If a structure M\Struct{M}source is standard, then its domain is the set of values of the standard numerals, i.e.,

|M|={n¯M:n}\Domain{M} = \Setabs{\Value{\num{n}}{M}}{n \in \Nat}source

Proof

Clearly, every n¯M|M|\Value{\num{n}}{M} \in \Domain{M}source. We just have to show that every x|M|x \in \Domain{M}source is equal to n¯M\Value{\num{n}}{M}source for some nnsource. Since M\Struct{M}source is standard, it is isomorphic to N\Struct{N}source. Suppose g:|M|g\colon \Nat \to \Domain{M}source is an isomorphism. Then g(n)=g(n¯N)=n¯Mg(n) = g(\Value{\num{n}}{N}) = \Value{\num{n}}{M}source. But for every x|M|x \in \Domain{M}source, there is an nn \in \Natsource such that g(n)=xg(n) = xsource, since ggsource is surjective.

Explain

If a structure M\Struct{M}source for LA\Lang{L_A}source is standard, the elements of its domain can all be named by the standard numerals 0¯\num{0}source, 1¯\num{1}source, 2¯\num{2}source, dots, i.e., the terms 0\Obj{0}source, 0\Obj{0}'source, 0\Obj{0}''source, etc. Of course, this does not mean that the elements of |M|\Domain{M}source are the numbers, just that we can pick them out the same way we can pick out the numbers in |N|\Domain{N}source.

Exercise on the converse domain claim

Show that the converse of reference prop:standard-domain is false, i.e., give an example of a structure M\Struct{M}source with |M|={n¯M:n}\Domain{M} = \Setabs{\Value{\num{n}}{M}}{n \in \Nat}source that is not isomorphic to N\Struct{N}source.

A numeral-generated model of Q is standard

If MQ\Sat{M}{\Th{Q}}source, and |M|={n¯M:n}\Domain{M} = \Setabs{\Value{\num{n}}{M}}{n \in \Nat}source, then M\Struct{M}source is standard.

Proof

We have to show that M\Struct{M}source is isomorphic to N\Struct{N}source. Consider the function g:|M|g\colon \Nat \to \Domain{M}source defined by g(n)=n¯Mg(n) = \Value{\num{n}}{M}source. By the hypothesis, ggsource is surjective. It is also injective: Qn¯m¯\Th{Q} \Proves \eq/[\num{n}][\num{m}]source whenever nmn \neq msource. Thus, since MQ\Sat{M}{\Th{Q}}source, Mn¯m¯\Sat{M}{\eq/[\num{n}][\num{m}]}source, whenever nmn \neq msource. Thus, if nmn \neq msource, then n¯Mm¯M\Value{\num{n}}{M} \neq \Value{\num{m}}{M}source, i.e., g(n)g(m)g(n) \neq g(m)source.

We also have to verify that ggsource is an isomorphism.

  1. We have g(0N)=g(0)g(\Assign{\Obj{0}}{N}) = g(0)source since, 0N=0\Assign{\Obj{0}}{N} = 0source. By definition of ggsource, g(0)=0¯Mg(0) = \Value{\num{0}}{M}source. But 0¯\num{0}source is just 0\Obj{0}source, and the value of a term which happens to be a constant symbol is given by what the structure assigns to that constant symbol, i.e., 0M=0M\Value{\Obj{0}}{M} = \Assign{\Obj{0}}{M}source. So we have g(0N)=0Mg(\Assign{\Obj{0}}{N}) = \Assign{\Obj{0}}{M}source as required.

  2. g(N(n))=g(n+1)g(\Assign{\prime}{N}(n)) = g(n+1)source, since \primesource in N\Struct{N}source is the successor function on \Natsource. Then, g(n+1)=n+1¯Mg(n+1) = \Value{\num{n+1}}{M}source by definition of ggsource. But n+1¯\num{n+1}source is the same term as n¯\num{n}'source, so n+1¯M=n¯M\Value{\num{n+1}}{M} = \Value{\num{n}'}{M}source. By the definition of the value function, this is =M(n¯M)= \Assign{\prime}{M}(\Value{\num{n}}{M})source. Since n¯M=g(n)\Value{\num{n}}{M} = g(n)source we get g(N(n))=M(g(n))g(\Assign{\prime}{N}(n)) = \Assign{\prime}{M}(g(n))source.

  3. g(+N(n,m))=g(n+m)g(\Assign{+}{N}(n,m)) = g(n+m)source, since ++source in N\Struct{N}source is the addition function on \Natsource. Then, g(n+m)=n+m¯Mg(n+m) = \Value{\num{n+m}}{M}source by definition of ggsource. But Qn+m¯=(n¯+m¯)\Th{Q} \Proves \num{n+m} = (\num{n} + \num{m})source, so n+m¯M=n¯+m¯M\Value{\num{n+m}}{M} = \Value{\num{n}+\num{m}}{M}source. By the definition of the value function, this is =+M(n¯M,m¯M)= \Assign{+}{M}(\Value{\num{n}}{M},\Value{\num{m}}{M})source. Since n¯M=g(n)\Value{\num{n}}{M} = g(n)source and m¯M=g(m)\Value{\num{m}}{M} = g(m)source, we get g(+N(n,m))=+M(g(n),g(m))g(\Assign{+}{N}(n, m)) = \Assign{+}{M}(g(n), g(m))source.

  4. g(×N(n,m))=×M(g(n),g(m))g(\Assign{\times}{N}(n, m)) = \Assign{\times}{M}(g(n), g(m))source: Exercise.

  5. n,m<N\tuple{n,m} \in \Assign{<}{N}source iff n<mn < msource. If n<mn < msource, then Qn¯<m¯\Th{Q} \Proves \num{n} < \num{m}source, and also Mn¯<m¯\Sat{M}{\num{n} < \num{m}}source. Thus n¯M,m¯M<M\tuple{\Value{\num{n}}{M}, \Value{\num{m}}{M}} \in \Assign{<}{M}source, i.e., g(n),g(m)<M\tuple{g(n), g(m)} \in \Assign{<}{M}source. If nmn \not< msource, then Q¬n¯<m¯\Th{Q} \Proves \lnot \num{n} < \num{m}source, and consequently Mn¯<m¯\Sat/{M}{\num{n} < \num{m}}source. Thus, as before, g(n),g(m)<M\tuple{g(n), g(m)} \notin \Assign{<}{M}source. Together, we get: n,m<N\tuple{n,m} \in \Assign{<}{N}source iff g(n),g(m)<M\tuple{g(n), g(m)} \in \Assign{<}{M}source.

Explain

The function ggsource is the most obvious way of defining a mapping from \Natsource to the domain of any other structure M\Struct{M}source for LA\Lang{L_A}source, since every such M\Struct{M}source contains elements named by 0¯\num{0}source, 1¯\num{1}source, 2¯\num{2}source, etc. So it isn't surprising that if M\Struct{M}source makes at least some basic statements about the n¯\num{n}source's true in the same way that N\Struct{N}source does, and ggsource is also bijective, then ggsource will turn into an isomorphism. In fact, if |M|\Domain{M}source contains no elements other than what the n¯\num{n}source's name, it's the only one.

Uniqueness of the standard isomorphism

If M\Struct{M}source is standard, then ggsource from the proof of reference prop:thq-standard is the only isomorphism from N\Struct{N}source to M\Struct{M}source.

Proof

Suppose h:|M|h\colon \Nat \to \Domain{M}source is an isomorphism between N\Struct{N}source and M\Struct{M}source. We show that g=hg = hsource by induction on nnsource. If n=0n = 0source, then g(0)=0Mg(0) = \Assign{\Obj{0}}{M}source by definition of ggsource. But since hhsource is an isomorphism, h(0)=h(0N)=0Mh(0) = h(\Assign{\Obj{0}}{N}) =\Assign{\Obj{0}}{M}source, so g(0)=h(0)g(0) = h(0)source.

Now consider the case for n+1n+1source. We have

g(n+1)=n+1¯M by definition of g=n¯M since n+1¯n¯'=M(n¯M) by definition of tM=M(g(n)) by definition of g=M(h(n)) by induction hypothesis=h(N(n)) since h is an isomorphism=h(n+1)g(n+1) & = \Value{\num{n+1}}{M} \text{ by definition of~$g$}\\ & = \Value{\num{n}'}{M} \text{ since $\num{n+1}\ident \num{n}'$}\\ & = \Assign{\prime}{M}(\Value{\num{n}}{M}) \text{ by definition of $\Value{t'}{M}$}\\ & = \Assign{\prime}{M}(g(n)) \text{ by definition of~$g$}\\ & = \Assign{\prime}{M}(h(n)) \text{ by induction hypothesis}\\ & = h(\Assign{\prime}{N}(n)) \text{ since $h$ is an isomorphism}\\ & = h(n+1)source

Explain

For any denumerable set MMsource, there's a bijection between \Natsource and MMsource, so every such set MMsource is potentially the domain of a standard model M\Struct{M}source. In fact, once you pick an object zMz \in Msource and a suitable function sssource as 0M\Assign{\Obj{0}}{M}source and M\Assign{\prime}{M}source, the interpretations of ++source, ×\timessource, and <<source is already fixed. Only functions s:MM{z}s\colon M \to M \setminus \{z\}source that are both injective and surjective are suitable in a standard model as M\Assign{\prime}{M}source. The range of sssource cannot contain zzsource, since otherwise x0x\lforall[x][\eq/[\Obj 0][x']]source would be false. That sentence is true in N\Struct{N}source, and so M\Struct{M}source also has to make it true. The function sssource has to be injective, since the successor function N\Assign{\prime}{N}source in N\Struct{N}source is, and that N\Assign{\prime}{N}source is injective is expressed by a sentence true in N\Struct{N}source. It has to be surjective because otherwise there would be some xM{z}x \in M \setminus \{z\}source not in the domain of sssource, i.e., the sentence x(x=0yy=x)\lforall[x][(\eq[x][\Obj 0] \lor \lexists[y][\eq[y'][x]])]source would be false in M\Struct{M}source---but it is true in N\Struct{N}source.

Source file content/model-theory/models-of-arithmetic/non-standard-models.tex

documentclass[../../../include/open-logic-section]subfiles

Document

olfileidmodmarnst

Non-Standard Models

Explain

We call a structure for LA\Lang{L_A}source standard if it is isomorphic to N\Struct{N}source. If a structure isn't isomorphic to N\Struct{N}source, it is called non-standard.

Definition of standard and nonstandard numbers

A structure M\Struct{M}source for LA\Lang{L_A}source is non-standard if it is not isomorphic to N\Struct{N}source. The elements x|M|x \in \Domain{M}source which are equal to n¯M\Value{\num{n}}{M}source for some nn \in \Natsource are called standard numbers (of M\Struct{M}source), and those not, non-standard numbers.

Explain

By reference prop:standard-domain, any standard structure for LA\Lang{L_A}source contains only standard elements. Consequently, a non-standard structure must contain at least one non-standard element. In fact, the existence of a non-standard element guarantees that the structure is non-standard.

A nonstandard element forces a nonstandard structure

If a structure M\Struct{M}source for LA\Lang{L_A}source contains a non-standard number, M\Struct{M}source is non-standard.

Proof

Suppose not, i.e., suppose M\Struct{M}source standard but contains a non-standard number xxsource. Let g:|M|g\colon \Nat \to \Domain{M}source be an isomorphism. It is easy to see (by induction on nnsource) that g(n¯N)=n¯Mg(\Value{\num{n}}{N}) = \Value{\num{n}}{M}source. In other words, ggsource maps standard numbers of N\Struct{N}source to standard numbers of M\Struct{M}source. If M\Struct{M}source contains a non-standard number, ggsource cannot be surjective, contrary to hypothesis.

Exercise separating the first three Q axioms

Recall that Q\Th{Q}source contains the axioms

xy(x=yx=y)row label Q1x0xrow label Q2x(x=0yx=y)row label Q3& \lforall[x][\lforall[y][(\eq[x'][y'] \lif \eq[x][y])]] \tag{$!Q_1$}\\ & \lforall[x][\eq/[\Obj 0][x']] \tag{$!Q_2$}\\ & \lforall[x][(\eq[x][\Obj 0] \lor \lexists[y][\eq[x][y']])] \tag{$!Q_3$}source

Give structures M1\Struct{M_1}source, M2\Struct{M_2}source, M3\Struct{M_3}source such that

  1. M1Q1\Sat{M_1}{!Q_1}source, M1Q2\Sat{M_1}{!Q_2}source, M1Q3\Sat/{M_1}{!Q_3}source;

  2. M2Q1\Sat{M_2}{!Q_1}source, M2Q2\Sat/{M_2}{!Q_2}source, M2Q3\Sat{M_2}{!Q_3}source; and

  3. M3Q1\Sat/{M_3}{!Q_1}source, M3Q2\Sat{M_3}{!Q_2}source, M3Q3\Sat{M_3}{!Q_3}source;

Obviously, you just have to specify 0Mi\Assign{\Obj{0}}{M_i}source and Mi\Assign{\prime}{M_i}source for each.

Explain

It is easy enough to specify non-standard structures for LA\Lang{L_A}source. For instance, take the structure with domain \Intsource and interpret all non-logical symbols as usual. Since negative numbers are not values of n¯\num{n}source for any nnsource, this structure is non-standard. Of course, it will not be a model of arithmetic in the sense that it makes the same sentences true as N\Struct{N}source. For instance, xx0\lforall[x][\eq/[x'][\Obj{0}]]source is false. However, we can prove that non-standard models of arithmetic exist easily enough, using the compactness theorem.

True arithmetic has an enumerable nonstandard model

Let TA={A:NA}\Th{TA} = \Setabs{!A}{\Sat{N}{!A}}source be the theory of N\Struct{N}source. TA\Th{TA}source has an enumerable non-standard model.

Proof

Expand LA\Lang{L_A}source by a new constant symbol ccsource and consider the set of sentences

Γ=TA{c0¯,c1¯,c2¯,}\Gamma = \Th{TA} \cup \{\eq/[c][\num{0}], \eq/[c][\num{1}], \eq/[c][\num{2}], \dots\}source

Any model Mc\Struct{M^c}source of Γ\Gammasource would contain an element x=cMx = \Assign{c}{M}source which is non-standard, since xn¯Mx \neq \Value{\num{n}}{M}source for all nn \in \Natsource. Also, obviously, McTA\Sat{M^c}{\Th{TA}}source, since TAΓ\Th{TA} \subseteq \Gammasource. If we turn Mc\Struct{M^c}source into a structure M\Struct{M}source for LA\Lang{L_A}source simply by forgetting about ccsource, its domain still contains the non-standard xxsource, and also MTA\Sat{M}{\Th{TA}}source. The latter is guaranteed since ccsource does not occur in TA\Th{TA}source. So, it suffices to show that Γ\Gammasource has a model.

We use the compactness theorem to show that Γ\Gammasource has a model. If every finite subset of Γ\Gammasource is satisfiable, so is Γ\Gammasource. Consider any finite subset Γ0Γ\Gamma_0 \subseteq \Gammasource. Γ0\Gamma_0source includes some sentences of TA\Th{TA}source and some of the form cn¯\eq/[c][\num{n}]source, but only finitely many. Suppose kksource is the largest number so that ck¯Γ0\eq/[c][\num{k}] \in \Gamma_0source. Define Nk\Struct{N_k}source by expanding N\Struct{N}source to include the interpretation cNk=k+1\Assign{c}{N_k} = k+1source. NkΓ0\Sat{N_k}{\Gamma_0}source: if ATA!A \in \Th{TA}source, NkA\Sat{N_k}{!A}source since Nk\Struct{N_k}source is just like N\Struct{N}source in all respects except ccsource, and ccsource does not occur in A!Asource. And Nkcn¯\Sat{N_k}{\eq/[c][\num{n}]}source, since nkn \le ksource, and cNk=k+1\Value{c}{N_k} = k+1source. Thus, every finite subset of Γ\Gammasource is satisfiable.

Source file content/model-theory/models-of-arithmetic/models-of-q.tex

documentclass[../../../include/open-logic-section]subfiles

Document

olfileidmodmarmdq

Models of Q\Th{Q}source

Explain

We know that there are non-standard structures that make the same sentences true as N\Struct{N}source does, i.e., is a model of TA\Th{TA}source. Since NQ\Sat{N}{\Th{Q}}source, any model of TA\Th{TA}source is also a model of Q\Th{Q}source. Q\Th{Q}source is much weaker than TA\Th{TA}source, e.g., Qxy(x+y)=(y+x)\Th{Q} \Proves/ \lforall[x][\lforall[y][\eq[(x + y)][(y+x)]]]source. Weaker theories are easier to satisfy: they have more models. E.g., Q\Th{Q}source has models which make xy(x+y)=(y+x)\lforall[x][\lforall[y][\eq[(x + y)][(y+x)]]]source false, but those cannot also be models of TA\Th{TA}source, or PA\Th{PA}source for that matter. Models of Q\Th{Q}source are also relatively simple: we can specify them explicitly.

Example of the K model of Q

Consider the structure K\Struct{K}source with domain |K|={a}\Domain{K} = \Nat \cup \{a\}source and interpretations

0K=0K(x)=x+1if xaif x=a+K(x,y)=x+yif x and yaotherwise×K(x,y)=xyif x and y0if x=0 or y=0aotherwise<K={x,y:x and y and x<y}{x,a:x|K|}\Assign{\Obj{0}}{K} & = 0\\ \Assign{\prime}{K}(x) & = \begin{cases} x+1 & \text{if $x\in \Nat$}\\ a & \text{if $x = a$} \end{cases}\\ \Assign{+}{K}(x, y) & = \begin{cases} x+y & \text{if $x$, $y \in\Nat$}\\ a & \text{otherwise} \end{cases}\\ \Assign{\times}{K}(x, y) & = \begin{cases} xy & \text{if $x$, $y \in\Nat$}\\ 0 & \text{if $x = 0$ or $y = 0$}\\ a & \text{otherwise}\\ \end{cases}\\ \Assign{<}{K} & = \Setabs{\tuple{x,y}}{x, y \in \Nat \text{ and } x<y} \cup \Setabs{\tuple{x,a}}{x \in \Domain{K}}source

To show that KQ\Sat{K}{\Th{Q}}source we have to verify that all axioms of Q\Th{Q}source are true in K\Struct{K}source. For convenience, let's write xx^\nssuccsource for K(x)\Assign{\prime}{K}(x)source (the “successor” of xxsource in K\Struct{K}source), xyx \nsplus ysource for +K(x,y)\Assign{+}{K}(x, y)source (the “sum” of xxsource and yysource in K\Struct{K}source, xyx \nstimes ysource for ×K(x,y)\Assign{\times}{K}(x, y)source (the “product” of xxsource and yysource in K\Struct{K}source), and xyx \nsless ysource for x,y<K\tuple{x,y} \in \Assign{<}{K}source. With these abbreviations, we can give the operations in K\Struct{K}source more perspicuously as

xxnn+1aaxy0ma00mannn+maaaaaxy0ma0000n0nmaa0aa\begin{array}{c|c} x & x^\nssucc \\ \hline n & n+1 \\ a & a \end{array} \qquad \begin{array}{c|ccc} x \nsplus y & 0 & m & a \\ \hline 0 & 0 & m & a \\ n & n & n+m & a \\ a & a & a & a \\ \end{array} \qquad \begin{array}{c|ccc} x \nstimes y & 0 & m & a \\ \hline 0 & 0 & 0 & 0 \\ n & 0 & nm & a \\ a & 0 & a & a \\ \end{array}source

We have nmn \nsless msource iff n<mn<msource for nnsource, mm \in \Natsource and xax \nsless asource for all x|K|x \in \Domain{K}source.

Kxy(x=yx=y)\Sat{K}{\lforall[x][\lforall[y][(\eq[x'][y'] \lif \eq[x][y])]]}source since \nssuccsource is injective. Kx0x\Sat{K}{\lforall[x][\eq/[\Obj 0][x']]}source since 00source is not a \nssuccsource-successor in K\Struct{K}source. Kx(x=0yx=y)\Sat{K}{\lforall[x][(\eq[x][\Obj 0] \lor \lexists[y][\eq[x][y']])]}source since for every n>0n>0source, n=(n1)n = (n-1)^\nssuccsource, and a=aa = a^\nssuccsource.

Kx(x+0)=x\Sat{K}{\lforall[x][\eq[(x + \Obj 0)][x]]}source since n0=n+0=nn \nsplus 0 = n+0 = nsource, and a0=aa\nsplus 0 = asource by definition of \nsplussource. Kxy(x+y)=(x+y)\Sat{K}{\lforall[x][\lforall[y][\eq[(x + y')][(x + y)']]]}source is a bit trickier. If nnsource, mmsource are both standard, we have:

(nm)=(n+(m+1))=(n+m)+1=(nm)since and agree with + and on standard numbers. Now suppose x|K|. Then(xa)=(xa)=a=a=(xa)The remaining case is if y|K| but x=a. Here we also have to distinguish cases according to whether y=n is standard or y=a:(an)=(a(n+1))=a=a=(an)(aa)=(aa)=a=a=(aa)(n \nsplus m^\nssucc) & = (n+(m+1)) = (n+m)+1 = (n \nsplus m)^\nssucc \intertext{since $\nsplus$ and $^\nssucc$ agree with $+$ and $\prime$ on standard numbers. Now suppose $x \in \Domain{K}$. Then} (x \nsplus a^\nssucc) & = (x \nsplus a) = a = a^\nssucc = (x \nsplus a)^\nssucc \intertext{The remaining case is if $y \in \Domain{K}$ but $x = a$. Here we also have to distinguish cases according to whether $y = n$ is standard or $y = a$:} (a \nsplus n^\nssucc) & = (a \nsplus (n+1)) = a = a^\nssucc = (a \nsplus n)^\nssucc\\ (a \nsplus a^\nssucc) & = (a \nsplus a) = a = a^\nssucc = (a \nsplus a)^\nssuccsource

This is of course a bit more detailed than needed. For instance, since az=aa \nsplus z = asource whatever zzsource is, we can immediately conclude aa=aa \nsplus a^\nssucc = asource. The remaining axioms can be verified the same way.

K\Struct{K}source is thus a model of Q\Th{Q}source. Its “addition” \nsplussource is also commutative. But there are other sentences true in N\Struct{N}source but false in K\Struct{K}source, and vice versa. For instance, aaa \nsless asource, so Kxx<x\Sat{K}{\lexists[x][x < x]}source and Kx¬x<x\Sat/{K}{\lforall[x][\lnot x<x]}source. This shows that Qx¬x<x\Th{Q} \Proves/ \lforall[x][\lnot x < x]source.

Exercise completing the verification of K

Prove that K\Struct{K}source from reference ex:model-K-of-Q satisfies the remaining axioms of Q\Th{Q}source,

x(x×0)=0row label Q6xy(x×y)=((x×y)+x)row label Q7xy(x<yz(z+x)=y)row label Q8& \lforall[x][\eq[(x \times \Obj 0)][\Obj 0]] \tag{$!Q_6$}\\ & \lforall[x][\lforall[y][\eq[(x \times y')][((x \times y) + x)]]] \tag{$!Q_7$}\\ & \lforall[x][\lforall[y][(x < y \liff \lexists[z][\eq[(z' + x)][y]])]] \tag{$!Q_8$}source

Find a sentence only involving \primesource true in N\Struct{N}source but false in K\Struct{K}source.

Example of the L model of Q

Consider the structure L\Struct{L}source with domain |L|={a,b}\Domain{L} = \Nat \cup \{a, b\}source and interpretations L=\Assign{\prime}{L} = \nssuccsource, +L=\Assign{+}{L} = \nsplussource given by

xxnn+1aabbxymabnn+mbaaababbba\begin{array}{c|c} x & x^\nssucc \\ \hline n & n+1 \\ a & a\\ b & b \end{array} \qquad \begin{array}{c|ccc} x \nsplus y & m & a & b\\ \hline n & n+m & b & a\\ a & a & b & a\\ b & b & b & a \end{array}source

Since \nssuccsource is injective, 00source is not in its range, and every x|L|x \in \Domain{L}source other than 00source is, axioms Q1!Q_1source--Q3!Q_3source are true in L\Struct{L}source. For any xxsource, x0=xx \nsplus 0 = xsource, so Q4!Q_4source is true as well. For Q5!Q_5source, consider xyx \nsplus y^\nssuccsource and (xy)(x \nsplus y)^\nssuccsource. They are equal if xxsource and yysource are both standard, since then \nssuccsource and \nsplussource agree with \primesource and ++source. If xxsource is non-standard, and yysource is standard, we have xy=x=x=(xy)x \nsplus y^\nssucc = x = x^\nssucc = (x \nsplus y)^\nssuccsource. If xxsource and yysource are both non-standard, we have four cases:

aa=b=b=(aa)bb=a=a=(bb)ba=b=b=(ba)ab=a=a=(ab)If x is standard, but y is non-standard, we havena=na=b=b=(na)nb=nb=a=a=(nb)& a \nsplus a^\nssucc = b = b^\nssucc = (a \nsplus a)^\nssucc\\ & b \nsplus b^\nssucc = a = a^\nssucc = (b \nsplus b)^\nssucc\\ & b \nsplus a^\nssucc = b = b^\nssucc = (b \nsplus a)^\nssucc\\ & a \nsplus b^\nssucc = a = a^\nssucc = (a \nsplus b)^\nssucc\\ \intertext{If $x$ is standard, but $y$ is non-standard, we have} & n \nsplus a^\nssucc = n \nsplus a = b = b^\nssucc = (n \nsplus a)^\nssucc\\ & n \nsplus b^\nssucc = n \nsplus b = a = a^\nssucc = (n \nsplus b)^\nssuccsource

So, LQ5\Sat{L}{!Q_5}source. However, a00aa \nsplus 0 \neq 0 \nsplus asource, so Lxy(x+y)=(y+x)\Sat/{L}{\lforall[x][\lforall[y][\eq[(x+y)][(y+x)]]]}source.

Exercise expanding L to a full model of Q

Expand L\Struct{L}source of reference ex:model-L-of-Q to include \nstimessource and \nslesssource that interpret ×\timessource and <<source. Show that your structure satisfies the remaining axioms of Q\Th{Q}source,

x(x×0)=0row label Q6xy(x×y)=((x×y)+x)row label Q7xy(x<yz(z+x)=y)row label Q8& \lforall[x][\eq[(x \times \Obj 0)][\Obj 0]] \tag{$!Q_6$}\\ & \lforall[x][\lforall[y][\eq[(x \times y')][((x \times y) + x)]]] \tag{$!Q_7$}\\ & \lforall[x][\lforall[y][(x < y \liff \lexists[z][\eq[(z'+x)][y]])]] \tag{$!Q_8$}source

Exercise on a two-cycle successor

In L\Struct{L}source of reference ex:model-L-of-Q, a=aa^\nssucc = asource and b=bb^\nssucc = bsource. Is there a model of Q\Th{Q}source in which a=ba^\nssucc = bsource and b=ab^\nssucc = asource?

Explain

We've explicitly constructed models of Q\Th{Q}source in which the non-standard elements live “beyond” the standard elements. In fact, that much is required by the axioms. A non-standard element xxsource cannot be 0{} \nsless 0source, since Qx¬x<0\Th{Q} \Proves \lforall[x][\lnot x<0]source (see reference lem:less-zero). Also, for every nnsource, Qx(x<n¯(x=0¯x=1¯x=n¯))\Th{Q} \Proves \lforall[x][(x < \num{n}' \lif (\eq[x][\num{0}] \lor \eq[x][\num{1}] \lor \dots \lor \eq[x][\num{n}]))]source (reference lem:less-nsucc), so we can't have ana \nsless nsource for any n>0n>0source.

Source file content/model-theory/models-of-arithmetic/models-of-pa.tex

documentclass[../../../include/open-logic-section]subfiles

Document

olfileidmodmarmpa

Models of PA\Th{PA}source

Explain

Any non-standard model of TA\Th{TA}source is also one of PA\Th{PA}source. We know that non-standard models of TA\Th{TA}source and hence of PA\Th{PA}source exist. We also know that such non-standard models contain non-standard “numbers,” i.e., elements of the domain that are “beyond” all the standard “numbers.” But how are they arranged? How many are there? We've seen that models of the weaker theory Q\Th{Q}source can contain as few as a single non-standard number. But these simple structures are not models of PA\Th{PA}source or TA\Th{TA}source.

The key to understanding the structure of models of PA\Th{PA}source or TA\Th{TA}source is to see what facts are derivable in these theories. For instance, already PA\Th{PA}source proves that xxx\lforall[x][\eq/[x][x']]source and xy(x+y)=(y+x)\lforall[x][\lforall[y][\eq[(x+y)][(y+x)]]]source, so this rules out simple structures (in which these sentences are false) as models of PA\Th{PA}source.

Suppose M\Struct{M}source is a model of PA\Th{PA}source. Then if PAA\Th{PA} \Proves !Asource, MA\Sat{M}{!A}source. Let's again use 𝘇\nszerosource for 0M\Assign{\Obj{0}}{M}source, \nssuccsource for M\Assign{\prime}{M}source, \nsplussource for +M\Assign{+}{M}source, \nstimessource for ×M\Assign{\times}{M}source, and \nslesssource for <M\Assign{<}{M}source. Any sentence A!Asource then states some condition about 𝘇\nszerosource, \nssuccsource, \nsplussource, \nstimessource, and \nslesssource, and if MA\Sat{M}{!A}source that condition must be satisfied. For instance, if MQ1\Sat{M}{!Q_1}source, i.e., Mxy(x=yx=y)\Sat{M}{\lforall[x][\lforall[y][(\eq[x'][y'] \lif \eq[x][y])]]}source, then \nssuccsource must be injective.

The interpreted order in a model of PA

In M\Struct{M}source, \nslesssource is a linear strict order, i.e., it satisfies:

  1. Not xxx \nsless xsource for any x|M|x \in \Domain{M}source.

  2. If xyx \nsless ysource and yzy \nsless zsource then xzx \nsless zsource.

  3. For any xyx \neq ysource, xyx \nsless ysource or yxy \nsless xsource

Proof

PA\Th{PA}source proves:

  1. x¬x<x\lforall[x][\lnot x < x]source

  2. xyz((x<yy<z)x<z)\lforall[x][\lforall[y][\lforall[z][((x < y \land y < z) \lif x < z)]]]source

  3. xy((x<yy<x)x=y))\lforall[x][\lforall[y][((x < y \lor y < x) \lor \eq[x][y]))]]source

Discreteness of the model order

𝘇\nszerosource is the least element of |M|\Domain{M}source in the \nslesssource-ordering. For any xxsource, xxx \nsless x^\nssuccsource, and xx^\nssuccsource is the \nslesssource-least element with that property. For any xxsource, there is a unique yysource such that y=xy^\nssucc = xsource. (We call yysource the “predecessor” of xxsource in M\Struct{M}source, and denote it by predecessor of x^\nssucc xsource.)

Proof

Exercise.

Exercise axiomatizing discreteness

Find sentences in LA\Lang{L_A}source derivable in PA\Th{PA}source (and hence true in N\Struct{N}source) which guarantee the properties of 𝘇\nszerosource, \nssuccsource, and \nslesssource in reference prop:M-discrete

Standard elements precede nonstandard elements

All standard elements of M\Struct{M}source are less than (according to \nslesssource) all non-standard elements.

Proof

We'll use nnsource as short for n¯M\Value{\num{n}}{M}source, a standard element of M\Struct{M}source. Already Q\Th{Q}source proves that, for any nn \in \Natsource, x(x<n¯(x=0¯x=1¯x=n¯))\lforall[x][(x < \num{n}' \lif (\eq[x][\num{0}] \lor \eq[x][\num{1}] \lor \dots \lor \eq[x][\num{n}]))]source. There are no elements that are 𝘇\nsless \nszerosource. So if nnsource is standard and xxsource is non-standard, we cannot have xnx \nsless nsource. By definition, a non-standard element is one that isn't n¯M\Value{\num{n}}{M}source for any nn \in \Natsource, so xnx \neq nsource as well. Since \nslesssource is a linear order, we must have nxn \nsless xsource.

Definition and characterization of a nonstandard block

Every nonstandard element xxsource of |M|\Domain{M}source is an element of the subset

iterated predecessor of xiterated predecessor of xiterated predecessor of xxxxx\dots ^{\nssucc\nssucc\nssucc}x \nsless ^{\nssucc\nssucc}x \nsless ^{\nssucc}x \nsless x \nsless x^{\nssucc} \nsless x^{\nssucc\nssucc} \nsless x^{\nssucc\nssucc\nssucc} \nsless \dotssource

We call this subset the block of xxsource and write it as [x][x]source. It has no least and no greatest element. It can be characterized as the set of those y|M|y \in \Domain{M}source such that, for some standard nnsource, xn=yx \nsplus n = ysource or yn=xy \nsplus n = xsource.

Proof

Clearly, such a set [x][x]source always exists since every element yysource of |M|\Domain{M}source has a unique successor yy^\nssuccsource and unique predecessor predecessor of y^\nssucc ysource. For successive elements yysource, yy^\nssuccsource we have yyy \nsless y^\nssuccsource and yy^\nssuccsource is the \nslesssource-least element of |M|\Domain{M}source such that yysource is \nslesssource-less than it. Since always predecessor of yy^\nssucc y \nsless ysource and yyy \nsless y^\nssuccsource, [x][x]source has no least or greatest element. If y[x]y \in [x]source then x[y]x \in [y]source, for then either y=xy^{\nssucc\dots\nssucc} = xsource or x=yx^{\nssucc\dots\nssucc} = ysource. If y=xy^{\nssucc\dots\nssucc} = xsource (with nnsource \nssuccsource's), then yn=xy \nsplus n = xsource and conversely, since PAxx=(x+n¯)\Th{PA} \Proves \lforall[x][\eq[x^{\prime\dots\prime}][(x + \num{n})]]source (if nnsource is the number of \primesource's).

Distinct blocks are uniformly ordered

If [x][x] \neq [y]source and xyx \nsless ysource, then for any u[x]u \in [x]source and any v[y]v \in [y]source, uvu \nsless vsource.

Proof

Note that PAxy(x<y(x<yx=y))\Th{PA} \Proves \lforall[x][\lforall[y][(x < y \lif (x' < y \lor x' = y))]]source. Thus, if uvu \nsless vsource, we also have unvu \nsplus n^\nssucc \nsless vsource for any nnsource if [u][u] \neq [v]source.

Any u[x]u \in [x]source is y\nsless ysource: xyx \nsless ysource by assumption. If uxu \nsless xsource, uyu \nsless ysource by transitivity. And if xux \nsless usource but u[x]u \in [x]source, we have u=xnu = x\nsplus n^\nssuccsource for some nnsource, and so uyu \nsless ysource by the fact just proved.

Now suppose that v[y]v \in [y]source is y\nsless ysource, i.e., vm=yv \nsplus m^\nssucc = ysource for some standard mmsource. This rules out vxv \nsless xsource, otherwise y=vmxy = v \nsplus m^\nssucc \nsless xsource. Clearly also, xvx \neq vsource, otherwise xm=vm=yx \nsplus m^\nssucc = v \nsplus m^\nssucc = ysource and we would have [x]=[y][x] = [y]source. So, xvx \nsless vsource. But then also xnvx \nsplus n^\nssucc \nsless vsource for any nnsource. Hence, if xux \nsless usource and u[x]u \in [x]source, we have uvu \nsless vsource. If uxu \nsless xsource then uvu \nsless vsource by transitivity.

Lastly, if yvy \nsless vsource, uvu \nsless vsource since, as we've shown, uyu \nsless ysource and yvy \nsless vsource.

Distinct blocks are disjoint

If [x][x] \neq [y]source, [x][y]=[x] \cap [y] = \emptysetsource.

Proof

Suppose z[x]z \in [x]source and xyx \nsless ysource. Then zuz \nsless usource for all u[y]u \in [y]source. If z[y]z \in [y]source, we would have zzz \nsless zsource. Similarly if yxy \nsless xsource.

Explain

This means that the blocks themselves can be ordered in a way that respects \nslesssource: [x][y][x] \nsless [y]source iff xyx \nsless ysource, or, equivalently, if uvu \nsless vsource for any u[x]u \in [x]source and v[y]v \in [y]source. Clearly, the standard block [0][0]source is the least block. It intersects with no non-standard block, and no two non-standard blocks intersect either. Specifically, you cannot “reach” a different block by taking repeated successors or predecessors.

Adding nonstandard elements leaves the original block

If xxsource and yysource are non-standard, then xxyx \nsless x \nsplus ysource and xy[x]x \nsplus y \notin [x]source.

Proof

If yysource is nonstandard, then y𝘇y \neq \nszerosource. PAx(y0x<(x+y))\Th{PA} \Proves \lforall[x][(y \neq \Obj{0} \lif x < (x+y))]source. Now suppose xy[x]x \nsplus y \in [x]source. Since xxyx \nsless x \nsplus ysource, we would have xn=xyx \nsplus n^\nssucc = x \nsplus ysource. But PAxyz((x+y)=(x+z)y=z)\Th{PA} \Proves \lforall[x][\lforall[y][\lforall[z][(\eq[(x+y)][(x+z)] \lif y = z)]]]source (the cancellation law for addition). This would mean y=ny = n^\nssuccsource for some standard nnsource; but yysource is assumed to be non-standard.

No least nonstandard block

There is no least non-standard block.

Proof

PAxy((y+y)=x(y+y)=x)\Th{PA} \Proves \lforall[x][\lexists[y][(\eq[(y+y)][x] \lor \eq[(y+y)'][x])]]source, i.e., that every xxsource is divisible by 22source (possibly with remainder 11source). If xxsource is non-standard, so is yysource. By the preceding proposition, yyyy \nsless y \nsplus ysource and yy[y]y \nsplus y \notin [y]source. Then also y(yy)y \nsless (y \nsplus y)^\nssuccsource and (yy)[y](y \nsplus y)^\nssucc \notin [y]source. But x=yyx = y \nsplus ysource or x=(yy)x = (y \nsplus y)^\nssuccsource, so yxy \nsless xsource and y[x]y \notin [x]source.

No largest block

There is no largest block.

Proof

Exercise.

Exercise proving there is no largest block

Show that in a non-standard model of PA\Th{PA}source, there is no largest block.

Density of the block ordering

The ordering of the blocks is dense. That is, if xyx \nsless ysource and [x][x] \neq [y]source, then there is a block [z][z]source distinct from both that is between them.

Proof

Suppose xyx \nsless ysource. As before, xyx \nsplus ysource is divisible by two (possibly with remainder): there is a z|M|z \in \Domain{M}source such that either xy=zzx \nsplus y = z \nsplus zsource or xy=(zz)x \nsplus y = (z \nsplus z)^\nssuccsource. The element zzsource is the “average” of xxsource and yysource, and xzx \nsless zsource and zyz \nsless ysource.

Exercise completing the density proof

Write out a detailed proof of reference prop:blocks-dense. Which sentence must PA\Th{PA}source derive in order to guarantee the existence of zzsource? Why is xzx \nsless zsource and zyz \nsless ysource, and why is [x][x] \neq [z]source and [z][z] \neq [y]source?

Explain

The non-standard blocks are therefore ordered like the rationals: they form a denumerable dense linear ordering without endpoints. One can show that any two such denumerable orderings are isomorphic. It follows that for any two enumerable non-standard models M1\Struct{M}_1source and M2\Struct{M_2}source of true arithmetic, their reducts to the language containing <<source and ==source only are isomorphic. Indeed, an isomorphism hhsource can be defined as follows: the standard parts of M1\Struct{M_1}source and M2\Struct{M_2}source are isomorphic to the standard model N\Struct{N}source and hence to each other. The blocks making up the non-standard part are themselves ordered like the rationals and therefore isomorphic; an isomorphism of the blocks can be extended to an isomorphism within the blocks by matching up arbitrary elements in each, and then taking the image of the successor of xxsource in M1\Struct{M_1}source to be the successor of the image of xxsource in M2\Struct{M_2}source. Note that it does not follow that M1\mathfrak{M}_1source and M2\mathfrak{M}_2source are isomorphic in the full language of arithmetic (indeed, isomorphism is always relative to a language), as there are non-isomorphic ways to define addition and multiplication over |M1|\Domain{M_1}source and |M2|\Domain{M_2}source. (This also follows from a famous theorem due to Vaught that the number of countable models of a complete theory cannot be 2.)

Source file content/model-theory/models-of-arithmetic/computable-models.tex

documentclass[../../../include/open-logic-section]subfiles

Document

olfileidmodmarcmp

Computable Models of Arithmetic

Explain

The standard model N\Struct{N}source has two nice features. Its domain is the natural numbers \Natsource, i.e., its elements are just the kinds of things we want to talk about using the language of arithmetic, and the standard numeral n¯\num{n}source actually picks out nnsource. The other nice feature is that the interpretations of the non-logical symbols of LA\Lang{L_A}source are all computable. The successor, addition, and multiplication functions which serve as N\Assign{\prime}{N}source, +N\Assign{+}{N}source, and ×N\Assign{\times}{N}source are computable functions of numbers. (Computable by Turing machines, or definable by primitive recursion, say.) And the less-than relation on N\Struct{N}source, i.e., <N\Assign{<}{N}source, is decidable.

Non-standard models of arithmetical theories such as Q\Th{Q}source and PA\Th{PA}source must contain non-standard elements. Thus their domains typically include elements in addition to \Natsource. However, any countable structure can be built on any denumerable set, including \Natsource. So there are also non-standard models with domain \Natsource. In such models M\Struct{M}source, of course, at least some numbers cannot play the roles they usually play, since some kksource must be different from n¯M\Value{\num{n}}{M}source for all nn \in \Natsource.

Definition of a computable arithmetic structure

A structure M\Struct{M}source for LA\Lang{L_A}source is computable iff |M|=\Domain{M} = \Natsource and M\Assign{\prime}{M}source, +M\Assign{+}{M}source, ×M\Assign{\times}{M}source are computable functions and <M\Assign{<}{M}source is a decidable relation.

A computable nonstandard model of Q

Recall the structure K\Struct{K}source from reference ex:model-K-of-Q. Its domain was |K|={a}\Domain{K} = \Nat \cup \{a\}source and interpretations

0K=0K(x)=x+1if xaif x=a+K(x,y)=x+yif x and yaotherwise×K(x,y)=xyif x and y0if x=0 or y=0aotherwise<K={x,y:x and y and x<y}{x,a:x|K|}\Assign{\Obj{0}}{K} & = 0\\ \Assign{\prime}{K}(x) & = \begin{cases} x+1 & \text{if $x\in \Nat$}\\ a & \text{if $x = a$} \end{cases}\\ \Assign{+}{K}(x, y) & = \begin{cases} x+y & \text{if $x$, $y \in\Nat$}\\ a & \text{otherwise} \end{cases}\\ \Assign{\times}{K}(x, y) & = \begin{cases} xy & \text{if $x$, $y \in\Nat$}\\ 0 & \text{if $x=0$ or $y=0$}\\ a & \text{otherwise}\\ \end{cases}\\ \Assign{<}{K} & = \Setabs{\tuple{x,y}}{x, y \in \Nat \text{ and } x<y} \cup \Setabs{\tuple{x,a}}{x \in \Domain{K}}source

But |K|\Domain{K}source is denumerable and so is equinumerous with \Natsource. For instance, g:|K|g\colon \Nat \to \Domain{K}source with g(0)=ag(0) = asource and g(n)=n1g(n) = n-1source for n>0n>0source is a bijection. We can turn it into an isomorphism between a new model K\Struct{K'}source of Q\Th{Q}source and K\Struct{K}source. In K\Struct{K'}source, we have to assign different functions and relations to the symbols of LA\Lang{L_A}source, since different elements of \Natsource play the roles of standard and non-standard numbers.

Specifically, 00source now plays the role of aasource, not of the smallest standard number. The smallest standard number is now 11source. So we assign 0K=1\Assign{\Obj{0}}{K'} = 1source. The successor function is also different now: given a standard number, i.e., an n>0n > 0source, it still returns n+1n+1source. But 00source now plays the role of aasource, which is its own successor. So K(0)=0\Assign{\prime}{K'}(0) = 0source. For addition and multiplication we likewise have

+K(x,y)=x+y1if x>0 and y>00otherwise×K(x,y)=1if x=1 or y=1xyxy+2if x>1 and y>10otherwise\Assign{+}{K'}(x, y) & = \begin{cases} x+y-1 & \text{if $x$, $y >0$}\\ 0 & \text{otherwise} \end{cases}\\ \Assign{\times}{K'}(x, y) & = \begin{cases} 1 & \text{if $x = 1$ or $y = 1$}\\ xy - x - y + 2 & \text{if $x$, $y > 1$}\\ 0 & \text{otherwise}\\ \end{cases}source

And we have x,y<K\tuple{x, y} \in \Assign{<}{K'}source iff x<yx < ysource and x>0x > 0source and y>0y > 0source, or if y=0y = 0source.

All of these functions are computable functions of natural numbers and <K\Assign{<}{K'}source is a decidable relation on \Natsource---but they are not the same functions as successor, addition, and multiplication on \Natsource, and <K\Assign{<}{K'}source is not the same relation as <<source on \Natsource.

Exercise transporting the L model

Give a structure L\Struct{L'}source with |L|=\Domain{L'} = \Natsource isomorphic to L\Struct{L}source of reference ex:model-L-of-Q.

Explain

Reference ex:comp-model-q shows that Q\Th{Q}source has computable non-standard models with domain \Natsource. However, the following result shows that this is not true for models of PA\Th{PA}source (and thus also for models of TA\Th{TA}source).

Tennenbaum's theorem

[Tennenbaum's Theorem] N\Struct{N}source is the only computable model of PA\Th{PA}source.

Source disclosures