Mathematics
$$\int_a^b f'(x)\, dx = f(b) - f(a) \qquad\qquad \frac{d}{dx}\!\left(\int_a^x f(t)\, dt\right) = f(x)$$

For a continuously differentiable function, the fundamental theorem of calculus gives the two identities above. Stokes' theorem extends the boundary-integral identity to oriented manifolds, while de Rham cohomology records closed forms modulo exterior derivatives.

See Terence Tao, Differential Forms and Integration
Differential Forms
$$\int_{\partial M}\omega=\int_M d\omega, \qquad d^2=0$$

For a smooth form of degree one less than the dimension of a compact oriented smooth manifold, Stokes' theorem equates its boundary integral with the integral of its exterior derivative over the manifold. The boundary carries the induced orientation.

Čech Cohomology
$$ C^q(\mathfrak U,\mathcal F)= \prod_{i_0<\cdots<i_q}\mathcal F(U_{i_0\cdots i_q}), \qquad \check H^q(\mathfrak U,\mathcal F)=\ker\delta^q/\operatorname{im}\delta^{q-1} $$

For a sheaf of abelian groups, the Čech differential compares restricted sections by alternating sums on intersections. Its cocycles modulo coboundaries compute sheaf cohomology when every nonempty finite intersection of the cover is acyclic for that sheaf.

Sheaf Cohomology
$$0\to\mathcal F'\to\mathcal F\to\mathcal F''\to0 \quad\Longrightarrow\quad H^q(X,\mathcal F)\to H^q(X,\mathcal F'')\to H^{q+1}(X,\mathcal F')$$

Taking global sections preserves kernels, while a surjective morphism of sheaves can fail to be surjective on global sections. The first connecting homomorphism assigns each global section of the quotient sheaf a cohomology class that vanishes exactly when that section lifts to a global section of the middle sheaf.

Ring Theory
$$A \longmapsto \operatorname{Spec} A,\qquad \mathcal O_{\operatorname{Spec} A}(D(f))=A_f,\qquad \widetilde M(D(f))=M_f$$

Prime ideals are the points of an affine scheme. Localizing at a function gives the ring of sections on its principal open set, and the structure sheaf specifies how these sections restrict and glue.

Riemann-Roch
$$ \begin{aligned} \ell(D)-\ell(K-D) &= \deg D + 1 - g, \\ \chi\!\left(X,\mathcal O_X(D)\right) &= h^0\!\left(X,\mathcal O_X(D)\right) - h^1\!\left(X,\mathcal O_X(D)\right) = \deg D + 1 - g. \end{aligned} $$

On a compact connected Riemann surface, a divisor specifies required zeros and allowed poles of meromorphic functions. Riemann-Roch relates the dimension of this function space to the degree and genus; the correction term counts independent meromorphic differentials whose divisors are at least the prescribed divisor.

Provable Security
$$\operatorname{Adv}^{\mathsf{scheme}}_{A}(\lambda)\le q(\lambda)\operatorname{Adv}^{\mathsf{assumption}}_{B}(\lambda)+\varepsilon(\lambda)$$

A security reduction converts an adversary against a construction into an algorithm for an assumed hard problem. Its advantage and running-time bounds quantify the security guarantee under that assumption.

Coding Theory
$$C_L(D,G)=\{(f(P_1),\ldots,f(P_n)): f\in L(G)\}, \qquad C_\Omega(D,G)=C_L(D,G)^\perp$$

Evaluating functions at rational points of a smooth projective curve over a finite field produces codewords. The residue theorem makes the evaluation and differential codes orthogonal; Riemann-Roch gives complementary dimensions, proving that the codes are dual.

Bignum Arithmetic
$$ \begin{aligned} a &= \sum_{i=0}^{n-1} a_iB^i,\qquad b = \sum_{i=0}^{n-1} b_iB^i,\qquad B=2^{32} % ,\\ 0 &\le a_i,b_i < B, % \\ \operatorname{mul}_m(a,b) &= (a\cdot b)\bmod m \end{aligned} $$

The bignum routines in this series represent nonnegative integers by arrays of machine words. Correctness follows from bounds and invariants for word operations; constant-time implementations also keep control flow and memory access independent of secret values.

Elliptic Arithmetic
$$E/\mathbb F_p:\ y^2=x^3+ax+b,\qquad [k]P=P+\cdots+P$$

Elliptic-curve implementations represent field elements by machine words and curve points by field coordinates. Addition and scalar multiplication implement the group operations used in public-key protocols.