361 Entropy from the identity

This section cites only its own steps E1–E45. It starts from one thing: every kind has an identity, and reading at the identity loses nothing.

0. From the identity to numbers

E1 (identity, copy, pair).

Identity. Every kind \(A\) has \(\mathrm {id}_A\), arrows compose, and \(\mathrm {id}\) is a unit on both sides. Let \(F\) be a family that can be read along arrows: \(F(f):F(A)\to F(B)\) for \(f:A\to B\), with \(F(\mathrm {id})=\mathrm {id}\) and \(F(gf)=F(g)F(f)\). Then

\begin{equation} \mathrm {Nat}\bigl (\mathrm {Hom}(A,-),F\bigr )\cong F(A),\qquad \eta \mapsto \eta _A(\mathrm {id}_A),\qquad x\mapsto \bigl (f\mapsto F(f)(x)\bigr ). \tag{21750}\end{equation}
Naturality at \(f\) applied to \(\mathrm {id}_A\) gives \(\eta _B(f)=\eta _B(f\circ \mathrm {id}_A)=F(f)(\eta _A(\mathrm {id}_A))\), so reading at the identity and placing back returns \(\eta \). Placing \(x\) and reading at the identity returns \(F(\mathrm {id})(x)=x\). These are the two triangles.

Two consequences. (a) If \(\mathrm {Hom}(X,-)\cong \mathrm {Hom}(Y,-)\) naturally, then reading this bijection and its inverse at the identities gives \(u:Y\to X\), \(v:X\to Y\) with \(uv=\mathrm {id}\), \(vu=\mathrm {id}\): kinds with the same arrows out are isomorphic. (b) Equality \(a=b\) is a family over pairs whose witness at \((a,a)\) is \(\mathrm {refl}_a\). By the first display, a statement about all \((b,\ a=b)\) is fixed by its value at \((a,\mathrm {refl}_a)\). So from \(a=b\) and \(P(a)\) follows \(P(b)\): substitution.

Copy and pair. The source \(a=a\) uses \(a\) twice. The kind of pairs \(A\times B\) is defined by

\begin{equation} \mathrm {Hom}(C,A\times B)\cong \mathrm {Hom}(C,A)\times \mathrm {Hom}(C,B),\qquad h\mapsto (\pi _1h,\pi _2h),\qquad (f,g)\mapsto \langle f,g\rangle . \tag{21751}\end{equation}
Reading at the identity of \(A\times B\) gives \(\pi _1,\pi _2\); placing the pair \((\mathrm {id}_A,\mathrm {id}_A)\) gives the copy \(\Delta =\langle \mathrm {id},\mathrm {id}\rangle :A\to A\times A\). The two triangles are
\begin{equation} \pi _1\langle f,g\rangle =f,\quad \pi _2\langle f,g\rangle =g;\qquad \langle \pi _1h,\pi _2h\rangle =h . \tag{21752}\end{equation}
In particular \(\pi _1\Delta =\mathrm {id}=\pi _2\Delta \) and \(\langle \pi _1,\pi _2\rangle =\mathrm {id}\). Hence pairs are equal exactly when their components are: if \(\pi _ih=\pi _ih'\) for \(i=1,2\) then \(h=\langle \pi _1h,\pi _2h\rangle =h'\).

Swap. \(\sigma =\langle \pi _2,\pi _1\rangle \). Then \(\pi _1\sigma \sigma =\pi _2\sigma =\pi _1\) and \(\pi _2\sigma \sigma =\pi _2\), so \(\sigma \sigma =\mathrm {id}\); and \(\pi _i\sigma \Delta =\pi _{3-i}\Delta =\mathrm {id}\), so \(\sigma \Delta =\Delta \).

One. The pair of no kinds is \(1\): \(\mathrm {Hom}(C,1)\) has exactly one member \(!_C\). Its one mark is \(*=\mathrm {id}_1\). An element of \(A\) is an arrow \(1\to A\); writing \(f(a)\) for \(f\circ a\), the elements of \(A\times B\) are the pairs \((a,b)\), by the definition read at \(C=1\).

E2 (the empty kind, sums, two).

Sums. The sum is the other side of the copy:

\begin{equation} \mathrm {Hom}(A\sqcup B,C)\cong \mathrm {Hom}(A,C)\times \mathrm {Hom}(B,C),\qquad h\mapsto (h\,\mathrm {in}_1,h\,\mathrm {in}_2),\qquad (f,g)\mapsto [f,g]. \tag{21753}\end{equation}
Reading at the identity of \(A\sqcup B\) gives the tags \(\mathrm {in}_1,\mathrm {in}_2\). A map out of a sum is given by cases. Every element of \(A\sqcup B\) is \(\mathrm {in}_1a\) or \(\mathrm {in}_2b\): the part of such elements receives the tags, and a map out of the sum that agrees with the identity on both tags is the identity.

Empty. The sum of no kinds is \(0\): \(\mathrm {Hom}(0,C)\) has exactly one member, and \(0\) has no tag, hence no element.

Two. \(\mathbf 2=1\sqcup 1\), with \(\ell =\mathrm {in}_1*\) and \(r=\mathrm {in}_2*\). Every element of \(\mathbf 2\) is \(\ell \) or \(r\).

Names. Kinds are marked: there is a kind \(U\) of names, with \(\mathrm {El}(\ulcorner A\urcorner )=A\), closed under \(0\), \(1\), \(\sqcup \), \(\times \) and \(\to \) (E3). Equality of kinds is read as a bijection: a bijection is exactly what carries every statement about one kind to the other.

\(\ell \neq r\). Define \(P:\mathbf 2\to U\) by cases, \(P(\ell )=\ulcorner 1\urcorner \), \(P(r)=\ulcorner 0\urcorner \). If \(\ell =r\), then by substitution (E1) \(\mathrm {El}(P\ell )=\mathrm {El}(Pr)\), and the mark \(*\) of \(1\) would be an element of \(0\). So \(\ell \neq r\).

Tags. Define \(c:(A\sqcup B)\times (A\sqcup B)\to U\) by cases:

\begin{equation} c(\mathrm {in}_1a,\mathrm {in}_1a')=\ulcorner a=a'\urcorner ,\quad c(\mathrm {in}_2b,\mathrm {in}_2b')=\ulcorner b=b'\urcorner ,\quad c(\mathrm {in}_1a,\mathrm {in}_2b)=c(\mathrm {in}_2b,\mathrm {in}_1a)=\ulcorner 0\urcorner . \tag{21754}\end{equation}
\(c(u,u)\) has an element for every \(u\) (by cases, \(\mathrm {refl}\)). If \(u=v\), substitution carries it to \(c(u,v)\). Hence \(\mathrm {in}_1a=\mathrm {in}_1a'\) gives \(a=a'\), likewise for \(\mathrm {in}_2\), and \(\mathrm {in}_1a\neq \mathrm {in}_2b\). In a sum built from kinds with decided equality, equality is decided.

Cuts. A cut of \(A\) is a map \(A\to \mathbf 2\); at each element it is \(\ell \) or \(r\), and not both. A statement is a cut of \(1\). This section is read in the kinds, where statements are cuts: every statement is true (\(\ell \)) or false (\(r\)), and some and all of a family of cuts are again cuts (the join and meet in \(\mathbf 2\)).

E3 (maps form a kind). The kind \(B\to A\) is defined by

\begin{equation} \mathrm {Hom}(C\times B,A)\cong \mathrm {Hom}(C,B\to A),\qquad h\mapsto \lambda h, \tag{21755}\end{equation}
natural in \(C\). Reading at the identity of \(B\to A\) gives evaluation \(\mathrm {ev}:(B\to A)\times B\to A\), and the triangles are
\begin{equation} \mathrm {ev}\circ (\lambda h\times \mathrm {id})=h,\qquad \lambda (\mathrm {ev}\circ (k\times \mathrm {id}))=k . \tag{21756}\end{equation}
At \(C=1\): elements of \(B\to A\) are the arrows \(B\to A\) (since \(1\times B\cong B\)). Two maps are equal exactly when they agree at every element: \(f(b)=g(b)\) for all \(b\) means \(\mathrm {ev}\circ (f\times \mathrm {id})=\mathrm {ev}\circ (g\times \mathrm {id})\) on elements, and the second triangle gives \(f=g\).

E4 (numbers).

Zero and successor. Put

\begin{equation} z=\ulcorner 0\urcorner ,\qquad s(c)=\ulcorner \mathrm {El}(c)\sqcup 1\urcorner . \tag{21757}\end{equation}
\(\mathbb N\) is the least part of \(U\) containing \(z\) and closed under \(s\): the meet of all such parts. Induction is this leastness: a part of \(\mathbb N\) containing \(z\) and closed under \(s\) is all of \(\mathbb N\).

\(z\neq s(n)\). \(\mathrm {El}(s(n))\) has the element \(\mathrm {in}_2*\); \(\mathrm {El}(z)=0\) has none.

Removal. If \(f:A\sqcup 1\cong B\sqcup 1\) and \(B\) has decided equality, then \(A\cong B\). Let \(t=f(\mathrm {in}_2*)\) and let \(\tau \) exchange \(t\) and \(\mathrm {in}_2*\) (the identity if they are equal; defined by cases, E2). Then \(\tau f\) is a bijection sending \(\mathrm {in}_2*\) to \(\mathrm {in}_2*\), so it sends tags \(\mathrm {in}_1\) to tags \(\mathrm {in}_1\), and its restriction is a bijection \(A\to B\).

\(s\) is injective. By induction every \(\mathrm {El}(n)\) has decided equality (E2). If \(s(n)=s(m)\), then \(\mathrm {El}(n)\sqcup 1\cong \mathrm {El}(m)\sqcup 1\), so \(\mathrm {El}(n)\cong \mathrm {El}(m)\) by removal, so \(n=m\).

Every \(n\) is \(z\) or some \(s(m)\). The part of such \(n\) contains \(z\) and is closed under \(s\).

Recursion. Given \(a\in X\) and \(g:X\to X\), there is exactly one \(h:\mathbb N\to X\) with \(h(z)=a\) and \(h(s(n))=g(h(n))\). Let \(R\) be the least relation containing \((z,a)\) and closed under \((n,x)\mapsto (s(n),g(x))\). By induction on \(n\), exactly one \(x\) has \((n,x)\in R\): if \((z,x)\in R\) with \(x\neq a\), then \(R\) without \((z,x)\) is still closed (no \(s(n)\) equals \(z\)), against leastness; for \(s(n)\), a pair \((s(n),y)\) with \(y\neq g(x)\) can be removed in the same way, since \(s\) is injective. Recursion with a parameter, and with \(h(s(n))\) depending also on \(n\), is the same argument.

Size. A kind \(A\) is finite of size \(n\) when \(A\cong \mathrm {El}(n)\); the size is unique since names are equal when their kinds are in bijection. Write \([n]=\mathrm {El}(n)\), a row of length \(n\).

E5 (order). Let \(<\) be the least relation with \(n<s(n)\), and \(m<n\Rightarrow m<s(n)\). Write \(m\leq n\) for \(m<n\) or \(m=n\).

property

proof

inversion

if \(m<n\) then \(n=s(k)\) with \(m\leq k\): the pairs with this property contain the generators and are closed, so by leastness they include all of \(<\)

transitive

\(k<m<n\Rightarrow k<n\): induction on \(n\) by inversion

\(z\leq n\)

induction on \(n\)

\(m<s(n)\iff m\leq n\)

\(\Leftarrow \) by the generators; \(\Rightarrow \) by inversion and injectivity of \(s\)

irreflexive

\(z<z\) would give \(z=s(k)\); if \(s(n)<s(n)\) then \(s(n)\leq n\), and with \(n<s(n)\) this gives \(n<n\)

total

for all \(m,n\): \(m<n\), \(m=n\) or \(n<m\); induction on \(n\), using the row above

least element

every part \(Q\) of \(\mathbb N\) with an element has a least element: otherwise prove by induction on \(n\) that no \(k\leq n\) lies in \(Q\)

Exactly one of the three in the totality row holds, by irreflexivity and transitivity.

I. Sum, product, power

E6 (three operations are three sizes). Define by recursion on \(b\) (E4):

operation recursion it is the size of
\(a+b\) \(a+z=a\), \(a+s(b)=s(a+b)\) \([a]\sqcup [b]\)
\(a\cdot b\) \(a\cdot z=z\), \(a\cdot s(b)=a\cdot b+a\) \([a]\times [b]\)
\(a^b\) \(a^z=s(z)\), \(a^{s(b)}=a^b\cdot a\) \([b]\to [a]\)

The third column holds by induction on \(b\), using the bijections for one more mark:

\begin{equation} A\sqcup (B\sqcup 1)\cong (A\sqcup B)\sqcup 1,\qquad A\times (B\sqcup 1)\cong (A\times B)\sqcup A,\qquad (B\sqcup 1\to A)\cong (B\to A)\times A . \tag{21758}\end{equation}
The first regroups tags. The third: a map out of a sum is a pair (E2), and \((1\to A)\cong A\) (E3). The second is the case \(C=B\sqcup 1\) of the distributive law in E7. Write \(0=z\), \(1=s(z)\), \(2=s(1)\), and so on.

E7 (the laws are bijections). Two numbers are equal exactly when their rows are in bijection (E4), so each law is a bijection of kinds:

law bijection from
\(a+b=b+a\),  \((a+b)+c=a+(b+c)\) exchange and regrouping of tags E2
\(ab=ba\),  \((ab)c=a(bc)\) \(\sigma \);  regrouping of pairs E1
\(a(b+c)=ab+ac\) \(A\times (B\sqcup C)\cong (A\times B)\sqcup (A\times C)\) below
\(a^{b+c}=a^b\,a^c\) \((B\sqcup C\to A)\cong (B\to A)\times (C\to A)\) E2
\((a^b)^c=a^{bc}\) \((C\to (B\to A))\cong (C\times B\to A)\) E3
\((aa')^b=a^b\,a'^b\) \((B\to A\times A')\cong (B\to A)\times (B\to A')\) E1
\(a+0=a\),  \(a\cdot 1=a\),  \(a^1=a\) \(A\sqcup 0\cong A\), \(A\times 1\cong A\), \((1\to A)\cong A\) E1–E3

Distributivity. By E2, E3, for every \(D\):

\begin{align} \mathrm {Hom}(A\times (B\sqcup C),D)&\cong \mathrm {Hom}(B\sqcup C,A\to D)\cong \mathrm {Hom}(B,A\to D)\times \mathrm {Hom}(C,A\to D) \tag{21759}\\ &\cong \mathrm {Hom}(A\times B,D)\times \mathrm {Hom}(A\times C,D)\cong \mathrm {Hom}\bigl ((A\times B)\sqcup (A\times C),D\bigr ), \tag{21760}\end{align}

naturally in \(D\); by E1(a) the two kinds are isomorphic.

Cancellation and order. By induction:

statement proof
\(a+c=b+c\Rightarrow a=b\) removal (E4), \(c\) times
\(m\leq n\iff n=m+d\) for some \(d\) induction on \(n\), using E5
\(a<b\Rightarrow a+c<b+c\) from the previous row, with \(d\neq 0\)
\(a<b\), \(c\neq 0\Rightarrow ac<bc\) \(bc=ac+dc\) and \(dc\neq 0\)
\(ac=bc\), \(c\neq 0\Rightarrow a=b\) totality (E5) and the previous row

E8 (powers and order; factorial).

statement

proof

\(a\leq a'\Rightarrow a^b\leq a'^b\)

induction on \(b\), with E7

\(a<a'\), \(b\neq 0\Rightarrow a^b<a'^b\)

induction on \(b\), with E7

\(a\geq 2\), \(b<c\Rightarrow a^b<a^c\)

\(a^c=a^b\cdot a^d\) with \(d\neq 0\), and \(a^d\geq 2\)

\(2^b>b\)

\(2^{s(b)}=2^b+2^b\geq 2^b+1>s(b)\)

\((a+1)^j\geq a^j+j\,a^{j-1}\)

induction on \(j\), expanding \((a+1)^{j+1}=(a+1)^j(a+1)\)

So for \(a\geq 2\) the powers exceed every number (\(a^b\geq 2^b>b\)), and for \(N\geq 1\) the least \(l\) with \(a^{l+1}>N\) exists (E5); for it \(a^l\leq N<a^{l+1}\).

Factorial: \(0!=1\), \(s(n)!=n!\cdot s(n)\). For \(b\leq a\), \(a!/b!=(b+1)\cdots a\leq a^{a-b}\), each of the \(a-b\) factors being at most \(a\); for \(b>a\geq 1\), \(b!/a!=(a+1)\cdots b\geq a^{b-a}\).

II. Fractions, cuts, the logarithm

E9 (differences and fractions). An integer is a pair \((a,b)\) of numbers, read \(a-b\), with \((a,b)=(a',b')\) when \(a+b'=a'+b\). This is an equivalence: transitivity is cancellation (E7). Put

\begin{equation} (a,b)+(c,d)=(a+c,b+d),\qquad (a,b)(c,d)=(ac+bd,ad+bc),\qquad -(a,b)=(b,a), \tag{21761}\end{equation}
and \((a,b)<(c,d)\) when \(a+d<c+b\). Each law, and that each operation respects equality, is a law of E7 on the components. Numbers sit inside as \((n,0)\).

A fraction is a pair \((p,q)\) of integers with \(q>0\), read \(p/q\), with \((p,q)=(p',q')\) when \(pq'=p'q\). Put

\begin{equation} \frac pq+\frac {p'}{q'}=\frac {pq'+p'q}{qq'},\qquad \frac pq\cdot \frac {p'}{q'}=\frac {pp'}{qq'},\qquad \frac pq<\frac {p'}{q'}\iff pq'<p'q . \tag{21762}\end{equation}
Again each law reduces to E7 on components, and cancellation of \(q,q'>0\) makes everything respect equality. Every \(p/q\neq 0\) has the inverse \(q/p\) (sign moved to the numerator). The order is decided and total (E5). Moreover:

property proof
between two fractions lies a third \(\tfrac 12(x+y)\)
for \(\epsilon >0\) there is \(n\) with \(1/n<\epsilon \) \(\epsilon =p/q\), take \(n=q+1\)
for every \(x\) there is \(n>x\) \(x=p/q\leq |p|<|p|+1\)

Write \(|x|\) for \(x\) or \(-x\), whichever is \(\geq 0\).

E10 (real numbers are pairs of cuts). A real number \(x\) is a pair \((L_x,U_x)\) of cuts of the fractions (E2) with

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

A fraction \(a\) is the real \(L=\{q<a\}\), \(U=\{r>a\}\). Put \(x<y\) when some fraction lies in \(U_x\) and in \(L_y\); \(x\leq y\) when \(L_x\subseteq L_y\).

Approximation. For every \(\epsilon >0\) there are \(q\in L_x\), \(r\in U_x\) with \(r-q<\epsilon \). Take \(q_0\in L\), \(r_0\in U\) and the grid \(q_i=q_0+i\delta \) with \(\delta <\epsilon /2\) and \(q_0+N\delta \geq r_0\) (E9). Membership of a fraction in \(L\) is decided (E2), so there is a least \(i\) with \(q_i\notin L\) (E5); \(i\geq 1\). Then \(q_{i-1}\in L\), and \(q_{i+1}\in U\) by locatedness, since \(q_i\notin L\) and \(q_i<q_{i+1}\). The width is \(2\delta <\epsilon \).

Equality. If \(|x-y|\) is below \(1/k\) for every \(k\) in the sense that their approximations overlap within \(1/k\), then \(L_x=L_y\): a fraction in \(L_x\) but not in \(L_y\) would leave a gap between them, against the Archimedean row of E9. Two reals are equal when they are within every \(1/k\).

Operations.

operation lower cut
\(x+y\) \(\{q+q'\mid q\in L_x,\ q'\in L_y\}\)
\(-x\) \(\{-r\mid r\in U_x\}\)
\(xy\) for \(x,y>0\) \(\{q\leq 0\}\cup \{qq'\mid 0<q\in L_x,\ 0<q'\in L_y\}\)
\(1/x\) for \(x>0\) \(\{q\leq 0\}\cup \{1/r\mid r\in U_x\}\)

Upper cuts are defined in the same way. Each is a real: inhabited, rounded and disjoint follow from the same properties of \(x,y\); located follows from approximation, since for \(q<r\) one approximates \(x\) and \(y\) within \((r-q)/2\). Products of other signs are reduced to positive ones by \(-\). Each law of the fractions (E9) holds for reals, because both sides are approximated by the same fractions within every \(\epsilon \).

Limits. A sequence \(x_n\) tends to \(x\) when for every fraction \(\epsilon >0\) all but finitely many \(x_n\) satisfy \(|x_n-x|<\epsilon \). Sums, products, and quotients by limits \(\neq 0\) of sequences that tend to limits tend to the corresponding limits; the proofs are the usual \(\epsilon \)-estimates with fractions. A function \(g\) is continuous at \(x\) when for every \(\epsilon >0\) some \(\delta >0\) has \(|g(x')-g(x)|<\epsilon \) whenever \(|x'-x|<\delta \).

E11 (completeness is the fixed part of an adjunction). For a set \(A\) of fractions let \(A^u\) be its upper bounds and \(B^l\) the lower bounds of \(B\). Then

\begin{equation} A\subseteq B^l\iff \text {every }a\leq \text {every }b\iff B\subseteq A^u . \tag{21763}\end{equation}
So \((-)^u\) and \((-)^l\) are adjoint (with the order of the second side reversed). The unit is \(A\subseteq A^{ul}\), the triangle is \(A^{ulu}=A^u\), and a right adjoint turns unions into intersections: \((\bigcup _iA_i)^u=\bigcap _iA_i^{\,u}\).

Let \(x_i\) be an inhabited family of reals, all \(\leq \) some fraction \(b\). Put

\begin{equation} L=\bigcup _iL_{x_i},\qquad U=\{r\ \mid \ \text {some }r'<r\text { lies in }L^u\}. \tag{21764}\end{equation}
\(L\) is a cut, because "some \(i\) has \(q\in L_{x_i}\)" is a statement (E2). Inhabited: \(L_{x_i}\subseteq L\), and \(b+1\in U\). Rounded: from the \(L_{x_i}\), and from the choice of \(r'\). Disjoint: \(r\in U\) exceeds an upper bound of \(L\). Located: if \(q<r\) and \(q\notin L\), then \(q\in L^u\) (since \(L\) is a down-set), so \(r\in U\). So \(\sup _ix_i=(L,U)\) is a real, \(x_i\leq \sup \), and \(\sup \leq y\) whenever all \(x_i\leq y\).

Increasing sequences. If \(x_n\) increases and is bounded, it tends to its supremum \(s\): for \(\epsilon >0\), \(s-\epsilon \) is not an upper bound, so some \(x_N>s-\epsilon \), and then \(s-\epsilon <x_n\leq s\) for \(n\geq N\).

E12 (an additive reading of size is forced). Let \(f\) on the numbers \(\geq 1\), with real values, satisfy

\begin{equation} f(mn)=f(m)+f(n),\qquad m\leq n\Rightarrow f(m)\leq f(n). \tag{21765}\end{equation}
Then \(f(1)=f(1\cdot 1)=2f(1)\), so \(f(1)=0\), and \(f(n)\geq f(1)=0\). If \(f(2)=0\) then \(f(2^k)=kf(2)=0\), and \(0\leq f(n)\leq f(2^n)=0\) since \(n<2^n\) (E8): \(f=0\). Otherwise \(f(m)\geq f(2)>0\) for \(m\geq 2\). Fix \(m,n\geq 2\) and \(k\geq 1\), and take \(l\) with \(m^l\leq n^k<m^{l+1}\) (E8). Since \(f(a^j)=jf(a)\),
\begin{equation} l\,f(m)\leq k\,f(n)\leq (l+1)\,f(m),\qquad \frac lk\leq \frac {f(n)}{f(m)}\leq \frac lk+\frac 1k . \tag{21766}\end{equation}

E13 (the logarithm is a cut). For numbers \(m,n\geq 2\) put

\begin{equation} L=\{q<0\}\cup \{\,l/k\ \mid \ m^l<n^k\,\},\qquad U=\{\,l/k\ \mid \ m^l>n^k\,\}\qquad (l\geq 0,\ k\geq 1). \tag{21767}\end{equation}

condition

proof

well defined

if \(l/k=l'/k'\), i.e. \(lk'=l'k\), and \(m^l<n^k\), then \(m^{l'k}=m^{lk'}<n^{kk'}\) (E8, raising to \(k'\)), so \(m^{l'}<n^{k'}\) (else raising to \(k\) gives \(\geq \))

inhabited

\(0\in L\) since \(m^0=1<n\);  \(l/1\in U\) for \(m^l>n\) (E8)

disjoint

\(m^l<n^k\) and \(m^l>n^k\) exclude each other (E5)

rounded, \(L\)

let \(a=m^l<n^k\), so \(n^{kj}\geq (a+1)^j\geq a^j+ja^{j-1}\) (E8). For \(j=(m-1)a+1\) this exceeds \(m\,a^j=m^{lj+1}\). So \((lj+1)/(kj)>l/k\) lies in \(L\)

rounded, \(U\)

likewise with \(b=n^k<m^l\): \(m^{lj}\geq (b+1)^j>n\,b^j\) for \(j=(n-1)b+1\), so \((lj-1)/(kj)\in U\)

located

for \(q<r\) with \(q\geq 0\) write \(q=a/d<r=b/d\). If \(m^a<n^d\) then \(q\in L\). Otherwise \(m^b>m^a\geq n^d\), so \(r\in U\)

Call this real \(\log _mn\). If \(m^l\leq n^k<m^{l+1}\) then \(l/k\leq \log _mn\leq (l+1)/k\): the upper bound because \((l+1)/k\in U\); the lower because \(l/k\in L\), or \(\log _mn=l/k\) when \(m^l=n^k\). By E12, \(f(n)/f(m)\) lies in the same interval of width \(1/k\), for every \(k\). By E10,

\begin{equation} f(n)=f(m)\,\log _mn . \tag{21768}\end{equation}
The logarithm is the comparison of powers. The factor \(f(m)\) is a unit.

E14 (its laws). If \(l/k\in L_{\log n}\) and \(l'/k\in L_{\log n'}\) (common denominator, E9), then \(m^l<n^k\) and \(m^{l'}<n'^k\) give \(m^{l+l'}<(nn')^k\) (E7, E8); likewise for \(U\). A real whose lower cut contains \(L_x+L_y\) and whose upper cut contains \(U_x+U_y\) is \(x+y\) (E10). Hence

\begin{equation} \log _m(nn')=\log _mn+\log _mn',\qquad \log _mm=1,\qquad n\leq n'\Rightarrow \log _mn\leq \log _mn' . \tag{21769}\end{equation}

III. The exponential

E15 (Bernoulli). For real \(t\geq -1\), by induction on \(n\):

\begin{equation} (1+t)^{n+1}=(1+t)^n(1+t)\geq (1+nt)(1+t)=1+(n+1)t+nt^2\geq 1+(n+1)t, \tag{21770}\end{equation}
the first inequality because \(1+t\geq 0\).

E16 (the exponential exists). For a real \(x\) and numbers \(n>|x|\) put \(e_n(x)=(1+x/n)^n\). Since

\begin{equation} \frac {1+x/(n+1)}{1+x/n}=\frac {n(n+1+x)}{(n+1)(n+x)}=1-\frac x{(n+1)(n+x)}, \tag{21771}\end{equation}
E15 with \(t=-x/((n+1)(n+x))\geq -1\) gives
\begin{equation} \frac {e_{n+1}(x)}{e_n(x)}=\Bigl (1+\frac xn\Bigr )\Bigl (1-\frac x{(n+1)(n+x)}\Bigr )^{n+1} \geq \Bigl (1+\frac xn\Bigr )\Bigl (1-\frac x{n+x}\Bigr )=1 . \tag{21772}\end{equation}
So \(e_n(x)\) increases with \(n\). Also \(e_n(x)\,e_n(-x)=(1-x^2/n^2)^n\leq 1\), and \(e_n(-x)\geq e_N(-x)>0\) for a fixed \(N>|x|\) and \(n\geq N\), so \(e_n(x)\leq 1/e_N(-x)\). By E11,
\begin{equation} \exp (x)=\sup _n\Bigl (1+\frac xn\Bigr )^n, \tag{21773}\end{equation}
and \(e_n(x)\) tends to \(\exp (x)\).

E17 (its laws).

E18 (the natural logarithm and the one inequality). For real \(y>0\) put

\begin{equation} \ln y=\sup \{x\ \mid \ \exp (x)\leq y\}. \tag{21776}\end{equation}
The set is inhabited, since \(\exp (-x)=1/\exp (x)\leq 1/(1+x)\) is below \(y\) for large \(x\), and bounded, since \(\exp (x)\geq 1+x>y\) for \(x>y\). By continuity \(\exp (\ln y)=y\): a strict inequality either way would persist on a neighbourhood and contradict the supremum. Since \(\exp \) is strictly increasing and \(\exp (\ln a+\ln b)=ab\),
\begin{equation} \ln (ab)=\ln a+\ln b,\qquad a\leq b\Rightarrow \ln a\leq \ln b . \tag{21777}\end{equation}
So \(\ln \) on numbers is a reading as in E12, with \(\ln 2>0\) (\(\exp (0)=1<2\)), and by E13
\begin{equation} \ln n=\ln m\cdot \log _mn . \tag{21778}\end{equation}
It is the logarithm of E13 in the unit where \(\ln \exp (1)=1\). Putting \(x=\ln y\) in the first line of E17, and then \(1/y\) in place of \(y\):
\begin{equation} 1-\frac 1y\leq \ln y\leq y-1,\qquad \text {equality only at }y=1 . \tag{21779}\end{equation}
Real powers are \(a^x=\exp (x\ln a)\), agreeing with E6 for numbers since both turn sums of exponents into products. Convention: \(0\ln 0=0\), the limit of \(x\ln x\). For \(0<x<1\), the inequality applied to \(1/\sqrt x\) gives \(-\tfrac 12\ln x\leq 1/\sqrt x-1<1/\sqrt x\), hence
\begin{equation} -2\sqrt x\leq x\ln x\leq 0, \tag{21780}\end{equation}
and both bounds tend to \(0\).

IV. Boltzmann and Gibbs

E19 (Boltzmann). The entropy of a finite kind of size \(W\) is \(S=\ln W\): by E12, E13 the only reading of size that adds under \(\times \) and is monotone, up to the unit. \(k_B\) is that unit.

E20 (Gibbs entropy is Boltzmann entropy per place). Among the rows of length \(N\) with marks \(1,\dots ,m\) (E6), those with \(n_i\) places marked \(i\) number

\begin{equation} W=\frac {N!}{n_1!\cdots n_m!}, \tag{21781}\end{equation}
by induction on \(N\) (the last place has some mark \(i\), and \(W(n)=\sum _iW(n-\delta _i)\)). Put \(p_i=n_i/N\) and \(H(p)=-\sum _ip_i\ln p_i\). Then
\begin{equation} (N+1)^{-m}\,e^{NH(p)}\leq W\leq e^{NH(p)} . \tag{21782}\end{equation}
Expand \(1=(p_1+\dots +p_m)^N=\sum _{n'}W(n')\prod _ip_i^{n'_i}\). The term \(n'=n\) is \(We^{-NH(p)}\): the upper bound. It is the largest term, because \(a!/b!\leq a^{a-b}\) gives
\begin{equation} \frac {W(n')\prod p_i^{n'_i}}{W(n)\prod p_i^{n_i}}=\prod _i\frac {n_i!}{n'_i!}\,p_i^{\,n'_i-n_i} \leq \prod _in_i^{\,n_i-n'_i}\Bigl (\frac {n_i}N\Bigr )^{n'_i-n_i}=1 . \tag{21783}\end{equation}
There are at most \((N+1)^m\) terms: the lower bound. Since \(\ln (N+1)/N\) tends to \(0\),
\begin{equation} \frac 1N\ln W\ \longrightarrow \ -\sum _ip_i\ln p_i . \tag{21784}\end{equation}
For real \(p\) the same formula is the limit along fractions.

E21 (grouping). If a kind of size \(W\) is cut into parts of sizes \(w_i\) and \(p_i=w_i/W\), then identically \(\ln W=H(p)+\sum _ip_i\ln w_i\). \(H(p)\) is the entropy of reading only the part.

E22 (Gibbs’ inequality). For probabilities \(p,q\), by E18,

\begin{equation} \sum _ip_i\ln \frac {q_i}{p_i}\leq \sum _ip_i\Bigl (\frac {q_i}{p_i}-1\Bigr )\leq 0,\qquad D(p\Vert q)=\sum _ip_i\ln \frac {p_i}{q_i}\geq 0, \tag{21785}\end{equation}
with equality only for \(p=q\).

statement reason
\(0\leq H(p)\leq \ln m\) terms \(\geq 0\);  \(H(p)=\ln m-D(p\Vert u)\), \(u\) uniform
\(H(p\times q)=H(p)+H(q)\) \(\ln (p_iq_j)=\ln p_i+\ln q_j\)
\(H(A)\leq H(AB)\) E21: the joint is the part and then the rest
\(H(AB)\leq H(A)+H(B)\) \(D(p_{AB}\Vert p_A\times p_B)\geq 0\)
\(H(\sum _kt_kp^k)\geq \sum _kt_kH(p^k)\) difference is \(\sum _kt_kD(p^k\Vert \bar p)\)
\(\sum _ia_i\ln \frac {a_i}{b_i}\geq a\ln \frac ab\) Gibbs for \(a_i/a\), \(b_i/b\);  \(a=\sum a_i\), \(b=\sum b_i\)

E23 (what can change entropy). Let \(T_{ji}\geq 0\) with \(\sum _jT_{ji}=1\). The last row of E22 for each \(j\), with \(a_i=T_{ji}p_i\), \(b_i=T_{ji}q_i\), summed over \(j\):

\begin{equation} D(Tp\Vert Tq)\leq D(p\Vert q). \tag{21786}\end{equation}
A bijection has an inverse of the same kind, so it keeps \(D\) and \(H\). If \(Tu=u\) then \(H(Tp)\geq H(p)\). Entropy grows only where a map mixes or a reading forgets (E21).

E24 (the Gibbs state). Let \(E\) be a real function on a finite kind, \(q_i=e^{-\beta E_i}/Z\), \(Z=\sum _ie^{-\beta E_i}\). For every \(p\), by E22,

\begin{equation} H(p)\leq -\sum _ip_i\ln q_i=\beta \sum _ip_iE_i+\ln Z, \tag{21787}\end{equation}
with equality only for \(p=q\). Let \(S(U)\) be the greatest entropy at mean \(U\). Then \(S(U')\leq \beta U'+\ln Z(\beta )\) for all \(U'\), with equality at \(U'=U(\beta )\): the line of slope \(\beta \) touches \(S\) there. So
\begin{equation} S=\beta U+\ln Z,\qquad \beta =\frac 1T\ \text { is the slope of }S\text { in }U,\qquad F=U-TS=-T\ln Z . \tag{21788}\end{equation}
\(U(\beta )\) does not increase: for \(\beta <\beta '\), \(D(q\Vert q')+D(q'\Vert q)=(\beta '-\beta )(U-U')\geq 0\). At \(\beta =0\) this is E19.

V. Vectors, adjoints, trace

E25 (complex numbers from the swap). On pairs of reals put \(J(a,b)=(-b,a)\): the swap \(\sigma \) followed by a sign. Then \(J^2=-\mathrm {id}\). The maps \(a+bJ\) form a field \(\mathbb C\), with conjugate \(\overline {a+bJ}=a-bJ\) and \(z\bar z=a^2+b^2\geq 0\). Write \(i\) for \(J\).

E26 (vectors and matrices). A vector is a map \(n\to \mathbb C\) from a finite kind (E3). A linear map \(\mathbb C^n\to \mathbb C^m\) is determined by its values on the marks: a matrix \(A_{ij}\). Composition of maps is the matrix product, so it is associative. The units \(e_{ij}\) satisfy \(e_{ij}e_{kl}=\delta _{jk}e_{il}\).

E27 (the adjoint). Put \(\langle x,y\rangle =\sum _i\bar x_iy_i\); \(\langle x,x\rangle =\Vert x\Vert ^2\geq 0\), zero only for \(x=0\). Every \(A\) has exactly one \(A^\dagger \) with

\begin{equation} \langle x,Ay\rangle =\langle A^\dagger x,y\rangle ,\qquad (A^\dagger )_{ij}=\overline {A_{ji}} . \tag{21789}\end{equation}
This is the source read on vectors: placing on one side is reading on the other.

name condition
self-adjoint \(A^\dagger =A\)
positive, \(A\geq 0\);  \(A\leq B\) \(\langle x,Ax\rangle \geq 0\) for all \(x\);  \(B-A\geq 0\)
projection \(P^2=P=P^\dagger \)
unitary;  isometry \(u^\dagger u=uu^\dagger =1\);  \(V^\dagger V=1\)
orthonormal basis \(\langle f_i,f_j\rangle =\delta _{ij}\), \(n\) vectors

A projection is a cut of the space: \(P^2=P\) is \(p^2=p\). Commuting projections form a Boolean algebra under \(PQ\), \(P+Q-PQ\), \(1-P\); those of one orthonormal basis form \(\mathbf 2^n\).

E28 (the trace is forced). Let \(\tau \) be linear on matrices with \(\tau (AB)=\tau (BA)\). Then

\begin{equation} \tau (e_{ij})=\tau (e_{ik}e_{kj})=\tau (e_{kj}e_{ik})=\delta _{ij}\,\tau (e_{kk}), \tag{21790}\end{equation}
so \(\tau =c\cdot \mathrm {tr}\), \(\mathrm {tr}\,A=\sum _iA_{ii}\). In any orthonormal basis \(\mathrm {tr}\,A=\sum _i\langle f_i,Af_i\rangle \), and for a projection \(\mathrm {tr}\,P\) is the number of basis vectors of its range. The trace is the size of E19; it is the only count that survives \(AB\neq BA\).

E29 (a maximum is attained). Let \(g\) be continuous on a closed bounded part \(K\) of \(\mathbb R^d\), \(M=\sup g\) (E11). Halve the cube containing \(K\) in each direction. Among the \(2^d\) pieces, in a fixed order, take the first on which the supremum of \(g\) is \(M\); one exists, since \(M\) is the greatest of finitely many suprema. Repeat. The corners of the chosen cubes increase and are bounded; their supremum \(x\) lies in \(K\), and \(g(x)=M\) by continuity. Only first elements were taken.

E30 (eigenbasis). Let \(A=A^\dagger \) and let \(x\) be a unit vector where \(\langle x,Ax\rangle \) is greatest, value \(M\) (E29). For \(y\perp x\) and real \(t\),

\begin{equation} \langle x+ty,A(x+ty)\rangle -M\Vert x+ty\Vert ^2=2t\,\mathrm {Re}\langle y,Ax\rangle +t^2(\langle y,Ay\rangle -M)\leq 0 \tag{21791}\end{equation}
for both signs of \(t\), so \(\mathrm {Re}\langle y,Ax\rangle =0\); with \(iy\) also the imaginary part. Thus \(Ax=Mx\). The vectors orthogonal to \(x\) are mapped to themselves by \(A\); by induction on \(n\),
\begin{equation} A=\sum _ja_j\,|f_j\rangle \langle f_j|,\qquad \phi (A)=\sum _j\phi (a_j)\,|f_j\rangle \langle f_j| \tag{21792}\end{equation}
for an orthonormal basis \(f_j\) and real \(a_j\), the second being the definition of a function of \(A\). \(A\geq 0\) exactly when all \(a_j\geq 0\); then \(\Vert A\Vert =\max a_j\).

VI. States

E31 (weighted cuts and their probabilities). An effect is \(E\) with \(0\leq E\leq 1\): a cut with weights, the projections being the sharp ones. A probability on effects is \(v\) with

\begin{equation} v(E)\geq 0,\qquad v(1)=1,\qquad v(E+F)=v(E)+v(F)\ \text { whenever }E+F\leq 1 . \tag{21793}\end{equation}
Then \(v\) extends to a linear map on all matrices:

E32 (every state is a density matrix). Put \(\rho _{ji}=\hat v(e_{ij})\). Then for all \(X\)

\begin{equation} \hat v(X)=\sum _{ij}X_{ij}\,\hat v(e_{ij})=\mathrm {tr}(\rho X),\qquad \rho \geq 0,\qquad \mathrm {tr}\,\rho =1, \tag{21794}\end{equation}
since \(\langle x,\rho x\rangle =\hat v(|x\rangle \langle x|)\geq 0\) and \(\mathrm {tr}\,\rho =v(1)\). Conversely each such \(\rho \) gives a \(v\). The rule \(P\mapsto \mathrm {tr}(\rho P)\) is derived, in every dimension.

E33 (projections alone). If \(v\) is given only on projections, additive on commuting ones:

VII. Von Neumann

E34 (entropy as the least over contexts). A context \(C\) is an orthonormal basis \(e_i\), that is a Boolean algebra \(\mathbf 2^n\) of projections (E27). There a state is a probability \(p^C_i=\langle e_i,\rho e_i\rangle \). Define

\begin{equation} S(\rho )=\min _CH(p^C). \tag{21795}\end{equation}
Let \(\rho =\sum _j\lambda _j|f_j\rangle \langle f_j|\) (E30) and \(D_{ij}=|\langle e_i,f_j\rangle |^2\). Then \(p^C=D\lambda \), and \(\sum _iD_{ij}=\Vert f_j\Vert ^2=1\), \(\sum _jD_{ij}=\Vert e_i\Vert ^2=1\). So \(D\) is stochastic and keeps the uniform state, and \(H(D\lambda )\geq H(\lambda )\) by E23, with equality in the eigenbasis:
\begin{equation} S(\rho )=-\sum _j\lambda _j\ln \lambda _j=-\mathrm {tr}\,\rho \ln \rho . \tag{21796}\end{equation}

E35 (first consequences).

statement reason
\(S(u\rho u^\dagger )=S(\rho )\) same eigenvalues
\(S(\rho )=0\iff \rho ^2=\rho \) \(H(\lambda )=0\) only for a point mass
\(S(\rho )\leq \ln n\), equal only for \(\rho =1/n\) E22
\(\rho =P/W\), \(\mathrm {tr}\,P=W\) \(S=\ln W\) (E19)
all projections in play commute one context; \(S\) is \(H\) (E20)

E36 (relative entropy). Let \(\sigma =\sum _j\mu _j|g_j\rangle \langle g_j|\), \(\mu _j>0\), \(D_{ij}=|\langle f_i,g_j\rangle |^2\), \(r_i=\sum _jD_{ij}\mu _j\). By E18, \(\sum _jD_{ij}\ln (\mu _j/r_i)\leq 0\), so \(\mathrm {tr}\,\rho \ln \sigma =\sum _{ij}\lambda _iD_{ij}\ln \mu _j\leq \sum _i\lambda _i\ln r_i\), and \(r\) is a probability. By E22,

\begin{equation} S(\rho \Vert \sigma )=\mathrm {tr}\,\rho (\ln \rho -\ln \sigma )\geq \sum _i\lambda _i\ln \frac {\lambda _i}{r_i}\geq 0 . \tag{21797}\end{equation}

E37 (the quantum Gibbs state). For \(H=H^\dagger \) put \(\sigma =e^{-\beta H}/Z\), \(Z=\mathrm {tr}\,e^{-\beta H}\). For every \(\rho \), by E36,

\begin{equation} S(\rho )\leq -\mathrm {tr}\,\rho \ln \sigma =\beta \,\mathrm {tr}(\rho H)+\ln Z, \tag{21798}\end{equation}
with equality for \(\rho =\sigma \). All of E24 follows word for word.

E38 (the tensor is built on the pair). \(\mathbb C^m\otimes \mathbb C^n\) is the maps \(m\times n\to \mathbb C\) (E3 on the pair of E1), with \((x\otimes y)_{ij}=x_iy_j\) and \((A\otimes B)(x\otimes y)=Ax\otimes By\). The partial trace is

\begin{equation} (\mathrm {tr}_BX)_{ii'}=\sum _jX_{ij,i'j},\qquad \mathrm {tr}\bigl ((Y\otimes 1)X\bigr )=\mathrm {tr}\bigl (Y\,\mathrm {tr}_BX\bigr ), \tag{21799}\end{equation}
and \(\rho _A=\mathrm {tr}_B\rho _{AB}\) is the state of the part. The eigenvalues of \(\rho \otimes \sigma \) are \(\lambda _i\mu _j\), so \(S(\rho \otimes \sigma )=S(\rho )+S(\sigma )\) and \(\ln (\rho \otimes \sigma )=\ln \rho \otimes 1+1\otimes \ln \sigma \).

E39 (parts of a whole). If \(\rho \) has zero eigenvalues, apply what follows to \((1-\epsilon )\rho +\epsilon /n\) and let \(\epsilon \) tend to \(0\).

on \(A\times B\) (E22) on \(A\otimes B\)
\(S(A)\leq S(AB)\) yes no
\(S(AB)\leq S(A)+S(B)\) yes yes
\(|S(A)-S(B)|\leq S(AB)\) yes yes, equality for pure states
contexts one many

VIII. Strong subadditivity

E40 (the integral of \(1/t\)). For \(0<a<b\) cut \([a,b]\) at \(ar^k\), \(r=(b/a)^{1/N}\). The upper and lower sums of \(1/t\) are \(N(r-1)\) and \(N(1-1/r)\). By E18, \(N(1-1/r)\leq N\ln r=\ln (b/a)\leq N(r-1)\), and the two sums differ by \(N(r-1)^2/r\), which tends to \(0\). So \(\int _a^bdt/t=\ln (b/a)\), and for \(x>0\)

\begin{equation} \ln x=\int _0^\infty \Bigl (\frac 1{1+t}-\frac 1{x+t}\Bigr )dt, \tag{21800}\end{equation}
since the integral to \(T\) is \(\ln x+\ln \frac {1+T}{x+T}\) and the last term tends to \(0\). By E30 the same holds for a positive invertible matrix in place of \(x\).

E41 (inverses and isometries). Let \(A>0\), \(V\) an isometry, \(B=V^\dagger AV\). For any \(w\) put \(u=A^{-1/2}Vw-A^{1/2}VB^{-1}w\). Then

\begin{equation} 0\leq \Vert u\Vert ^2=\langle w,V^\dagger A^{-1}Vw\rangle -2\langle w,B^{-1}w\rangle +\langle w,B^{-1}w\rangle , \tag{21801}\end{equation}
so \(V^\dagger A^{-1}V\geq (V^\dagger AV)^{-1}\). Applying this to \(A+t\) inside E40, where the terms \(1/(1+t)\) cancel because \(V^\dagger V=1\):
\begin{equation} \ln (V^\dagger AV)\geq V^\dagger (\ln A)\,V . \tag{21802}\end{equation}

E42 (relative entropy as one expectation). Matrices are vectors with \(\langle X,Y\rangle =\mathrm {tr}\,X^\dagger Y\) (E27). For \(\rho ,\sigma >0\) put \(\Delta (X)=\sigma X\rho ^{-1}\). Its eigenvectors are \(|g_j\rangle \langle f_i|\) with eigenvalues \(\mu _j/\lambda _i>0\), so \((\ln \Delta )(X)=(\ln \sigma )X-X\ln \rho \) and

\begin{equation} S(\rho \Vert \sigma )=-\langle \rho ^{1/2},(\ln \Delta )\,\rho ^{1/2}\rangle . \tag{21803}\end{equation}

E43 (forgetting a part cannot increase relative entropy). Let \(\rho ,\sigma >0\) on \(A\otimes B\). Define \(V\) from matrices on \(A\) to matrices on \(A\otimes B\) by

\begin{equation} V(X)=(X\rho _A^{-1/2}\otimes 1)\,\rho _{AB}^{1/2}. \tag{21804}\end{equation}
By E38:
\begin{align} \langle VX,VY\rangle &=\mathrm {tr}\bigl [\rho _{AB}\,(\rho _A^{-1/2}X^\dagger Y\rho _A^{-1/2}\otimes 1)\bigr ]=\mathrm {tr}\,X^\dagger Y, \tag{21805}\\ \langle VX,\Delta _{AB}VY\rangle &=\mathrm {tr}\bigl [(\rho _A^{-1/2}X^\dagger \otimes 1)\,\sigma _{AB}\,(Y\rho _A^{-1/2}\otimes 1)\bigr ]=\langle X,\Delta _AY\rangle , \tag{21806}\end{align}

and \(V\rho _A^{1/2}=\rho _{AB}^{1/2}\). So \(V\) is an isometry with \(V^\dagger \Delta _{AB}V=\Delta _A\), and by E41, E42

\begin{equation} S(\rho _A\Vert \sigma _A)=-\langle \rho _A^{1/2},\ln (V^\dagger \Delta _{AB}V)\rho _A^{1/2}\rangle \leq -\langle V\rho _A^{1/2},(\ln \Delta _{AB})V\rho _A^{1/2}\rangle =S(\rho _{AB}\Vert \sigma _{AB}). \tag{21807}\end{equation}
In one context this is E23 for the map that forgets a component.

E44 (strong subadditivity). On \(A\otimes B\otimes C\) take \(\sigma =\rho _A\otimes \rho _{BC}\), whose part on \(AB\) is \(\rho _A\otimes \rho _B\). By E38 and E43,

\begin{equation} S(A)+S(B)-S(AB)=S(\rho _{AB}\Vert \rho _A\otimes \rho _B)\leq S(\rho _{ABC}\Vert \rho _A\otimes \rho _{BC})=S(A)+S(BC)-S(ABC), \tag{21808}\end{equation}
that is
\begin{equation} S(ABC)+S(B)\leq S(AB)+S(BC). \tag{21809}\end{equation}

E45 (the ladder).

step object entropy from
0 \(\mathrm {id}\); copy, pair, \(1\); \(0\), sums, \(\mathbf 2\); maps — E1–E3
1 numbers, order; sum, product, power — E4–E8
2 cuts; comparison of powers \(\log \) E9–E14
3 \(\sup (1+x/n)^n\) \(\ln y\leq y-1\) E15–E18
4 finite kind of size \(W\) \(\ln W\) E19
5 rows with frequencies \(p\) \(-\sum p_i\ln p_i\) E20–E23
6 mean of a reading fixed \(\beta U+\ln Z\) E24
7 vectors, adjoint, trace — E25–E30
8 probabilities on effects \(\rho \) E31, E32
9 state, many contexts \(-\mathrm {tr}\,\rho \ln \rho \) E34–E37
10 parts of a whole sub- and strong subadditivity E38–E44

Each step contains the earlier one: uniform \(p\) gives step 4; a state diagonal in one context gives step 5; \(\rho =P/W\) gives step 4 directly. Not proved in this section: E33 for \(n\geq 3\).