298 From the identity to \(e^{i\theta }\)

This section starts from the source and ends at \(e^{i\theta }\), citing nothing outside itself. Kinds, pairs, sums, the two marks, truth values, numbers, induction, recursion, addition, multiplication, integers, fractions, reals, complex numbers, the conjugate, the inverse and the exponential are each read off what comes before. One operation runs through all of it: the swap. Negation, the negative, the reciprocal, \(i\) and the conjugate are all swaps.

298.1 The source and kinds

B1 (the source). The source is \(a=a\), read in two directions: placing and reading. They are adjoint, \(\mathrm {Hom}(Lx,y)\cong \mathrm {Hom}(x,Ry)\), with unit \(\eta \), counit \(\varepsilon \) and

\begin{equation} \text {(i)}\ \ R\varepsilon \circ \eta R=\mathrm {id},\qquad \text {(ii)}\ \ \varepsilon L\circ L\eta =\mathrm {id}: \tag{19526}\end{equation}
reading what was placed gives it back, and placing what was read gives it back.

Reading at the identity. Let \(F\) be read along maps, \(F(h):F(Y)\to F(Y')\) for \(h:Y\to Y'\), and let \(\eta _Y:(A\to Y)\to F(Y)\) satisfy \(\eta _{Y'}(h\circ f)=F(h)(\eta _Y(f))\). Taking \(f=\mathrm {id}_A\) and \(h=f\),

\begin{equation} \eta _Y(f)=F(f)\bigl (\eta _A(\mathrm {id}_A)\bigr ). \tag{19527}\end{equation}
A family read along maps is fixed by what it reads at the identity.

B2 (kinds). Whatever \(a=a\) is said of carries an identity, the map that reads it as itself. Call it a kind. A kind \(A\) is given by \(\mathrm {id}_A\), with \(\mathrm {id}_A\circ f=f\) and \(g\circ \mathrm {id}_A=g\). Nothing else is assumed: not that it has elements, not how many. A kind is fixed by the maps into it. If \(\eta :\mathrm {Hom}(-,A)\cong \mathrm {Hom}(-,B)\) naturally, put \(f=\eta (\mathrm {id}_A)\) and \(g=\eta ^{-1}(\mathrm {id}_B)\). By B1, \(\eta (h)=f\circ h\) and \(\eta ^{-1}(k)=g\circ k\), so

\begin{equation} g\circ f=\eta ^{-1}\eta (\mathrm {id}_A)=\mathrm {id}_A,\qquad f\circ g=\mathrm {id}_B . \tag{19528}\end{equation}

298.2 Pairs, maps, sums and the two marks

B3 (pair, one, elements, maps, copy, swap).

Two places. \(a=a\) has a left place and a right place. A two-place statement about \(C\) is two maps \(f:C\to A\), \(g:C\to B\) given together. The kind receiving them is \(A\times B\): maps \(C\to A\times B\) are such pairs \(\langle f,g\rangle \). Reading \(\langle -,-\rangle \) at \(\mathrm {id}_{A\times B}\) (B1) gives \(\pi _1,\pi _2\), and

\begin{equation} \pi _1\langle f,g\rangle =f,\qquad \pi _2\langle f,g\rangle =g,\qquad \langle \pi _1h,\pi _2h\rangle =h . \tag{19529}\end{equation}

No places. The statement with no places is given by no maps. The kind receiving it is \(1\): from each \(C\) there is exactly one map \(e_C:C\to 1\). Its one element \(*\) is the empty pair, the witness of \(a=a\) with nothing in its places. Existence is this witness.

Elements. An element of \(A\) is a map \(x:1\to A\), and \(f(x)=f\circ x\). A map out of \(1\) is fixed by where \(*\) goes, so the elements of \(A\times B\) are pairs \((a,b)\), with \((a,b)=(a',b')\) exactly when \(a=a'\) and \(b=b'\). A map applied to the witness of \(x=y\) gives a witness of \(f(x)=f(y)\): maps send equals to equals.

Maps as a kind. Placing \(C\) beside \(A\) and reading in \(B\) is the same as reading \(C\) in a kind of maps:

\begin{equation} \mathrm {Hom}(C\times A,B)\cong \mathrm {Hom}(C,B^A). \tag{19530}\end{equation}
This is B1 with \(L=-\times A\). The counit \(\mathrm {ev}:B^A\times A\to B\) reads a map at an element. Since \(1\times A\cong A\) (by \(\pi _2\) and \(\langle e_A,\mathrm {id}\rangle \)), the elements of \(B^A\) are the maps \(A\to B\).

Copy and swap. \(\Delta =\langle \mathrm {id},\mathrm {id}\rangle \), \(\Delta (a)=(a,a)\), is \(a=a\) as a map: \(a\) in both places. \(\pi _i\Delta =\mathrm {id}\) is triangle (i) and \(\langle \pi _1,\pi _2\rangle =\mathrm {id}\) is triangle (ii). The swap \(\sigma =\langle \pi _2,\pi _1\rangle \) exchanges the places:

\begin{equation} \sigma \sigma =\mathrm {id},\qquad \sigma \Delta =\Delta . \tag{19531}\end{equation}

B4 (sum, zero, two, names, \(\ell \neq r\)).

Negation. The kind \(0\) has no place for an element (above). A statement \(X\) is refuted by a map \(X\to 0\); write \(\neg X\) for the kind of such maps, \(0^X\) (B3). A contradiction is an element of \(0\).

\(0=1\) refutes the source. Suppose \(0\cong 1\). Then \(0\) has an element \(z\). For every \(a\), the constant map at \(z\) is an element of

\begin{equation} \neg (a=a)=\bigl ((a=a)\to 0\bigr ), \tag{19532}\end{equation}
so \(a=a\) is refuted, while \(\mathrm {refl}_a\) witnesses it (B3). The source and its refutation would both hold. So \(0\cong 1\) is not a second world next to the source; it is the source denied. Hence
\begin{equation} 0\neq 1 . \tag{19533}\end{equation}

\(\ell \neq r\). Let \(P=[\ulcorner 1\urcorner ,\ulcorner 0\urcorner ]:\mathbf 2\to U\). A witness of \(\ell =r\) gives, by substitution (B3), a witness of \(P(\ell )=P(r)\), that is of \(1=0\), and transport of \(*\) along it is an element of \(0\). This is a map

\begin{equation} (\ell =r)\to 0, \tag{19534}\end{equation}
that is, a witness of \(\neg (\ell =r)\). So \(\ell \neq r\) is a theorem, with the witness written out.

The chain of refutations. Each line refutes the next line’s denial:

statement its denial gives
\(a=a\) the source refuted
\(0\neq 1\) an element of \(0\), so \(\neg (a=a)\)
\(\ell \neq r\) \(1=0\), by \(P\)
\(\mathrm {in}_1a\neq \mathrm {in}_2b\) \(\ell =r\), by \([\ell \circ e_A,\ r\circ e_B]\)
\(\pi _1\neq \pi _2\) on \(\mathbf 2\times \mathbf 2\) \(\ell =r\), at the element \((\ell ,r)\)

The two marks are distinct because the source is not refuted.

Sum. Read on the other side of the copy, a map out of "\(A\) or \(B\)" is two maps out:

\begin{equation} \mathrm {Hom}(A\sqcup B,C)\cong \mathrm {Hom}(A,C)\times \mathrm {Hom}(B,C). \tag{19535}\end{equation}
The two places of the pair are the tags. An element of \(A\sqcup B\) is an element of the kind at one place, marked with that place: \(\mathrm {in}_1a\) or \(\mathrm {in}_2b\). Then \([f,g](\mathrm {in}_1a)=f(a)\) and \([f,g](\mathrm {in}_2b)=g(b)\).

Zero. The sum over no places is \(0\). It has no element, since an element needs a place, and exactly one map \(0\to C\).

Two. \(\mathbf 2=1\sqcup 1\). Its elements are the places themselves, \(\ell =\mathrm {in}_1*\) and \(r=\mathrm {in}_2*\). The swap of the places is \(\neg =[\mathrm {in}_2,\mathrm {in}_1]:\mathbf 2\to \mathbf 2\), and \(\neg \neg =\mathrm {id}\).

Names. A kind is given by its identity (B2). Read as a mark, \(\mathrm {id}_A\) is a name \(\ulcorner A\urcorner \). The names of the kinds of one level form a kind \(U\) one level up. They are closed under \(\sqcup \), \(\times \) and maps, with

\begin{equation} \mathrm {El}\,\ulcorner A\urcorner =A,\qquad \ulcorner \mathrm {El}\,c\urcorner =c . \tag{19536}\end{equation}
A family over \(X\) is a map \(X\to U\).

\(\ell \neq r\). Let \(P=[\ulcorner 1\urcorner ,\ulcorner 0\urcorner ]:\mathbf 2\to U\). If \(\ell =r\), then \(1=\mathrm {El}\,P(\ell )=\mathrm {El}\,P(r)=0\) (B3), and \(*\) would be an element of \(0\). So \(\ell \neq r\).

Tags. \(\mathrm {in}_1a\neq \mathrm {in}_2b\): apply \([\ell \circ e_A,\ r\circ e_B]\), and equality would give \(\ell =r\). And \(\mathrm {in}_1a=\mathrm {in}_1a'\Rightarrow a=a'\): apply \([\mathrm {id}_A,\ a\circ e_B]:A\sqcup B\to A\). The same holds for \(\mathrm {in}_2\).

B5 (truth values). A part of \(A\) says, at each element, whether that element is in. At the one element of \(1\) there is only \(\mathrm {id}_1\) to read, so a part of \(1\) contains it or does not. Its values are the two places: \(\top =\ell \) (in) and \(\bot =r\) (out). So a statement is an element of \(\mathbf 2\), and a part of \(A\) is a map \(p:A\to \mathbf 2\), an element of \(\mathbf 2^A\) (B3). Equality \(x=y\) is a part of \(A\times A\).

connective definition law
\(\neg p\) \(\neg \circ p\), the swap \(\neg \neg p=p\) by \(\neg \neg =\mathrm {id}\)
\(p\wedge q\) \(\top \) only at \((\top ,\top )\), by cases (B4) \(p\wedge \neg p=\bot \) by \(\ell \neq r\)
\(p\vee q\) \(\neg (\neg p\wedge \neg q)\) \(p\vee \neg p=\top \)
\(p\leq q\) \(p\wedge q=p\) a partial order
\(\exists _Ap\) \(\top \) when \(p(a)=\top \) for some \(a\) \(\exists _Ap\leq q\iff p\leq q\circ e_A\)
\(\forall _Ap\) \(\top \) when \(p(a)=\top \) for every \(a\) \(q\circ e_A\leq p\iff q\leq \forall _Ap\)

"Some" and "every" are the two adjoints of weakening \(q\mapsto q\circ e_A\) (B1). Every statement is \(\top \) or \(\bot \), since \(\mathbf 2\) has only these two elements.

298.3 Numbers

B6 (numbers and induction). Put \(s(X)=1\sqcup X\): one more place. The numbers are the least part of \(U\) that contains \(\ulcorner 0\urcorner \) and is closed under \(s\):

\begin{equation} \mathbb N=\forall P\bigl (\ \ulcorner 0\urcorner \in P\ \wedge \ P\text { closed under }s\ \Rightarrow \ (-)\in P\bigr ), \tag{19537}\end{equation}
with \(P\) ranging over \(\mathbf 2^U\). The counit of \(\forall \) (B5) is induction: if \(P\) contains \(\ulcorner 0\urcorner \) and is closed under \(s\), then \(\mathbb N\subseteq P\). And \(\mathbb N\) itself contains \(\ulcorner 0\urcorner \) and is closed under \(s\).

Sameness. Two numbers are the same when there is a bijection \(\mathrm {El}\,n\cong \mathrm {El}\,m\). At this stage and every later one, "\(=\)" means the sameness of that stage, and every part and map respects it. Write \(0=\ulcorner 0\urcorner \) and \(1=s0\).

B7 (the four facts).

fact proof
every \(n\) is \(0\) or \(sm\) the part \(\{0\}\cup s(\mathbb N)\) contains \(0\) and is closed (B6)
\(0\neq sn\) a bijection \(0\cong 1\sqcup X\) would send \(\mathrm {in}_1*\) into \(0\)
\(sm=sn\Rightarrow m=n\) the swap, below
\(m=n\) or \(m\neq n\) B5

\(s\)is injective. Let \(f:1\sqcup X\cong 1\sqcup Y\) and \(y_0=f(\mathrm {in}_1*)\). If \(y_0=\mathrm {in}_1*\), then \(f\) sends second tags to second tags and restricts to \(X\cong Y\) (B4). Otherwise let \(\tau \) be the swap of \(\mathrm {in}_1*\) and \(y_0\) on \(1\sqcup Y\). Then \(\tau \tau =\mathrm {id}\), and \(\tau f\) fixes \(\mathrm {in}_1*\) and restricts to \(X\cong Y\).

B8 (recursion is a theorem). Let \(a\) be an element of a kind \(A\) and \(g:\mathbb N\times A\to A\). There is exactly one \(h:\mathbb N\to A\) with

\begin{equation} h(0)=a,\qquad h(sn)=g\bigl (n,h(n)\bigr ). \tag{19538}\end{equation}
Let \(R\) be the least part of \(\mathbb N\times A\) that contains \((0,a)\) and is closed under \((n,x)\mapsto (sn,g(n,x))\) (as in B6).

So \(R\) is the graph of \(h\), and any \(h'\) with the same two equations equals \(h\) by induction.

B9 (addition and multiplication are the two adjoints of the copy). Put

\begin{equation} a+b=\ulcorner \mathrm {El}\,a\sqcup \mathrm {El}\,b\urcorner ,\qquad a\cdot b=\ulcorner \mathrm {El}\,a\times \mathrm {El}\,b\urcorner . \tag{19539}\end{equation}
These are the left adjoint (B4) and the right adjoint (B3) of \(\Delta \). The recursion equations are bijections:

equation bijection
\(a+0=a\) \(A\sqcup 0\cong A\)
\(a+sb=s(a+b)\) \(A\sqcup (1\sqcup B)\cong 1\sqcup (A\sqcup B)\): move the tag of \(1\) to the front
\(a\cdot 0=0\) \(A\times 0\) has no element
\(a\cdot sb=a\cdot b+a\) \((x,\mathrm {in}_1*)\mapsto \mathrm {in}_2x\),  \((x,\mathrm {in}_2y)\mapsto \mathrm {in}_1(x,y)\)

By induction on \(b\), \(a+b\) and \(a\cdot b\) lie in \(\mathbb N\). The laws are bijections:

law bijection
\(a+b=b+a\) \([\mathrm {in}_2,\mathrm {in}_1]\), the swap of tags
\((a+b)+c=a+(b+c)\) regrouping of tags
\(ab=ba\) the swap \(\sigma \)
\((ab)c=a(bc)\) regrouping of pairs
\(a(b+c)=ab+ac\) \((x,\mathrm {in}_iy)\mapsto \mathrm {in}_i(x,y)\)
\(0+a=a\),  \(1\cdot a=a\) \(0\sqcup A\cong A\),  \(1\times A\cong A\)
\(a+c=b+c\Rightarrow a=b\) \(s\) injective (B7), by induction on \(c\)

Order. \(a\leq b\) when \(b=a+d\) for some \(d\), and \(a<b\) when moreover \(d\neq 0\).

B10 (factorials and binomial numbers). By B8,

\begin{equation} 0!=1,\quad (sn)!=n!\cdot sn;\qquad C(0,0)=1,\quad C(0,sj)=0,\quad C(sn,0)=1,\quad C(sn,sj)=C(n,j)+C(n,sj). \tag{19540}\end{equation}
\(C(n,j)\) counts the maps \(\mathrm {El}\,n\to \mathbf 2\) that take \(\ell \) at exactly \(j\) places, since the new place takes \(\ell \) or \(r\) (B4). By induction \(C(n,j)=0\) for \(j>n\). For \(j\leq n\) write \(n-j\) for the \(d\) with \(j+d=n\) (unique by B9). Then
\begin{equation} C(n,j)\,j!\,(n-j)!=n!, \tag{19541}\end{equation}
by induction on \(n\): \(C(n+1,j+1)\,(j+1)!\,(n-j)!=n!\,(j+1)+n!\,(n-j)=(n+1)!\). When \(j=n\) the second term is \(0\cdot n!\).

298.4 The sign: integers

B11 (difference pairs). An integer is a pair \((a,b)\) of numbers (B6), read \(a-b\), with \((a,b)=(a',b')\) when \(a+b'=a'+b\). This is a sameness. From \(a+b'=a'+b\) and \(a'+b''=a''+b'\), adding gives \((a+b'')+(a'+b')=(a''+b)+(a'+b')\), and B9 cancels. The number \(n\) is the integer \((n,0)\), and \((n,0)=(m,0)\) only if \(n=m\). By totality (B9), every integer is \((n,0)\) or \((0,n)\).

B12 (the negative is the swap).

\begin{equation} -(a,b)=\sigma (a,b)=(b,a),\qquad -(-x)=x\ \text { is }\ \sigma \sigma =\mathrm {id},\qquad (a,b)+(b,a)=(a+b,\,b+a)=0, \tag{19542}\end{equation}
with \((a,b)+(c,d)=(a+c,\,b+d)\) and \(0=(0,0)=(n,n)\).

B13 (product, rule of signs, order). Put \((a,b)(c,d)=(ac+bd,\ ad+bc)\): like parts go to the positive place, unlike parts to the negative. It respects sameness: if \(a+b'=a'+b\), then

\begin{equation} (ac+bd)+(a'd+b'c)=c(a+b')+d(a'+b)=c(a'+b)+d(a+b')=(a'c+b'd)+(ad+bc). \tag{19543}\end{equation}
With \(1=(1,0)\) and \(-1=(0,1)\),
\begin{equation} (-1)(-1)=(0\cdot 0+1\cdot 1,\ 0\cdot 1+1\cdot 0)=(1,0)=1 . \tag{19544}\end{equation}
The rule of signs is the swap applied twice. The ring laws follow from B9 on each place.

Order: \((a,b)<(c,d)\) when \(a+d<c+b\). It respects sameness and is total. If \(x<y\), then \(x+z<y+z\), and \(xz<yz\) for \(z>0\) (write \(z=(n,0)\) and use B9). If \(xy=0\), then \(x=0\) or \(y=0\). Hence \(xz=yz\) with \(z\neq 0\) gives \(x=y\).

298.5 The reciprocal: fractions

B14 (ratio pairs). A fraction is a pair \((p,q)\) of integers with \(q>0\), read \(p/q\), with \((p,q)=(p',q')\) when \(pq'=p'q\). Transitivity: from \(pq'=p'q\) and \(p'q''=p''q'\), \(pq''q'=p'qq''=p''qq'\), and \(q'\neq 0\) cancels (B13). Put

\begin{equation} \tfrac pq+\tfrac {p'}{q'}=\tfrac {pq'+p'q}{qq'},\qquad \tfrac pq\cdot \tfrac {p'}{q'}=\tfrac {pp'}{qq'} . \tag{19545}\end{equation}
Both respect sameness by the ring laws. The integer \(p\) is \(p/1\).

B15 (the reciprocal is the swap). For \(p>0\),

\begin{equation} (p,q)^{-1}=\sigma (p,q)=(q,p),\qquad \tfrac pq\cdot \tfrac qp=\tfrac {pq}{qp}=1 . \tag{19546}\end{equation}
For \(p<0\) the swap is followed by the sign on both places, \((-q,-p)\), so that the second place stays positive. The negative (B12) and the reciprocal are the same operation on two kinds of pair.

B16 (order of fractions). \(\frac pq<\frac {p'}{q'}\) when \(pq'<p'q\). It is total and respects \(+\), and \(\cdot \) by positives.

298.6 Cuts: real numbers

B17 (reals). A real number is a pair \((L,U)\) of parts of the fractions (B5) with:

condition statement
inhabited some \(q\in L\), some \(r\in U\)
rounded \(q\in L\iff \) some \(q'>q\) is in \(L\); \(r\in U\iff \) some \(r'<r\) is in \(U\)
disjoint no fraction is in both
located \(q<r\) gives \(q\in L\) or \(r\in U\)

\(L\)is closed downwards: if \(q'<q\in L\), locatedness gives \(q'\in L\) or \(q\in U\), and the second is excluded. Likewise \(U\) is closed upwards, and every point of \(L\) lies below every point of \(U\). Two reals are the same when their parts are. The fraction \(a\) is the real \((\{q<a\},\{r>a\})\). The order is \(x<y\) when some fraction is in \(U_x\) and in \(L_y\). It is total by B5.

B18 (approximation). For every \(\epsilon >0\) there are \(q\in L_x\) and \(r\in U_x\) with \(r-q<\epsilon \). Take \(q_0\in L\), \(r_0\in U\) and \(\delta =\epsilon /3\). The grid \(q_0+k\delta \) passes \(r_0\) for some number \(k\) (B16). Let \(q^*\) be the last grid point in \(L\). Locatedness on \(q^*+\delta <q^*+2\delta \) puts \(q^*+2\delta \) in \(U\). For every real \(x\), some number \(n>x\).

B19 (operations; sign and reciprocal swap the cuts).

operation cuts
\(x+y\) \(L=\{q+q'\}\),  \(U=\{r+r'\}\)
\(-x\) \(L_{-x}=\{-r:r\in U_x\}\),  \(U_{-x}=\{-q:q\in L_x\}\)
\(xy\), \(x,y>0\) \(L=\{q\leq 0\}\cup \{qq':0<q\in L_x,\ 0<q'\in L_y\}\),  \(U=\{rr':r\in U_x,\ r'\in U_y\}\)
\(1/x\), \(x>0\) \(L=\{q\leq 0\}\cup \{1/r:r\in U_x\}\),  \(U=\{1/q:0<q\in L_x\}\)

For other signs, \(xy\) and \(1/x\) follow by the rule of signs, with \(|x|=x\) or \(-x\) (B5 decides which). The negative and the reciprocal exchange the two cuts and apply the swap of B12 or B15 to each fraction. Each result satisfies B17: it is located by B18. Each law of the fractions holds for reals, because both sides are pinned between the same fractions within every \(\epsilon \). For \(x\geq 0\), \(\sqrt x\) is the real with \(L=\{q\leq 0\}\cup \{q>0:q^2<x\}\).

B20 (completeness is "some"). Let \(S\) be an inhabited set of reals bounded above by a fraction. Put

\begin{equation} L=\exists _{x\in S}L_x,\qquad U=\{r\ \mid \ \text {some }r'<r\text { bounds every }L_x\}. \tag{19547}\end{equation}
It is located: for \(q<r\), either some \(L_x\) contains \(q\), or \(q\) bounds them all and \(r\in U\) (B5). So \(\sup S=(L,U)\) is a real and the least upper bound. Completeness is the left adjoint "some" (B5), applied to cuts.

B21 (limits and sums). \(x_n\to x\) when for every \(\epsilon >0\) all but finitely many \(x_n\) lie within \(\epsilon \) of \(x\). An increasing sequence that is bounded tends to its supremum (B20). Sums, products and reciprocals (of nonzero limits) of convergent sequences converge to the corresponding values. If \(\sum _{k\leq n}|a_k|\) is bounded, then \(\sum a_k\) converges, being \(\sum a_k^+-\sum a_k^-\) with \(a^\pm =\max (\pm a,0)\), and \(\bigl |\sum _{k>n}a_k\bigr |\leq \sum _{k>n}|a_k|\).

B22 (continuity, intermediate values, monotonicity). \(f\) is continuous at \(x\) when \(x_n\to x\) gives \(f(x_n)\to f(x)\). Then \(f(x)>0\) makes \(f>0\) on a neighbourhood: otherwise points \(x_n\to x\) with \(f(x_n)\leq 0\) exist.

298.7 The second swap: complex numbers

B23 (complex numbers and \(i\)). A complex number is a pair of reals \(z=(a,b)\), added placewise. Put

\begin{equation} J(a,b)=(-b,\ a), \tag{19548}\end{equation}
the swap \(\sigma \) followed by the sign (B19) on the first place. Then \(J^2(a,b)=(-a,-b)\): the swaps cancel and the sign falls on both places.
\begin{equation} J^2=-1,\qquad J^4=1 . \tag{19549}\end{equation}

B24 (product). \(zw=a\,w+b\,Jw\) for \(z=(a,b)\), that is

\begin{equation} (a,b)(c,d)=(ac-bd,\ ad+bc). \tag{19550}\end{equation}
With \(1=(1,0)\) and \(i=(0,1)=J1\), \(i^2=-1\) and \((a,b)=a+bi\). The real \(a\) is \((a,0)\). The product is commutative, associative and distributive by B19 on each place.

B25 (the conjugate). \(\bar z=K(a,b)=(a,-b)\), the sign on the second place.

\begin{equation} KK=\mathrm {id},\qquad \overline {z+w}=\bar z+\bar w,\qquad \overline {zw}=\bar z\,\bar w,\qquad KJ=-JK . \tag{19551}\end{equation}

B26 (norm). \(N(z)=z\bar z=(a^2+b^2,0)\) is real, \(\geq 0\), and zero only at \(z=0\). Since \(K\) is multiplicative, \(N(zw)=N(z)N(w)\). Put \(|z|=\sqrt {N(z)}\). Then \(|zw|=|z||w|\), \(|\bar z|=|z|\), \(|a|\leq |z|\leq |a|+|b|\), and

\begin{equation} N(z)N(w)=(ac+bd)^2+(ad-bc)^2\ \Rightarrow \ |z+w|\leq |z|+|w|, \tag{19552}\end{equation}
since \(N(z+w)=N(z)+N(w)+2(ac+bd)\). Limits of complex numbers are taken placewise, which by these bounds is the same as in \(|\cdot |\).

B27 (the inverse). For \(z\neq 0\), \(N(z)>0\) has a reciprocal (B19), and

\begin{equation} z^{-1}=\bar z\cdot \frac 1{N(z)},\qquad z\,z^{-1}=1 . \tag{19553}\end{equation}
The inverse is the conjugate rescaled by the norm.

B28 (the circle). The identity of multiplication is \(1\), and \(N(1)=1\). The circle is the set of numbers whose conjugate is their inverse:

\begin{equation} S^1=\{z\mid z\bar z=1\}=\{z\mid \bar z=z^{-1}\}. \tag{19554}\end{equation}
It is a group, since \(N(zw)=N(z)N(w)\). Multiplying by \(w\in S^1\) keeps every norm, so \(S^1\) is the group of rotations of the plane. It contains \(i\), with \(i^4=1\).

298.8 The exponential

B29 (geometric sums). For a real \(0\leq \rho <1\), \((1-\rho )(1+\rho +\dots +\rho ^n)=1-\rho ^{n+1}\leq 1\), so \(\sum _{k\leq n}\rho ^k\leq 1/(1-\rho )\).

B30 (factorials beat powers). Let \(\rho \geq 0\) and take a number \(K\geq 2\rho \) (B18). For \(k\geq K\), \(\frac {\rho ^{k+1}}{(k+1)!}\leq \frac 12\cdot \frac {\rho ^k}{k!}\), so by B29

\begin{equation} \sum _{k\leq n}\frac {\rho ^k}{k!}\ \leq \ \sum _{k<K}\frac {\rho ^k}{k!}+2\,\frac {\rho ^K}{K!}. \tag{19555}\end{equation}
The partial sums increase and are bounded, so they tend to a limit \(e(\rho )\) (B21), and the tails \(T_n(\rho )=e(\rho )-\sum _{k\leq n}\rho ^k/k!\) tend to \(0\).

B31 (definition). The places of \(z^k/k!\) are bounded in size by \(|z|^k/k!\) (B26), so both converge (B21, B30). Put

\begin{equation} E(z)=\sum _{k\geq 0}\frac {z^k}{k!},\qquad \Bigl |E(z)-\sum _{k\leq n}\frac {z^k}{k!}\Bigr |\leq T_n(|z|),\qquad |E(z)|\leq e(|z|). \tag{19556}\end{equation}

B32 (binomial expansion). In any commutative ring, so in the complex numbers (B24), by induction on \(n\) with the recursion of B10,

\begin{equation} (z+w)^n=\sum _{j\leq n}C(n,j)\,z^jw^{n-j},\qquad \frac {C(n,j)}{n!}=\frac 1{j!\,(n-j)!}. \tag{19557}\end{equation}

B33 (sums go to products).

\begin{equation} E(z+w)=E(z)\,E(w),\qquad E(0)=1 . \tag{19558}\end{equation}
Let \(A_n,B_n,C_n\) be the partial sums up to \(n\) for \(z\), \(w\) and \(z+w\). By B32, \(C_n=\sum _{j+m\leq n}\frac {z^j}{j!}\frac {w^m}{m!}\). Then \(A_nB_n-C_n\) collects the terms with \(j,m\leq n\) and \(j+m>n\), so with \(j>n/2\) or \(m>n/2\):
\begin{equation} |A_nB_n-C_n|\leq T_{\lfloor n/2\rfloor }(|z|)\,e(|w|)+e(|z|)\,T_{\lfloor n/2\rfloor }(|w|)\to 0 . \tag{19559}\end{equation}
Since \(A_nB_n\to E(z)E(w)\) and \(C_n\to E(z+w)\) (B21), the claim follows. The additive identity goes to the multiplicative identity.

B34 (inverse). \(E(z)E(-z)=E(0)=1\), so \(E(z)\neq 0\) and \(E(z)^{-1}=E(-z)\).

B35 (conjugate). \(K\) is additive, multiplicative and keeps distances, so it passes through partial sums and limits: \(\overline {E(z)}=E(\bar z)\).

B36 (the conjugate is the inverse on the imaginary axis). For real \(\theta \), \(\overline {i\theta }=-i\theta \), so by B34 and B35

\begin{equation} \overline {E(i\theta )}=E(-i\theta )=E(i\theta )^{-1},\qquad N\bigl (E(i\theta )\bigr )=1 . \tag{19560}\end{equation}
So \(E(i\theta )\in S^1\) (B28). Write \(e^{i\theta }=E(i\theta )\), and \(e^x=E(x)\) for real \(x\).

B37 (the real axis). For real \(x\), \(\overline {E(x)}=E(x)\), so \(e^x\) is real, and \(e^x=(e^{x/2})^2>0\) by B34. All terms are \(\geq 0\) for \(x\geq 0\), so \(e^x\geq 1+x\) there. For \(0\leq t<1\),

\begin{equation} e^t(1-t)=1+\sum _{k\geq 1}t^k\Bigl (\frac 1{k!}-\frac 1{(k-1)!}\Bigr )\leq 1, \tag{19561}\end{equation}
so \(e^{-t}\geq 1-t\). For \(t\geq 1\), \(1-t\leq 0<e^{-t}\). Hence \(e^x\geq 1+x\) for every real \(x\).

B38 (derivative). Since \(k!\geq 2^{k-1}\), for \(|h|\leq 1\)

\begin{equation} |E(h)-1-h|\leq |h|^2\sum _{k\geq 2}2^{1-k}=|h|^2 . \tag{19562}\end{equation}
With \(E(z+h)-E(z)=E(z)\bigl (E(h)-1\bigr )\), \(E\) is continuous and
\begin{equation} E'(z)=E(z),\qquad \frac {d}{d\theta }e^{i\theta }=i\,e^{i\theta }. \tag{19563}\end{equation}
The velocity of \(e^{i\theta }\) is its position turned by \(J\): the flow of the swap.

298.9 The circle and \(\pi \)

B39 (cosine and sine). Put \(e^{i\theta }=c(\theta )+i\,s(\theta )\). The powers of \(i\) run \(1,i,-1,-i\) (B23), so

\begin{equation} c(\theta )=\sum _m(-1)^m\frac {\theta ^{2m}}{(2m)!},\qquad s(\theta )=\sum _m(-1)^m\frac {\theta ^{2m+1}}{(2m+1)!}. \tag{19564}\end{equation}
By B36 and B38, with \(i(c+is)=-s+ic\),
\begin{equation} c^2+s^2=1,\qquad c'=-s,\qquad s'=c . \tag{19565}\end{equation}
By B33, \(e^{i(\alpha +\beta )}=e^{i\alpha }e^{i\beta }\), and \(c\) and \(s\) are continuous.

B40 (\(\pi \)). The terms \(t_m=2^{2m}/(2m)!\) decrease from \(m=1\), since \(t_{m+1}/t_m=4/((2m+1)(2m+2))<1\). Grouping the rest in pairs \(-(t_3-t_4)-(t_5-t_6)-\cdots \leq 0\),

\begin{equation} c(2)\leq 1-2+\tfrac 23=-\tfrac 13<0 . \tag{19566}\end{equation}
Since \(c(0)=1\), B22 gives a first zero \(p\in (0,2)\). Define \(\pi =2p\). On \([0,p]\), \(s'=c\geq 0\), so \(s(p)\geq s(0)=0\) (B22). With \(c(p)=0\) and \(c^2+s^2=1\), \(s(p)=1\):
\begin{equation} e^{i\pi /2}=i,\qquad e^{i\pi }=i^2=-1,\qquad e^{2\pi i}=1 . \tag{19567}\end{equation}

B41 (sign of the sine). \(s>0\) on \((0,\pi /2]\). If \(s(t)=0\) for some \(0<t\leq \pi /2\), then \(s\), being nondecreasing there, would vanish on \([0,t]\), so \(c=s'=0\) there, against \(c(0)=1\). From \(e^{i(\pi /2+t)}=i\,e^{it}\), \(s(\pi /2+t)=c(t)>0\) for \(0\leq t<\pi /2\), so \(s>0\) on \((0,\pi )\). From \(e^{i(\pi +t)}=-e^{it}\), \(s<0\) on \((\pi ,2\pi )\).

B42 (the circle is the line modulo \(2\pi \)). \(\theta \mapsto e^{i\theta }\) is a homomorphism \((\mathbb R,+)\to (S^1,\cdot )\) by B33 and B36.

\begin{equation} S^1\cong \mathbb R/2\pi \mathbb Z . \tag{19568}\end{equation}

298.10 The logarithm

B43 (logarithm). If \(y>x\), then \(e^y=e^xe^{y-x}\geq e^x(1+y-x)>e^x\), so \(e^x\) is increasing. For \(a>0\), \(e^a>a\) and \(e^{-1/a}\leq a/(a+1)<a\), so by B22 \(e^x\) takes the value \(a\). Its inverse \(\log \) satisfies

\begin{equation} \log (xy)=\log x+\log y,\qquad \log 1=0,\qquad \log x\leq x-1, \tag{19569}\end{equation}
the last from \(x=e^{\log x}\geq 1+\log x\) (B37).

B44 (identity to identity).

map from identity
\(x\mapsto e^x\) \((\mathbb R,+)\to (\mathbb R_{>0},\cdot )\) \(0\mapsto 1\)
\(\theta \mapsto e^{i\theta }\) \((\mathbb R,+)\to (S^1,\cdot )\) \(0\mapsto 1\)
\(\log \) \((\mathbb R_{>0},\cdot )\to (\mathbb R,+)\) \(1\mapsto 0\)

A map that turns one operation into the other sends identity to identity. From \(f(xy)=f(x)+f(y)\), \(f(1)=f(1)+f(1)\), so \(f(1)=0\). From \(g(x+y)=g(x)g(y)\) with \(g(0)\neq 0\), \(g(0)=1\).

298.11 The chain

links result read off from
B1–B2 reading at the identity; kinds the source
B3–B4 pair, one, elements, maps, copy, swap; sum, zero, two, names, \(\ell \neq r\) the two places of \(a=a\)
B5 truth values; \(\neg \); some and every parts of \(1\); the swap of \(\mathbf 2\)
B6–B10 numbers; induction; recursion; \(+=\sqcup \), \(\cdot =\times \); \(n!\), \(C(n,j)\) leastness; the two adjoints of \(\Delta \)
B11–B13 integers; negative; rule of signs difference pairs
B14–B16 fractions; reciprocal; Archimedes ratio pairs
B17–B22 reals; completeness; limits; intermediate values pairs of cuts; "some"
B23–B28 complex numbers; \(i\); conjugate; inverse; \(S^1\) pairs of reals
B29–B38 \(E(z)\); \(E(z+w)=E(z)E(w)\); \(\overline {e^{i\theta }}=(e^{i\theta })^{-1}\); \(E'=E\) series; B10
B39–B42 \(\cos \), \(\sin \), \(\pi \), \(S^1\cong \mathbb R/2\pi \mathbb Z\) B36, B38, B22
B43–B44 \(\log \); identity to identity the inverse of \(e^x\)

swap acts on gives
\(\sigma \) places of a pair (B3) \(\sigma \sigma =\mathrm {id}\), \(\sigma \Delta =\Delta \)
\(\neg \) the two marks (B5) negation, \(\neg \neg =\mathrm {id}\)
\(\tau \) one place and another (B7) \(s\) is injective
\((a,b)\mapsto (b,a)\) difference pairs (B12) the negative; \((-1)^2=1\)
\((p,q)\mapsto (q,p)\) ratio pairs (B15) the reciprocal
\((L,U)\mapsto (-U,-L)\) cuts (B19) sign and reciprocal of reals
\(J\) complex pairs (B23) \(i\), \(J^2=-1\)
\(K\) second place, with sign (B25) conjugate; \(\bar z=z^{-1}\) on \(S^1\)