358 Advanced Mathematics

The structures of algebraic geometry, algebraic topology, scheme theory, number theory, Hilbert space, analysis and quantum measurement are built from four ingredients already derived: the diagonal \(\Delta \) (equality, equalisers, gluing), the idempotent \(a^2=a\) (projectors, excluded middle and non-contradiction), the involution \(\vartheta \) (sign, conjugation, reversal) and the cone \(P\) (positivity). This section derives the central statements of each field from these four.

358.1 Zero sets are equalisers

For polynomials \(f_1,\dots ,f_k\) on \(K^n\),

\begin{equation} V(f_1,\dots ,f_k)=\{\,x : f_i(x)=0\ \forall i\,\} =\bigcap _i f_i^{-1}(0), \tag{21638}\end{equation}
the equaliser of \((f_1,\dots ,f_k)\) and \(0\), that is the pullback of the diagonal along \(x\mapsto \bigl ((f_i(x)),0\bigr )\). Zero sets are closed under finite union and arbitrary intersection,
\begin{equation} V(I)\cup V(J)=V(IJ), \qquad \bigcap _\alpha V(I_\alpha )=V\bigl (\textstyle \sum _\alpha I_\alpha \bigr ), \tag{21639}\end{equation}
the first because \(fg=0\) forces \(f=0\) or \(g=0\) in a field. The correspondence with ideals, \(I(V(J))=\sqrt J\) over an algebraically closed field, is Hilbert’s Nullstellensatz.

Cohomology as failure of gluing. For a sheaf \(\mathcal F\) and a cover \(\{U_i\}\), a family \(s_i\in \mathcal F(U_i)\) glues when \(s_i|_{U_{ij}}=s_j|_{U_{ij}}\), a diagonal condition on overlaps. The Čech complex records the differences \(s_j-s_i\) on overlaps, and

\begin{equation} \check H^0(\mathcal U,\mathcal F)=\mathcal F(X), \tag{21640}\end{equation}
the global sections. Higher groups measure compatible local data that do not come from a global choice — the same obstruction that appeared as contextuality in Section 338.

358.2 Chain complexes and homology

The boundary squares to zero. On simplicial chains,

\begin{equation} \partial [v_0,\dots ,v_n]=\sum _{i=0}^{n}(-1)^i[v_0,\dots ,\widehat {v_i},\dots ,v_n]. \tag{21641}\end{equation}
In \(\partial ^2\) each pair of removed vertices \(i<j\) appears twice: removing \(j\) then \(i\) with sign \((-1)^{i+j}\), and removing \(i\) then \(j\) with sign \((-1)^{i+j-1}\). The two terms are \(A\) and \(-A\), so
\begin{equation} \partial _n\circ \partial _{n+1}=0 . \tag{21642}\end{equation}
The sign \((-1)^i\) is the involution \(\vartheta \), and the cancellation is \(A-A=0\); in projector form it is \(\Pi _O\Pi _U=0\Rightarrow d^2=0\).

Cycles, boundaries, homology. Cycles are an equaliser and boundaries an image,

\begin{equation} Z_n=\ker \partial _n=\{x:\partial _nx=0\}, \qquad B_n=\operatorname {im}\partial _{n+1}, \tag{21643}\end{equation}
and \(\partial ^2=0\) gives \(B_n\subseteq Z_n\). Since \(B_n\) is a subgroup — \(0\in B_n\), \(B_n+B_n\subseteq B_n\), \(-B_n=B_n\) — the relation \(z\sim z'\iff z-z'\in B_n\) is reflexive, transitive and symmetric, and
\begin{equation} H_n=Z_n/B_n . \tag{21644}\end{equation}
The three subgroup conditions are the cone conditions with antisymmetry replaced by symmetry: a cone gives an order, a subgroup gives an equivalence.

Homotopy. Homotopy \(f\simeq g\) is an equivalence: the constant homotopy gives reflexivity, reversal \(t\mapsto 1-t\) (\(\vartheta \)) gives symmetry, and concatenation (\(\circ \)) gives transitivity. A chain homotopy \(f-g=\partial h+h\partial \) sends a cycle \(z\) to

\begin{equation} fz-gz=\partial (hz)+h(\partial z)=\partial (hz)\in B_n, \tag{21645}\end{equation}
so homotopic maps induce the same map on \(H_n\).

A shared form. A nonzero class in \(H_n\) is an element closed under the boundary but not a boundary of anything inside the complex. The diagonal theorems of Subsection 195 have the same shape: a sentence true but not derivable inside the system. In both, closure under the internal operation does not imply being reached by it.

358.3 Schemes and idempotents

\(\operatorname {Spec}R\) is the set of prime ideals with the Zariski topology, closed sets \(V(I)=\{\mathfrak p\supseteq I\}\). An idempotent \(e^2=e\) in \(R\) gives

\begin{equation} e(1-e)=0, \qquad e+(1-e)=1 . \tag{21646}\end{equation}
Every prime contains \(e(1-e)=0\), hence contains \(e\) or \(1-e\); it cannot contain both, since their sum is \(1\). Therefore
\begin{equation} \operatorname {Spec}R=V(e)\sqcup V(1-e), \qquad R\cong eR\times (1-e)R , \tag{21647}\end{equation}
with both pieces open and closed: non-contradiction and excluded middle split the space. The structure sheaf, \(\mathcal O(D(f))=R_f\) on basic opens, satisfies the gluing condition along overlaps, and the ring is recovered as global sections, \(\Gamma (\operatorname {Spec}R,\mathcal O)=R\).

358.4 Number theory

Unique factorisation is a free commutative monoid. Every \(n\ge 2\) is a product of primes by induction on \(n\). If \(p\) is prime then \(p\mid ab\) forces \(p\mid a\) or \(p\mid b\) — \(p\mathbb Z\) is a prime ideal, the either-or of the previous subsection — and cancellation gives uniqueness. Hence

\begin{equation} (\mathbb N_{\ge 1},\cdot ,1)\ \cong \ \mathbb N^{(\mathcal P)}, \qquad n=\prod _pp^{a_p}, \tag{21648}\end{equation}
the multisets of primes.

Euler’s theorem. In \(G=(\mathbb Z/n\mathbb Z)^\times \), \(|G|=\varphi (n)\), multiplication by \(a\in G\) is injective by cancellation, hence a permutation of \(G\). Taking the product over \(G\),

\begin{equation} \prod _{x\in G}ax=\prod _{x\in G}x \ \Longrightarrow \ a^{\varphi (n)}=1, \qquad a^{\varphi (n)}\equiv 1\pmod n . \tag{21649}\end{equation}

The Euler product. For \(\operatorname {Re}s>1\) the series converges absolutely, and summing over the free commutative monoid factorises over its generators:

\begin{equation} \zeta (s)=\sum _{n\ge 1}n^{-s} =\prod _p\sum _{k\ge 0}p^{-ks} =\prod _p\frac {1}{1-p^{-s}} . \tag{21650}\end{equation}
Sum equals product because \(\mathbb N_{\ge 1}\) is free on the primes. The prime number theorem \(\pi (x)\sim x/\log x\) is equivalent to \(\zeta (1+it)\neq 0\) for real \(t\).

The value \(\zeta (-1)\). Alternating the sign on even terms,

\begin{equation} \eta (s)=\sum _{n\ge 1}(-1)^{n-1}n^{-s}=(1-2^{1-s})\,\zeta (s) \qquad (\operatorname {Re}s>1), \tag{21651}\end{equation}
since removing twice the even terms subtracts \(2\cdot 2^{-s}\zeta (s)\). Both sides continue analytically. The Abel value of \(\eta (-1)\) is
\begin{equation} \lim _{x\to 1^-}\sum _{n\ge 1}(-1)^{n-1}n\,x^{n-1} =\lim _{x\to 1^-}\frac {1}{(1+x)^2}=\frac 14, \tag{21652}\end{equation}
so
\begin{equation} \zeta (-1)=\frac {\eta (-1)}{1-2^{2}}=\frac {1/4}{-3}=-\frac {1}{12}. \tag{21653}\end{equation}
The partial sums of \(\sum n\) diverge; \(-\tfrac 1{12}\) is the value of the continuation at \(s=-1\), reached through the sign involution on even terms.

358.5 Hilbert space

Positivity is the cone. The inner product satisfies \(\langle x,x\rangle \ge 0\), with equality only at \(x=0\): membership in \(P\) and antisymmetry.

Cauchy–Schwarz. For real \(t\),

\begin{equation} 0\le \langle x-ty,x-ty\rangle =\|x\|^2-2t\operatorname {Re}\langle x,y\rangle +t^2\|y\|^2 , \tag{21654}\end{equation}
so the discriminant is non-positive, \((\operatorname {Re}\langle x,y\rangle )^2\le \|x\|^2\|y\|^2\); replacing \(y\) by \(e^{i\phi }y\) to make \(\langle x,y\rangle \) real gives
\begin{equation} |\langle x,y\rangle |\le \|x\|\,\|y\| . \tag{21655}\end{equation}

Parseval. For an orthonormal basis the projectors \(P_i=e_i\langle e_i,\cdot \rangle \) satisfy \(P_i^2=P_i\), \(P_iP_j=0\), \(\sum _iP_i=\hat 1\). Orthogonal pieces add in square norm, so

\begin{equation} x=\sum _i\langle e_i,x\rangle e_i, \qquad \|x\|^2=\sum _i|\langle e_i,x\rangle |^2 . \tag{21656}\end{equation}

Completeness. Every Cauchy sequence converges, the property obtained for \(\mathbb R\) by completing \(\mathbb Q\) and carried to \(\mathcal H\) by the same construction. The simplest instance is the binary partition of the unit,

\begin{equation} \sum _{n=1}^{N}2^{-n}=1-2^{-N}\ \longrightarrow \ 1 , \tag{21657}\end{equation}
each step halving what remains.

The spectral theorem. In finite dimension a self-adjoint \(A\) has orthogonal eigenspaces with projectors \(P_\lambda \), and

\begin{equation} A=\sum _\lambda \lambda P_\lambda , \qquad \sum _\lambda P_\lambda =\hat 1, \qquad P_\lambda P_\mu =\delta _{\lambda \mu }P_\lambda . \tag{21658}\end{equation}
In general \(A=\int \lambda \,dE_\lambda \) with \(E\) a projection-valued measure and \(E(\mathbb R)=\hat 1\): the binary partition \(\Pi +(1-\Pi )=1\) refined to arbitrarily many orthogonal pieces.

358.6 The complex exponential and trigonometry

The complex numbers. On pairs, set

\begin{equation} (a,b)(c,d)=(ac-bd,\ ad+bc), \tag{21659}\end{equation}
the pair construction of \(\mathbb Z\) with the sign twisted on the product of second coordinates. Then \(i=(0,1)\) satisfies \(i^2=-1\), and multiplication by \(i\) is the rotation \(J(x,y)=(-y,x)\) with \(J^2=-1\), \(J^4=1\). Conjugation \(\overline {(a,b)}=(a,-b)\) is the involution.

The unit circle. With \(\exp \) as in Section 322.2, extended to \(\mathbb C\) by the same series, define \(\cos \theta \) and \(\sin \theta \) as the real and imaginary parts of \(e^{i\theta }\). The series has real coefficients, so \(\overline {e^{i\theta }}=e^{-i\theta }\), and the homomorphism property gives

\begin{equation} |e^{i\theta }|^2=e^{i\theta }e^{-i\theta }=e^{0}=1, \qquad \cos ^2\theta +\sin ^2\theta =1 . \tag{21660}\end{equation}

Addition formulae. From \(e^{i(\alpha +\beta )}=e^{i\alpha }e^{i\beta }\), comparing real and imaginary parts,

\begin{equation} \cos (\alpha +\beta )=\cos \alpha \cos \beta -\sin \alpha \sin \beta , \qquad \sin (\alpha +\beta )=\sin \alpha \cos \beta +\cos \alpha \sin \beta . \tag{21661}\end{equation}

\(\pi \) and Euler’s identity. \(\cos 0=1\) and \(\cos 2<0\) by the alternating series, so \(\cos \) has a least positive zero; call it \(\pi /2\). On \([0,\pi /2]\), \(\sin '=\cos >0\), so \(\sin (\pi /2)=1\) and \(e^{i\pi /2}=i\). Then

\begin{equation} e^{i\pi }=i^2=-1, \qquad e^{i\pi }+1=0, \qquad e^{2\pi i}=1, \tag{21662}\end{equation}
so \(e^{i\theta }\) has period \(2\pi \): a half-turn is the sign involution, a full turn is the identity.

The derived identities.

Identity Derivation Source
\(\tan ^2\theta +1=\sec ^2\theta \) divide by \(\cos ^2\theta \) \(|e^{i\theta }|=1\)
\(1+\cot ^2\theta =\csc ^2\theta \) divide by \(\sin ^2\theta \) \(|e^{i\theta }|=1\)
\(\cos 2\theta =\cos ^2\theta -\sin ^2\theta \) \(\alpha =\beta =\theta \) homomorphism
\(\cos 2\theta =2\cos ^2\theta -1=1-2\sin ^2\theta \) substitute \(|e^{i\theta }|=1\)
\(\sin 2\theta =2\sin \theta \cos \theta \) \(\alpha =\beta =\theta \) homomorphism
\(\sin ^2\tfrac \theta 2=\tfrac {1-\cos \theta }{2}\), \(\cos ^2\tfrac \theta 2=\tfrac {1+\cos \theta }{2}\) half angle both
\(\sin (\theta +2\pi )=\sin \theta \) \(e^{2\pi i}=1\) period

358.7 Wave functions and measurement

Phases. A plane wave \(\psi (x,t)=Ae^{i(kx-\omega t)}\) has constant modulus, \(|\psi |^2=|A|^2\), since \(|e^{i\phi }|=1\); the phase carries no weight.

A normalised state. For a two-level system,

\begin{equation} \psi =\cos \theta \,|0\rangle +e^{i\phi }\sin \theta \,|1\rangle , \qquad \|\psi \|^2=\cos ^2\theta +\sin ^2\theta =1 . \tag{21663}\end{equation}

The Born rule. For an observable with spectral projectors \(P_i\),

\begin{equation} p_i=\langle \psi ,P_i\psi \rangle =\|P_i\psi \|^2\ge 0, \qquad \sum _ip_i=\langle \psi ,\textstyle \sum _iP_i\,\psi \rangle =\|\psi \|^2=1 . \tag{21664}\end{equation}
Positivity is \(P_i=P_i^{\dagger }P_i\in P\); normalisation is \(\sum _iP_i=\hat 1\), excluded middle; exclusivity is \(P_iP_j=0\), non-contradiction.

Projection. After outcome \(i\) the state is \(P_i\psi /\|P_i\psi \|\), and repeating the measurement returns the same outcome with certainty because \(P_i^2=P_i\).

358.8 The Gaussian integral

Let \(I=\int _{-\infty }^{\infty }e^{-x^2}dx>0\). The product of \(I\) with itself is an integral over the plane,

\begin{equation} I^2=\iint e^{-(x^2+y^2)}\,dx\,dy , \tag{21665}\end{equation}
whose integrand depends only on \(r^2=x^2+y^2\) and is invariant under the exchange \((x,y)\mapsto (y,x)\) and all rotations. In polar coordinates, with area element \(r\,dr\,d\theta \),
\begin{equation} I^2=\int _0^{2\pi }\!\!d\theta \int _0^\infty e^{-r^2}r\,dr =2\pi \Bigl [-\tfrac 12e^{-r^2}\Bigr ]_0^\infty =\pi , \qquad I=\sqrt \pi . \tag{21666}\end{equation}
The factor \(2\pi \) is the period of \(e^{i\theta }\): the full turn.

358.9 Normalisation

Why \(1\). In a field, \(r^2=r\) gives \(r(r-1)=0\), so \(r\in \{0,1\}\): the idempotents are \(0\) and \(1\), and \(1\) is the nonzero one.

Vectors. Every \(v\neq 0\) splits as \(v=\|v\|\,\hat v\), a magnitude in the cone and a direction with \(\langle \hat v,\hat v\rangle =1\).

Data. Min–max scaling is the affine map onto the unit interval,

\begin{equation} x'=\frac {x-x_{\min }}{x_{\max }-x_{\min }}\in [0,1]. \tag{21667}\end{equation}
Centring is a projector: with \(\mathbf 1=(1,\dots ,1)\),
\begin{equation} H=I-\tfrac 1n\mathbf 1\mathbf 1^{\mathsf T}, \qquad H^2=H, \qquad H^{\mathsf T}=H, \tag{21668}\end{equation}
and the \(z\)-score \(z=Hx/\sigma \) has \(\mathbb E[z]=0\) and \(\operatorname {Var}(z)=1\) by linearity.

358.10 Summary

Field

Central statement

Ingredient

algebraic geometry

\(V(f)\) an equaliser

\(\Delta \)

sheaf cohomology

\(\check H^0=\) global sections

gluing on \(\Delta \)

homology

\(\partial ^2=0\), \(H_n=Z_n/B_n\)

\(\vartheta \), \(A-A=0\)

homotopy

equivalence relation

\(\Delta \), \(\vartheta \), \(\circ \)

schemes

\(\operatorname {Spec}R=V(e)\sqcup V(1-e)\)

\(e^2=e\)

arithmetic

\(\mathbb N_{\ge 1}\cong \mathbb N^{(\mathcal P)}\)

free commutative monoid

Euler’s theorem

\(a^{\varphi (n)}\equiv 1\)

cancellation

zeta

Euler product, \(\zeta (-1)=-\tfrac 1{12}\)

factorisation, sign on evens

Hilbert space

Cauchy–Schwarz, Parseval

cone, \(\sum P_i=\hat 1\)

spectral theorem

\(A=\int \lambda \,dE_\lambda \)

projectors

trigonometry

\(\cos ^2+\sin ^2=1\), addition

\(\exp \) homomorphism, \(\vartheta \)

Euler’s identity

\(e^{i\pi }=-1\)

half-turn \(=\) sign

Born rule

\(p_i\ge 0\), \(\sum p_i=1\)

cone, \(\mathsf {LEM}\), \(\mathsf {LNC}\)

Gaussian

\(\int e^{-x^2}=\sqrt \pi \)

rotation invariance

normalisation

\(r^2=r\Rightarrow r\in \{0,1\}\)

idempotent