\section{Introduction}\label{sec:intro} \subsection{A machine for doing mathematics}\label{sec:intro-machine} Machine proof in Lean has become a working instrument. Systems trained by reinforcement learning write formal proofs of competition problems \cite{AlphaProof2025,Aristotle2025,SeedProver2025}; open models with a few billion parameters write whole proofs and repair them against the kernel's messages \cite{DeepSeekProverV2,GoedelProverV2}; step provers search the space of tactics one state at a time \cite{BFSProverV2,LeanDojo2023,GPTf2020}. Language models have also found new mathematical constructions when a symbolic engine or an evaluator checks what they propose \cite{AlphaGeometry2024,FunSearch2024,AlphaEvolve2025}. In all of these the source of trust is the same: a kernel, or an evaluator, that checks a candidate the model has written \cite{BarendregtWiedijk2005}. Research mathematics asks for something these systems do not organise. A proof search that fails returns a failure; it does not return what blocked it, in which setting, or what would have to exist for the argument to go through. Yet in research the place where an argument fails is the most informative object in sight, and the characteristic creative act is not the next step of a proof but the construction of the setting in which the proof becomes possible. Grothendieck described his own way of working as letting the sea rise until the problem dissolves: instead of attacking a statement, one builds the theory in which it becomes evident \cite{GrothendieckRS}. A machine that is to take part in that kind of work must locate an obstruction precisely, treat it as a mathematical object with its own certificate, and respond to it by building new structure, a new language or a new world in which the obstruction disappears; and it must do so while keeping every step checkable by a party that does not trust it. This paper presents GAI-MUA Math, an engine built to do that, and the architecture that makes it possible. Three levels are to be kept apart. The \emph{Grothendieckian Programme} \cite{TGP2026} is the research system: a programme volume, three papers \cite{Overview2026,Theses2026,Problems2026} and seven monographs \cite{GAIMUA2026,TNI2026,ASD2026,FAG2026,TAP2026,SPG2026,TAT2026}, which together state how a machine should take part in mathematics and name the problems on which it is to be tested. At its centre stands the \emph{Grothendieckian Machine}, designed in the first of the seven works, \emph{GAI-MUA: The Grothendieckian Machine} \cite{GAIMUA2026}, over the topos-native reasoning kernel designed in the second \cite{TNI2026}; the other five are research monographs that supply it with problems and obstructions. GAI-MUA Math is the engineering realisation of the Grothendieckian Machine: the machine built through its specification \cite{Spec2026} and set to work on the research problems of the programme. The adjective \emph{Grothendieckian} in these works ``names a mathematical method used in the seven works'' \cite[p.~39]{TGP2026}: it attributes nothing to a person. The method is the rising sea; the programme asks that it become an operation a machine can perform and a checker can audit, and the Grothendieckian Machine is designed to perform it. The engine is accordingly to be judged on two counts. As the realisation of the machine, it is judged against the specification of the machine, requirement by requirement, by a traceability that names for every requirement its module, its test and its receipt; Parts~\ref{part:system} to~\ref{part:engineering} of this paper describe the machine as built and the evidence that it was built as specified. As an instrument of the programme, it is judged by what it does on the programme's problems, recorded with its provenance and with the boundary of every claim; \cref{part:evaluation} reports that work. \subsection{The idea: from token continuation to world-scoped action}\label{sec:intro-idea} The programme volume describes the Grothendieckian Machine as ``a verification-first operating system for mathematical worlds, not as a monolithic language model'' \cite[p.~15]{TGP2026}. Both halves of the sentence carry weight. The positive half names what the system is organised around: worlds that are typed, versioned and checkable, and evidence that a party that does not trust the producer can replay. The negative half excludes an architecture in which capability grows by scale and correctness is hoped for downstream. The move it describes is ``from token continuation to world-scoped action'' \cite[p.~15]{TGP2026}: a query is not continued but compiled against an admitted world, a target, an assumption closure, a supported fragment, a resource envelope and a set of permitted operations, and when the construction a query needs does not exist, the system emits a typed record of the deficiency instead of the most plausible answer \cite[Chapter~1]{Spec2026}. The programme states the idea as twelve theses \cite{Theses2026}, and the specification turns each of them into a principle with a mechanism and a preregistered test. The first is that ``For a reasoning system, the unit of mathematical knowledge is a typed, verifiable world, not an isolated theorem'' \cite[Thesis~1]{Theses2026}. The fourth is that ``Attention can be rebuilt as descent'' \cite[Thesis~4]{Theses2026}: the second of the seven works, \emph{Topos-Native Intelligence} \cite{TNI2026}, rebuilds the reasoning substrate on sites and sheaves, so that a context is a site, the evidence about it is a sheaf of local information, and a conclusion is a global section, which exists exactly when the local data glue. Where they do not glue, the failure is a cohomology class that can be located and certified. The eighth thesis is the rising sea itself: ``Hard problems are better approached by raising the surrounding theory than by direct attack'' \cite[Thesis~8]{Theses2026}. And the eleventh asks that ``A mathematical reasoning system must be able to create notation and language, not only use them'' \cite[Thesis~11]{Theses2026}. Two further theses fix the discipline under which all of this happens. ``Operational completion does not imply mathematical validity, which does not imply epistemic promotion, which does not imply publication'' \cite[Thesis~6]{Theses2026}; and ``Machines may propose; humans authorize publication'' \cite[Thesis~7]{Theses2026}. Together they separate proposal from certification by capability rather than by convention: the components that generate candidates cannot sign them, and the components that can sign hold no power to generate. \Cref{sec:programme} sets out the twelve theses and the mechanism that carries each. \subsection{From the machine to an engine}\label{sec:intro-engine} Between the machine as designed and a running engine stands a specification. The seven works comprise thirty-four volumes of \DworksPages{} pages and \DworksChapters{} chapters \cite[p.~12]{TGP2026}: more structure than any reader holds in mind, and an implementer who proceeds from impressions builds something that resembles the architecture without behaving like it. \emph{GAI-MUA: The Engineering Specification} \cite{Spec2026} is the specification of the Grothendieckian Machine. It draws on all seven works and condenses them, to the single criterion of what an engineer must know to build the core engine of the machine and determine whether it conforms, into \DspecPages{} pages, \DspecParts{} Parts and \DspecReqs{} normative requirements. Every requirement carries the printed page of the work it comes from, the test that decides it, a profile and its status in the reference implementation. GAI-MUA Math is that reference implementation, version 1.0: \DspecImpl{} of the \DspecReqs{} requirements are implemented, each with an implementing module, a passing test and an effective receipt (\cref{sec:engineering}). \Cref{tab:levels} sets the programme, the machine, the specification and the engine side by side, and \cref{fig:arch} shows the engine whole: three rings of authority over an engineering base, with the mathematical reasoning in the first two rings and the only judge in the third. \begin{table}[ht] \centering\small \begin{tabular}{@{}>{\raggedright\arraybackslash}p{.2\textwidth} >{\raggedright\arraybackslash}p{.46\textwidth} >{\raggedright\arraybackslash}p{.27\textwidth}@{}} \toprule Level & What it is & Where it is stated\\ \midrule The programme & the research system: the twelve theses, the method of the rising sea, the fifty-seven problems and the seven works & \cite{TGP2026,Overview2026,Theses2026,Problems2026}; \cref{sec:programme}\\ The machine & the Grothendieckian Machine, a verification-first operating system for mathematical worlds, over a topos-native reasoning kernel & \cite{GAIMUA2026,TNI2026}; \cref{sec:gai-machine,sec:gai-tni}\\ The specification & the machine made precise: \DspecReqs{} requirements, each with its source, its test and its status & \cite{Spec2026}; \cref{sec:gai-spec}\\ The engine & GAI-MUA Math 1.0, the machine built: Lean, Python, a kernel service and pinned proposers, set to work on the problems of the programme & this paper; \cref{sec:gai-engine}\\ \bottomrule \end{tabular} \caption{From the programme to the engine. The programme states what is to be done, the machine is the instrument designed to do it, the specification makes the instrument precise, and the engine is the instrument built.} \label{tab:levels} \end{table} \begin{figure}[p] \centering \includegraphics[width=\textwidth]{figures/fig-arch.pdf} \caption{The engine whole: the Grothendieckian Machine as built. Proposals rise from the outer ring; certificates and receipts pass inward to the kernel, the only judge; the specification, the code and their receipts carry all three.}\label{fig:arch} \end{figure} \subsection{Creative reasoning, made checkable}\label{sec:intro-creative} Creative reasoning has, in this architecture, a precise meaning. It is not the sampling of new text but the construction, in answer to a certified obstruction, of something the input did not contain: a conjecture, a structure found on the raw data of the obstruction, a primitive of a new language, a world in which the obstruction disappears; and each construction is admitted by a checker that did not produce it. The engine organises this around four mechanisms, each the realisation of one or more theses. \begin{enumerate}[label=(\alph*)] \item \emph{The topos-native kernel} (\cref{sec:kernel}) computes, in nine layers, the site, the sheaf on it, the descent problem and its solution, and, where descent fails, the obstruction as a certified class. A theorem of the kernel turns a non-trivial holonomy into a proof that no global object exists (\cref{thm:holonomy}). \item \emph{Topos-MoE} (\cref{sec:moe}) routes proof experts by a coverage condition. An expert is the open sub-topos of a competence region; a family of experts is admitted only when its regions cover the goals of a proof sketch; the glued proof stands only when the kernel accepts it whole; agreement among the experts counts for nothing. \item \emph{The rising-sea loop} (\cref{sec:discovery}) turns a certified obstruction into a conjecture, a proof, new structure, a new language and a new world, each admitted by the kernel; only a certified obstruction triggers generation (\cref{prop:diagnostic}), and a world is admitted only as a definitional extension of Lean (\cref{thm:admit}). The method calculus (\cref{sec:methods}) supplies proved methods, each a skeleton of roles with a soundness theorem, so that discovery with a method is the search for a certified stand-in of every role. \item \emph{The self-reflective meta-layer} (\cref{sec:evolution}) reads the engine's own failures as obstructions of the same kind, ranks its next moves with a value model that orders and never decides, and writes repairs as code confined to an atom language behind a gate, under an evolution constitution in which no module judges what it produced. \end{enumerate} Language models are proposers throughout. They need not be large, because they need not be right: the coverage condition decides which of them is asked, and the kernel decides what they return. This is why the engine runs on one laptop GPU with \DgpuGB~GB of memory and open models of seven and eight billion parameters (\cref{sec:eval-compute}). \subsection{Contributions}\label{sec:intro-contrib} The paper makes seven contributions; each is implemented, and each is stated with the theorem, the requirement of the specification or the record that supports it. \begin{enumerate}[label=(\arabic*)] \item \emph{The engineering realisation of the Grothendieckian Machine} (\cref{part:system}). The machine at the centre of the Grothendieckian Programme becomes a specification of \DspecReqs{} requirements and an engine that implements \DspecImpl{} of them. The twelve theses of the programme become twelve principles, each carried by a mechanism and refutable by a preregistered test; the engine implements the clauses that \DthesesImpl{} of those tests decide (\cref{sec:programme}, \cref{app:theses}). \item \emph{A verification-first constitution} (\cref{part:constitution}). Three rings, five planes of authority, status as a type, the chain of non-implications, seven immutable roots and governed abstention, with the properties that matter proved in Lean: composition never strengthens a status (\cref{prop:compose}), a non-root component cannot make its own output both authoritative and active (\cref{thm:nonself}), and each of the four hypotheses of that theorem is necessary. \item \emph{A topos-native reasoning kernel} (\cref{sec:substrate,sec:kernel}). Finite sites, sheaves, descent and obstruction are decided in Lean and aligned with the sheaf condition of Mathlib (\cref{prop:align}); each of the nine layers has a Lean module that computes it exactly over the rationals, with the theorem that states what its verdict guarantees. \item \emph{Topos-MoE and the universe and language systems} (\cref{sec:moe,sec:universe}). Experts are open sub-toposes of competence regions, admitted by the coverage condition alone; the kernel refuses, by theorem, a family admitted on its scores (\cref{prop:noscores}). Worlds, notation and descent are proposed by systems that can propose and cannot certify. \item \emph{Recursive discovery and a calculus of proved methods} (\cref{sec:discovery,sec:methods}). Discovery is a checkable state machine driven by \DobsKinds{} kinds of certified obstruction; \DmclFamilies{} families of mathematical method are proved skeletons whose every role is shown necessary. \item \emph{Self-evolution under a constitution} (\cref{sec:evolution}). The engine changes itself only by steps that a checker other than itself accepted; no composition of the evolution interface reaches a protected capability (\cref{thm:inert}). \item \emph{Engineering on small compute} (\cref{part:engineering}). A specification of \DspecPages{} pages traced requirement by requirement to \DleanModules{} Lean modules and \DpyModules{} Python modules, \Dtests{} passing tests, \DmutAll{} killed mutants, \Dvectors{} shared test vectors and \Dgates{} software gates, built and run on one \Dgpu{}. \end{enumerate} \subsection{What the engine has done}\label{sec:intro-results} The release records its results once, on the frozen code (\cref{sec:eval}). In a masked-rediscovery task taken from the engine's own research frontier, \Dtargets{} theorems of its library are hidden together with everything after them and proved again, with the proof cache off: the closers alone prove \DablEzeroProved{}, and each model expert adds a second. A rerun of a preregistered research cycle agreed with its archive on all \DrerunCommon{} stages the archive records. The engine's research work is recorded with its provenance (\cref{sec:case}). In the build cycle of its campaign on the standard conjectures, the provenance ledger attributes \DengineSteps{} steps to the engine: masked theorems regenerated under the kernel's check, code repairs admitted through the gate, inferred programs grounded on \DfamCount{} families of hypergeometric motives and agreeing on every held-out member, a latent ranker that solved as many states as a learned one with fewer kernel calls, a square-class law checked on all \DfamCount{} families, and the total Lie algebras of \DuoneRings{} cohomology rings computed from their ring data alone. Earlier in the same campaign, the engine scanned \DscanData{} hypergeometric data and found, in rank five and Hodge type \((1,1,1,1,1)\), the hardest type of the scan, two new worlds besides the one already known; the three share one Levelt involution, and the walls predicted from their discriminants agree, prime by prime, with the exact Frobenius data. These worlds are the setting of the fixed-point theorem of Alien Hodge Motives \cite{AHM2026}. \subsection{Claims and their boundary}\label{sec:intro-claims} Every proof the engine returns has been replayed by the Lean kernel using no axioms beyond \code{propext}, \code{Classical.choice} and \code{Quot.sound}, and every number in this paper is read from a record of the release (\cref{app:reproduce}). The boundary of these claims is part of them. \begin{itemize} \item We report no comparison with other provers and no ranking. The masked-rediscovery task is not a standard benchmark; it measures the engine on its own research frontier. Results on the standard benchmarks miniF2F and PutnamBench \cite{MiniF2F2022,PutnamBench2024} are deferred to version 1.1. \item Proofs taken from the cache are not counted as proved. Where the archived run of the task proved more than the release run, the difference is reported (\cref{sec:ablation}). \item Of the \DspecReqs{} requirements of the specification, \DspecImpl{} are implemented in version 1.0; the others are listed by Part in \cref{app:trace}. \item We do not prove the standard conjectures. The main theorem of Alien Hodge Motives rests on stated geometric hypotheses and concerns numerical classes; the paper has not been refereed. Only the steps that the provenance ledger records as the engine's are presented as the engine's. \end{itemize} \subsection{Organisation}\label{sec:intro-org} \Cref{part:system} presents the programme and the machine: the research system and its twelve theses (\cref{sec:programme}), and the Grothendieckian Machine, its specification and the engine that realises it (\cref{sec:gaimua}). \Cref{part:constitution} states the constitution (\cref{sec:constitution}), the evidence model (\cref{sec:evidence}) and the mathematical substrate (\cref{sec:substrate}). \Cref{part:reasoning} presents the reasoning engine: the kernel (\cref{sec:kernel}), Topos-MoE (\cref{sec:moe}) and the universe and language systems (\cref{sec:universe}). \Cref{part:discovery} presents recursive discovery (\cref{sec:discovery}), the method calculus (\cref{sec:methods}) and self-evolution (\cref{sec:evolution}). \Cref{part:engineering} presents formal verification (\cref{sec:verification}) and the engineering (\cref{sec:engineering}). \Cref{part:evaluation} reports the evaluation (\cref{sec:eval}) and the case study (\cref{sec:case}), relates the work to others (\cref{sec:related}) and states its boundaries (\cref{sec:boundaries}). The appendices give the commands that reproduce every number, the traceability of the specification by Part, the Lean declarations behind every anchored statement, the records of the release, and the preregistered tests of the twelve principles.