\section{Formal verification and the Lean bridge}\label{sec:verification} Every verdict of the engine reaches, in the end, a proof assistant, and this section states how a claim reaches it and what comes back \cite[Part~VIII]{Spec2026}. Four questions are kept apart throughout, and conflating any two is the characteristic failure of a verification lane. Whether the formal statement means the mathematics it names is a question of fidelity. Whether the proof object passes the checker is a question for the kernel. Whether the checker's own base is small enough to be trusted is a question about the trusted computing base. And whether a release may claim what it claims is a question for a gate that reads the records of the first three. \subsection{The trusted computing base}\label{sec:ver-tcb} Naming a component the kernel does not make it small or trusted. The specification adopts the definition that determines membership rather than reputation: the trusted computing base is the transitive set of mechanisms whose failure can make an invalid judgment appear valid \cite[Chapter~67]{Spec2026}. Applying the definition enlarges the base beyond what a diagram shows. It includes the rule checker; the parser or deserialiser used for proof objects; declaration lookup; the reduction and equality procedures; any trusted extension; and the mechanism that binds the target and environment digests to the invocation. Optimisations that bypass the kernel enlarge it further, and the engine excludes them: the axiom audit of the release (\cref{sec:ver-audit}) refuses \code{native_decide}, \code{ofReduceBool}, \code{implemented_by}, \code{extern}, \code{unsafe}, \code{partial}, \code{sorry} and every declared axiom on the trusted path, and refuses any theorem whose axiom closure contains anything beyond \code{propext}, \code{Classical.choice} and \code{Quot.sound}. \subsection{Target fidelity}\label{sec:ver-fidelity} Target fidelity asks whether the formal target is the intended object of judgment, and the specification opens by saying what it is not: a textual similarity score. A fidelity record enumerates the source binders and sorts, the symbol interpretations, the imported definitions, the assumptions, the quantifier domains, the equality notion, the universe restrictions and any normalisation applied, and having enumerated them it names one relation from a closed taxonomy, from exact equivalence to a stated weakening; the relation is the content of the record \cite[Chapter~68]{Spec2026}. Fidelity is precommitted: the target is sealed before any proof is attempted, so that the target cannot drift while the search runs, and a checked proof of the wrong statement is recorded as exactly that. \begin{proposition}[Fidelity certificates]\label{prop:fidelity} On the fragment the engine compiles, an accepted fidelity certificate has a target whose canonical form is that of the compiled source, under a map that names each word once and agrees with the declared library on every use; and the checker is complete for the fragment, accepting every faithful certificate. Two renderings of one target have one seal: the seal is a function of the canonical form. \end{proposition} \lean{GaiMua.Formal.Fidelity.checkCertificate_sound, GaiMua.Formal.Fidelity.checkCertificate_complete, GaiMua.Formal.Fidelity.seal_canonical} \subsection{Five judgments of the Lean bridge}\label{sec:ver-bridge} A successful proof run is easy to overstate: the same command may run twice, a kernel may accept a term, a signature may verify, and the theorem may nevertheless be mistranslated, depend on an unapproved axiom, or remain outside any authorised status claim. The bridge therefore separates five judgments, each recorded with what its success does not establish (\cref{fig:lean}): same-code replay, independent replay, kernel acceptance, axiom closure and authenticity \cite[Chapter~69]{Spec2026}. A receipt carries all five values rather than one verdict. The engine's kernel service is the bridge in operation: its method \code{check} replays a statement and a proof through the Lean kernel and returns the axiom closure, and a proof is accepted only when the closure lies within the three standard axioms. \begin{figure}[t] \centering \includegraphics[width=\textwidth]{figures/fig-lean.pdf} \caption{The five judgments of the Lean 4 bridge: independent, and carried together by every receipt. Figure of the specification.}\label{fig:lean} \end{figure} \subsection{The axiom audit and the conjunctive gate}\label{sec:ver-audit} The release audits its own Lean library as it audits any proof. The audit builds the library with no error and no warning; enumerates every declaration of the library with its axiom closure, \DleanDecls{} declarations in all; refuses any closure beyond the three standard axioms and any of the constructs of \cref{sec:ver-tcb}; scans the source of the trusted path, with comments and strings removed, for the same constructs, the scanner itself first run on a counterexample that it must flag; runs negative controls, a module of deliberately defective declarations each of which the audit must flag with its code; and checks that every theorem printed in the specification still exists under the same name, carries its requirement and has exactly the axioms the specification prints. The audit finds \DleanTheorems{} trusted theorems, of which \DleanReqTheorems{} are bound to a requirement. Every Lean statement anchored in this paper is one of them (\cref{app:anchors}). The verdict of a release is a conjunction over a frozen inventory, ``not weighted, averaged, scored or thresholded'' \cite[p.~3130]{TNI2026}. Four properties of such a gate are proved in the source (\cref{fig:gate}): it is fail-closed, so that an absent record makes its value false; monotone; non-compensatory, so that no surplus of verified conjuncts compensates for one failing conjunct; and resistant to selection, because its quantifier ranges over the inventory rather than over the records submitted. The argument for conjunction is an incentive argument: a scored gate is satisfiable by adding easy assertions, and the easiest assertions to add are those with the least content. Every gate of the engine's release is of this form (\cref{sec:engineering}). \begin{figure}[t] \centering \includegraphics[width=\textwidth]{figures/fig-gate.pdf} \caption{The four proved properties of the conjunctive release gate: not weighted, averaged, scored or thresholded. Figure of the specification.}\label{fig:gate} \end{figure} \subsection{AURORA-K0, a small formal kernel}\label{sec:ver-k0} AURORA-K0 is the small formal kernel that the experimental boundary of the language system targets. A formal kernel is not obtained by renaming a long technical specification; AURORA-K0 is small because every construct in it has to be justified, and its smallness is what makes its metatheory finite and nameable \cite[Chapter~71]{Spec2026}. The engine formalises the metatheory in Lean, and the formalisation did what a formalisation is for: one of the metatheorems as the source states it is false, and the library refutes it with a machine-checked counterexample and proves the corrected form. \begin{theorem}[The metatheory of AURORA-K0]\label{thm:k0} \begin{enumerate}[label=(\alph*)] \item Every rule of K0 is valid in the structure that models it, and in a context satisfied by a structure no witness of a proposition false in the structure is derivable; K0 is consistent in that sense for every edition. \item Registered reduction preserves typing, and on a certified alias table there is no infinite chain of registered steps. \item A receipt name supports one statement in a well-formed context and cannot witness another, and substitution that changes a receipt's statement does not carry the receipt's authority to the new statement. \item The substitution metatheorem as stated in the source is refuted by a machine-checked counterexample; substitution of a term of type \(A\) for the last declaration \(x:A\) preserves typing. \end{enumerate} \end{theorem} \lean{GaiMua.K0.sound, GaiMua.K0.no_false_witness, GaiMua.K0.k0_consistent, GaiMua.K0.subject_reduction, GaiMua.K0.strongly_normalizing, GaiMua.K0.no_transplant, GaiMua.K0.no_transplant_subst, GaiMua.K0.meta003_refuted, GaiMua.K0.subst_last} \subsection{What the kernel cannot supply}\label{sec:ver-limits} Three gaps are structural rather than incidental, and none of them is closed by any amount of checking \cite[Chapter~72]{Spec2026}. The first is adequacy: whether the formal statement denotes the proposition a reader takes it to denote; target fidelity narrows this gap and a human reading closes it. The second is soundness and consistency: whether the calculus is sound and the axiom set consistent; for Lean with its three standard axioms this is a matter of the metatheory of the calculus, not of anything the engine does. The third is the step from any formal object to a deployed system: the engine's records show which code produced which result, and the reproducibility of \cref{sec:engineering} lets anyone repeat the step, but the step itself is engineering.