Exercise 1.

By induction on $m$. $H\left(m\right)$ is the statement that if $k=nm$ then $\text{DOR}\u22a2\left(\text{cterm}\right(n)\times \text{cterm}(m\left)\right)=\text{cterm}\left(k\right)$.

$H\left(0\right)$ holds as $0=n0$ and by an axiom of $\text{DOR}$, $\text{DOR}\u22a2\left(\text{cterm}\right(n)\times 0)=0$ for all $n$.

Assuming $H\left(m\right)$, let $k=n(m+1)$ so $k=l+n$ where $l=nm$. So by $H\left(m\right)$ we have $\text{DOR}\u22a2\left(\text{cterm}\right(n)\times \text{cterm}(m\left)\right)=\text{cterm}\left(l\right)$. Also $\text{cterm}\left(l\right)+\text{cterm}\left(n\right)=\text{cterm}(l+n)$ and this is provable in $\text{DOR}$ by a theorem on a previous web page. And by the distributivity axiom, the commutativity axiom and the axiom on multiplication by $1$ we have $\text{DOR}\u22a2\left(\text{cterm}\right(n)\times (\text{cterm}\left(m\right)+1\left)\right)=\left(\text{cterm}\right(n)\times \text{cterm}(m\left)\right)+\text{cterm}\left(n\right)$. So puuting these together using first-order logic rules for $=$ we have $\text{DOR}\u22a2\left(\text{cterm}\right(n)\times (\text{cterm}\left(m\right)+1\left)\right)=\text{cterm}\left(k\right)$, as required.

Exercise 2.

Induction on the complexity of ${\Delta}_{0}$ sentences. It's important to
get the induction hypothesis right. Let $H\left(n\right)$ be the statement that
If $\theta $ is a ${\Delta}_{0}$ sentence with a total of
at most $n$ occurences of $\neg $, $\vee $, $\wedge $, $\exists $ or $\forall $,
then:
if $\theta $ is true $\text{DOR}\u22a2\theta $; and
if $\theta $ is false $\text{DOR}\u22a2\neg \theta $.

The rest is left to the reader.

Exercise 3.

To prove $\text{DOR}\u22a2\forall x,y,u,v\u200a\left(\right(u+x=v\wedge u+y=v)\to x=y)$ and $\text{DOR}\u22a2\forall u,v\u200a\neg (2u=2v+1)$, work, as usual, in a model of the appropriate theory and appeal to completeness.

If $x<y$ then $u+x<u+y$ so they are not equal, using axioms of $\text{DOR}$.

If $2u=2v+1$ then $u>v$ since $u<v$ implies $2u<2v$ so $2u<2v+1$ and $u=v$ implies $2u=2v<2v+1$. So $2u=u+u\u2a7eu+v+1\u2a7ev+1+v+1=2v+2$, a contradiction.

Exercise 4.

Work in an arbitrary model $M$ of $\text{DOR}$. At the end we appeal to the completeness theorem to show the required statement is provable. Let $u,v,u\prime ,v\prime ,w\in M$ with $\u27e8u,v\u27e9=\u27e8u\prime ,v\prime \u27e9=w$.

We first show $u+v=u\prime +v\prime $. Suppose not, and suppose $u+v<u\prime +v\prime $. Then $u+v+1\u2a7du\prime +v\prime $. It follows by multiplying by $u+v+1$ and from the axioms that $(u+v)(u+v+1)+(u+v+1)\u2a7d(u\prime +v\prime )(u+v+1)$. Similarly $(u\prime +v\prime )(u+v+1)+(u+v+1)\u2a7d(u\prime +v\prime )(u\prime +v\prime +1)$ and putting these together, $(u+v)(u+v+1)+2(u+v+1)\u2a7d(u\prime +v\prime )(u\prime +v\prime +1)$. But this is impossible as $2(u+v+1)>2u$ and hence $w=(u+v)(u+v+1)+2u\u2a7e(u\prime +v\prime )(u\prime +v\prime +1)$. Therefore $u+v\u2a7eu\prime +v\prime $ and by symmetry $u+v\u2a7du\prime +v\prime $ so $u+v=u\prime +v\prime $.

Now as $u+v=u\prime +v\prime $ it follows that $(u+v)(u+v+1)=(u\prime +v\prime )(u\prime +v\prime +1)$ and hence $2u=2u\prime $. But then $u=u\prime $ for $u<u\prime $ would mean $u+u<u+u\prime <u\prime +u\prime $ and similiarly the other way round. Finally, as $u+v=u\prime +v\prime $ and $u=u\prime $ it follows from the axioms that $v=v\prime $ and we are done.

Exercise 5.

Again, work in an arbitrary model $M$ of $\text{DOR}+\text{DIV2}+\text{SQRT}$ and let $w\in M$ be arbitrary.

We first claim that there is $r\in M$ such that $r\left(r\mathrm{+1}\right)\le 2w<\left(r\mathrm{+1}\right)\left(r\mathrm{+2}\right)$. Indeed, by $\text{SQRT}$, there is ${r}_{0}$ such that ${r}_{{0}^{2}}\u2a7d2w<({r}_{0}{)}^{2}$. If ${r}_{0}\left({r}_{0}\mathrm{+1}\right)\u2a7d2w$ just let $r={r}_{0}$ and note that $2w<({r}_{0}+1{)}^{2}\u2a7d({r}_{0}+1{)}^{2}+({r}_{0}+1)=({r}_{0}+1)({r}_{0}+2)$. Otherwise ${r}_{0}\left({r}_{0}\mathrm{+1}\right)>2w$ so ${r}_{0}\ne 0$ and there is $r$ such that $r+1={r}_{0}$. Then $(r+1)(r+2)={r}_{0}({r}_{0}+1)>2w\u2a7e{r}_{{0}^{2}}=(r+1{)}^{2}>r(r\mathrm{+1})$ and the claim is done.

Next we find $u$ such that $r\left(r\mathrm{+1}\right)+2u=2w$. Indeed $2w\u2a7er\left(r\mathrm{+1}\right)$ so by an axiom of $\text{DOR}$ there is $s$ such that $r(r+1)+s=2w$. By $\text{DIV2}$ there is $u$ such that $2u\u2a7ds<2(u+1)=2u+2$. So $s=2u$ or $s=2u+1$. We show the latter is impossible. If $2w=r(r+1)+2u+1$ let $2t\u2a7dr<2\left(t\mathrm{+1}\right)$ using $\text{DIV2}$ again. So $r=2t$ or $r=2t+1$. If $r=2t$ then $2w=2t(2t+1)+2u+1=2\left(t\right(2t+1)+u)+1$ contradicting the lemma. Similarly if $r=2t+1$ then $2w=(2t+1)(2t+2)+2u+1=2\left(\right(t+1\left)\right(2t+1)+u)+1$ contradicting the lemma.

Finally given $2w=r\left(r\mathrm{+1}\right)+2u$ we need to check $u\u2a7dr$ for if so there is $v$ such that $r=u+v$ as required. But if $u>r$ then $u\u2a7er+1$ and $2u\u2a7e2r+2$ so $2w\u2a7er\left(r\mathrm{+1}\right)+2r+2=\left(r\mathrm{+1}\right)\left(r\mathrm{+2}\right)$ contradicting our choice of $r$.

Exercise 6.

It is actually helpful for this to assume the result in the exercise above that shows $\u27e8u,v\u27e9=w$ is injective in $\text{DOR}$.

The proof is by induction on the complexity of existential sentences. Again
it is important to get the induction hypothesis right. Let $H\left(n\right)$ be
the statement that If $\theta \left(\stackrel{\_}{x}\right)$ is an existential formula with a total of
at most $n$ occurences of $\neg $, $\vee $, $\wedge $,
then there is a formula $\varphi $ in the form shown, and in the
same free variables, provably equivalent to $\theta \left(\stackrel{\_}{x}\right)$.

BASE CASE: In the case $n=0$ the statement $\theta \left(\stackrel{\_}{x}\right)$ is either in the form given already, in which case there is nothing to prove, or else is of the form

in which case it is equivalent in $\text{DOR}$ to

as you can check.

STEP FOR $\vee $: To transform the statement

First rename the variables ${w}_{1},\dots ,{w}_{l}$ so that they are diofferent from the ${v}_{1},\dots ,{v}_{k}$ as necessary, and then write it as

STEP FOR $\wedge $: To transform the statement

Write it as

using the pairing function of the exercise above, but note that this statement will have to be transformed to the required form using elementary algebraic means, all of which are available in $\text{DOR}$.

STEP FOR $\neg $: To transform the statement

write it as

and use previous transformations for $<$ and $\vee $.