math.CT — Category Theory
Functorial Type Theory: the endash Proof Assistant for ω-Categories with a Certified Computer Algebra System
Dependent type theory makes variable substitution computational; category theory makes covariance, contravariance, naturality, and transport along non-invertible arrows explicit. \textbf{Functorial Type Theory}~\cite{endash-monographs2026} unifies both disciplines inside a single foundational language in which variables range over objects and morphisms of categories, dependent families carry functorial transport, and naturality is an internal operation that computes by cut elimination~\cite{dosen1999} rather than an external proof obligation. Earlier logical-framework realizations (\code{emdash} v3.2 in Lambdapi) demonstrated that synthetic arrow induction, directed higher inductive types, and sieve-based geometry compute effectively, but paid two structural costs: reliance on an external logical-framework rewrite engine (\code{1,156} rewrite rules and \code{210} unification hints) and a -line profunctor/\code{Q}-valued identity ladder mediating dependent hom-categories and iterated dualities. We introduce \textbf{\code{endash}}, a standalone direct proof-assistant kernel, Lean-compatible \code{.en} surface elaborator, and LCF-certified computer-algebra platform that eliminates both the external logical-framework detour and the \code{Q}-valued profunctor ladder. Its \code{17,430}-line TypeScript Trusted Computing Base implements a bidirectional \textbf{Normalization-by-Evaluation (NbE)} checker governed by six structural invariants: (1)~stratification between strict -categories $\StrictCat(u)$ and Gray meta-categories $\GrayCat(u)$, preventing Godement interchange collapse on lax transformations; (2)~canonical eventually-constant bitstream dualities $\DGrp \cong \mathbb{Z}_2^\omega$ represented without normalization passes as \code{\{ diff: bigint, tail: boolean \}} and closed in bitwise operations under hom-shifting and dependent-family base shifting; (3)~bunched modal contexts separating Cartesian product bunches (\code{,}) from ordered Gray telescopes (\code{;}); (4)~generic functorial neutral variables deciding -functor conversion in steps without collapsing terminal-object categories; (5)~substitution-stable Kosta Do\v{s}en morphism spines paired with \code{Q}-free coinductive transformations $\Transf^\pm$ and 2-periodic polarized Grothendieck constructions in which open-family associativity and directed Yoneda -laws hold judgmentally by \code{refl}; and (6)~topological-height \textbf{Glued NbE} (\code{v-glued})~\cite{coquand-kovacs2019} with speculative same-head congruence, height-ordered fallback forcing, lazy memoized -neutrals, and native \code{BigInt} numerals. Outside this small kernel, an untrusted \code{.en} elaborator and \code{18} exact \code{BigInt} computer-algebra engines synthesize unimodular Smith Normal Form~\cite{smith1861}, Gr\"{o}bner, projective-resolution, Schreier--Sims, Todd--Coxeter, Frobenius-trace, and finite Fourier--Gauss witnesses, reifying every certificate into explicit Core proof terms checked with zero axioms. Together, these components verify \textbf{\code{7,721} axiom-free declarations} across \code{80} modules and \code{10} showcases, supporting a three-volume machine-checked monograph series spanning univalent foundations~\cite{hott2013}, Grothendieck sheafification~\cite{ega-sga}, Lurie-style synthetic \emph{Higher Algebra}~\cite{lurie-ha} (including the Abelian Heart Theorem~\cite{bbd1982}), constructive scheme theory ($\Pic(\mathbb{P}^1_R) \cong \mathbb{Z}$, Grothendieck--Riemann--Roch), the sharp genus-1 Hasse curve bound (), the short sign-only Deligne Frobenius Weil bound~\cite{deligne1974} (\code{arXiv:2611.00789v1}) modulo isolated pre-1993 \'{e}tale/Weak-Lefschetz hypotheses, choice-free spherical Behrend sets~\cite{behrend1946}, and a four-status epistemic audit of the constructive Dirichlet GRH spine~\cite{alpoge2026,sernau2026}.