\section{Topos-MoE}\label{sec:moe} A proof of a hard statement is rarely written in one piece. A model that writes whole proofs leaves goals open; a step prover closes local goals but cannot plan; the closing tactics of Lean finish what is routine. Topos-MoE routes such experts by the structure of what remains to be proved, and its decisions are those of the topos of presheaves on that structure. The idea is the one the second work names for the selection of evidence: retrieval should be scored by sufficiency, not by similarity \cite[p.~50]{TNI2026}. In a mixture of experts a router scores the experts and a gate mixes their outputs \cite{Jacobs1991,Shazeer2017,Fedus2022}; agreement among experts is evidence of a kind. Topos-MoE replaces the score by a coverage condition and the mixture by gluing, and both replacements are decided by the kernel \cite[Chapter~35]{Spec2026}. \subsection{The routing site and the experts}\label{sec:moe-site} \begin{definition}[The routing site]\label{def:routing} The \emph{routing site} is the finite poset of goal classes ordered by difficulty: \(0\), \emph{closable}, a goal that a closing tactic or a decision procedure finishes; \(1\), \emph{local}, a goal of a proof sketch, solved on its own tactic state; \(2\), \emph{statement}, a whole statement; with \(0\le1\le2\). The class of a goal is decided by trying: a goal that a closer finishes is of class \(0\). \end{definition} \begin{definition}[Competence region]\label{def:region} A \emph{competence region} is a down-closed set of classes, that is, a subterminal object of the presheaf topos \(\Psh(P)\) on the routing site \(P\). An expert's identifier is not a region; a set of classes that is not down-closed is not one either. \end{definition} \begin{proposition}[Regions are subterminal]\label{prop:region} If the kernel accepts a region, its classes are objects of the routing site, and with every class it contains every smaller class. \end{proposition} \lean{GaiMua.Subtopos.region_sound, GaiMua.Subtopos.checkRegion} \begin{definition}[Expert]\label{def:expert} The \emph{expert} of a region \(R\) is the open sub-topos \(\Psh(R)\hookrightarrow\Psh(P)\), presheaves on the region, with its essential adjoint triple \(j_!\dashv j^*\dashv j_*\): extension by the empty set off the region, restriction to the region, and the right Kan extension along the inclusion. A closed sub-topos, which carries no left extension, is refused when it claims one. \end{definition} \begin{proposition}[An open realisation records its triple]\label{prop:triple} If the kernel realises an expert as the open sub-topos of an accepted region, the record it returns carries the left extension, the inverse image and the direct image. \end{proposition} \lean{GaiMua.Subtopos.open_records_triple, GaiMua.Subtopos.realiseExpert} Down-closed sets of a finite poset are the open sets of its Alexandrov topology, and the subterminal objects of \(\Psh(P)\) are exactly these. A family of experts is therefore a family of opens, and the natural question to ask of it is the question asked of an open cover: whether its union contains what has to be covered. \begin{definition}[Sketch, sieve and admission]\label{def:admission} A \emph{sketch} of a statement is a proof with goals left open; the classes of its open goals form its \emph{sieve}. A family \(F\) of experts with regions \(R_e\) is \emph{admitted} for the sketch when every class of the sieve lies in \(\bigcup_{e\in F}R_e\). The router selects, for every class present, the cheapest routed expert whose region contains it; if some class lies in no routed region, the run stops and returns the uncovered classes as its obstruction. \end{definition} The admission is the coverage condition alone; no score enters it. A family is never admitted because the router scores its members highly, and the kernel refuses such a move by theorem. \begin{proposition}[Scores are not a cover]\label{prop:noscores} The kernel refuses a routed family offered for admission on its router scores alone, whatever obligations are discharged; the failure code is \code{F-MOE-SCORES-AS-COVER}. \end{proposition} \lean{GaiMua.Licence.Table.r_MOE_007_scores_as_cover_refused} \begin{construction}[Gluing]\label{con:gluing} Each goal of the sieve is solved by the expert selected for its class, and the solutions are composed into the sketch as \code{have} steps. The \emph{gluing condition} is the kernel's check of the assembled proof: the glued proof stands only when the kernel accepts it whole. Agreement among experts counts for nothing. \end{construction} Each run leaves two records, and both are submitted to the kernel's record judgment. The record \code{RoutedFamily} states the selection, the sufficiency predicate, the costs, the links by which outputs are combined and the router's input; the record \code{ExpertGluingRecord} states the nerve of the solved goals, the combine link, the glued output with the kernel's verdict, and the status of the gluing class. \begin{proposition}[The records]\label{prop:records} A \code{RoutedFamily} or \code{ExpertGluingRecord} that the kernel accepts carries every required field in its required form. The kernel refuses a glued output presented as independent of the combine link that produced it, and refuses a verdict of \emph{no edges} reported as agreement between experts. \end{proposition} \lean{GaiMua.Licence.Records.s_RoutedFamily_sound, GaiMua.Licence.Records.s_ExpertGluingRecord_sound, GaiMua.Licence.Table.r_MOE_016_glued_without_link_refused, GaiMua.Licence.Table.r_MOE_018_no_edges_as_agreement_refused} \begin{principle}[Acceptance]\label{pri:accept} In the implementation, a proof is accepted in one place only: where the kernel's check of the assembled proof returns success (requirement \code{GM-MAT-003}). What the experts report about the proof, and whether they agree, is not consulted. \end{principle} With one expert and nothing to glue, the construction degenerates to a sequential pipeline, and the gluing record says so: its class status is \emph{no edges}, which by \cref{prop:records} is never reported as agreement. \subsection{Why a coverage condition}\label{sec:moe-why} The construction is the kernel's own mathematics applied to the engine's own work. The goals of a sketch are local pieces of one proof; their classes form a sieve on the routing site; a family of experts is a family of opens of the Alexandrov topology; and the admission question, whether the union of the chosen regions contains the sieve, is the covering question of a site. Each expert solves its goals on its own tactic state, which is a local section; the composition of the solutions into the sketch is the gluing; and the kernel's check of the assembled proof is the condition that the local sections define a global one. When that check fails the run does not return a mixture of partial proofs, any more than descent returns an average of incompatible sections: it returns the obstruction, the classes that no admitted region reaches or the goals whose solutions did not glue. Three consequences follow, and each is a property a scored mixture does not have. First, the decision to admit a family is decidable from the regions alone, before any expert runs, so that a run that cannot succeed is refused at once and says why. Second, the admission is monotone in the regions: enlarging a region can admit a family that was refused, and can never refuse one that was admitted. Third, the correctness of the result does not depend on the experts at all. An expert can be replaced, quantised, retrained or wrong, and the guarantee is unchanged: a proof the engine returns is one the kernel accepted whole. \subsection{Proposers inside the loop}\label{sec:moe-proposers} This is the place of the language models in the engine. They are proposers in Plane~B: they write proofs, choose tactics and write code, and nothing they write is believed. What makes them useful is the structure round them. The routing site tells each model which goals are its to solve; the kernel's messages are returned to the model that wrote a failing step, so that it repairs its own proof against the checker; the sketch a model leaves open becomes the sieve the other experts are asked to cover; and the meta-layer records each model's failures as obstructions of the engine (\cref{sec:evolution}). A model of seven or eight billion parameters, run on a laptop, is a sufficient proposer under this discipline, because the discipline, not the model, carries the guarantee. The specification states the general form: an optional language-model proposer is admissible precisely because it changes nothing about what the system can conclude \cite[Chapter~3]{Spec2026}. \subsection{The experts of version 1.0}\label{sec:moe-experts} Of the \DexpertsDeclared{} experts declared, \DexpertsRouted{} are routed; the kernel admits every routed region, and realises every routed expert as an open sub-topos, before any goal reaches it, and a refusal stops the run (\code{GM-MAT-001}). \Cref{fig:moe} shows them. \begin{itemize} \item \(\Ex0\), the closers, region \(\{0\}\): the closing tactics and decision procedures of Lean and Mathlib. \item \(\Ex3\), the step search, region \(\{0,1\}\): BFS-Prover-V2-7B \cite{BFSProverV2} proposing tactics, followed by Lean's own library search and closers in a best-first search. \item \(\Ex2\), the whole-proof expert, region \(\{0,1,2\}\): Goedel-Prover-V2-8B \cite{GoedelProverV2} writing whole proofs, repaired step by step and corrected from the kernel's messages; what stays open is its sketch. \item \(\Ex1\), premise retrieval; \(\Ex4\), code generation for the meta-layer; \(\Ex5\), an optional external proposer: declared, not routed. \(\Ex1\) is the kernel's premise index and proves nothing; \(\Ex4\) writes the atoms of \cref{sec:meta}; \(\Ex5\) is off unless both a campaign manifest and a switch on the host enable it. \end{itemize} \begin{figure}[t] \centering \includegraphics[width=\textwidth]{figures/fig-moe.pdf} \caption{Topos-MoE. Experts are open sub-toposes of competence regions; a family is admitted by the coverage condition alone.}\label{fig:moe} \end{figure} \subsection{One run, as recorded}\label{sec:moe-run} \Cref{fig:run} follows one statement through Topos-MoE, as the engine recorded it in the release. The statement is \[ \forall n\in\N,\qquad \Bigl(\sum_{i=0}^{n} i\Bigr)\cdot 2 = n(n+1), \] given to the engine in Lean syntax with the namespace \code{Finset} open. First the declarations: every region and every expert judged by the kernel, in \DsmokeDeclSec{} seconds. No closer finishes the statement, so the run passes to the whole-proof expert, which wrote a whole proof, repaired against the kernel, in \DsmokeExpertSec{} seconds. The family is \(\{\Ex2\}\), its sufficiency predicate holds, and the assembled proof checked whole by the kernel is accepted. The two records, \code{RoutedFamily} and \code{ExpertGluingRecord}, judged by the kernel, are both accepted; the gluing record reports no edges, and the solved goal names the expert that solved it. The proof the kernel accepted is described, with its digest, in \cref{app:rec-proof}. \begin{figure}[t] \centering \includegraphics[width=\textwidth]{figures/fig-run.pdf} \caption{One run of Topos-MoE, as recorded. Every verdict on the way is the kernel's.}\label{fig:run} \end{figure}