\section{The mathematical substrate and its effective fragments}\label{sec:substrate} The substrate is the mathematics the engine may use, and, with equal weight, the exact sense in which it may use it \cite[Part~II]{Spec2026}. Each area is treated twice: once for the precise hypotheses under which its statements hold, and once for the fragment of it that a machine can compute. The two must not be confused. A system may know the statement of a theorem about derived categories and have no procedure that decides anything about them; it may compute reliably in a finite proxy and have no licence to speak about the object the proxy approximates. The first work states the obligation that follows: an algorithmic treatment of a theory must state which of its structures are represented, which operations are effective, which equalities are decidable, and which conclusions remain external proof obligations \cite[Chapter~9]{Spec2026}. \subsection{Effective fragments}\label{sec:sub-fragments} The specification sorts every area into four grades of effectivity. At the first, the area is exact and finite: exact arithmetic, a decidable equality, and a certificate that an independent checker or the proof kernel can replay. At the second, the fragment is specified completely, with its contract, but version 1.0 does not implement it. At the third, the area is given type signatures and obligation generators but no evaluation: the engine records what an invocation would require rather than producing a value. At the fourth, the area appears only programmatically, as the research setting of a campaign. The grade of an area fixes what the engine may do with it, and its naming rule prevents a computation at a lower grade from being reported under the name of the theory above it. Finite categories are the first instance. The categorical discipline of the engine is conditional on fixed context: once an ambient category, its composition law, a universe policy and the permitted probes have been fixed, properties such as initiality, products, pullbacks, monomorphisms and representability can be stated and checked through morphisms alone, by quantifying over maps rather than inspecting a hidden carrier \cite[Chapter~10]{Spec2026}. The engine decides them on finite presentations, and the decisions are aligned with Mathlib's category theory. \begin{proposition}[Finite categories]\label{prop:category} A finite presentation that the engine accepts is total, unital and associative, with typed arrows, and in the category of Mathlib it defines, the identity of an object and the composite of two arrows are those the presentation declares. A square the engine judges a pullback commutes, and each cone over its cospan has exactly one mediating arrow. \end{proposition} \lean{GaiMua.Category.validate_sound, GaiMua.Category.Align.id_eq, GaiMua.Category.Align.comp_eq, GaiMua.Category.isPullback_sound} \subsection{Finite sites and sheaves}\label{sec:sub-sites} \begin{definition}[Finite site]\label{def:site} A \emph{finite site} is a finite poset \(P\), regarded as a thin category in which every pair of objects has a meet, together with, for every object \(u\), a list of covering sieves on \(u\), each stored by generators \(g_1,\dots,g_k\le u\). The table of coverings is required to satisfy maximality (the maximal sieve covers), stability (the pullback of a covering sieve along \(v\le u\), computed by meets, covers \(v\)) and local character. \end{definition} \lean{GaiMua.Site.validateSieves_sound} No arbitrary category or arbitrary Grothendieck topology stands behind this interface: the kernel validates the poset, the three axioms of the coverings, and a presheaf's identity and composition laws, and refuses with an exhibited counterexample, such as the pullback that fails to cover, when one of them fails. A \emph{presheaf} \(X\) on \(P\) assigns a finite set of sections \(X(u)\) to every object and a restriction map \(X(u)\to X(v)\) to every \(v\le u\). A family of sections on the members of a covering sieve is \emph{matching} if its members agree on pairwise meets, and an \emph{amalgamation} is a section on \(u\) that restricts to each of them. \begin{proposition}[The sheaf verdict]\label{prop:sheaf} If the kernel's verdict on a presheaf \(X\) over a finite site is \emph{sheaf}, then for every object \(u\), every covering sieve on \(u\) and every matching family of sections on its members, the family has exactly one amalgamation. For the empty covering sieve the only family is the empty one, so there is exactly one global section. \end{proposition} \lean{GaiMua.Site.sheafVerdict_sound} The kernel's verdict is a computation over finite tables; Mathlib has its own sheaf condition, stated for presieves in an arbitrary category. The two are related by a theorem, so that a verdict of the kernel is a statement in the language of Mathlib. \begin{proposition}[Alignment with Mathlib]\label{prop:align} Let \(X\) be a presheaf on a finite site \(S\) that the kernel validates, and suppose the kernel's verdict by the sieve criterion is \emph{sheaf}. Then for every object \(u\) and every covering sieve on \(u\), with generators \(g\), the presheaf of Mathlib associated with \(X\) satisfies \code{Presieve.IsSheafFor} for the sieve generated by \(g\). \end{proposition} \lean{GaiMua.Site.Align.isSheafFor_of_verdict, GaiMua.FiniteCover.decidableIsSheafFor} \begin{proof} The sieve criterion enumerates exactly the matching families of Mathlib's definition on the finite sieve, and amalgamations correspond; the theorem translates one into the other. That the sheaf condition on a finite cover is decidable is the second anchored declaration. \end{proof} \subsection{Descent, coherence and obstruction}\label{sec:sub-descent} The kernel keeps apart three questions that informal reasoning tends to merge: whether a descent datum is well formed, whether it is coherent, and whether it is effective. Effectivity is decided, never derived from coherence. \begin{definition}[Finite descent datum]\label{def:descent} A \emph{finite descent datum} \(D\) consists of charts \(i\), the overlaps and triple overlaps of the cover's nerve, a one-dimensional rational vector space on each chart, and on each overlap \(\{i,j\}\) a comparison \(\varphi_{ij}\in\Q^\times\). Its \emph{formation} holds when every overlap has a non-zero comparison and every triple overlap has its three overlaps; it is \emph{coherent} when the defect \(\varphi_{ik}^{-1}\varphi_{jk}\varphi_{ij}\) is \(1\) on every triple overlap; a \emph{global object} is a family \(\mu\) of non-zero rationals on the charts with \(\varphi_{ij}\mu_i=\mu_j\) on every overlap. The \emph{holonomy} of \(D\) along a closed walk \(v_0,v_1,\dots,v_n=v_0\) in the nerve is the product of the comparisons along it. \end{definition} \begin{theorem}[Holonomy obstructs]\label{thm:holonomy} Let \(D\) be a finite descent datum whose comparisons are non-zero. If the holonomy of \(D\) along some closed walk in its nerve is defined and differs from \(1\), then \(D\) has no global object. \end{theorem} \lean{GaiMua.Descent.holonomy_obstructs} \begin{proof} If \(\mu\) is a global object, transport along each edge multiplies \(\mu\) by the comparison, so along a closed walk \(\mu_{v_0}\) is multiplied by the holonomy and returns to itself; since \(\mu_{v_0}\neq0\), the holonomy is \(1\). \end{proof} The theorem is what makes an obstruction a proof rather than a report. When the kernel decides that a well-formed datum is not effective, it returns a closed walk and its holonomy as the certificate, and the conclusion that no global object exists is a theorem, not an inference from a failed search. \begin{corollary}[A refusal is a certificate]\label{cor:noteffective} If a finite descent datum is well formed and the kernel's effectivity decision returns \emph{not effective}, with a walk and a value, then the datum has no global object. If it returns \emph{effective}, with a family \(\mu\), then \(\mu\) is a global object. \end{corollary} \lean{GaiMua.Descent.notEffective_no_global, GaiMua.Descent.effective_sound, GaiMua.Descent.coherence_sound} \begin{example}[The M\"obius datum]\label{ex:mobius} Three charts on a circle, with comparisons whose product round the circle is \(-1\), form a datum that is well formed and coherent but not effective: its holonomy is \(-1\), of order two, and its square is effective. The kernel decides all seven facts, and the example is a regression test of the distinction between coherence and effectivity. \end{example} \lean{GaiMua.Descent.mobius_controls} The degree-one class that a non-trivial holonomy represents lies in the first cohomology of the nerve with coefficients in \(\GL_1(\Q)\); the kernel records it with the comparisons as its representative and its support on the overlaps of the walk, so that later stages can act on the place where the obstruction lives. \Cref{fig:sites} shows the sheaf test as the specification draws it: a site with its covering families, a presheaf of finite sets or finite modules, the two decidable tests, and a verdict that is either \emph{sheaf} or the failing descent datum, never a bare boolean. Sheafification is a separate matter: on a finite site the engine constructs it by the plus construction applied twice, and outside the finite fragment the universal property is returned as an obligation. \begin{figure}[t] \centering \includegraphics[width=\textwidth]{figures/fig-sites.pdf} \caption{The sheaf condition on a finite site: a presheaf either glues or returns the failing descent datum. Figure of the specification.}\label{fig:sites} \end{figure} \subsection{\'Etale algebras, complexes and the six operations}\label{sec:sub-etale} Finite \'etale covers are the one substantial part of Grothendieck's machinery that is fully effective: the objects are finite, the equivalences decidable, and the fundamental group appears as an explicit profinite limit of finite quotients \cite[Chapter~14]{Spec2026}. Bounded complexes are computed in a coefficient world in which kernels, images, quotients and ranks are interpreted, and a change of coefficients is a change of world. The six operations \(f^*, Rf_*, Rf_!, f^!, \otimes^{\mathbf L}, R\mathcal{H}om\) organise an enormous amount of modern geometry, and the engine implements none of them. This is a decision about what can be claimed, not an omission: what the engine holds is a licence system, which sorts every statement about the operations into those whose hypotheses are recorded and whose source theorem is bound, those that are merely obligations, and those that are refused \cite[Chapter~16]{Spec2026}. \begin{proposition}[Exact fragments]\label{prop:exact} An algebra the engine accepts as finite \'etale is commutative, associative and unital, and its trace pairing has the checked inverse. A bounded complex it accepts satisfies \(d_{k+1}\circ d_k=0\) in every degree. An identity it emits for the six operations has both sides in one category. In characteristic \(p\), if \(x^p=x\), \(y^p=y\) and \(t^p=-t\), then \((x+yt)^p=x-yt\): Frobenius exchanges the two roots of \(x^2-d\). \end{proposition} \lean{GaiMua.Galois.checkEtale_sound, GaiMua.Homological.validate_sound, GaiMua.SixFunctor.identity_same_category, GaiMua.Bridge.frob_quadratic, GaiMua.Galois.extension_exchanges} \subsection{Motives and bounded proxies}\label{sec:sub-motives} A motive, in any of the senses in which the word is used, is not an object the engine constructs. What it constructs is a finite diagram of explicitly presented data, a finite Nori diagram, together with realisation functors into categories it can compute in. That object is exactly computable and entirely legitimate, and it is not a motive \cite[Chapter~17]{Spec2026}. The same holds for almost mathematics, perfectoid and prismatic geometry, condensed mathematics and anabelian reconstruction: each has a small exactly computable part, each has a theory above it, and each has a name that would carry the first into the second. The engine treats them alike: an explicit finite proxy at the lowest grade, the theory itself at a higher one, and a label that travels with every result derived from a proxy. The anabelian boundary is given a firewall in addition, because a reconstruction there could otherwise be reported as a theorem it does not prove. \begin{proposition}[Proxy labels propagate]\label{prop:proxy} The proxy label a result inherits is at least as restrictive as the label of every antecedent. \end{proposition} \lean{GaiMua.Proxy.propagate_dominates}