Volume 0 — endash Direct-Kernel Foundations Edition (1.3.0-endash)
This monograph is Volume 0 of the multi-volume endash series: Functorial Type Theory: Univalent Foundations for Mathematics. The WalkingEnd/Nat encode–decode argument remains its mathematical centre. Around it:
- a first spiral (Chapters 1–8) develops
endash's directQ-free normalization-by-evaluation (NbE) kernel, bunched contexts,/;, bitstream dualities{ diff, tail }, directed families, univalence, induction, and theWalkingEndcalculation; - a second spiral (Chapters 9–17) develops Došen cut elimination (including the raw product-projection functor cut), ordinary and univalent category theory, dagger structure, Karoubi idempotent completion , the Structure Identity Principle (
SIP), Rezk completion, semantic end/coend weighted limits and colimits, Grothendieck fibrations with straightening–unstraightening, computational directed join , and the Cone–Coslice adjunction; - a third spiral (Chapters 18–24) follows Yoneda's probes through presheaves, sieves, effective descent cocycles, and
0-axiomSheafifycover completion into constructive algebraic geometry, proving , non-affineness , and LCF-certified twisting-sheaf Čech cohomology ; - a fourth spiral (Chapters 25–28) returns from directed motion to its groupoidal realization via the Circle (), source-functorial
Groupoidifywith the fullGroupoidify ⊣ Pathadjunction, andGrayCatlax interchangers; - a fifth spiral (Chapter 29) constructs variable-dimensional dependent simplices, simplicial/cubical codegeneracies, mixed-variance
homdc, and groupoidal Kan box fillers; - a sixth spiral (Chapter 30) develops monads, Cartesian products, , Frobenius reciprocity, and HoTT
Pushout/Trunc0higher inductive types; - a seventh spiral (Chapter 31) constructs
AbelianCathomology, the general 6-Term Snake Lemma, the Long Exact Sequence, and LCF-certifiedBigIntSmith Normal Form / Gröbner / syzygy computations; - an eighth spiral (Chapter 32) establishes classical Lean 4
Init.Data.Listsubsumption viaListCat(C)together with exploratory directed cone spectra ( and relative cone-pair cohomology ); and - a ninth spiral (Chapter 33) develops constructive finite combinatorics (
Fintype1, Pigeonhole, finite cardinalities, Pascal binomials, commutativefinFold), permutations with intrinsic homomorphic sign and alternating groups , and Bezem–Buchholtz–Cagne–Dundas–Grayson univalent loop groups paired with small directed deloopings , principal -torsors, the First Isomorphism Theorem, Orbit–Stabilizer, Lagrange's Theorem, and Burnside's Orbit-Counting Lemma, handing off directly to Volume I: Synthetic & Computational Higher Algebra.
The foundational convention is strict public functors in StrictCat(u), conventional lax transformations in Transf(±) / GrayCat(u), Cartesian coefficient categories for directed families, 2-periodic Sigma(±), and direct Q-free dependent Hom_d (homd / homdc) evaluated natively by NbE. The active 0-axiom endash kernel and standard library (endash/src/ and endash/stdlib/en/) are the mathematical authority whenever prose and code disagree.
Book record: 10.5281/zenodo.21544186. Code and source: github.com/hotdocx/emdash. The bibliographic self-reference identifies this volume.
Copyright © 2026 the emdash and endash contributors. Except where separately identified, the book text is licensed under CC BY-SA 3.0. See Credits and Third-Party Attribution and the source files CREDITS.md and LICENSE.md.
Formal status — scope boundary. Every
checkedclaim inevidence.jsonresolves to an axiom-free (0-axiom)endashdeclaration and an executable test suite. Global metatheorems (confluence, strong normalization, and semantic soundness of arbitrary future extensions) remain explicitly labeledresearch-boundaryin Appendix G.7.
Preface
The emdash and endash contributors maintain this monograph series and its accompanying 0-axiom formal codebase together. The book DOI identifies the foundational book record; the source repository holds both the frozen archival v3.2 specification and the active standalone endash direct-kernel proof assistant (endash/). A full citation appears in the bibliography.
Type theory is often introduced through terms and substitution. Category theory is often introduced through objects and arrows. Functorial type theory starts from the conviction that these are not two unrelated beginnings. Substitution has action; action has coherence; and a useful formal language should retain that structure rather than recover it after the fact.
The resulting theory has two kinds of motion. Equality supplies groupoidal paths in Grpd(u): they can be reversed, transported along, and compared through equivalence and univalence. Categories in StrictCat(u) and GrayCat(u) supply directed arrows: an arrow may have no inverse, and that failure is mathematical information. Functors act on both objects and higher arrows, preserving identities and composition strictly. Admitted category-valued families turn dependent substitution into covariant directed reindexing. Coinductive transformations Transf(±) and their higher components retain coherent, potentially noninvertible comparisons.
This foundational volume (Volume 0) is organized around a single central calculation because a foundation is best learned while it is doing something. Consider an opaque directed higher-inductive category generated by a base object and one directed endomorphism . Its endomorphisms look like
The calculation proves that this list is exhaustive with 0 axioms:
The proof is not obtained by defining the hom to be a datatype of words. Instead it constructs a -valued code, transports zero forward along a directed arrow, builds a contextual decoder, and produces a directed normalization cell from every based arrow toward its coded power. Only then does one-dimensionality turn that cell into equality. In Chapter 8 and Chapter 32, Cat.ListBridge strengthens this carrier equivalence to a monoid-preserving equivalence with List Unit.
The argument deliberately echoes in the Homotopy Type Theory book without collapsing direction into invertibility. The Circle needs positive and negative integer powers via groupoid univalence; WalkingEnd has only natural powers along a non-invertible successor functor. Only when we apply free groupoidification in Chapter 27 do we recover .
The exposition follows nine concentric spirals:
- First spiral (Prologue, Chapters 1–8):
endash's directQ-free NbE judgments, bunched contexts,/;, bitstream dualities{ diff, tail }, directed families, 2-periodicSigma(±), logic, equivalence and univalence,PathOutinduction, directed HITs, truncation height, and the completeWalkingEndencode–decode proof plus monoid addition compatibility (WE-COMPOSITION-ADDITION). - Second spiral (Chapters 9–17): Došen's calculus of cuts, precategories and categories, functors and transfors, adjunctions and monads, Yoneda and profunctors, strict vs. univalent categories (
BZ2separation) and dagger categories (SIP.DaggerCat1), the Structure Identity Principle (SIP.sip_univalent_cat1andCommRingunivalence ) and Rezk completion, weighted limits (RAPL), computational directed join ( by NbErefl, whole mapping equivalence, opposite swap), and the Cone–Coslice adjunction . - Third spiral (Chapters 18–24): Presheaves, sieves, Grothendieck topologies, and
0-axiomSheafifycover completion (Sheaf.sheafify_is_sheaf, reflector , idempotence, and binary-product / exponential sheaf preservation), followed by universal-property commutative algebra, Zariski principal sieves , binary site-relative schemes, Laurent overlaps, global sections , constructive non-affineness , and LCF-certified twisting-sheaf Čech cohomology for over and . - Fourth spiral (Chapters 25–28): Groupoidal product paths and transport, the higher inductive Circle and , category-indexed
Groupoidify(C)with checked source functoriality (Groupoidify.map) and the full reflection adjunctionGroupoidify ⊣ Path, andGrayCatlax interchangers (GrayInterchanger.whiskering_ne). - Fifth spiral (Chapter 29): Variable-dimensional dependent simplices via iterated
PathOut, simplicial and cubical face/codegeneracy categories, mixed-variancehomdc, and groupoidal Kan box fillers (hcomp2) contrasted with directed horn non-filling. - Sixth spiral (Chapter 30): Triangular binary products, terminal contraction, slice base change , Frobenius reciprocity (
LCCC.frobenius_equiv), and HoTTPushout(f, g)and set-truncationTrunc0(X)higher inductive types. - Seventh spiral (Chapter 31): Preadditive, additive, and
AbelianCatcategories, functorial homology, the general0-axiom 6-Term Snake Lemma (Snake.six_term_exact), the direct Long Exact Sequence (LES.exact_at_HB,LES.direct_delta_and_snake_agreement), and LCF-certifiedBigIntSmith Normal Form, Gröbner basis, and syzygy homological certificates (Algebra.CAS). - Eighth spiral (Chapter 32): Two-act classical Lean 4 subsumption (
Init.Data.List+Cat.ListBridge) and exploratory directed cone spectra (Cat.DirectedSpectra: , bare-cone groupoidification collapse vs. relative cone-pair cohomology ). - Ninth spiral (Chapter 33): Constructive finite combinatorics (
Fintype1, Pigeonhole, finite cardinalities, Pascal binomials,finFold), permutations with intrinsic homomorphic sign and alternating groups , and univalent concrete loop groups paired with small directed deloopings , principal -torsors, the First Isomorphism Theorem, Orbit–Stabilizer, Lagrange's Theorem, and Burnside's Orbit-Counting Lemma, completing the bridge into Volume I: Synthetic & Computational Higher Algebra.
Appendix G states how the .en mathematical surface, bidirectional elaborator and tactic engine, incremental .ensnap packages, LCF CAS bridge, and ~2,690 LOC trusted Q-free NbE kernel fit together.
Formal status — mathematical development. This preface states the multi-volume programme. Every theorem-like claim in Chapters 0–33 carries its own status and, when
checked, a machine-verified0-axiom link inevidence.json.
How To Read This Book
This book is Volume 0 (Foundations) of a two-volume formal monograph series. Readers aiming directly for pointed homotopy theory, spectra, stable -categories, triangulated homotopy categories , t-structure Abelian hearts , spectral sequences, and multiplicative Ext algebras can consult Chapters 1–2, 26, 30, 31, and 32 here before opening Volume I (Synthetic & Computational Higher Algebra).
Within Volume 0:
- The shortest route is the prologue followed by Chapter 8 (
WalkingEnd(base, base) ≃ Nat). - The foundational route reads Chapters 1–7 first and returns to Chapter 8 with every kernel interface in hand.
- The category and univalence spiral runs through Chapters 9–17, culminating in
SIP, Rezk completion, weighted limits/colimits, computationalJoinCat, and the Cone–Coslice adjunction. - The local-to-global geometry spiral runs through Chapters 18–24, culminating in
0-axiomSheafify, global sections , non-affineness over , and certified Čech cohomology. - The groupoidal, higher-dimensional, and homological spirals span Chapters 25–32, culminating in
Circle,Groupoidify ⊣ Path,GrayCat, simplicial/cubical nerves and Kan fillers, LCCC Frobenius &Pushout/Trunc0,AbelianCatSnake/LES + LCF CAS, LeanListsubsumption, and exploratory directed cone spectra.
Five reading paths make the dependencies explicit:
| Reader | Main path | Consult when needed |
|---|---|---|
| type theorist | Prologue; Chapters 1, 3–8, 10, 12, 15, 25–27, 29, 30, and 32 | Chapters 2, 9, and 28 for directed action and laxity; Appendix G for the Q-free NbE kernel |
| category theorist | Prologue; Chapters 2, 5, and 8–32 | Chapters 1, 3, 4, and 7 for equality, propositions, univalence, and height |
| algebraic geometer | Chapters 13, 16, 18–24, 30, and 31 | Chapters 2, 3, 5, 6, and 12 for directed families, HITs, and adjunctions |
| higher-algebra reader (preparing for Vol. I) | Chapters 1, 2, 12, 17, 26, 27, and 30–32 | Volume I, Chapters 1–5 for , stable categories, , AHSS/UCSS, and Ext algebras |
| implementer / external reviewer | Chapters 1, 2, 8, 14, 15, 20, 24, 27, 31, and 32; Appendices A, B, E, F, and G | endash/playground/index.html and dist/books/ Blueprint |
Executable Review And Browser Prover
To verify every <!-- evidence:... --> claim, cross-volume reference, and literate ```en block offline:
node endash/dist/endash-cli.cjs book check
node endash/dist/endash-cli.cjs book build
Opening endash/dist/books/index.html launches the zero-CDN static Two-Volume Reader & Interactive Blueprint, with direct "Open in Playground" links into endash/playground/index.html (< 190 KiB gzipped browser prover engine + pre-verified 0-axiom stdlib snapshot pack).
Notation Conventions
Composition is written in diagrammatic categorical order:
means “first , then .” Public functors in StrictCat(u) preserve identities and composition strictly; default transformations in Transf(±) are conventional lax. Admitted directed families use the Cartesian coefficient category, 2-periodic Sigma(±), and direct Q-free dependent Hom_d (homd / homdc). Bitstream dualities { diff, tail } distinguish dimension-one op (), dimension-two co (), above-one coAbove2 (), and all-positive totalOp ().
Evidence Status
Every theorem-like assertion carries one of four statuses in evidence.json:
- Checked. An active
0-axiomendashdeclaration (printAxioms === []) and an executable test suite establish the stated interface. - Formal consequence. The assertion follows directly from named checked
0-axiom interfaces. - Mathematical development. Exposition in ordinary mathematics with stated formalization prerequisites.
- Research boundary. A metatheoretic or higher-coherence question deliberately outside the current checked library, carrying zero purported owners.
Adapted HoTT passages and licenses are recorded in references/third-party-sources.json under CC BY-SA 3.0.
Contents
Prologue: The Natural Number Hidden In A Directed Loop
Imagine a world with one distinguished place and one permitted step that returns to it. Call the place * and the step ell. We may stand still, take the step once, take it twice, and continue:
If this is the free directed situation, every journey from * back to * should have a unique length. That sentence sounds obvious only because it quietly identifies two descriptions:
- the syntactic description of a journey as a finite word in one generator;
- the universal object characterized by how maps out of it behave.
Functorial type theory keeps them apart. The walking endomorphism W is presented opaquely by a category, a base, a directed loop, explicit one-dimensionality, and a contextual elimination principle. Its object type, hom-categories, identities, and composition do not reduce to a word datatype.
Formal status — checked. Evidence
WE-SIGNATUREandWE-ONE-DIMENSIONAL. One-dimensionality says that each hom-category is discrete; it neither makesWa discrete category nor makesellinvertible.
There is also a concrete category BNat. It has one object, natural numbers as endomorphisms, zero as identity, and addition as composition. The recursor for W gives a functor
sending * to the sole object and ell to one. This is the expected arithmetic model. It is not a definition of W, and a functor into a model cannot by itself prove that two arrows of W with the same image are equal.
Formal status — checked. Evidence
WE-BNAT-MODEL.BNatis separate model evidence. A reverse functor and a categorical equivalence have not been packaged.
The central theorem supplies the missing exhaustiveness statement by a different route.
Theorem preview. There is an equivalence of underlying carriers
Formal status — checked. Evidence
WE-HOM-NAT-CARRIER. The current package is aTypeEquiv, together with a native equality-valued facade. A monoid or hom-category equivalence is not being asserted here.
Measuring An Abstract Arrow
How can an opaque arrow be assigned a number? We construct a Cat-valued family
whose fibre at * is the path category of natural numbers. The generator acts by the successor functor. For any endpoint x and any based arrow , define
This is directed transport in its plainest form: a functor acts on an object. When p begins with the generator, its code begins with a successor. There is no predecessor action because none was requested by the signature.
To go back, natural numbers produce powers:
At first this decoder exists only over the base. The decisive move is to generalize it over every endpoint. The based representable family
acts on a base arrow by postcomposition. A displayed transformation
must therefore reconcile successor in Code with postcomposition by ell in the representable. Its coherence winds forward through the natural levels:
This family of higher arrows is the directed spiral.
Normalize Before Comparing
Applying the displayed decoder’s arrow action to at zero produces
inside the hom-category Hom_W(*,x). This is not initially an equation. It is a directed 2-cell whose orientation records a normalization process.
Formal status — checked. Evidence
WE-NORMALIZATION-CELL. The normalization cell is obtained from the contextual displayed eliminator; it is not postulated as a word-reduction axiom.
Only now is one-dimensionality used. The hom-category is discrete, so a cell between parallel based arrows determines equality:
At the base, decode computes to power. Reversing the displayed equality gives
The other composite is arithmetic. The generator-prefix equation and natural number induction give
These two equations package the carrier equivalence.
Formal status — checked. Evidence
WE-NORMALIZATION-PATH,WE-POWER-ENCODE, andWE-ENCODE-POWER. Direction is retained until the first of these equalities is extracted.
Why The Answer Is Not The Integers
For the circle, a loop is an equality path and therefore has an inverse. Its powers are indexed by integers. Here ell is a directed arrow. Nothing in the category laws manufactures a reverse arrow, and the calculation detects that absence.
Encoding sends ell to one and the identity to zero. Consequently the generator is not the identity. If an arrow r were a right inverse, then encoding would force a successor to equal zero. Hence no right inverse exists, and in particular ell carries no native omega-equivalence evidence.
Formal status — checked. Evidence
WE-LOOP-NOT-IDENTITY,WE-LOOP-NO-RIGHT-INVERSE, andWE-LOOP-NONINVERTIBLE.
The missing negative integers are therefore not an incomplete case of the proof. They are the numerical trace of directionality.
The Road To The Proof
The next seven chapters unpack the interfaces used above.
- Chapter 1 separates definitional computation, proof-time comparison, and equality evidence.
- Chapter 2 introduces iterated hom-categories, functors, transfors, and directed Cat-valued families.
- Chapter 3 develops constructive logic, propositions, and sets.
- Chapter 4 distinguishes equality, ordinary equivalence, categorical isomorphism, and univalence.
- Chapter 5 moves from ordinary induction to arrow induction and contextual universal properties.
- Chapter 6 states the selected directed higher-inductive signature and its contextual eliminator.
- Chapter 7 explains categorical height and why a directed cell in a discrete hom-category yields equality.
- Chapter 8 returns to every step of the construction, including the spiral, the two inverse laws, and the noninvertibility consequences.
The second spiral asks what the same computational discipline contributes to category theory. Chapter 9 isolates its cut calculus; Chapters 10–15 develop categorical identity, functor categories, adjunctions, Yoneda, duality, and saturation; and Chapters 16–17 organize limits, colimits, and join by representability and opposite duality. Appendix G collects the formal rule schemas and states the metatheoretic boundary.
The third spiral asks how local questions become geometry. Chapters 18–20 pass from presheaves and sieves through sites and descent to direct Cat-valued sheafification. Chapters 21–24 develop universal-property algebra and affine localization, place the invertibility sieve before any representing open, and assemble site-relative scheme and supplied projective-line presentations without concealing their hypotheses.
The fourth spiral returns to the relation between paths and arrows. Chapter 25 realizes selected directed action inside path categories and compares product transport with equality induction. Chapter 26 restores the inverse powers missing from the central WalkingEnd theorem by proving the Circle/Integer encode–decode equivalence. Chapter 27 upgrades that comparison to free inversion, first for one- and two-endpoint walking shapes and then for an arbitrary source category. Chapter 28 keeps the target directed again: whole laxity, a computational strict profile, and one right Gray closure produce a nonidentity walking-square interchanger with higher action still available.
The fifth spiral asks what that still-available action constructs when it is iterated. Chapter 29 combines a computing category of injective faces with the native recursion . It constructs a canonical ordinal dependent simplex in variable dimension, maps it into arbitrary targets, and retains both face action and another hom action without postulating a new coherence record at every dimension.
The sixth spiral returns to universal structure with that lesson in hand. Chapter 30 starts from whole selected products and terminality, then moves through slices to pullback base change and the chain . Products, pullbacks, and dependent products are presented by their introduction/elimination cuts and whole higher action, not by disconnected objectwise universal properties.
The larger aim is not merely to calculate one hom. It is to show how a type theory can let groupoidal equality and noninvertible arrows coexist, interact, and compute—without quietly turning one into the other.
1. Judgments, Universes, And Computation
A foundation does not begin by placing mathematical objects in a previously given container. It begins by saying which expressions may be formed, which expressions inhabit which classifiers, and which calculations count without further proof. The elementary judgments of endash have the familiar shape
The last display uses only as the glyph for judgmental or definitional conversion, decided in endash by typed normalization-by-evaluation (eval / readback / conv). It is not an inhabitant of an identity type. This distinction matters throughout both volumes: NbE computation makes two expressions interchangeable inputs to every typing rule, while an identity path is mathematical data that can itself be transported, inverted, and compared.
Unlike rewrite-file encodings that separate an outer logical-framework TYPE from an explicit decoding operator τ : Grpd -> TYPE, endash's direct kernel organizes universes natively across cumulative levels :
Grpd(u)classifies groupoids (-types and homotopy types, writtenType uin.ensurface syntax when working in the groupoidal layer);StrictCat(u)classifies directed categories with strict public functors and iterated hom-categories; andGrayCat(u)classifies higher categories retaining lax transformation interchangers.
Every groupoid embeds directly into via the equality-path category , whose object classifier evaluates judgmentally back to (Obj(Path(A)) ≡ A). No auxiliary τ coercion clutters terms or proofs.
Appendix G gives the complete formal reading of this ~2,690-LOC trusted kernel (src/{duality,ast,value,context,kernel_ops,stdlib_types,eval,check}.ts) and its .en elaboration pipeline.
1.1 Contexts, Dependent Functions, And Dependent Pairs
A judgment is made in a context. In the groupoidal fragment, declarations form an ordinary dependent telescope:
In Chapter 2, endash refines contexts into bunched modal contexts distinguishing Cartesian sibling separation (,) from directed functorial steps (;). Within a single groupoid universe Grpd(u), dependent functions and dependent pairs have the standard classifiers
Lambda abstraction fun x => b introduces a dependent function, and application f a computes by -reduction during NbE evaluation, along with -conversion for functions and pairs. A dependent pair (x, u) has projections fst and snd satisfying judgmental conversion.
Equality of dependent pairs consists of a base path together with a dependent fibre path over . For dependent functions, endash provides pointwise homotopy application (happly) and function extensionality (funext), exposed ergonomically in .en proofs via the ext and funext tactics, destructuring let ⟨a, b⟩ := ..., and obtain ⟨w, hw⟩ := h.
Formal status — checked. Evidence
TT-SIGMA-PI-PATHScovers dependent pair and product classifiers (Prod.ext,Subtype.ext), dependent path transport, and function extensionality inInit.PreludeandInit.Nat.
1.2 Three Ways Expressions Agree
The word “equal” hides three operationally distinct relations in endash.
First, judgmental NbE conversion () evaluates both sides into semantic semantic-domain values (Value), executing -reductions, structural recursors (natElim, listElim, J, circleElim, pushoutElim), bitstream duality involutions (composeDuality), strict functor laws on Path, computational JoinCat , dependent homd / homdc projections, and Došen cut spines, before reading back canonical forms.
Second, elaboration-time unification solves implicit arguments (_, {x : A}), universe level parameters (universe u v), and typeclass instances ([AbGroup G], [DecidableEq α]) during bidirectional .en elaboration (src/elab/*), emitting fully explicit Core terms that the kernel checks without unification heuristics.
Third, an internal identity path
is first-class mathematical data in Eq(A, x, y). In .en surface syntax, propositional chains of equalities and equivalences (≃) are composed cleanly using calc blocks, rw, symm, trans, and congr. For example, Nat.add computes on its left constructor (0 + n ≡ n, succ m + n ≡ succ (m + n)), whereas right-zero (Nat.add_zero) and associativity (Nat.add_assoc) are proved propositionally by induction.
Formal status — mathematical development. This three-layer architecture separates the small deterministic NbE kernel from elaboration convenience; every theorem claim relies strictly on kernel-checked explicit Core terms.
1.3 Elementary Inductive Classifiers
The groupoidal layer provides built-in inductive classifiers for Empty, Unit, Bool, Nat, and polymorphic List α (together with user-declared inductive ADTs, structures, and classes in .en):
For , a motive , base value , and step determine with judgmental -computation on zero and succ. Disjointness (Nat.zero_ne_succ, Bool.false_ne_true), injectivity (Nat.succ_inj), decidable equality (DecidableEq), and Hedberg sethood (IsSetGrpd) follow constructively with 0 axioms.
Formal status — checked. Evidence
TT-ELEMENTARY-INDUCTIONcovers the elementary inductive classifiers, eliminators, constructor discrimination, arithmetic laws, and decidable equality inInit.PreludeandInit.Nat.
1.4 Identity And Path Induction
For in Grpd(u), Eq(A, x, y) classifies identity paths, introduced by . Elimination via path induction (J) computes judgmentally on literal reflexivity:
Symmetry (), transitivity (), nondependent action on paths (), covariant transport (), and dependent action on paths () are derived and checked once and for all without equality reflection or Axiom K.
Formal status — checked. Evidence
TT-EQUALITY-INDUCTIONcovers reflexivity, dependent path elimination, transport,congrArg/eqAp, and dependent path action inInit.PreludeandHoTT.Circle.
1.5 Propositions, Sets, And LCF-Certified Algebra
Under propositions-as-types, negation is , logical equivalence is Iff A B, and subtypes { x : A // P x } pair a witness with propositional evidence (Subtype.ext when P x is a proposition IsProp (P x)).
Crucially, endash pairs synthetic homotopy/category theory with an untrusted BigInt computer-algebra oracle (src/cas/*: Smith Normal Form over and , Buchberger Gröbner bases, syzygy modules, projective resolutions, and spectral-sequence page solvers) gated by LCF-style kernel verification. Every CAS tactic (by cas_snf, by cas_cech, by cas_ext, by cas_spectral_seq) reifies concrete witness matrices into Core terms whose identities (, , lifting witnesses) are verified directly by checkTerm with 0 axioms.
1.6 From Terms To Directed Actions
Identity paths in Grpd(u) are reversible, so any ordinary function acts on them automatically via eqAp. Directed categories in StrictCat(u) and GrayCat(u) add genuinely non-invertible arrows: a directed functor must act coherently on objects, 1-arrows, 2-cells, and higher cells without assuming inverses exist. Chapter 2 introduces endash's direct Q-free categorical kernel that makes this functorial action native to the type checker itself.
2. Categories, Functors, And Directed Families
An ordinary type family varies with a term in Grpd(u) and transports along invertible equality paths. A directed family varies with an object of a category and acts along directed arrows that need not be invertible. In endash, this directed action is built directly into the normalization-by-evaluation (NbE) kernel via bunched modal contexts, compact bitstream dualities, generic functorial variables, coinductive transformations, and 2-periodic dependent sums—eliminating the auxiliary Q-coefficient ladder required by earlier Dedukti/rewrite-rule prototypes.
For classical category-theoretic background, see Mac Lane and Došen; for higher-categorical context, see Kelly, Bénabou, and GPT 5.6 Codex.
2.1 Categories With Iterated Homs And Bitstream Dualities
For a category (or ), write for its classifier of objects. For , the hom-classifier
is itself a category, not merely a set: its objects are 1-arrows , its 1-arrows are directed 2-cells , and iterating exposes -cells at arbitrary finite depth. Composition is written (“first , then ”).
An -category admits independent arrow reversals at every positive cell dimension. Rather than proliferating separate syntactic constructors and manual rewrite rules for each combination of opposites, endash represents every dimensional duality uniformly as an infinite periodic bitstream (src/duality.ts):
Bit of specifies whether dimension is reversed (1) or preserved (0), with tail giving the periodic bit for all sufficiently high dimensions:
| Mathematical symbol | Reversed dimensions | Bitstream { diff, tail } | Kernel constructor |
|---|---|---|---|
| none | { diff: 0n, tail: 0 } | ID_DUALITY | |
| dimension only | { diff: 1n, tail: 0 } | OP_DUALITY (op) | |
| dimension only | { diff: 2n, tail: 0 } | CO_DUALITY (co) | |
| dimensions | { diff: 1n, tail: 1 } | CO_ABOVE2_DUALITY | |
| all dimensions | { diff: 0n, tail: 1 } | TOTAL_OP_DUALITY (totalOp) |
Duality composition is exact bitwise XOR (composeDuality(d1, d2)), so every involution (, , ) holds judgmentally by refl in time, and shifting into simply right-shifts the bitstream (shiftDuality(d)) while swapping iff bit is set!
Formal status — checked. Evidence
CAT-ITERATED-HOMScovers categories, object classifiers, iterated hom-categories, and exact bitstream duality computation (WalkingEnd.Cat,WalkingArrow.Cat,JoinSpectra.opCat1).
2.2 The Equality-Local Category Path(A)
Every groupoid embeds into via its path category , with
Identity is and composition is path concatenation. Every ordinary function lifts functorially to via eqAp. Crucially, this inclusion never collapses direction: in WalkingEnd, WalkingEnd.loop_not_isIso proves , and in WalkingArrow, while .
Formal status — checked. Evidence
CAT-PATH-CATEGORYcoversPathembedding, path-functor action, and strict non-collapse of directed homs into groupoidal paths (WalkingArrow.hom10_empty,SIP.PathCat1).
2.3 Bunched Contexts And Generic Functorial Variables
In endash, functors are introduced directly by functorial lambda abstraction inside bunched modal contexts (src/context.ts):
- a comma () adds an independent Cartesian sibling in the same variance zone, permitting exchange, weakening, and diagonal contraction;
- a semicolon () advances across a directed dependency or variance boundary, enforcing variance discipline automatically during type checking!
A functor in StrictCat(u) acts on objects () and on whole hom-categories (), satisfying the strict functor laws
natively in the NbE evaluator via generic functorial spine normalization.
Formal status — checked. Evidence
CAT-FUNCTOR-CALCULUScovers object action, iterated hom-functor action, functor composition, and generic identity/composition laws (Adjunction,StrictCat.toCat1).
2.4 Coinductive Transformations Transf(±) And Naturality
For parallel functors , endash provides polarity-indexed transformation categories (conventional lax) and (oplax), alongside strict Cartesian transformations in . An inhabitant exposes:
- its diagonal point component (
tapp0); and - its Došen off-diagonal arrow action (
tapp1) for , together with retained naturality cells comparing .
In StrictCat, 2-endomorphisms of the identity satisfy strict middle-four interchange (EckmannHilton.strictCat_middle_four), whereas in GrayCat left and right whiskering over the walking square remain genuinely distinct (GrayInterchanger.whiskering_ne).
Formal status — checked. Evidence
CAT-TRANSFOR-CALCULUScovers point components, Došen off-diagonaltapp1cuts, strict naturality inCart, and retained lax naturality inGrayCat(Adjunction.dosen_cut_right,GrayInterchanger.whiskering_ne).
2.5 Directed Families Over
Public functor categories have strict functors as objects and lax transformations as 1-arrows. Admitted directed families over instead target the Cartesian coefficient category , whose mapping homs select strict transformations:
Each object determines a fibre category , and each directed base arrow induces a covariant reindexing functor
without requiring to be invertible. A displayed map supplies fibre functors and directed transport comparison cells .
Formal status — checked. Evidence
CAT-DIRECTED-FAMILIEScovers -valued families, fibre evaluation, covariant arrow transport, and displayed functoriality (LCCC.Fam,WalkingEnd.encode).
2.6 2-Periodic Totals Sigma(±) And Sections Pi
Given , endash forms 2-periodic Grothendieck totals (covariant/lax total) and (contravariant/oplax total), as well as the coherent section category . An object of is a pair with , and a 1-arrow is a pair with and , including the canonical directed transport arrow .
Formal status — checked. Evidence
CAT-SIGMA-PIcovers 2-periodicSigma(±)totals, canonical transport arrows, andPisection evaluation (LCCC.sigma_pullback_equiv,LCCC.pullback_pi_equiv).
2.6.1 Fibrewise Contexts
Independent sibling declarations separated by , in a bunched context lower transparently through the fibrewise product family with componentwise projections, pairing, exchange, and diagonal contraction—while forbidding ill-typed exchange across a ; dependency edge.
Formal status — checked. Evidence
CAT-FIBREWISE-CONTEXTcovers fibrewise product contexts, projections, pairing, and derived swap/diagonal maps (CartesianAdj.binary_product_hom_equiv).
2.6.2 Base Change And Evaluation
Pulling a family back along yields by direct functorial substitution, together with totalization and constant-domain displayed evaluation .
Formal status — checked. Evidence
CAT-BASE-CHANGE-TOTALIZATIONandCAT-DISPLAYED-EVALUATIONcover pullback base change, totalization, and Cartesian evaluation (LCCC.sigma_pullback_equiv,LCCC.frobenius_equiv).
2.7 Representables And Variance
Fixing , the covariant representable family acts on by postcomposition (), while varying the source along acts contravariantly by precomposition (). In endash, bunched variance tracking and bitstream dualities keep covariant lower-star () and contravariant upper-star () distinct throughout elaboration and NbE evaluation.
Formal status — checked. Evidence
CAT-REPRESENTABLEcovers covariant representables, contravariant source reindexing, and Yoneda object equivalences (SIP.idToIso1,Simplicial.simplex2_unpack_beta).
2.7.1 Direct Q-Free Dependent Hom (homd / homdc) And The Hom Of A Total
Let , and fix and in . Over a base arrow , the directed dependent hom has fibre value
As varies across 2-cells in , sits in the contravariant domain slot of , so is a contravariant family on dimension 1 of :
In the archival v3.2 rewrite prototype, making this construction vary simultaneously in required introducing an auxiliary presheaf coefficient category (Homd_coeff_cat) and a six-rung projection ladder. In endash's direct Q-free kernel, dependent hom (homd, plus the mixed-variance cubical/bimodule dependent hom homdc) is a first-class kernel operation (src/kernel_ops.ts, src/eval.ts) whose variance is computed directly from the bitstream dualities , , and :
Because 2-periodic and bitstream dualities alternate signs cleanly at every hom iteration, NbE evaluates at arbitrary finite cell depth with zero Q-wrapper overhead, recovering on 1-arrows while preserving exact higher-cell directions over general -categories!
Formal status — checked. Evidence
CAT-DEPENDENT-HOMandCAT-SIGMA-HOMcoverendash's directQ-freehomd/homdcoperations and 2-periodicSigma(±)hom-category reductions (Cubical.homdc_representable_beta,Simplicial.tetrahedron_all_four_faces).
2.8 The Interfaces Needed By The Main Proof
Chapter 8 uses five clean pieces of this kernel architecture:
Code : W -> Cat_carttransports0 : Natforward along any based arrow via successor;Rep_*transports based arrows forward by postcomposition;power : Path(Nat) -> Hom_W(*, *)embeds natural numbers functorially as loop powers ;- the contextual decoder produces the directed normalization 2-cell ; and
- 1-categorical discreteness of turns that directed 2-cell into propositional equality, establishing with
0axioms.
3. Logic, Propositions, And Sets
The propositions-as-types reading begins with a useful ambiguity. Any classifier may be read as a proposition: to prove it is to construct an inhabitant. But not every classifier behaves like a truth value. An inhabitant of Bool tells us which Boolean was chosen; a natural number contains still more data. Logic becomes precise only after we distinguish having evidence from having no relevant choice of evidence.
This distinction is particularly important in a directed foundation. A classifier may carry higher identity information even when the surrounding category also carries noninvertible arrows. Proposition and set evidence control the groupoidal identity layer; they do not erase directed structure.
3.1 Propositions As Types, Broadly Read
The basic logical readings are constructive:
Under this reading, a proof of an existential statement contains a witness and its evidence. A proof of an implication is an operation that transforms evidence. Negation is
This is enough to state the negative theorems of Chapter 8. To prove that the walking loop is not the identity, for instance, one assumes an equality and constructs an inhabitant of Empty by mapping it to an impossible Nat equality.
What this reading does not supply is automatic proof irrelevance. If P has two inhabitants, the bare fact that both prove a statement says nothing yet about whether they are equal. That is a separate property of P.
3.2 Contractibility And Proposition-Valuedness
A classifier A is contractible when it has a chosen centre and a path from that centre to every point:
Contractibility contains both existence and uniqueness, with uniqueness understood homotopically. The centre is data, but the total classifier of contractibility evidence is itself proposition-valued: any two such packages are equal.
A classifier is proposition-valued when its identity classifiers are contractible. In the familiar shorthand, any two of its inhabitants are equal, and there is no further choice among the paths witnessing that fact. It may be inhabited, like Unit, or uninhabited, like Empty. If it is inhabited, it is contractible.
The adjective “proposition-valued” is deliberate. We still use every classifier as a proposition in the broad Curry–Howard reading. The additional property says that inhabitation carries no mathematical information beyond truth.
Formal status — checked. Evidence
LOGIC-TRUNCATION-PREDICATEcoversIsContrand the recursive truncation predicate whose-1and0specializations are proposition- and set-valuedness.
3.3 Sets As A Homotopical Property
A classifier A is set-valued when every identity classifier x=y is proposition-valued. Equivalently, any two parallel paths in A are equal. This is the type-theoretic notion of a set: it concerns the height of identity information, not membership in a global cumulative set universe.
The hierarchy begins
and each successor level asks that every identity classifier lie one level lower. Chapter 7 develops this recursion uniformly. For now, sethood provides the exact uniqueness principle needed for arithmetic codes.
Unit is proposition-valued because it is contractible. Empty is proposition-valued by elimination: from an alleged first inhabitant one may derive the required path data. Nat is set-valued by nested induction on its visible constructors. Equality of zero with a successor reduces to Empty; equality of two successors reduces to predecessor equality; the remaining cases reduce to the proposition evidence for Unit or Empty.
Formal status — checked. Evidence
LOGIC-NAT-SETHOODsupplies explicit terms witnessing that Unit and Empty are proposition-valued and Nat is set-valued. Nat sethood is not inferred merely from a rewrite table; it is an inhabitant of the internalIsSetGrpd(Nat)classifier.
3.4 Evidence Is Not Erasure
It is tempting to read “being a property” as permission for the kernel to erase every proof to one constant. That is not the policy here. Emdash retains evidence terms and proves that the classifier containing them is proposition-valued.
For every level n and classifier A, the classifier
of evidence that A lies at level n is proposition-valued. Hence two truncation witnesses are equal, but their constructors and projections remain available to computation. This matters for packaged universes: a package can retain both a carrier and its truncation evidence while still having equality controlled by the carrier.
The same style recurs for equality-valued equivalence evidence. Rather than declaring inverse-law proofs irrelevant by fiat, the theory proves that their classifier is a proposition. Retained evidence supports computation and transport; proposition-valuedness supports uniqueness and truncation.
Formal status — checked. Evidence
LOGIC-TRUNCATION-EVIDENCE-PROPestablishes property-valuedness at every recursive truncation level. It introduces no proof-erasure rewrite.
3.5 Constructive Reasoning
The foundational rules used in this book are constructive. To prove P or Q one must select a side in whatever sum-like interface is in scope; to prove an existential one must provide a witness; to refute a claim one must map its evidence to Empty. The law of excluded middle and double negation elimination are not silently used as global inference rules.
This does not forbid classical mathematics. A classical principle can be studied as additional structure, restricted to a suitable proposition-valued universe, or derived in a context where decidability data are available. The point is bookkeeping: a proof should reveal when such data enter.
The WalkingEnd theorem needs none. Its code is computed by functor action, its inverse laws by contextual elimination and Nat induction, and its noninvertibility by successor/zero discrimination. The argument is therefore valid in the constructive core presented here.
Formal status — mathematical development. This section states the logical discipline of the book. It does not claim a complete internal library of all connectives, propositional truncations, choice principles, or classical axioms.
3.6 Two Uses Of Sethood In The Main Calculation
Sethood enters Chapter 8 in two distinct ways.
First, Nat sethood controls equality in the code fibre Path(Nat). It ensures that higher coherence between arithmetic equalities is unique at the needed level. This lets the power construction lift equality of naturals without introducing uncontrolled higher data.
Second, the based hom carrier is proved set-valued after the calculation. One proof comes directly from the one-dimensional signature of W; another transports Nat sethood backward across the carrier equivalence. Agreement of the conclusions does not collapse the proofs: each exposes a different reason for sethood.
This is typical of univalent foundations. A property may be reached through dimension, through equivalence, or through a direct induction. Since the classifier of evidence is proposition-valued, the resulting witnesses agree, yet their constructions remain mathematically informative.
4. Equivalence And Univalence
Univalence is often summarized by the phrase “equivalent things may be identified.” In a directed setting, that sentence must be typed with care. Equivalent classifiers, isomorphic objects of a 1-category, recursively invertible arrows, and arbitrary functors are different notions. The theory becomes clearer, not more cumbersome, when each receives its own interface.
The WalkingEnd example is the test. Its generator is a perfectly good arrow, and Code sends it to a perfectly good functor, but neither is an equivalence. At the same time, the final comparison between its endomorphism carrier and Nat is a type equivalence. Univalent foundations must support both statements without forcing one into the shape of the other.
4.1 Maps With Contractible Fibres
For a function f:A -> B and b:B, its homotopy fibre is
The function is an equivalence when every such fibre is contractible. A TypeEquiv(A,B) packages f with this evidence. The centre of the fibre over b selects an inverse value f^{-1}(b), and its path component gives
Contractibility of the fibre also yields the other law
This definition has two advantages. It treats being an equivalence as a property of a fixed map, and it supplies a canonical selected inverse from the contractible-fibre evidence. Conversely, explicit inverse data with both homotopies can be adjusted and converted into contractible-fibre evidence. That is the route used by the WalkingEnd carrier comparison: encode and power are built first, their two round trips are proved, and then the equivalence package is formed.
Formal status — checked. Evidence
EQUIV-TYPEcovers homotopy fibres, the equivalence-map predicate,TypeEquiv, its selected inverse, and both inverse paths.
4.2 Algebra Of Type Equivalences
Equivalences have reflexivity, symmetry, and composition:
Composition is written in categorical order; the forward map of the last line sends a first through e_AB and then through e_BC. The inverse laws are constructed from explicit quasi-inverse data and the path algebra of Chapter 1.
Not every mathematically true equation between equivalence packages is chosen as a runtime eta rule. What computes is the public interface needed by consumers: the selected forward map of reflexivity, symmetry, and composition, together with designated projections of inverse data. Remaining coherence is propositional. This is the same separation between computation and evidence that we saw for Nat associativity.
Formal status — checked. Evidence
EQUIV-TYPE-ALGEBRAcovers reflexivity, symmetry, composition, and their selected forward-map computation.
4.3 Univalence In The Groupoid Universe
Every universe path p:A=B induces a type equivalence by transporting elements:
Univalence supplies the converse in a coherent way. In the groupoid universe, emdash has an operational decoder
and named round trips
Transport along the decoded path agrees propositionally with the forward map of e. The qualification “propositionally” is important. A single operational decoder owns the comparison; the kernel does not turn every universe transport expression into arbitrary equivalence application by a broad rewrite.
This gives the groupoid/type layer its univalent reading: identity in the universe and equivalence of decoded classifiers carry the same information through the named interface. It does not say that a noninvertible arrow in an arbitrary category is an identity.
Formal status — checked. Evidence
UNIV-GROUPOIDcovers the decoder-oriented groupoid-univalence equivalence, both round trips, and the selected transport agreement.
4.4 Universes With Retained Truncation Evidence
For each truncation level n, the theory also packages a classifier together with evidence that it is n-truncated:
The evidence is retained, not erased. Nevertheless, because truncation evidence is proposition-valued, equality of packages is controlled by equality of their carriers. Combining that fact with groupoid univalence gives the restricted comparison
The familiar universes of propositions, sets, and groupoids are the -1, 0, and 1 cases of this package. This is a concrete example of structure identity: once a field is proposition-valued, identifying the carrier supplies the dependent identification of that field.
Formal status — checked. Evidence
UNIV-TRUNCATEDcovers the carrier-equivalence view of paths between packaged truncated classifiers and its named encode/decode laws. It is a restricted univalence theorem, not a truncation reflector.
4.5 Three Categorical Notions Of Invertibility
At the categorical layer we distinguish three interfaces.
An ordinary isomorphism between objects x,y:C consists of a forward arrow, one inverse arrow, and equality-valued left and right inverse laws:
For a fixed arrow f, the native classifier OmegaEquivAlong(f) carries recursively equality-valued inverse evidence. Its selected left and right inverse arrows may be presented separately, with their laws living in the next hom-categories. Finally, OmegaEquiv(C,x,y) packages a chosen forward arrow together with such evidence.
The distinction allows the interface to remain iterable. Inverse laws at one dimension are equality data in a hom-category, where the same machinery can act again. An ordinary isomorphism has a checked one-way lift into the native omega-equivalence package, but the notions are not collapsed definitionally.
Formal status — checked. Evidence
EQUIV-OMEGAcovers the fixed-arrow and packaged equality-valued interfaces and the transparent package built from an object path. EvidenceEQUIV-ORDINARY-ISO-LIFTcovers the one-way lift from ordinary isomorphism evidence.
For an object path p:x=y, path induction constructs a forward arrow, an inverse, and both cancellation laws. Thus equality can be reified as a computational equivalence package. A bare classifier-level cast may permit an identity term to be used at the stable equivalence facade, but it does not magically give that term the projections of a package; observable computation uses the explicit construction.
The converse direction has a more delicate status. The current native surface supports selected equality/equivalence casts and rigid universe boundaries, but a full general equivalence between arbitrary object equality and ordinary 1-categorical isomorphism evidence is not a compatibility prerequisite and is not claimed here.
Formal status — research boundary. Evidence
UNIV-FULL-OBJECT-ISOrecords the intentionally absent two-sided ordinary-isomorphism/object-equality theorem. Its absence does not weaken the checked path-to-equivalence construction used elsewhere in the book.
4.6 Equivalence Evidence Is A Property
For a fixed arrow f, two complete choices of equality-valued inverse evidence are equal. The proof does not erase the choices. It shows that the left- and right-inverse fibres are contractible, using ordinary associativity, unit laws, and the supplied inverse equations, and then transfers that contractibility to the native record.
Consequently,
is proposition-valued for every category and fixed arrow, without assuming that the category has finite height or locally set-valued homs. This is the categorical analogue of the fact that “is an equivalence” should be a property of a map even though an explicit quasi-inverse package may contain choices.
Formal status — checked. Evidence
EQUIV-EVIDENCE-PROPis the dimension-independent property theorem for the native fixed-arrow evidence.
4.7 Hom Action And Groupoidal Sources
Equivalence evidence must itself act functorially if the foundation is to be usable at higher dimension. The one-way derived hom-action layer takes an equality-valued omega-equivalence between categories and derives equivalences on its next homs. In particular, if a category is coherently groupoidal, its core inclusion is an omega-equivalence and each directed arrow can be related to an object path through the selected homwise inverse.
For a functor , coherent groupoidality of supplies equivalence of transport along a base arrow:
This recovers the familiar groupoidal behavior of path-indexed families as a special case. The fibre-transport theorem uses both the source's groupoidality and the strict public functor laws. The same conclusion applies to an admitted dependent family through its coefficient inclusion into the public universe; no extra strict-functor admission is required.
Formal status — checked. Evidence
EQUIV-HOM-ACTIONcovers the one-way next-hom action and its specialization to equivalence of fibre transport over a coherently groupoidal source.
4.8 Why Successor Needs No Univalence In Chapter 8
The circle's universal cover sends an invertible loop to successor on the integers. To define it as a universe-valued family, one first recognizes successor as an equivalence and then uses univalence to obtain a universe path.
The WalkingEnd code has a different type:
Its generator is a directed arrow in W, so its image need only be a functor. Natural-number successor qualifies directly even though it misses zero and has no inverse. Forcing univalence into this step would change the mathematics by demanding reversibility where the signature deliberately has none.
The carrier equivalence at the end of the proof is nevertheless genuinely a type equivalence, and the surrounding universes retain their checked univalence interfaces. The lesson is not that univalence disappears. It is that univalence governs equivalence and identity, while directed functoriality also governs noninvertible action.
Chapter 26 returns to the other side of this contrast with the now-active Circle construction. Integer successor is first packaged as an equivalence; univalence then turns it into the universe loop used by the universal cover. The WalkingEnd and Circle codes therefore share an encode–decode rhythm while retaining different reasons why their monodromy is well typed.
5. Induction, Arrow Induction, And Universal Properties
Induction is often introduced as a collection of unrelated proof rules: one for natural numbers, another for equality, and still others for higher inductive types. A more durable view is that an inductively presented object comes with a way to extend compatible data from its generators. Recursion extends nondependent data; induction extends data in a family; contextual elimination lets both the source and target vary. The increasing amount of context is not bureaucratic overhead. It is what records naturality.
In a functorial setting, this extension principle should itself preserve arrows and higher cells. That demand turns a familiar logical rule into a categorical construction. This chapter begins with ordinary induction, then develops the outgoing-arrow category and the arrow-induction interface used throughout emdash. The result is a bridge between equality induction and the contextual eliminator of the walking endomorphism.
5.1 Data On Generators
For the natural numbers, dependent induction has the familiar shape. Given a family P(n), a base element
and a step operation
there is a section
whose observations at zero and successor compute to the supplied data. If P is constant, the same interface is recursion. Thus recursion is not a second principle: it is dependent elimination with no meaningful dependency.
The same pattern appears for a category presented by an object and an endomorphism. To map it into a category C, one supplies an object of C and an endomorphism of that object. To define a dependent section, one supplies an object in the fibre over the generating object and a lift over the generating arrow. To compare two varying families, one supplies a functor between their base fibres and a coherent cell over the generator. Chapters 6 and 8 will instantiate precisely these three levels.
This perspective separates two questions:
- what data an eliminator accepts; and
- how its observations compute at the constructors.
Both matter. Existence without computation cannot drive a normalization proof; computation without a coherent extension does not define an action on the whole object.
In the rule schema of Appendix G.4, generator data are the introduction clauses, the induced section or functor is elimination, and the constructor observations are computation. Uniqueness or initiality is a separate universal clause, while coherent action on arrows and higher cells is the specifically functorial clause. We will report all five independently rather than treating the word “induction” as evidence for whichever clauses have not yet been supplied.
5.2 Equality Induction As The Local Case
For a type A, right-based equality induction says that, with the right endpoint y fixed, a family
is determined by its value at (y,refl_y). In one conventional orientation,
The reflexive observation computes to d. Ordinary action on paths and dependent action on paths are specializations of this principle. They explain why a function respects equality and how a section over a family produces a dependent path.
Formal status — checked. Evidence
TT-EQUALITY-INDUCTION. The equality-local layer provides reflexivity, right-based dependent induction, ordinary path action, and dependent path action.
Equality induction is already functorial when it is read inside the path category Path(A): objects are elements of A, arrows are equalities, and every arrow is invertible. But this is a special, groupoidal base. A directed category contains arrows that need not have inverses, so we want an induction interface whose statement does not presuppose that a given arrow is an equality.
5.3 The Category Of Outgoing Arrows
Fix a category Z and an object x. The category of arrows leaving x is the total category of the represented family
Its objects are pairs (y,p) with . It has a distinguished reflexive object
For every outgoing arrow , functorial action of the representable family supplies a canonical total arrow
Its base component is p; its fibre endpoint reduces by the unit law . The direction of rho is significant. It starts at the reflexive arrow and reaches p. Nothing in the construction produces a reverse arrow, and no invertibility premise is used.
Formal status — checked. Evidence
IND-PATHOUT.PathOut_catis the Sigma total of the fixed-source representable,pathout_refl_objis its distinguished object, andpathout_refl_arrowis the canonical Sigma transport arrowrho.
The name “PathOut” emphasizes an analogy, not an identification. When Z=Path(A), its objects really are equality paths out of x. For a general Z, they are directed arrows. The same categorical shape therefore hosts both ordinary path induction and a genuinely directed extension principle.
The source object also varies contravariantly. An arrow induces a functor
Precomposition changes which object the arrows leave, while postcomposition changes where they arrive. Keeping these variances separate will prevent a common mistake in Chapter 8: the based representable there varies covariantly in its endpoint, not contravariantly in its source.
5.4 Fixed-Source Arrow Induction
Let
be a directed family. An element
can be transported along every canonical arrow rho. This produces a section
whose readable value is
This formula is arrow induction: data at the identity arrow extends along every outgoing arrow. Because E is Cat-valued, the result is a section with coherent action, rather than merely a function that chooses one object in each fibre.
Formal status — checked. Evidence
IND-ARROW. The fixed-source section ispath_ind_sec;PathInd_funcpackages its action in the motive and base datum, andPathInd_transfdinternalizes the theorem while the source object varies.
For a motive pulled back from , a displayed map out of the representable family supplies this section through the forward uncurrying constructor. The section is still evaluated at the total object ; it is not silently retyped as a displayed map over . The higher-profile distinction and the remaining implementation correction are recorded in Appendix G.
There are three layers here, and it helps not to conflate them:
path_ind_secis the readable theorem at a fixed source;PathInd_funcsays that this theorem acts functorially on motives and their data;PathInd_transfdrecords coherence as the source object moves.
The third layer uses the contravariant source action of PathOut and the corresponding pullback of motives. Its naturality is internal to the displayed transformation. One need not append an external family of hand-written commuting squares.
5.5 Composition As A Diagnostic
An abstract eliminator earns its keep by recovering an operation we already understand. Fix x and give (y,p) the represented motive
At the reflexive arrow, the identity transformation supplies the base datum. Arrow induction then extends it to every . Evaluating the result at gives
Thus ordinary categorical composition appears as transport from the identity case. The resulting operation is still packaged functorially, so its action on higher cells remains available to later constructions.
Formal status — checked. Evidence
IND-COMPOSITION.CompMotive_catdis the represented motive,path_comp_secis the induced section, andpath_comp_funcexposes composition as the object action of a functor.
This benchmark is more informative than a proof that some carrier-level function exists. It checks the direction of rho, the variance of the representable, and the agreement of the generic Sigma and Pi constructions. If any of those are reversed, the result has the wrong endpoints before one even asks for associativity.
From mathematical notation to executable evidence
There is now a small reviewer-facing notation for following this construction through the TypeScript implementation:
PathOut(Z, x)
rho(Z, x, y, p)
Ind(Z, x, E, u)
compose(Z, x, y, z, p, q)
These are four views of the development above: the outgoing-arrow category, its canonical arrow from the reflexive object, the induced section, and the value of the composition functor at . They are not a second foundation or a new declaration language. Parsing one of them merely records which construction is being discussed, with its variables and source location.
This distinction matters in a browser. The browser can display that the corresponding construction was qualified at the pinned semantic checkpoints, but it says explicitly that it has not rerun the semantic check. An explicit Node invocation such as ./scripts/emdash pathout check composition-normal-form instead assembles the existing theory profile, checks the resulting explicit Core term with the TypeScript checker, and compares the composition term with its reviewed normal form. Only that result is labelled a fresh TypeScript semantic check; the first assembly in a process may take several minutes.
The division of labour mirrors the mathematics. The endash direct-kernel evaluator owns primitive path induction (J), PathOut, and generic functorial action, while the derived induction and composition constructions remain transparent 0-axiom library declarations checked both in Node CLI/MCP and in the zero-CDN browser prover (dist/endash-browser.js). The notation therefore makes the evidence easier to inspect without changing what counts as evidence.
5.6 Returning To Literal Equality
Set Z=Path(A) and let D be a directed family over that path category. There are now two ways to move u along an equality p:x=y:
- use the functorial action of
Don the arrowp; or - use primitive equality induction with a function-valued motive.
They need not be definitionally the same expression. The active calculus proves that they are propositionally equal:
Formal status — checked. Evidence
IND-PATH-COMPARISON.path_cat_structured_transport_agrees_ind_eqrcompares the existing directed-family action with primitive right-based equality induction. It does not introduce a second equality eliminator or turn the comparison into a global rewrite.
This is the precise relation between the equality-local and directed views. Functorial transport extends beyond equality paths; on a literal path category, it agrees with J by a theorem. The groupoidal case is therefore recovered without making all directed arrows groupoidal.
5.7 Contextual Elimination
Fixed-source arrow induction varies a motive over outgoing arrows. A contextual eliminator goes one step further: it compares two families over an inductively presented base. Schematically, suppose . At each base object it should provide a functor
and for each base arrow a directed comparison
This is exactly the data of a displayed functor in the lax direction selected by the calculus. If R is terminal, a displayed functor becomes a section of D. If both R and D are constant, it becomes an ordinary functor out of K. Section induction and recursion are therefore special cases of contextual elimination.
For an inductively presented K, the desired eliminator should build the whole displayed functor from compatible data at the constructors. The WalkingEnd interface of Chapter 6 realizes this pattern for one point and one directed loop. Chapter 8 then uses the genuinely contextual form: its source is the code family and its target is a representable family, so neither side can be discarded as mere bookkeeping.
5.8 Universal Properties: What Is And Is Not Packaged
Induction principles often admit a universal-property formulation. For an ordinary inductive type, one expects the canonical algebra to be initial, or homotopy-initial when maps carry higher equality. For a directed higher inductive category, one similarly expects a category of algebras, structured functors, and coherent transfors in which the presented object is suitably initial.
That formulation is mathematically attractive because it gathers recursion, induction, uniqueness, and higher coherence into one statement. It is also more demanding than writing a selected eliminator. One must define the algebra category at every relevant cell dimension, identify its notion of equivalence, and prove contractibility or an equivalent universal mapping property.
Formal status — research boundary. Evidence
IND-GENERAL-INITIALITY. The current calculus packages Nat and equality induction, genericPathOutarrow induction, and the selected WalkingEnd eliminator. It does not yet prove a general equivalence between such interfaces and homotopy-initial categorical algebras.
We will therefore use “walking” in its presentation-theoretic sense and use the eliminator that is actually checked. Full functor-category initiality is a strengthening target, not an implicit premise of the computation.
5.9 The Interface Needed For Encode–Decode
The next two chapters isolate the additional ingredients required by the walking-endomorphism calculation:
- Chapter 6 supplies a contextual eliminator whose generator datum is a coherent directed transformation;
- Chapter 7 supplies one-dimensionality, allowing a directed 2-cell between parallel based arrows to be read as equality.
The roles are deliberately ordered. Elimination constructs directed data. Truncation may later show that some of that data is unique or equality-like. Reversing the order would erase the very directionality the example is meant to expose.
6. Directed Higher Inductive Types
An ordinary inductive type is specified by point constructors. A higher inductive type may also be specified by path constructors and constructors between paths. In a directed foundation, the corresponding presentation may contain objects, directed arrows, and higher directed cells. The change is small in notation and large in meaning: an arrow constructor does not carry an inverse unless inverse data are separately supplied.
This chapter develops the one directed higher-inductive interface that the current emdash calculus actually implements. It is enough to support the central calculation of Chapter 8 and to reveal what a reusable directed-HIT schema would have to provide. We will not promote this single example into a general theorem about all cell presentations.
6.1 Constructors With Direction
At a schematic level, a directed higher-inductive category may have:
- object constructors, such as
b:Obj(W); - arrow constructors, such as ;
- cell constructors, identifying or comparing composites of arrows;
- dimension conditions, controlling which higher cells remain nontrivial.
The eliminator must mirror these constructors. A nondependent recursor into a category C asks for an interpretation of every object, arrow, and cell constructor in C. A dependent eliminator into a family D asks for lifts in the appropriate fibres. A contextual eliminator between two families asks for fibre functors together with comparison cells. In each case, constructor computations say that the induced map observes the supplied data at the constructors.
For a groupoidal path constructor, one may freely use inverse paths in later reasoning. For a directed arrow constructor, that move is unavailable. If a presentation contains only
then it generates forward composites ; no negative power has been introduced. This is the fundamental distinction between the walking endomorphism and the circle.
The formal ledger for such a signature is therefore longer than a constructor list. It records formation, introductions and their boundaries, the chosen eliminator, constructor beta rules, higher action and coherence, dimension data, and the current uniqueness status. The general template and the exact WalkingEnd instance are collected in Appendix G.6; this chapter develops the same clauses in mathematical order.
6.2 The Selected Walking Signature
Write W for the category WalkingEnd, with constructors
The category is opaque. Its object classifier, hom-categories, identities, and composition are not defined by reducing them to a Nat model. Alongside the constructors, the signature retains evidence that W is one-dimensional: every hom-category is discrete.
Formal status — checked. Evidence
WE-SIGNATURE.WalkingEnd_cat,walking_base, andwalking_loopare opaque declarations.walking_end_is_one_catis explicit signature evidence; it does not unfold the category into a concrete presentation.
One-dimensionality is a height condition, not an invertibility condition. It says that parallel 2-cells in each hom are equality-like and that there are no nontrivial higher directed layers there. It does not say that every 1-cell of W has a reverse. Chapter 7 will make the distinction precise.
Why keep W opaque? Because the theorem in Chapter 8 is then a consequence of its constructors, eliminator, and dimension evidence. If its based hom were defined to be Nat, the calculation would merely restate a definition. Opacity turns the comparison with Nat into a normalization theorem.
6.3 The Contextual Algebra
Let
be directed Cat-valued families. At the base, suppose we are given a functor
There are two ways to move an element of R[*] once around the generator and then apply u:
The selected lax orientation asks for a transformation
These data form the contextual algebra of the walking endomorphism. Its eliminator produces a displayed functor
over the whole of W.
Formal status — checked. Evidence
WE-CONTEXTUAL-ELIMINATOR. The owner iswalking_end_ind_funcd. Its base component computes tou, and its displayed action on the literal generator computes to the component ofsigmaat the selected source object.
The direction of sigma deserves attention. It is not an equality asserting strict commutation, nor is it automatically reversible. It is a directed cell comparing the two composites. This is the right amount of coherence for the displayed-functor interface used by emdash: composition with base action commutes laxly in the selected direction, and higher naturality continues through the generic transfor calculus.
The word “contextual” means that the eliminator retains R, the context from which inputs are drawn. Removing R too early would reduce u to a single object and sigma to a single lift. That specialization is useful, but it cannot construct Chapter 8's decoder from one nonconstant family to another.
6.4 Sections And Recursors Are Special Cases
Take R to be the constant terminal family. A functor is determined by an object d of the base fibre. The generator coherence reduces to an arrow
Contextual elimination then yields a dependent section
Take D constant as well, at a category C. Its transport is the identity, so the data become an object c:Obj(C) and an endomorphism . The resulting section is an ordinary functor
with the expected observations
Formal status — checked. Evidence
DHIT-DERIVED-ELIMINATORS.walking_end_ind_secis a transparent specialization of the contextual eliminator. The ordinary recursor is derived from it and then made opaque; its public head owns checked base, loop and strict-composition observations.
This dependency is architecturally important. There is one semantic elimination principle, not three unrelated black boxes. The derived views retain the generic functor and transfor action, which is why a recursor-built object such as Code can later be acted on at higher cells.
6.5 What “Computes” Means
A constructor computation can be visible in several ways:
- a runtime reduction may expose the supplied constructor datum;
- a typed equality may state that two stable observations agree;
- a proof-time comparison may join expressions without selecting either as the runtime normal form.
For the walking eliminator, the contextual base projection and the displayed generator cell are the constructor-specific runtime owners. Narrow projections expose the same data through the derived section and recursor views. Transparent equality theorems record those observations at their readable types.
This distinction prevents a tempting but dangerous simplification. One should not add a new constructor-specific rewrite merely because a theorem is mathematically true. Generic functoriality already owns preservation of identities, composition, and ordinary naturality. The HIT-specific rules own only what observing the literal constructors must reveal.
The book will normally write a constructor equation with =. A formal status note determines whether that equation is runtime computation, propositional equality, or a mathematical development. This keeps the main line readable without blurring the operational contract.
6.6 From A Pointwise Step To A Coherent Spiral
Chapter 8 requires more than the ordinary recursor. Its code family and based representable family are both nonconstant:
At the base, natural-number powers give a carrier function
Because the source is the path category of Nat, equality action lifts this function to a functor
The contextual algebra still needs a transformation
Pointwise, the endpoints are and . Nat recursion makes them propositionally equal, but a family of equalities is not by itself the required transformation into a directed hom-category. The higher action and endpoint comparisons must be assembled coherently.
Emdash does this through a restricted equality-local core inclusion and a PathLift construction. Informally, PathLift turns a function whose source carries equality paths into a functor with directed target. The non-strict spiral inserts the necessary comparison before the lifted step; ordinary path functoriality discharges the other side. Its readable component has the forward direction
Formal status — checked. Evidence
WE-SPIRAL. The selectedwalking_power_spiralis the explicit restricted-core-inclusion construction, andwalking_power_spiral_cellexposes the directed component shown above.
The spiral is a small but representative lesson in functorial type theory. Carrier equality supplies useful input, yet the consumer asks for a coherent cell with functorial higher action. The bridge between the two must be an explicit construction; it cannot be hidden by treating every directed hom as an identity type.
6.7 The Derived Decoder Interface
Substituting
into contextual elimination yields
Its fibre component at x is a functor from codes over x to based arrows ending at x; at the base it computes to the power functor. Naturality of this single displayed functor is what later produces a directed normalization cell for every opaque based arrow.
This is stronger than defining only a function Nat -> Hom_W(*,*). The latter supplies candidate normal forms but contains no explanation of why an arbitrary arrow reaches its candidate. The contextual eliminator supplies exactly that missing action.
6.8 Toward A General Directed-HIT Schema
The walking interface suggests a reusable architecture. A general schema would need at least:
- a language of object, arrow, and higher-cell boundaries;
- generated recursion, dependent elimination, and contextual elimination;
- functorial action at every exposed cell level;
- a policy distinguishing computational constructor rules from propositional coherences;
- subject-reduction and overlap checks for the generated rules;
- algebra and morphism categories suitable for universal-property theorems;
- optional dimension or truncation constructors whose consequences are separately controlled.
Pushouts, quotients, general directed intervals, and cell complexes would test different parts of such a design. None follows merely by changing the name of the walking generator. The selected groupoidal interval used later in Chapters 26–27 is a separate two-point HIT, while its directed WalkingArrow source is derived from join; neither supplies a generic signature compiler.
Formal status — research boundary. Evidence
DHIT-GENERAL-SCHEMA. The active code implements the selected opaque WalkingEnd signature and its eliminator interfaces. It does not yet implement a generic signature compiler or arbitrary directed higher-inductive categories.
The selected example is nevertheless substantial enough to guide that future work. It forces object action, arrow action, a genuine lax coherence cell, higher functorial lifting, constructor computation, and an interaction with finite categorical height. The next chapter develops the last item before we use all of them together.
7. Truncation And Categorical Height
An induction principle tells us how to construct data. A truncation principle tells us how much distinction that data can retain. These ideas meet in the walking-endomorphism proof: contextual elimination first constructs a directed 2-cell, and one-dimensionality then shows that the parallel 1-arrows it connects are equal.
There are two related height measures in emdash. Recursive groupoidal truncation measures the identity types of a classifier. Recursive categorical dimension measures the hom-categories of a directed category. They agree in important boundary cases, but they are not the same definition. Keeping them separate lets us use equality locally without declaring all directed arrows invertible.
7.1 Recursive Truncation
The truncation levels begin at -2 and continue by successor. For a classifier A, define
Thus:
- a
(-2)-truncated classifier is contractible; - a
(-1)-truncated classifier is a proposition; - a
0-truncated classifier is a set; - a
1-truncated classifier has set-valued identity types; - each further level permits one more layer of identity structure.
The recursive equation is the important part. To prove that A is (n+1)-truncated, one proves that every identity classifier x=y is n-truncated. Truncation arguments can therefore descend through identity types until they reach contractibility.
Formal status — checked. Evidence
LOGIC-TRUNCATION-PREDICATE.IsTruncGrpdimplements this recursion, withIsPropGrpdandIsSetGrpdas the proposition and set abbreviations.
This is a property of an existing classifier. Supplying h:isTrunc_n(A) does not replace A by a quotient, erase its points, or create a new type. It certifies that higher identity distinctions already collapse at the stated level.
7.2 Truncation Evidence Is Itself A Property
There may be many expressions witnessing that A is n-truncated. Mathematically, the choice should not matter. The evidence classifier itself is proposition-valued:
Consequently any two truncation witnesses are equal. Packages may retain the witness for later use without turning it into observable structure.
Formal status — checked. Evidence
LOGIC-TRUNCATION-EVIDENCE-PROP. The theorem is uniform in the truncation level and the classifier.
There is a useful distinction between retaining evidence and erasing it. Emdash generally retains evidence in Sigma-like packages so a consumer can project it. Proposition-valuedness then proves that two choices are equal when equality is needed. This is constructive proof irrelevance, not an instruction to remove the field from the data representation.
7.3 Closure Principles
The recursive definition supports the standard structural operations.
First, truncation is monotone:
A type with no distinctions above level n also has none above the weaker level n+1.
Second, dependent functions preserve a pointwise truncation bound. If every B(x) is n-truncated, then
is n-truncated. At successor levels the proof uses the equivalence between equality of functions and pointwise equality.
Third, dependent sums preserve a common bound. If A and every B(x) are n-truncated, then
is n-truncated. The successor proof analyzes equality of dependent pairs as a base path together with a path over it.
Formal status — checked. Evidence
TRUNC-CLOSURE. The active operations areis_trunc_grpd_succ,is_trunc_pi, andis_trunc_sigma, each with recursive base and successor behavior.
Truncation is also invariant under equivalence and closed under retracts. For the latter, suppose Y is a retract of X: there are maps
with equal to the identity on Y. Any truncation bound on X descends to Y.
Formal status — checked. Evidence
TRUNC-RETRACT.is_trunc_retractworks uniformly at every recursive truncation level from explicit retraction data.
These closure results are not merely a catalogue. Pi closure makes proposition evidence stable under universal quantification; Sigma closure controls total spaces and evidence-retaining universes; retract closure lets a normalization or equivalence argument transfer height to a less explicit carrier.
7.4 Universes Of Truncated Classifiers
For each level n, the package
retains a classifier and its truncation evidence. Since the evidence is a proposition, equality of packages is governed by the carriers rather than by an arbitrary choice of proof.
The selected truncated-universe univalence theorem identifies package equality with carrier equivalence:
Both directions and their round trips are named. This is a useful, precise univalent universe: it ranges over classifiers already equipped with one fixed truncation bound.
Formal status — checked. Evidence
UNIV-TRUNCATED. The package isTruncGrpdU;trunc_grpd_univalence_type_equivsupplies the carrier equivalence between package identity andTypeEquiv.
The adjective “restricted” matters. This theorem does not by itself identify objects in an arbitrary directed category with ordinary categorical isomorphisms. Nor does it construct a truncation of an arbitrary input. It is a univalence theorem for an evidence-retaining subuniverse of the groupoidal classifier universe.
7.5 Finite Directed Dimension
Truncation follows identity types. Directed dimension follows hom-categories. The nonnegative dimension codes are generated by
Their classifier is recursive:
A zero-dimensional category is discrete. A one-dimensional category may have nonidentity directed 1-arrows, but each of its hom-categories is discrete. A two-dimensional category may have nontrivial 2-cells, while the next homs are discrete, and so on.
There is a corresponding object-truncation level:
If C has categorical dimension n, then its object classifier is truncated at catLevel(n). In particular, objects of a discrete category form a set, and objects of a one-dimensional category form a 1-truncated classifier.
Formal status — checked. Evidence
CAT-DIMENSION.IsNCatowns the homwise recursion,cat_dim_trunc_levelcomputes the corresponding groupoidal level, andncat_obj_truncproves the object-truncation consequence.
This bridge does not collapse the two notions. IsNCat constrains all iterated directed homs; object truncation records only equality structure on the object classifier. Two categories can have equally truncated object classifiers while differing radically in their directed arrows.
7.6 One-Dimensionality Of The Walking Endomorphism
The WalkingEnd signature contains
Unfolding the successor clause gives, for every x,y:Obj(W),
In particular the based hom
is discrete. Given two based arrows , a directed 2-cell
can therefore be converted to an equality p=q of objects of the hom-category.
Formal status — checked. Evidence
WE-ONE-DIMENSIONAL.walking_end_hom_discretespecializes the dimension witness, andwalking_end_based_cell_to_pathconverts a based 2-cell to equality.
This operation is local to the next hom. It does not produce an arrow , an inverse for p, or an inverse for ell in W. Equality between the objects of a discrete hom-category and invertibility of those objects as arrows of the ambient category are different statements.
7.7 The Exact Height Step In Encode–Decode
Chapter 8 constructs, for every based arrow , a directed normalization cell
inside H_x. Only then does hom-discreteness give
This is the sole step in the hard inverse where one-dimensionality is used. It converts already-constructed directed information into equality; it does not help construct the information.
The other inverse,
is proved independently by Nat induction using the zero and successor computations. It does not require hom-discreteness. Nat sethood plays two nearby but distinct roles: it makes the concrete BNat hom-category discrete, and it can be transported backward along the final carrier equivalence to give a second proof that the based-endomorphism carrier is a set. Neither role should be substituted for the directed normalization step.
This separation is a model for later proofs:
- build a cell using functorial or contextual action;
- invoke a dimension hypothesis at the exact hom level where the cell lives;
- extract equality only if the target theorem needs it.
The intermediate cell can carry an orientation or support further composition even when its equality shadow cannot.
7.8 From Properties To A Classified Reflector
A truncation operation assigns to every classifier a new classifier , together with a universal map and elimination into -truncated targets. The active groupoidal layer now realizes this idea in a classified form. The category contains retained -truncated classifiers, and
is the primary result. Decoding its carrier gives the ambient classifier . The point constructor computes, while dependent elimination is restricted to motives that themselves land in . Recursion derives a whole map action; identity, composition, and a retained path action follow from that same eliminator rather than from an unrelated registry of truncation laws.
This reflector extends rather than replaces the predicates and closure theorems developed earlier in the chapter. The predicates state when a given classifier is already truncated. The reflector constructs a classified truncated target. Finite categorical height remains separate: WalkingEnd's one-dimensionality is signature evidence and is not obtained by truncating an arbitrary directed category after the fact.
Formal status — checked. Evidence
TRUNC-REFLECTOR. The active construction is a computational groupoidal truncation reflector with classified motives. A general directed categorical truncation, arbitrary quotient/HIT schema, and comparison with every classical hub-and-spoke presentation remain future work.
We now have every prerequisite for the main proof: equality-local action, functors and directed families, contextual elimination, equivalence packages, recursive truncation, and homwise categorical height. The next chapter puts them together without identifying direction with invertibility; Chapter 26 later returns to the reflector through the connectedness of the Circle.
8. Synthetic Directed Homotopy Theory
Homotopy type theory studies spaces by calculating identity types and loop spaces internally. A directed foundation admits another kind of calculation: we may calculate a hom whose arrows are not assumed invertible. The first example is the walking endomorphism.
Write W for WalkingEnd, * for its base, and for its generating arrow. Composition is in categorical order, so means first f and then g. For any object x of W, abbreviate the based hom-category by
An object of H_x is a directed arrow . An arrow of H_x is a directed 2-cell between two such arrows. The signature states that W is one-dimensional, which means precisely that every H_x is discrete. We will exploit this discreteness only after a directed 2-cell has been constructed.
The proof uses six interfaces:
Path(A), the equality-local path category of a typeA;- functor action
F[f]on arrows and its higher action on cells; - a directed Cat-valued family and its fibre
E[k]; - a displayed functor between two such families;
- natural-number induction;
- a carrier equivalence
TypeEquiv(A,B), consisting of maps and inverse laws.
Chapters 1–7 develop these notions. This chapter uses them as a compact working language and returns to implementation names only in formal-status notes.
The proof also follows the formal rule ledger of Appendix G.4. The WalkingEnd constructors and contextual eliminator supply formation, introduction, elimination, and beta computation; the code family and spiral supply the missing action and coherence; one-dimensionality is used only afterward. Full initiality is the uniqueness clause and remains separate from the checked encode–decode calculation.
8.1 The Based Endomorphisms Of The Walking Endomorphism
The target statement is:
Theorem 8.1 (the walking-endomorphism calculation). There is an equivalence of underlying carriers
Formal status — checked. Evidence
WE-HOM-NAT-CARRIER. The active package iswalking_hom_nat_type_equiv, with an additional equality-valued omega-equivalence facade at the groupoid/type level.
The qualification “underlying carriers” matters. The theorem does not definitionally replace H_* by a concrete Nat category. Nor does the current package include a monoid isomorphism, a reverse functor from the concrete model BNat, an equivalence of hom-categories, or the full initiality of W. We will identify exactly which stronger statements follow on paper and which still require formal infrastructure.
8.1.1 Getting Started
The obvious endomorphisms are the natural powers of the generator:
The recursion prefixes one copy of ell at each successor. Thus is and no inverse power is present. The definition is an ordinary Nat eliminator whose motive is the object carrier of H_*.
Formal status — checked. Evidence
WE-POWER. The object map iswalking_power, andwalking_power_funcsupplies its equality-local higher action.
To prove that these powers exhaust the endomorphisms, we seek a measurement
such that
The first equation is approachable by Nat induction. The second quantifies over an arbitrary opaque arrow . We cannot inspect p as a word because no word datatype is installed as the hom of W.
There is a second, subtler obstruction. An induction principle for a based path normally becomes useful only after the other endpoint has been generalized. Fixing both endpoints too early hides the varying family on which induction acts. The same phenomenon appears here in directed form: the calculation must be stated not only for H_* but for every based hom H_x.
We therefore look for a family of codes Code[x] and maps
natural in the directed endpoint x. The base instance will then be the desired Nat comparison.
The encoder is the easy half once Code is known: start at zero and let the arrow act,
Formal status — checked. Evidence
WE-ENCODE.walking_encodeis defined for every endpoint and every based arrow, not only for endomorphisms at the base.
At the base, the computations we want are
and
The first is retained normal identity action. The second follows from the generator computation of Code and strict functor composition. The literal generator observation belongs to the opaque WalkingEnd recursor; preservation of composition is the public default. No separate composite-prefix rule is added.
Formal status — checked. Evidence
WE-ENCODE-PREFIX. The prefix equation is propositional; its owner specializes the recursor's named composition computation and the literal generator computation.
8.1.2 The Free-Monoid Model
Before constructing Code, it helps to exhibit the arithmetic object we expect W to resemble. Define a category BNat by
Its identity is zero. With our composition convention,
where addition recurses in its left input:
The underlying objects of the sole hom-category are therefore the natural numbers. Its higher arrows are equality paths between naturals. Since Nat is a set, that hom-category is discrete, so BNat satisfies the same one-dimensionality contract as W.
The generator in BNat is 1. Applying the ordinary recursor of W produces
Functoriality forces J to send a displayed composite of generators to the corresponding sum. Thus BNat demonstrates that the walking signature has the expected one-object Nat-monoid interpretation.
Formal status — checked. Evidence
WE-BNAT-MODEL. The identity and recursive composition ofBNat, their propositional agreement with Nat addition, its one-dimensionality, andwalking_bnat_model_funcare checked.
This model does not settle Theorem 8.1. A functor J gives a number to every endomorphism, but it need not reflect equality: two unknown arrows might map to the same number. Nor does a map out of an opaque inductive object supply a map back. The model is valuable precisely because it remains separate:
- it checks that the signature can be interpreted without collapsing zero and one;
- it fixes the intended orientation of identity, composition, and generator;
- it predicts the normal forms;
- it does not place those normal forms into the definition of
W.
This is the categorical analogue of testing a presentation in a familiar model before proving its universal consequences. The exhaustiveness proof must come from the eliminator and dimension evidence of W itself.
Formal status — research boundary. Evidence
WE-FULL-CATEGORICAL-COMPARISONrecords what is absent: a reverse functor, a packaged categorical equivalence, and full functor-category initiality require reusable monoid-action-to-functor and functor-extensionality infrastructure.
8.1.3 The Directed Cover In Functorial Type Theory
We now define the family that measures arrows. The ordinary recursor for W says that a functor out of the walking object is determined by a target object and one endomorphism of that object. Take the target category to be Cat, choose Path(Nat) as the object, and choose the successor functor as its endomorphism. The result is
with constructor computations
Formal status — checked. Evidence
WE-CODE. Both the base fibre and literal generator action are checked recursor observations.
There is an important contrast with the circle. A universe-valued family over the circle must send its loop to an equality of types. Univalence can produce such an equality from successor on the integers because integer successor is an equivalence. Natural-number successor is not an equivalence: it misses zero. The directed recursor asks only for an endofunctor, so it accepts successor directly. Univalence remains part of the surrounding foundation, but it is neither needed nor appropriate to turn this action into a reversible path.
At the base fibre, picture
as levels of a helix over the directed loop. One traversal moves upward by one level. There is a boundary at zero and no downward motion. The picture is a guide to the action of the family; it is not a claim that a topological covering space or a contractible total category has been constructed.
For any based arrow , functor action gives
Evaluating at zero defines encode_x(p). At x=* the result is a natural number. For a generator-prefixed arrow, strict functoriality factors the action:
The target of the decoder is the based representable family
For , its action is postcomposition:
Thus a decoder varying over x should be a displayed functor
At the base, its object map ought to send n to ell^n. But an object map alone is too little. It must act on equality paths between naturals, and it must be coherent with the base generator.
The pointwise power function lifts to a functor
The lift uses equality action and inclusion into the directed hom-category. This retains the higher action needed by the contextual eliminator rather than truncating power to a bare function.
The generator coherence has the form
At a natural number n, its readable component is
inside H_*. The endpoints express the same recursive power equation, but the contextual eliminator requires a coherent transformation, not merely a family of object equalities. Emdash constructs it by lifting the equality between the two step functions through the restricted equality-local core and adding the endpoint adjustments demanded by the ambient directed hom. This is the spiral.
Formal status — checked. Evidence
WE-SPIRAL. The selected spiral is the explicit-core-inclusion two-factor construction; its readable component has the direction shown above.
The contextual elimination principle for W may be read as follows. Given directed families , a base functor
and a transformation
it produces a displayed functor . Substituting R=Code, D=Rep_*, u=power, and sigma equal to the spiral yields the desired contextual decoder.
Formal status — checked. Evidence
WE-CONTEXTUAL-ELIMINATORandWE-CONTEXTUAL-DECODER. The displayed decoder iswalking_directed_decode_funcd, and its base fibre computes to the power functor.
This construction is why the generalization over all endpoints is not a stylistic flourish. The decoder is coherent because it is one displayed functor over the whole opaque object, not a collection of unrelated functions defined only at the base.
8.1.4 The Encode-Decode Proof
We now follow the dependency order of the construction. The order matters: compressing the argument into two carrier functions would hide its directed content.
Step 1: powers with higher action
Nat induction defines power(n)=ell^n on objects. Equality action lifts this function to
At zero and successor,
The functorial lift is essential: the next step needs to transport equality of naturals to a 2-cell between powers.
Step 2: the spiral
Postcomposition by ell after power and power after successor are two functors from Path(Nat) to H_*. The recursive power equation gives equality of their underlying object functions. The equality-local lift, restricted core inclusion, and directed endpoint adjustments turn this into
Its component sigma_n points from generator-prefix composition toward the successor power. This is the coherence algebra consumed by the HIT eliminator.
Step 3: the contextual decoder
Contextual elimination now supplies
Projecting to a fibre gives, for every x,
Write decode_x(c) for its object action. At the base this functor is judgmentally the power functor, so
Step 4: the directed normalization cell
Let be arbitrary. A displayed functor does more than provide fibrewise maps: it compares transport in its source and target families along every base arrow. Apply this comparison to p and to zero in Code[*].
On the source side, the representable action gives
On the target side, Code action gives Code[p](0)=encode_x(p), then the fibre decoder gives decode_x(encode_x(p)). The displayed comparison is therefore a directed 2-cell
in H_x.
Formal status — checked. Evidence
WE-NORMALIZATION-CELL. The term is the displayed hom-action of the contextual decoder atpand zero. Its source reduces through representable postcomposition,power(0), and the right unit.
This is the conceptual climax of the proof. It says that an unknown arrow can move, by a directed higher cell, toward the canonical power selected by its code. We have not yet said that the two arrows are equal.
Step 5: equality from categorical height
The one-dimensionality witness for W makes H_x discrete. In a discrete category, a hom between two objects can be converted to equality of those objects. Applying this operation to nu_p gives
Formal status — checked. Evidence
WE-NORMALIZATION-PATH. The implementation explicitly constructswalking_directed_normalization_cellbefore applying hom-discreteness inwalking_directed_normalization_path.
This final conversion forgets the orientation of normalization, but it does not make p or ell invertible. It uses the absence of nontrivial 2-dimensional variation in a hom-category; it says nothing about inverses for its objects as 1-arrows of W.
Step 6: the hard inverse
Specialize to x=*. Because the base decoder computes to power, bar(nu)_p becomes
The inverse law for the desired equivalence is conventionally oriented the other way, so we take symmetry:
Formal status — checked. Evidence
WE-POWER-ENCODE. This is the difficult carrier inverse, and it is derived from directed normalization rather than from induction on an exposed word.
In the circle calculation, the analogous fixed-loop problem is repaired by generalizing the endpoint and using path induction. Here the endpoint is also generalized, but the eliminator supplies a directed displayed action. The normalization cell is the directed replacement for the equality that path induction would have produced immediately in a groupoidal setting.
Step 7: the easy inverse
For n:Nat, prove
by Nat induction.
At zero, power is the identity and a functor sends identity to identity, so acting on zero returns zero. At a successor,
The middle equality is the generator-prefix encoding formula; the last is the induction hypothesis acted on by successor. No negative case is required.
Formal status — checked. Evidence
WE-ENCODE-POWER. The theoremwalking_encode_power_roundtripis native Nat induction over the checked prefix equation.
Step 8: package the equivalence
The forward function is encode_* and the inverse is power. The previous two steps provide both quasi-inverse laws, so they determine
The encoder is also packaged as a functor
obtained by taking the hom-action of Code and evaluating at zero. This functor acts on 2-cells between endomorphisms. Its ordinary functor laws should not be confused with preservation of the horizontal monoid composition of the endomorphisms themselves.
Formal status — checked. Evidence
WE-STRUCTURED-ENCODERandWE-HOM-NAT-CARRIER. The structured encoder and carrier equivalence are active; a structured reverse functor and a monoid package are not.
The proof can now be summarized without erasing its architecture:
followed by the independent Nat-inductive calculation encode(ell^n)=n.
8.1.5 Consequences And The Missing Negative Integers
The equivalence has immediate structural consequences, but the most illuminating ones concern what the walking generator cannot do.
The based hom is a set
There are two checked proofs that the underlying carrier Hom_W(*,*) is a set.
- By dimension. One-dimensionality makes
H_*discrete, and discreteness includes sethood of its object carrier. - By comparison. Natural numbers form a set, and truncation is invariant under the carrier equivalence.
Formal status — checked. Evidence
WE-HOM-SETHOOD. The two proofs are separately named, so the dimensional and equivalence-based explanations remain visible.
The generator is not the identity
The prefix computation gives
If ell=id_*, functorial action of encode on that equality would yield 1=0, whose Nat equality classifier is empty.
Formal status — checked. Evidence
WE-LOOP-NOT-IDENTITY.
The generator has no right inverse
Suppose and
Encoding the left side and using the prefix formula gives succ(encode(r)); encoding the right side gives zero. Again a successor cannot equal zero. Therefore no such r exists.
Formal status — checked. Evidence
WE-LOOP-NO-RIGHT-INVERSE. The statement is specifically the absence of a right inverse in the displayed composition orientation; no stronger cancellation theorem is being silently imported.
Native omega-equivalence evidence for an arrow contains, among its data, a right inverse and its equality law. The preceding result therefore rules out such evidence for ell.
Formal status — checked. Evidence
WE-LOOP-NONINVERTIBLE.
Composition and addition
The carrier theorem strongly suggests the monoid formula
Its orientation agrees with BNat: q is the outer arrow and its code is the left input of addition. A paper proof follows from the checked interfaces. First use Nat induction and associativity to show
Then replace q and p by their normalized powers and use encode(power(k))=k. In endash, Cat.ListBridge packages both WalkingEnd.power_add (), WalkingEnd.encode_comp (), and the monoid-preserving list equivalence WalkingEnd.toListUnit_comp with 0 axioms (see Chapter 32).
Formal status — checked. Evidence
WE-COMPOSITION-ADDITION(WalkingEnd.power_add,WalkingEnd.encode_comp, andWalkingEnd.toListUnit_compinCat.ListBridge).
Why naturals replace integers
For the circle, every loop is an equality path and hence can be reversed. Powers extend from naturals to integers, the code action has both successor and predecessor, and the result is group-valued.
For W, the generator is a directed arrow with no supplied inverse. The code action moves
and cannot move below zero. Natural numbers record the free monoid generated by forward motion. The negative integers are missing for the same reason the right inverse is missing: direction has not been group-completed.
The comparison with the Circle now proceeds by exactly such an explicit free-inversion construction. A whole functor
sends the base and directed generator to the Circle base and loop. It sends every natural power to the corresponding nonnegative Circle power, and the Circle encoder reads that image as the canonical inclusion . More strongly, restriction along this functor is a whole mapping equivalence against every groupoidal target. The theorem does not make invertible inside ; it characterizes the separate groupoidal object obtained by freely allowing inverse motion.
Formal status — checked. Evidence
WE-GROUP-COMPLETION. The concrete WalkingEnd–Circle restriction/extension theorem is active and iterable. Chapter 27 places it beside category-indexed groupoidification. A reverseBNatfunctor and a packaged monoid isomorphism for the original carrier theorem remain separate questions.
The calculation has reached its intended boundary. It proves that an opaque directed generator has exactly the expected natural powers, and it proves noninvertibility rather than assuming it. The later universal mapping theorem strengthens the surrounding comparison, but it is not a hidden premise of the Nat encode–decode proof.
8.2 Higher Groupoidal Shadows
The surrounding calculus is directed, but equality-local and groupoidal phenomena remain inside it. The first neighboring example is the Eckmann–Hilton argument.
Let B be a category and x an object. The 2-endomorphisms of the identity 1-arrow form the carrier
There are apparently two ways to combine elements. Vertical composition is ordinary composition in the hom-category Hom_B(x,x). Horizontal composition is obtained by whiskering/postcomposition at the identity 1-arrow. They share the identity 2-cell as a unit, and the ordinary functoriality of whiskering supplies interchange. The classical Eckmann–Hilton calculation then makes the operations agree and commute:
Formal status — checked. Evidence
EH-COMMUTATIVITY. The active termEH_commderives commutativity from the two compositions, shared units, and interchange in the iterated-hom representation.
This result does not undo the directed character of W. It lives one dimension higher at the identity arrow, where the relevant comparison is equality-local. The coexistence is the point: a directed theory can contain groupoidal shadows at controlled boundaries without declaring all of its arrows reversible.
9. Transfors And The Calculus Of Cuts
Composition is indispensable, but a syntax made only of nested composites quickly forgets why a particular reassociation matters. Functorial type theory therefore gives important cuts a name and a computational owner. A functor acts on an arrow; postcomposition and precomposition act on represented homs; a transfor acts off the diagonal; and a universal construction eliminates a map through the object it represents. Each operation controls its own reassociation.
This point of view is inspired by the categorical proof theory of Došen's Cut Elimination in Categories. We use that work only as a conceptual reference. The presentation below is newly written for emdash, whose iterated homs and directed families require a different formal architecture.
The gain is not merely prettier notation. A selected cut can compute while retaining the functor or transfor that acts on the next hom. An unrestricted associativity rewrite would erase that information, create competing normal forms, or loop by repeatedly changing brackets. Controlled cut elimination instead answers three questions at once: what is being eliminated, where its normal form lives, and which higher action survives.
9.1 Four Levels Of Cuts
We shall use four levels throughout the rest of the book.
- An arrow cut composes one chosen arrow on the left or right. Its owners are the lower-star postcomposition and upper-star precomposition actions.
- A family cut composes next to an arrow that varies naturally. Its owner is the off-diagonal action of a transfor.
- A structural cut eliminates data introduced by a product, dependent total, curry, or related type former. Its owner is the corresponding projection or eliminator.
- A universal cut factors through a chosen representing object. Its owner is an adjunction, representability comparison, or another explicit universal-property interface.
These levels are not four unrelated collections of rewrite rules. They form a progression. Arrow cuts explain local composition; family cuts explain naturality; structural cuts explain computation for categorical type formers; and universal cuts explain why constructions such as adjoints, Yoneda maps, and weighted limits compute.
We also keep four equality modes distinct. Judgmental NbE evaluation selects a semantic normal form. Elaboration-time unification solves implicit arguments and typeclass instances in .en while emitting explicit Core terms. A propositional equality is an internal witness in Eq(A, x, y). A mathematical equality in free-form theory states the intended theorem while naming the interface still needed to check it. The symbol below is reserved for an actual selected runtime reduction; an ordinary equality sign does not silently make that claim.
In the terminology of Appendix G.4, each named cut is an elimination followed by a computation rule. Its formation and introduction data determine which composite is well typed; its full functor or transfor owner supplies higher action; and any eta or uniqueness principle is stated separately. This is why a pointwise naturality equation cannot replace tapp1_func, and why a universal comparison needs both beta and eta rather than one attractive factorization formula.
9.2 Arrow Cuts
Composition is written : first , then . The two star actions record which side of a represented hom is moving.
If and , then
is postcomposition by . If and , then
is precomposition by . Lower star is covariant in the moving target; upper star is contravariant in the moving source. They are different operations, not typographic variants.
The implemented forms are slightly more general. For and in , postcomposition uses on a hom ending at , while precomposition uses on a hom beginning at . Retaining is what lets the action iterate on higher cells.
9.2.1 Example 1: Postcomposition Accumulates
Let
Two consecutive lower-star cuts reduce to one:
Both sides are arrows . The selected normal form retains a single postcomposition action whose moving arrow is ; it does not expand to a raw threefold composite. The generic owner is hom_postcomp_fapp0, and the displayed equality mode is runtime reduction. Before capping at , hom_postcomp_func remains a functor between hom-categories, so its action on 2-cells between possible values of is still available.
For a general public functor , the strict functor law likewise identifies consecutive action by and with action by . The whole represented-hom owners retain this computation before the final arrow argument is supplied; no extra strict-functor wrapper is required.
9.2.2 Example 2: Precomposition Reverses The Action Order
Let
The corresponding upper-star reduction is
Both sides are arrows . The selected normal form is one precomposition action along . The generic owner is hom_precomp_along_fapp0, and this is again runtime reduction. Its uncapped form hom_precomp_along_func remains a functor on the represented hom, with the next hom-action intact.
The order is worth reading twice. Starting with , we first precompose by and then by , but the accumulated base arrow is . Thus
That reversal is contravariance, not a special exception to associativity.
Formal status — checked. Evidence
CAT-HOM-CUTS. The full and capped lower-star and upper-star actions have identity, consecutive-action, and adjacent raw-cut computations under the strict public functor contract. Ordinary-composition readings remain proof-time comparisons where selecting a second runtime normal form would be harmful.
9.2.3 Why There Is No Global Associativity Rewrite
The ordinary associator is available as a proof-time comparison and as propositional evidence. It is not installed as a pair of unrestricted runtime rules. Such rules would either orient every composite toward a normal form that ignores semantic owners or permit both bracketings and loop.
Star accumulation is narrower. It reassociates exactly when one side is a represented-hom action, and its result retains that action as a stable head. The same policy will govern the next three levels: eliminate the cut at the construction that understands it.
9.3 Family Cuts
Let and let . A point component is only the diagonal of a more useful operation. For every there is an off-diagonal functor
For , write its value as . Setting recovers ; retaining the whole functor retains its action on 2-cells between arrows .
Formal status — checked. Evidence
TRANSF-POINT-OFFDIAGONAL.tapp0_fapp0observes the point component, whiletapp1_funcandtapp1_fapp0expose the iterable and capped off-diagonal actions.
9.3.1 Example 3: The Two Naturality Cuts
Take arrows
For the stable view of a classified strict transfor , there are two neighboring cuts, one on each side of the varying arrow:
The first source and target are ; the second are . In each case the selected normal form is one off-diagonal action on the composite source arrow. The action still uses tapp1_fapp0; the stable strict-profile head authorizes both runtime reductions. A default lax transfor already has the pre/right reduction and retains the post/left comparison. At the uncapped level tapp1_func remains a functor between hom-categories, so a 2-cell between and is carried to a 2-cell between and after the cut has normalized.
Formal status — checked. Evidence
TRANSF-STRICT-NATURALITY. Both full-functor and capped-arrow forms reuse the generictapp*calculus at the stable classified strict view. Raw evidence supplies paths; it does not make the post/left cut strict on every ambient transformation.
The familiar strict naturality square is the identity-boundary instance. For , the expressions and both normalize through the common interior . For a general ambient transfor these boundaries are connected by its retained post/left cell. OneCat targets turn the appropriate cells into ordinary equality paths; a classified strict view additionally selects computation.
Identity and vertical composition follow the same architecture. The identity transfor and a vertical composite live in the transformation category, so their component projections use the generic identity and composition calculus. Higher transfors arise by iterating the next hom rather than by inventing a separate coherence language at every dimension.
9.4 Structural Cuts
A structural cut applies an eliminator to data whose introduction form is known. Product projections are the simplest case, but they already reveal an important distinction between the general categorical theory and the currently checked category-of-categories instance.
9.4.1 Example 4: The Product/Projection Benchmark In A General Category
Let be a category equipped with chosen binary products. Take objects
and arrows
Write for the induced product arrow, and distinguish the two projections by
Upper-star precomposition in gives
The Došen-style product cut is the equation
with both sides in . Its intended computational orientation is left to right. The calculation combines two controlled steps:
by product projection, followed by upper-star accumulation. The arrow disappears because the first projection observes only the first component.
The source is a composite out of and the target is a single upper-star cut with the same source and codomain. The selected normal form is . The active chosen-product interface now supplies the required whole product functor, whole projections, stable antecedential projection operations, and a derived product map. Its direct Došen naturality, beta, distribution, and eta rules retain higher action rather than stopping at the displayed 1-arrow equation.
The generic action is proof-time comparable with the triangular map formed from the two antecedential projections. Thus the readable equation above is supported by one selected product calculus, while runtime keeps its owner-aligned smaller cuts visible.
Formal status — checked. Evidence
TRIANGULAR-BINARY-PRODUCTS. For a suppliedBinaryProducts(K,P)structure, the whole product, projection, and pairing owners compute the general beta/distribution/eta calculus and retain higher action. Existence of such a structure is selected data; no claim is made that every category has binary products.
9.4.2 The Checked Cat-Specialized Legs
Set . Then are categories and are functors. The active product-valued-functor representation exposes projection by a Sigma observation. Its checked structural reduction is
The checked, owner-aligned upper-star cut is
and is proof-time comparable with the readable composite . Both owner-aligned sides retain the upper-star precomposition head and therefore its higher action on transfors between possible functors .
The literal instance of the general equation is not currently one runtime reduction. A focused typed audit found both sides well formed, checked the two owner-aligned legs, and found that neither runtime conversion nor typed reflexivity joins the raw composite directly to the selected observation . Packaging that narrow projection/composition comparison would suffice. Installing a broad product eta rewrite would be a much stronger and unsafe response.
Formal status — checked (
Cat.Adjunction,CategoryTheory.IdempotentsWeightedEnds). EvidenceCUT-PRODUCT-PROJECTION(Stacks 001B, Mathlib CategoryTheory.Products.Basic). Alongside the owner-aligned Došen projection and upper-star precomposition reductions,CategoryTheory.cut_product_projection_fst_eqpackages the literal raw functor-composite equality with0axioms without installing an unsafe global product- rewrite.
9.4.3 Example 5: Product Beta Is Elimination After Introduction
In a category with selected BinaryProducts(K,P), arrows and have a pairing . The characteristic structural cuts are
The source and target of the first equation lie in , and those of the second lie in . Their selected normal forms are and . More generally, postcomposing either projection with gives the checked triangular beta rules from (30.7), and pairing distributes through precomposition. The whole pairing functor retains arrows between possible legs.
Formal status — checked. Evidence
TRIANGULAR-BINARY-PRODUCTS. The general selected product interface computes projection after pairing, pairing distribution, and eta. Chapter 30 develops this whole interface and its terminal and indexed continuations.
The active category-of-categories specialization is nevertheless concrete. For arrows in and in , the pair is an arrow in the product category. The projection functors compute:
Here the selected normal forms are the component arrows themselves. The specialized owners are the capped hom-actions of Product_projL_func and Product_projR_func, and the equality mode is runtime reduction. Before capping, each full hom-action remains a projection functor from a product of hom-categories, so higher component cells remain available.
Formal status — checked. Evidence
CAT-PRODUCT-CALCULUS. Product categories, product maps, projection functors, and their object and hom projections have focused componentwise computations. This is evidence for the desired general architecture, not an assertion that arbitrary object-level products in every are already implemented.
9.4.4 Fibred Structural Cuts
The same introduction/elimination pattern appears in a dependent categorical context. Let be independent families over one base, and let be their fibrewise product. For displayed functors
pairing introduces a map , while the two displayed projections eliminate it. Their structural cuts are whole displayed-functor reductions:
These equations say more than pointwise product beta. At an object , pairing is the ordinary product pairing in the fibre. Over a base arrow , its action is the pair of the two displayed actions over the same . Its canonical internalized cell at a fibre object is likewise componentwise:
Thus the elimination cuts remain valid while object action, base-arrow action, and the selected next-cell observation stay internally functorial. This is the structural calculus of independent siblings ; it does not exchange a variable with another whose classifier depends on it.
Formal status — checked. Evidence
CAT-FIBREWISE-CONTEXTcovers the fixed-base displayed projections and pairing, both whole projection-after-pairing reductions, and their componentwise fibre, base-arrow, internalized-cell, and selected higher observations. The arbitrary- chosen-object-product interface of Examples 4 and 5 remains a separate mathematical development.
9.5 Universal Cuts
A universal property turns a family of maps into a chosen object together with inverse ways of introducing and eliminating a factorization. Its computation laws are higher-level cut elimination. Adjunction triangles are the first example; representability, co-Yoneda, and weighted limits continue the same line.
9.5.1 Example 6: The Two Adjunction Triangles
Let be left adjoint to , with unit and counit .
For in and in , the left triangle cut is
Both sides have source and target . The selected normal form removes the adjacent unit-counit detour while preserving the ordinary functor action .
Dually, for in and in , the right triangle cut is
Both sides have source and target . The selected normal form again removes the universal detour and retains the functorial image of the boundary arrow.
The owners are not arbitrary transformations with the same types. They are the stable unit and counit observations of the indexed Adjunction witness, and both equations are runtime reductions. Their components use the off-diagonal tapp1 action, so action on higher cells in and remains part of the surrounding functorial calculus.
Formal status — checked. Evidence
ADJ-TRIANGLE-CUTS.unit_adj_transfandcounit_adj_transfare the selected observations that trigger the two reductions. Independently named unit-shaped and counit-shaped transfors do not acquire these computations by type alone.
9.5.2 Example 7: The Shaped Co-Yoneda Beta Cut
For a profunctor , the right and left unit maps have the forms
If is a shaped element and is the matching identity-shaped hom element, their component cuts reduce as
The source is a shaped element of the corresponding tensor and the target is the original shaped element of . The normal form is ; the owners are the two Prof_coyoneda_* transformations; and the equality mode is runtime reduction on the selected shaped cells. Naturality-fusion remains available for a profunctor map , so this beta law is not merely a capped set-level equation.
Formal status — checked. Evidence
PROF-COYONEDA. Chapter 13 develops the representable and profunctor context required to read this calculation as the computational core of Yoneda.
9.5.3 Example 8: Weighted-Limit Beta And Eta
A computational weighted-limit witness is a comparison between the weighted cone profunctor and the representable hom profunctor at the proposed limit. After reindexing along a probe , it supplies operations
Their universal cuts reduce in both directions:
The source and target are profunctor maps of the displayed kinds, and the normal forms are the original maps and . The generic owners are prof_comparison_push and prof_comparison_pull; the weighted names merely specialize their types. The equality mode is runtime beta/eta reduction. The comparison can still be reindexed, symmetrized, and composed, so the higher universal structure is retained instead of being collapsed to a chosen set-level bijection.
Formal status — checked. Evidence
PROF-COMPARISON-BETA-ETA. Chapter 16 turns this general comparison calculus into the weighted-limit interface.
9.5.4 Example 9: A Right Adjoint Preserves The Weighted Limit
Suppose is left adjoint to , and a comparison certifies as the -weighted limit of . Three universal cuts compose: move a cone across the adjunction, use the given representation, and move the representing hom back. The output is a comparison certifying as the weighted limit of .
The source is the supplied weighted-limit comparison together with the adjunction; the target is the transported comparison in . The selected normal form is the composite of the two adjunction-mate comparisons and the reindexed limit comparison. Its owner is right_adjoint_preserves_weighted_limit_cov_comp. This is a checked construction, not a rewrite asserting that arbitrary limit syntax commutes with every right adjoint. The resulting comparison retains its push/pull beta-eta action on every probe and profunctor map.
Formal status — checked. Evidence
WEIGHTED-LIMIT-PRESERVATION. The theorem is developed in Chapter 16 after weights, cones, and mate comparison have been introduced.
9.5.5 Example 10: The Weighted-Colimit Dual
A -weighted colimit in is represented by the corresponding weighted limit in . Applying the preceding theorem to the opposite adjunction gives the dual statement: a left adjoint preserves the selected weighted colimit.
The source is a weighted-colimit comparison and an adjunction; the target is the transported comparison after the left adjoint. The selected normal form is the opposite of the right-adjoint preservation composite, with double opposites and reversed composition reduced by the generic duality owners. The construction is checked under left_adjoint_preserves_weighted_colimit_con. Its output is still a full comparison with push/pull behavior after passing to opposites, not merely an equality of chosen objects.
Formal status — checked. Evidence
WEIGHTED-COLIMIT-PRESERVATION. Chapter 17 develops the variance and opposite-category calculation in full.
9.6 What Cut Elimination Preserves
The ten examples have a common shape:
Their normal forms are deliberately not all raw composites. Lower star keeps postcomposition visible; upper star keeps precomposition visible; tapp1 keeps the varying arrow family visible; product projection keeps a structural component visible; and a universal comparison keeps its inverse operations visible. This is what makes the calculus iterable.
In particular, a capped equation is not the whole meaning of a construction. The full hom_postcomp_func, hom_precomp_along_func, and tapp1_func operations act on the next hom. Product projection has a full hom-functor. Profunctor comparison can be reindexed and composed. A good reduction removes the cut without discarding the object that higher-dimensional consumers need.
9.7 Directed Family Transfors And Lax Comparison
Strict cut elimination should not be confused with strictness of every directed comparison. Let be directed families and let
be a natural family morphism. At each it has a fibre functor . A transfor has a fibrewise transfor and point components at objects of each fibre.
Formal status — checked. Evidence
TRANSFD-FIBRE-COMPONENTS. The stable displayed presentations areTransfd_catandTransfd;Fibre_transfandFibre_transf_appexpose their fibre and object projections.
When the base moves along , the two relevant transports do not have to be equal. Starting with , the internal displayed hom action gives a directed cell
in . This is the displayed laxity cell. It has a direction and need not be invertible. Generic action retains this comparison and its higher action; stricter computation needs its own profile or qualified constructor instance.
Formal status — checked. Evidence
FUNCTORD-DISPLAYED-LAXITY. The endpoint functors arefunctord_transport_lhs_funcandfunctord_transport_rhs_func; the active component isfdapp1_int_cell.
For a fibre arrow , the capped displayed action has the readable form
The direct internal-hom projection is the runtime owner. Expanding it into this composite on every use would discard the stable higher action and give the comparison a second owner.
9.8 Total Categories And The WalkingEnd Decoder
The family morphism induces a functor on total categories,
An arrow in the source has the form , where . Its image is
Thus the base arrow is retained and the fibre arrow is exactly the capped displayed hom action. The laxity cell is the special case in which and is the identity.
Formal status — checked. Evidence
FUNCTORD-SIGMA-ACTION.sigma_map_funcowns the total functor, whose arrow projection uses the capped internal displayed action rather than reconstructing a comparison composite.
For the contextual WalkingEnd decoder
the generator comparison is the spiral. Evaluated at a base arrow and zero, its endpoints reduce to
The generic laxity component is therefore the directed normalization cell of Chapter 8. Replacing it by a commuting equality at the outset would erase the content of normalization. Equality is extracted only later, using discreteness of the target hom-category.
9.9 The Packaging Boundary
The calculus now has a continuous line from local arrow composition to weighted universal properties. Its discipline is equally important in the negative direction.
- The arbitrary- product benchmark needs a general chosen-product interface. Its instance still awaits one narrow packaged projection/composition comparison; neither gap justifies broad product eta.
- A displayed family morphism has a whole internal laxity transformation and its component projection ladder. Ordinary post/left and pre/right surfaces are transparent specializations of that owner rather than duplicate naturality squares.
- General ends, coends, and arbitrary Kan extensions require universal interfaces stronger than the selected profunctor operations.
- Runtime conversion, proof-time comparison, internal equality, and equivalence remain different judgments.
Formal status — checked. Evidence
FUNCTORD-WHOLE-LAXITY. The whole displayed owner, both ordinary variance surfaces, their capped cells, and the functor-compositor specialization are active. Their next actions remain in the generic hom calculus. Public functor computation and the default pre/right transfor leg are strict; the post/left comparison remains directed. A complete weak omega-category coherence theorem remains outside this checked boundary.
Cut elimination is therefore not a feature catalogue. It is the organizing principle by which functorial type theory decides what should compute, what should merely compare, and what higher structure must remain visible after a calculation is complete.
10. Categories, Precategories, And Categorical Identity
Chapter 2 introduced the categorical language needed for the WalkingEnd calculation. We now return to the word category with a different question: when should equality of objects agree with categorical sameness? The answer depends on which categorical layer is under discussion. This second pass is a spiral over Chapters 2, 4, and 7, not a replacement for their definitions.
The distinction is foundational. Ordinary univalent category theory begins with set-valued homs and asks for an identity-to-isomorphism map to be an equivalence. Emdash begins with iterated hom-categories, where arrows may have directed higher arrows between them. The ordinary theory is therefore an important specialization of functorial type theory, but it cannot serve as the definition of the ambient native category.
10.1 A Translation Table, Not A Collapse
The following table fixes the translation used throughout the remainder of the book.
| Layer | Characteristic data | Equality or height condition | Role here |
|---|---|---|---|
Native Cat | objects and iterated Hom_cat classifiers | no set-valued-hom premise in the definition | ambient directed higher language |
Equality-local Path(A) | elements of and identity evidence between them | every arrow is induced by equality | groupoidal specialization used for ordinary type theory |
Finite IsNCat evidence, including OneCat | a native category plus a recursive hom-height witness | one-dimensionality makes each next hom discrete | bridge to ordinary category-shaped examples |
| HoTT precategory | a type of objects and set-valued homs | equality between parallel arrows is proposition-valued | ordinary 1-categorical specialization |
| HoTT category | a HoTT precategory for which object identity agrees with isomorphism | idtoiso is an equivalence | univalent 1-category notion, not the definition of native Cat |
| HoTT strict category | a HoTT precategory whose object type is a set | object identity is proposition-valued, without assuming idtoiso is an equivalence | a qualified truncation notion, unrelated to runtime strictness |
Three warnings belong beside the table.
First, set-valued hom means a truncation condition, not that a hom must be presented by a classical set outside type theory. Second, strict category in the HoTT sense refers to the truncation level of the object type; it says nothing about which emdash expressions reduce at runtime. Third, a HoTT strict category need not be a univalent category: object identity may be proposition-valued while nontrivial isomorphisms remain. Finally, a OneCat witness controls the height of a native category but does not by itself identify object equality with isomorphism.
Formal status — mathematical development. The table is a translation discipline, not an implemented equivalence of packages. A generic construction identifying native finite-height categories with HoTT precategories would have to choose the ordinary hom-set presentation and prove compatibility with native composition and object equality.
10.2 The Ordinary Precategory Specialization
An ordinary HoTT precategory consists of:
- a type of objects;
- for each , a set ;
- identity arrows ;
- composition , typed so that and ;
- left-unit, right-unit, and associativity equalities.
Because each hom is a set, equality between parallel arrows is a proposition. The category laws therefore do not require an additional tower of coherence data. This is precisely the simplifying hypothesis that ceases to be available in a genuinely higher native category: there, the equality or cell between two composites may itself have nontrivial higher structure.
The emdash specialization replaces an external record of hom sets by a native category equipped with one-dimensional evidence. For every pair , the witness
makes the next hom-category discrete. Its objects are the ordinary arrows; the discreteness evidence controls their higher equality. The same witness also implies the corresponding truncation bound on , but it still says nothing about whether every ordinary isomorphism comes from object identity.
Formal status — checked. Evidence
CAT-ITERATED-HOMSandCAT-DIMENSION. NativeCathas category-valued homs,IsNCatrecurses through those homs, and finite-dimensional evidence yields the predicted truncation evidence for the object classifier.
This gives a reliable rule of reading: use ordinary precategory reasoning when the hom-height assumptions make it valid, but keep the native iterated owner visible whenever a construction must act on the next cell.
10.3 Isomorphism And Identity-To-Isomorphism
For objects of an ordinary precategory, an isomorphism consists of arrows
with and . Since the homs are sets, an inverse to a fixed is unique when it exists. Consequently the type of isomorphism evidence between two fixed objects is itself a set.
Object identity always produces an isomorphism. Given , identity induction defines
by sending reflexivity to the identity isomorphism. This map exists before assuming univalence. The additional assertion that is a category in the HoTT sense is that
is an equivalence for every .
Formal status — checked (
CategoryTheory.YonedaFundamental,Cat.UnivalentSIP). EvidenceUCAT-IDENTITY-ISOMORPHISM(Stacks 0014, Cisinski §6.1, Mathlib CategoryTheory.Iso).CategoryTheory.idToIso1maps object equality to categorical isomorphism, andCategoryTheory.univalent_obj_eq_equiv_isoestablishes the0-axiom equivalence underIsUnivalentCat1(whileSIP.bz2_not_univalentseparates strictness from univalence in Chapter 14). It is intentionally scoped to set-valued-hom 1-categories rather than every native higherCat.
Univalence changes how one reasons about structure. A property or construction invariant under isomorphism can be transported along object identity because isomorphism and identity carry the same information. It also implies that the object type of an ordinary category is a 1-type: its identity types are equivalent to isomorphism types, and those are sets.
The effect on arrows is concrete. If , , and , then transporting across both endpoint identities agrees with
Thus endpoint transport is a lower-star cut at the target and an upper-star cut at the source. This ordinary formula anticipates the represented-hom actions used throughout the native calculus.
The implication should not be reversed carelessly. Having a 1-type of objects does not make a precategory univalent, just as having discrete homs does not force isomorphic objects to be equal.
10.4 Five Nearby Notions Of Sameness
The native theory places several useful notions next to one another. Their proximity is a feature, but it is not an identification.
| Notion | Typical expression | What it compares |
|---|---|---|
| object identity | in | two objects in the underlying equality layer |
| path-generated arrow | the directed arrow induced by object identity | |
| ordinary isomorphism | inverse arrows with equality-valued cancellation | |
| carrier equivalence | via TypeEquiv | two decoded groupoidal carriers |
| native omega-equivalence | a selected arrow with recursively usable inverse evidence |
There are checked maps between some adjacent entries. Object identity yields a path-generated arrow and a transparent native omega-equivalence package. Ordinary isomorphism evidence also yields native omega-equivalence evidence. A TypeEquiv, however, compares carriers rather than two objects of an arbitrary category, and it must not be substituted for categorical equivalence without an explicit construction.
Formal status — checked. Evidence
EQUIV-OMEGAandEQUIV-TYPE. The active interfaces expose object-path and carrier-equivalence constructions separately; neither declaration asserts a blanket identification of all five rows.
This ladder explains why the book qualifies the word equivalence. A theorem about carrier equivalence, ordinary categorical equivalence, or recursive omega-equivalence has different inputs and different higher consequences.
10.5 Equality-Local Categories
For a groupoidal classifier , the native category
has the elements of as objects and identity evidence as the hom from to . Reflexivity supplies identities, and ordinary functions act functorially on paths. This is the native home of the familiar principle that equality behaves like a groupoid.
Formal status — checked. Evidence
CAT-PATH-CATEGORY.Path_cat,Path_cat_func, andpath_map_funcretain the equality-local category and its iterable functor action.
The ordinary and native readings coincide only under the appropriate height condition. If is a 1-type, each identity type is a set, so can be read as an ordinary HoTT precategory. For a general , its identity types may have higher identity types, and the native iterated-hom presentation retains them rather than truncating them away.
This example also separates groupoidality from directed categorical univalence. Every arrow in comes from identity by construction. An arbitrary native category may contain noninvertible arrows, and its identity layer cannot be recovered merely by declaring those arrows to be paths.
10.6 Preorders, Posets, And Skeletal Reasoning
An ordinary preorder can be regarded as a precategory whose homs are mere propositions: there is at most one arrow from to . Isomorphism then means and . The preorder is a univalent category exactly when this mutual reachability agrees with identity—the type-theoretic form of antisymmetry. Thus posets are the proposition-valued-hom examples of the general identity-to-isomorphism principle.
This example is useful because it exposes a frequent confusion. A skeletal presentation says that isomorphic objects are literally or propositionally the same in a chosen presentation. Univalence says that the canonical map from identity to isomorphism is an equivalence, so the identification is stable under dependent reasoning. The latter is an internal principle, not merely a convention for selecting representatives.
The category of small sets is the other basic example. Its arrows are functions, and its identity-to-isomorphism map is the restriction of the identity-to-equivalence map for types. Universe univalence therefore makes it a univalent category. Categories of groups, rings, and similar structures follow when equivalence of carriers preserving the structure is shown to agree with identity of the structured object. Chapter 15 develops that structure-identity pattern.
Formal status — mathematical development. The preorder/poset example is ordinary univalent 1-category theory, as are the category-of-sets and structured-object examples. The active code has proposition and set truncation evidence plus selected universe-univalence results, but no generic packaged preorder or structured-category construction is claimed here.
10.7 The Checked Ordinary-Isomorphism Lift
The active calculus supports one direction of the native comparison with no finite-height premise. Given ordinary isomorphism evidence , its forward arrow and inverse laws define
The construction keeps the forward arrow selected by and packages its inverse evidence in the recursive native facade. It is a structural lift, not a decoder identifying isomorphism evidence with object identity.
Formal status — checked. Evidence
EQUIV-ORDINARY-ISO-LIFT. The owners areiso_evidence_omega_alongandiso_evidence_omega_equiv; diagnostics check their projections and reflexive behavior.
This is the chapter's central checked theorem. It says that ordinary inverse data is strong enough to enter the native equivalence calculus. It does not say that native equivalence, ordinary isomorphism, and object identity are interchangeable in every category.
10.8 The Native Univalence Boundary
A full categorical identity theorem for the ambient directed theory would need to answer at least four questions.
- Which equivalence classifier is compared with object identity?
- Does the comparison retain a selected directed arrow?
- How does it act on every next hom-category?
- Under what height, saturation, or groupoidality hypotheses are the two directions inverse?
The active code has selected univalence theorems for groupoidal and truncated universes, object-path-to-equivalence constructions, finite-height truncation, and the one-way ordinary-isomorphism lift. It does not package a general equivalence
for arbitrary native , nor a general saturation theorem that freely adds such identities.
Formal status — research boundary. Evidence
UNIV-FULL-OBJECT-ISO. A future owner must compare object identity and the selected categorical equivalence notion while remaining coherent with iterated hom action. Chapter 15 returns to this problem through the structure identity principle and Rezk-style saturation.
The title univalent foundations should therefore be read layer by layer. Univalence is the disciplined alignment of identity with the appropriate equivalence, not a license to erase the distinctions that make the directed higher theory computational.
11. Functors, Transfors, And Functor Categories
Chapter 9 studied transfors as a calculus of cuts. We now make their categorical organization explicit. Functors are objects of a functor category, transfors are arrows between those objects, and higher transfors are obtained by iterating the same hom construction.
This is another spiral rather than a repetition. Ordinary 1-category theory starts from object functions, hom functions, and pointwise naturality squares. The native calculus packages all of these as iterable categorical action. A point component is the identity-boundary case of an off-diagonal action, and a naturality square is the visible boundary of a computation.
11.1 Functors Act At Every Retained Dimension
For ordinary precategories and , a functor consists of an object function and functions
that preserve identities and composition. In the set-valued-hom specialization, these are ordinary functions between hom sets.
A native emdash functor retains more structure. Its action on a pair of objects is itself a functor
Evaluating that functor at an arrow gives . Keeping the full hom functor visible also keeps its action on 2-cells between arrows, and then on higher cells by iteration.
Formal status — checked. Evidence
CAT-FUNCTOR-CALCULUS.fapp0is object action,fapp1_funcis the full next-hom action, andfapp1_fapp0is its value at one arrow. Public functors preserve identities and composition strictly, including their iterable hom action.
Preservation of composition is oriented as cut elimination:
This applies to every public functor, without an additional admission or wrapper. The compositor can still be extracted from internal action, but its strictness is now a consequence of the default functor laws. The directed comparison retained for a general transformation is a different matter: strict functors need not be related by strictly natural transformations.
11.2 From Natural Transformations To Transfors
For ordinary functors , a natural transformation is usually presented by arrows
such that every satisfies
The native transfor retains the common interior of this square. For every pair it supplies an off-diagonal functor
We write for its value at . The point component is recovered at the identity:
Formal status — checked. Evidence
TRANSF-POINT-OFFDIAGONAL. The point projection istapp0_fapp0;tapp1_funcandtapp1_fapp0expose the full and capped off-diagonal actions.
This presentation does not add exotic data to an ordinary natural transformation. In the one-dimensional specialization, naturality determines the off-diagonal value in either familiar way:
In the native higher setting, however, retaining as a functor also retains its action on cells between possible 's. Point components alone would hide that action and force it to be reconstructed later.
11.3 Profiled Naturality And Family Cuts
Take composable arrows
For a stable classified strict transfor , the two naturality computations are
Setting to an identity makes the usual strict naturality square reappear. Both boundary composites normalize through the same off-diagonal interior . Thus naturality is not merely a proposition verified after a family of components has been assembled; the classified family action absorbs neighboring cuts. The default transfor is already conventional lax: its pre/right cut computes, while the post/left comparison remains observable. For , this retained comparison has direction
The strict-transfor classifier additionally makes the post/left cut strict.
Formal status — checked. Evidence
TRANSF-STRICT-NATURALITY. Both capped equations and their uncapped hom-functor forms are runtime reductions at the stablestrict_transforview, using the existingtapp1*calculus. The full forms retain action on the next cells. Default lax transfors retain the post/left cell; its noncollapse controls distinguish them from the strict view.
This is the chapter's central checked theorem. It explains why the calculus uses a transfor rather than a bare dependent function of point components: the transfor retains a whole family action, with its chosen strict/lax profile.
11.4 The Functor Category
For native categories and , the category
has strict functors as objects. Its hom-category between and is
An identity arrow in is the identity transfor. Composition in is vertical composition of transfors. Iterating the hom of yields modifications and higher transfors without changing the ambient notion of category.
The Cartesian mapping category has the same functor objects but requires strict transformations internally. It supports joint Cartesian evaluation and currying. The ordinary category retains lax transformations and supports evaluation at a fixed argument. These two mapping categories must not be identified merely because their objects agree. The family coefficient uses the Cartesian Homs; the public universe uses .
Formal status — checked. Evidence
CAT-TRANSFOR-CALCULUS.Functor_catandTransf_catare active native categories, andHom_cat(Functor_cat(A,B),F,G)reduces to the corresponding transfor category.
In the ordinary set-valued-hom specialization, the same construction gives a precategory of functors and natural transformations. Equality between natural transformations is pointwise because the codomain homs are sets. A natural transformation is a natural isomorphism exactly when each component is an isomorphism.
The native formulation is intentionally stronger at the interface. It does not force all higher transfor structure to be proposition-valued merely because the first components resemble ordinary natural transformations.
11.5 Whiskering And Horizontal Composition
Functor composition acts on transfors in two one-sided ways. If and , post-whiskering gives
If , pre-whiskering gives
These are the transfor-level actions of the same postcomposition and precomposition functors studied in Chapter 9. They are not independent definitions of naturality.
Now take
Their horizontal composite can be read at an object in either of the ordinary forms
Strict naturality of identifies the two. For a general lax , its naturality cell instead compares the second expression to the first. The native horizontal owner retains one off-diagonal composite and its higher action. The explicit Cartesian functor-composition interface uses in its inputs, while ordinary one-sided whiskering continues to admit lax transformations. These interfaces do not identify the two routes through an arbitrary lax square.
Formal status — checked. Evidence
TRANSF-HORIZONTAL-CALCULUS. The generic owner iscomp_prod_fapp1_fapp0; diagnostics check its point, full off-diagonal, and capped off-diagonal projections. The ordinary two-formula equality is its 1-categorical reading.
11.6 Interchange And Controlled Coherence
Vertical and horizontal composition satisfy interchange. Schematically, for a composable four-cell grid,
In an ordinary functor precategory this is an equality of natural transformations, proved componentwise using associativity and naturality. In the native calculus, product-composition action retains the comparison. The representable four-cell equality requires the actual composition and transformation profiles recorded by the profiled interchange theorem. It is not an unrestricted equality for arbitrary ambient lax data.
The equality mode matters. Functor composition has associativity and unit comparisons, and ordinary category theory packages their familiar pentagon and triangle coherences. Emdash does not install unrestricted reassociation in both directions as runtime computation. Instead:
- a semantic owner absorbs a neighboring cut when it has a selected normal form;
- proof-time comparison is used when two presentations should elaborate together but neither should replace the other globally;
- propositional equality records a theorem without changing runtime normal forms;
- higher transfors retain coherence data that is not truncated away.
This is the categorical version of controlling associativity. Parentheses may be suppressed in mathematical prose when the intended composite is unambiguous, but the formal presentation must still select an owner and an equality mode.
11.7 The Ordinary Functor-Category Theorem
Let be an ordinary precategory and an ordinary univalent category. Then the functor precategory is a univalent category. The reason is pointwise but not merely syntactic:
- an identity gives a natural isomorphism by identity induction;
- a natural isomorphism gives pointwise isomorphisms ;
- univalence of turns those into pointwise identities;
- function extensionality assembles equality of object functions;
- the functor laws and naturality data are propositions at this height, so the assembled equality determines the whole functor.
The same analysis shows that identity between ordinary functors agrees with natural isomorphism.
Formal status — checked (
CategoryTheory.YonedaFundamental). EvidenceUCAT-FUNCTOR-CATEGORY(Stacks 001C, Cisinski §6.2, Mathlib CategoryTheory.Functor.Category).CategoryTheory.FunctorCat1organizes ordinary functors and natural transformations into a0-axiom 1-category in whichpointwise_iso_of_natTrans_isoandnatTrans_iso_of_pointwise_isoprove that a natural transformation is invertible in if and only if each component is an isomorphism in .
11.8 The Native Functor-Category Boundary
A native analogue cannot be obtained by deleting the word set from the ordinary proof. One must choose the relevant sameness of functors—object identity, ordinary isomorphism in Functor_cat, pointwise native omega-equivalence, or a higher adjoint equivalence—and then prove that the comparison respects:
- point components;
- off-diagonal arrow action;
- cells between source arrows;
- vertical and horizontal composition;
- every further retained hom level.
Pointwise object formulas are therefore necessary but insufficient. The active code has the functor category, the full transfor calculus, and selected object-path and ordinary-isomorphism lifts. It does not yet combine them into a general univalence theorem for native functor categories.
Formal status — research boundary. The missing owner is a native category-univalence package stable under
Functor_catand coherent withtapp1_funcat every retained dimension. Chapter 15 discusses the saturation problem that such a theorem would have to solve.
The computational lesson survives independently of that boundary. Functors and transfors already form a native higher category, and their naturality is already internal computation. Univalence would identify the right notion of sameness in this existing structure.
12. Adjunctions And Equivalences
An adjunction is the first universal construction in which the cut calculus becomes a theorem about a chosen relationship between two functors. It can be presented by a unit and counit, by a natural equivalence of homs, or by representability. These presentations explain one another, but they should not be collapsed before their hypotheses and equality modes have been stated.
Equivalence requires the same care. Carrier equivalence, isomorphism of two objects, equivalence of ordinary categories, and native omega-equivalence answer different questions. This chapter builds the adjunction interface first, derives its selected monad computation, and then uses the same representability perspective to organize those notions.
12.1 Indexed Adjunction Data
Let
An adjunction has a unit and counit
subject to the two triangle identities. In ordinary notation these say
The active Adjunction classifier keeps and as indices. Its unit_adj_transf and counit_adj_transf observations are stable computational heads. This matters: triangle computation is attached to the selected adjunction witness, not to every pair of transformations having the same displayed types.
The direct-TypeScript authoring layer can package already declared , , , and —or a counit and whole natural hom transpose—as an indexed witness with proof-time agreements. It expands into ordinary logical-framework declarations: no new adjunction notion and no runtime alias. Appendix G.5 places this convenience at its precise trust boundary.
12.2 The Triangle Cuts
The checked equations are stronger than the diagonal component formulas. Take
The left triangle cut is
Both sides are arrows . The unit moves into the boundary, the functor acts on that off-diagonal component, and the counit removes the resulting detour.
Dually, for
the right triangle cut is
Both sides are arrows . Setting and to suitable identities recovers the familiar pointwise triangle identities. Retaining arbitrary and exhibits the naturality and higher action consumed by the cut.
Formal status — checked. Evidence
ADJ-TRIANGLE-CUTS. The indexed owner isAdjunction;unit_adj_transfandcounit_adj_transfexpose the rigid observations that trigger both runtime reductions.
These are the chapter's central checked computations. They illustrate the general policy from Chapter 9: a universal detour reduces only at the universal construction that owns it.
12.3 Transposing Arrows
The ordinary hom formulation of the same adjunction is a natural equivalence
Starting from the unit and counit, its two directions are
The triangle identities cancel the introduced unit-counit pairs, while naturality makes the construction contravariant in and covariant in . This is why transposition is more than a family of bijections: it is a comparison of represented hom functors.
In the active interface, let and be arbitrary probes. The reindexed comparison has the profunctor form
The endpoints and remain variable, so naturality in both arguments is part of the comparison. Maps into either side can be pushed across the adjunction and pulled back, with beta and eta computation supplied by the generic comparison owner.
Formal status — checked. Evidence
ADJ-HOM-PROF-COMPARISON.Adjunction_hom_prof_comparisonis the binary representable comparison, andAdjunction_hom_prof_comparison_alongreindexes it along arbitrary probes. Its push/pull beta and eta laws are inherited fromProfComparison; no second adjunction-specific cancellation calculus is added.
The component formulas above are the mathematical reading of this package. The stable runtime owner is the profunctor comparison, not a global rewrite that expands every mate into a unit/counit composite.
Constructing An Ordinary Adjunction From Whole Hom Data
Suppose A and B are ordinary categories and the original F and G are supplied with a whole natural comparison
i : Hom_B(F−,−) ≅ Hom_A(−,G−).
The comparison includes both selected maps and their inverse laws. Its naturality already varies both endpoints. The internal construction takes identity images and obtains whole transformations
η : id_A ⇒ G∘F, ε : F∘G ⇒ id_B,
η_a = i_(a,Fa)(id_Fa), ε_b = i⁻¹_(Gb,b)(id_Gb).
The native Hom action and its graph carry these components together as transformations. Their nonidentity action is inherited from the original comparison. Native naturality and the same selected inverse give both triangle laws, including whole modifications and ordinary equality observations. Callers supply the whole comparison; the construction supplies its unit, counit and laws without additional naturality-square inputs.
Formal status — checked. Evidence
ORDINARY-HOM-COMPARISON-DATA. The whole η/ε constructions, component and action laws, and both whole triangle laws are definitions. They retain the ordinary guards and the original comparison and inverse.
Write make_adjunction(i) for the separate ordinary introduction rule:
make_adjunction(i) : Adjunction(F,G)
This is one explicit structural constructor into the existing indexed classifier. Its Hom comparison agrees with i at proof time. Scoped views expose the same agreement for the selected maps, components and applications, while the canonical computation heads retain the triangle cuts from Section 12.2. Whole agreement between the native unit/counit and the constructed η/ε is derived through the existing mate formulas and ordinary modifications.
Formal status — checked interface. Evidence
ORDINARY-ADJUNCTION-INTRODUCTION. The constructorone_cat_adjunction_from_hom_comparisonis declared; its input and whole unit/counit agreement laws are derived. Seven scoped unification views preserve the existing runtime heads. The reviewer checks both Došen rectangles, both mate directions, and use on whole functor families.
This introduction supplies a witness from already available whole data. An existing structural adjunction can be replaced by it only when that input comparison can itself be constructed independently. The postcomposition lift below remains an explicit structural operation.
Adjunctions On Whole Functor Families
Let F:R→L and G:L→R be a chosen adjoint pair, F⊣G. For a parameter category B, postcomposition gives functors between the categories of B-indexed families. In the ordinary-target presentation they again form an adjunction:
(F∘−) ⊣ (G∘−).
For A:B→R and D:B→L, a whole transformation F∘A⇒D therefore has a mate A⇒G∘D. The unit at A is the original unit whiskered by A; the counit at D is the original counit whiskered by D. The same Hom comparison supplies both mate directions and their inverse computation. Naturality in the B-variable belongs to these whole transformations, so a caller supplies no separate family of naturality-square proofs.
The current interface retains the original F and G and explicitly requires R and L to be ordinary categories. It declares the postcomposition adjunction lift and the ordinary functor-category profile as structural operations. It does not claim to construct those operations from the older pointwise β rules. This distinction applies even when a mathematical adjunction is familiar: the checked computational presentation includes selected action and cuts.
Formal status — checked interface. Evidence
ORDINARY-ADJUNCTION-FAMILIES. The structural owners areone_cat_postcomp_adjunctionandone_cat_functor_category. Whole mate functors and their observations are derived from that data.
Whole Universal Operations
A computational universal construction can take the adjunction itself as its primary interface. In the ordinary additive setting of Chapter 31, the walking-arrow diagram category D(C) has J(A)=(A→0) and I(A)=(0→A). Whole functors K,Q:D(C)→C with J ⊣ K and Q ⊣ I supply kernels and cokernels. Their structural arrows are observations of the counit and unit; their lifts and descents are mate operations.
The whole-family form matters. A transformation is transposed as a single categorical term, with generic action and naturality inherited from its owners. Ordinary factor and uniqueness records can then be derived at the same selected objects. Such records are views of the whole operation, not a mandatory dictionary from which its coherence must be rebuilt.
The current ordinary presentation declares the required postcomposition adjunction lift and functor-category profile. Its diagram reconstruction is an existing-DefIso instance with retained inverse and endpoint action. These structural additions are explicit; they are not claimed as consequences of the older β rules alone. Chapter 31 uses actual comparison maps under K/Q/H when changing a diagram presentation, so endpoint computation remains visible.
Formal status — checked. Evidence
NATIVE-KERNEL-COKERNEL-UNIVERSALITY. This application uses the stated ordinary-target structural profiles and the actual whole adjunction data. General higher terminality and coherence refinements remain separate.
12.4 The Monad Generated By An Adjunction
An adjunction also generates an endofunctor with algebraic multiplication. For left adjoint to , put
The adjunction unit is already a transformation
The counit supplies multiplication by applying on the left and on the right:
Thus is the monad selected by the adjunction. Equation (12.1) is not an opaque multiplication law: the whole multiplication observation computes to the transparent construction.
The useful triangular operation, following the cut-elimination viewpoint of Došen, is extension. For an arrow
define
Extension is a whole functor between the relevant Hom categories, not merely a function on arrows. It therefore retains action on higher arrows between possible 's.
Let denote the off-diagonal unit action on . The two ambient Došen cuts are
The first removes a unit followed by elimination. The second combines two successive extensions into one smaller extension cut. Their orientation is part of the computational presentation: the right-hand side retains one triangular owner rather than expanding both extensions into multiplication and functor action.
The standard multiplication component also compiles into this language:
This monad calculus lives in the ambient category . An explicit Kleisli category would package objects and Kleisli composition as a separate construction. It is not needed for the reductions (12.3), and the active interface does not introduce one merely to rename ordinary composition with extension.
For the adjunction-generated instance, the canonical monad unit computes at runtime. The adjunction unit is also a proof-time usability endpoint for that same declaration. Multiplication computes to , while its component-first extension normal form and whole-first semantic component are joined by a non-opaque equality path. These are two presentations of one selected multiplication, not parallel monad structures.
Formal status — checked. Evidence
MONAD-TRIANGULAR-COMPUTATION. A selected monad has whole unit, multiplication, and extension owners; the two ambient cuts (12.3) and the multiplication-component bridge compute.adjunction_monadconstructs the selected instance with runtime unit and transparent multiplication semantics. Free-monad syntax, a global commuting decision procedure, and an explicit Kleisli category are not claimed.
12.5 Adjoints As Representability
Fix and an object . The contravariant hom functor
is represented by an object exactly when there is a natural equivalence
If such representing objects are chosen coherently as varies, they form a functor , and the representations assemble into . Conversely, an adjunction supplies these representations by its hom comparison.
This characterization explains the direction of the terminology. A right adjoint assigns representing objects to the functors ; a left adjoint is the functor whose outgoing homs are being represented.
Formal status — checked (
CategoryTheory.YonedaFundamental). EvidenceUCAT-ADJOINT-REPRESENTABILITY(Stacks 0037, Cisinski §6.1.9, Mathlib CategoryTheory.Adjunction.Basic).CategoryTheory.RightAdjoint1packages natural Hom-representability directly in.en, complementingCat.Adjunction's Došen unit–counit cuts.
Chapter 13 will supply the Yoneda theorem that makes representing objects unique in the correct sense. Chapter 16 will then define weighted limits by the same pattern.
12.6 Uniqueness Of Adjoints
Suppose has two right adjoints and . Their hom representations give, for every ,
Yoneda turns this into a canonical isomorphism , natural in . If is an ordinary univalent category, those isomorphisms determine identity of the right-adjoint functors. Hence the type asserting that has a right adjoint is a mere proposition under the appropriate univalence hypothesis.
Formal status — checked (
CategoryTheory.YonedaFundamental). EvidenceUCAT-ADJOINT-UNIQUENESS(Stacks 0037, Cisinski §6.1.12, Mathlib CategoryTheory.Adjunction.Unique).right_adjoint_unique_isoconstructs the canonical Yoneda isomorphism between any two right adjoints to , andright_adjoint_unique_eq_of_univalentupgrades those pointwise isomorphisms to propositional object equality whenever is univalent (0axioms).
Uniqueness therefore does not mean that all chosen units and counits are judgmentally the same. It means that the space of choices has the claimed truncation once categorical identity has been aligned with the relevant equivalence.
12.7 A Ladder Of Equivalence Notions
The word equivalence will be qualified according to the following table.
| Notion | Data or property | What it controls |
|---|---|---|
| carrier equivalence | a TypeEquiv between decoded classifiers | elements and identity structure of two carriers |
| ordinary object isomorphism | inverse arrows inside one category | categorical sameness of two objects at the 1-cell level |
| isomorphism of precategories | a functor that is fully faithful and whose object map is a carrier equivalence | strict invertibility of the whole ordinary presentation |
| categorical equivalence | a functor with a quasi-inverse promoted to coherent adjoint-equivalence data | sameness up to natural isomorphism |
| weak equivalence | fully faithful and merely essentially surjective | property-level ordinary categorical equivalence criterion |
| native omega-equivalence | a selected arrow with recursively usable inverse evidence | equivalence inside an arbitrary native iterated category |
These rows interact only through explicit theorems. A carrier equivalence between object types need not preserve homs. An ordinary isomorphism compares objects in one category, not two entire categories. A categorical equivalence uses functors and natural isomorphisms. Native omega-equivalence can be applied to objects of Cat_cat, but its recursive equality-valued interface is not definitionally the HoTT package of fully faithful and essentially surjective data.
12.8 Full Faithfulness And Essential Surjectivity
For an ordinary functor :
- is fully faithful if every hom map from to is an equivalence;
- is split essentially surjective if each comes with a chosen and a chosen isomorphism ;
- is essentially surjective if the existence of such and such an isomorphism is merely asserted.
For ordinary precategories, an adjoint equivalence yields full faithfulness and split essential surjectivity, and those chosen data reconstruct an adjoint equivalence. Replacing split existence by mere existence gives the weaker property traditionally called a weak equivalence.
When both sides are univalent categories, full faithfulness makes the type of possible preimages of an object a proposition. Essential surjectivity can then be upgraded to a coherent choice, so weak equivalence and categorical equivalence agree. The same univalence also turns an equivalence into an isomorphism of the underlying precategory presentations.
Formal status — checked (
CategoryTheory.YonedaFundamental). EvidenceUCAT-EQUIVALENCE-CRITERIA(Stacks 001J, Cisinski §6.3, Mathlib CategoryTheory.Equivalence). The Fundamental Theorem of Category Theory is proved with0axioms inff_and_splitEssSurj_to_catEquiv(with converse faithfulness incatEquiv_is_faithful), while soundness controlNC-15aPart 1a (inclBoolToPoset_not_full,inclBoolToPoset_not_catEquiv) proves that the faithful, split essentially surjective inclusion fails fullness and therefore refutesCatEquiv1intoEmpty.
The distinction between split and mere essential surjectivity is constructive, not bureaucratic. An adjoint equivalence needs data that can be applied; a mere existence statement deliberately hides its witness. Univalence supplies the uniqueness needed to recover that data in the ordinary categorical case.
12.9 Adjointification
Sometimes one begins with a functor , a proposed inverse , and natural isomorphisms
whose chosen unit and counit do not yet satisfy the triangle equations. In ordinary category theory, one of the two isomorphisms can be adjusted so that the triangles hold. This adjointification turns equivalence data into an adjoint equivalence.
The triangles are therefore coherent normalization data, not an arbitrary extra burden. They make mate transposition inverse in a controlled way and permit universal cuts to reduce without choosing a fresh proof at every use.
Formal status — mathematical development. Ordinary adjointification is part of the 1-categorical theory. The active
Adjunctionrelation starts with a selected triangle-computing witness; it does not expose a generic constructor that adjusts arbitrary quasi-inverse transfors.
12.10 Identity Of Ordinary Categories
There is one further univalent step. For ordinary precategories, identity of the complete precategory structures corresponds to isomorphism of precategories: a fully faithful functor whose object map is a carrier equivalence. When the precategories are univalent categories, categorical equivalence and such isomorphism agree. Consequently identity of ordinary categories corresponds to equivalence of categories.
Schematically,
with the second comparison restricted to univalent categories. Since the type of functors has the expected 1-categorical truncation, the type of ordinary categories is a 2-type.
Formal status — checked (
CategoryTheory.YonedaFundamental,Cat.UnivalentSIP). EvidenceUCAT-CATEGORY-IDENTITY(Cisinski §6.3, Mathlib CategoryTheory.Equivalence).ff_and_splitEssSurj_to_catEquiv,univalent_obj_eq_equiv_iso, and Chapter 15'sSIP.sip_univalent_cat1align isomorphism and categorical equivalence across univalent 1-categories (0axioms), while native -saturation ofStrictCatstays explicitly separated.
12.11 What The Active Equivalence Layer Proves
At the object level, the active code packages carrier equivalence and native omega-equivalence separately. It also lifts ordinary isomorphism evidence to native omega-equivalence evidence.
Formal status — checked. Evidence
EQUIV-ORDINARY-ISO-LIFT. The lift is one-way and retains the ordinary forward arrow. It does not prove the full-faithful/essentially-surjective characterization of functors.
At the functor level, an adjunction has checked triangle cuts and a checked binary representable comparison. These facts are sufficient for the later weighted-limit preservation theorem. They are not yet a complete native theory of categorical equivalence.
There is also an important mapping equivalence whose source-functorial packaging is not yet an adjunction. For every category and groupoid , restriction along the groupoidification unit gives
The forward and inverse operations are whole functors and satisfy whole beta/eta comparisons. In endash (HoTT.Groupoidify), this target-side mapping equivalence is complemented by checked 0-axiom source functoriality (Groupoidify.map, Groupoidify.map_id, Groupoidify.map_comp) and the full reflection adjunction Groupoidify ⊣ Path (Groupoidify.path_reflection_equiv, adjunction_naturality, left_triangle, right_triangle).
Formal status — checked. Evidence
GENERIC-GROUPOIDIFICATION-MAPPING. Chapter 27 constructs the unit, recursor, concreteWalkingEnd/CircleandWalkingArrow/Intervalcomparisons, source functorialityGroupoidify.map, and the packagedGroupoidify ⊣ Pathadjunction (0axioms).
12.12 The Native Higher Boundary
A higher fully-faithful functor should compare whole hom-categories, then the homs between their arrows, and so on. A higher essential-surjectivity condition should specify which equivalence witnesses inhabit its fibres and whether their evidence is propositional. Turning those conditions into a native adjoint equivalence would require:
- iterable hom-equivalence packages;
- a coherent object-level essential-surjectivity interface;
- natural unit and counit transfors with full off-diagonal action;
- triangle coherence at every retained level;
- a chosen relationship with object identity or saturation.
Formal status — research boundary. The missing result is a native fully-faithful-plus-essentially-surjective characterization compatible with
OmegaEquiv,Functor_cat, and higher transfors. Ordinary HoTT equivalence theorems are used only in their stated 1-categorical specialization.
The next chapter begins where the ordinary and native stories already meet: representable homs. Yoneda explains why their maps are controlled by elements; the checked co-Yoneda cut then gives that explanation a directed profunctorial computation.
13. Yoneda, Representability, And Profunctors
Representability turns the arrows out of, or into, one object into a universal coordinate system. Yoneda says that a natural map out of such a coordinate system is determined by its value at an identity. Adjunction says that one hom coordinate system is represented by another object. Weighted limits will repeat the same argument for a more elaborate functor.
The ordinary Yoneda lemma is therefore the conceptual center of this part of the book. We first develop its univalent 1-categorical form, then identify the native representable families already used by arrow induction, and finally pass to Cat-valued profunctors. The chapter's central checked computation is a shaped co-Yoneda cut: tensor an element with the appropriate identity-shaped hom, apply the co-Yoneda map, and recover the original element.
The full ordinary Yoneda lemma below is mathematical development adapted from the HoTT Book. The active artifact checks native representables and the shaped Cat-valued co-Yoneda beta/fusion equations. It does not yet package a general Cat-valued Yoneda equivalence or a semantic coend. Kelly supplies enriched background for these patterns, while Bénabou is a classical reference for their bicategorical organization.
13.1 Representables And Variance
Let be an ordinary precategory. A presheaf is a functor
For , the contravariant representable presheaf is
An arrow induces a natural transformation by postcomposition:
This defines the Yoneda embedding
The active formal development also lifts this picture from sets to Cat-valued presheaves. Its Yoneda presheaf evaluates to the represented hom, and restriction reuses the existing pullback of directed families. Gathering all arrows into produces the restriction-oriented total
whose opposite is the conventional slice . A Cat-valued family on this total is a higher sieve; requiring its values to be subterminal gives an ordinary sieve. Chapter 18 begins the local-to-global spiral by developing these constructions as mathematics, separating witness-bearing higher sieves from proposition-valued membership, and explaining why sieve pullback is the natural language of a changing probe.
This bridge does not strengthen the Yoneda theorem claimed in the present chapter. A general Cat-valued Yoneda equivalence and full-faithfulness theorem remain separate from the checked representable action and shaped co-Yoneda calculation below.
There is a covariant mirror
It is contravariant in the represented object : an arrow induces precomposition
The lower-star and upper-star actions from Chapter 9 are therefore the two variance legs of representability.
13.2 The Ordinary Yoneda Equivalence
For a presheaf , the Yoneda equivalence is
Its forward map evaluates a natural transformation at the identity:
For , the reverse map defines a natural transformation by
The first composite is immediate from preservation of identity:
For the other composite, naturality of at gives
Thus by extensionality. The proof has the same shape as Chapter 8: choose a code by evaluation, decode it by functorial transport, and calculate both composites. Here the distinguished constructor is the identity arrow of a representable.
The covariant form is equally important. For ,
and the inverse sends to the family .
Formal status — checked (
CategoryTheory.YonedaFundamental). EvidenceUCAT-YONEDA(Stacks 001P, Cisinski §9.3, Mathlib CategoryTheory.Yoneda).CategoryTheory.yoneda_lemma_equivproves the0-axiomTypeEquivvia evaluation at and functorial decoding, paired with the Twisted Arrow CategoryTwistedArrowCat1(Cisinski §9.2).
13.3 Full Faithfulness And Uniqueness Of Representation
Apply Yoneda with . One obtains
Under this equivalence, an arrow corresponds to postcomposition by . Hence the Yoneda embedding is fully faithful: it recovers every hom from the natural maps between representables.
More generally, a representation of consists of an object and a natural isomorphism . If and both represent , full faithfulness produces a canonical isomorphism . When is a univalent category, this isomorphism corresponds to object identity, and representability becomes a property rather than an uncontrolled choice of presentation.
Formal status — checked (
CategoryTheory.YonedaFundamental). This full-faithfulness and uniqueness result is proved with0axioms inyoneda_embedding_fully_faithfulandright_adjoint_unique_eq_of_univalentunderUCAT-YONEDAandYONEDA-FULLY-FAITHFUL.
13.4 Native Representable Families
For a native category and an object , emdash has the Cat-valued fixed-source representable
Its target action is postcomposition. Its dependence on the represented source is contravariant: for , the transport
acts by
The full operation is a functor between directed families, so it retains action on cells between possible 's.
Formal status — checked. Evidence
CAT-REPRESENTABLE.Rep_catdowns the fixed-source family andRep_transport_funcowns its upper-star source action.
The outgoing-arrow category from Chapter 5 is the total category
Its distinguished object and its canonical arrow to every are built from the representable family. Arrow induction extends data from that reflexive outgoing arrow.
This is Yoneda-shaped, but it is not literally the ordinary Yoneda lemma. Yoneda classifies natural transformations from a representable; the selected arrow-induction theorem eliminates a dependent motive over the total category of outgoing arrows. Both begin at an identity arrow because identities are the universal points of representables.
13.5 From One Endpoint To Two
Opposites and products make the two variances explicit. In the ordinary 1-categorical setting, currying and uncurrying compare functors
with functors
Applying this organization to composition shows that hom is functorial in both endpoints, contravariantly in its source and covariantly in its target.
For the native version, joint Cartesian currying uses the Cartesian mapping category, and the opposite below is , reversal of dimension 1. The two representable variances combine in the hom bifunctor
Reindexing its two endpoints along functors and gives
This two-variable view is the bridge from Yoneda to profunctors. It makes contravariance and covariance simultaneous, lets endpoint functors vary, and turns hom transposition for an adjunction into a comparison of profunctors.
The price of the richer codomain is that ordinary elementwise proofs no longer automatically supply all higher naturality. The active development therefore selects shaped elements and explicit comparison maps before claiming a general coend-based composition.
13.6 Cat-Valued Profunctors
For categories A and B, a Cat-valued profunctor from A to B is a functorial family
We write P:A prof B informally and write its fibre at (a,b) as P(a,b). The coefficient is the admitted Cartesian universe of Chapter 2; vertical family maps can still be lax across the product base. The opposite on A is dimension-one transpose and records the variance:
- an arrow acts contravariantly in the first endpoint;
- an arrow acts covariantly in the second endpoint.
Profunctors with fixed endpoints form a category. A vertical map
is a natural family morphism over A^op times B. Its identity, vertical composition, components, and higher action are inherited from the directed-family and transfor calculus of Chapters 2 and 9.
Formal status — checked. Evidence
PROF-CATEGORY.Prof_base(A,B)=A^op times B;Prof_catis the fixed-endpoint category andProfMapits vertical-map classifier.
The Homd coefficient of Chapter 2 is a separate curried construction with its specific index category . It does not change this product-base profunctor convention or assert an equivalence of their whole classifiers.
This definition introduces no new primitive notion of naturality. A profunctor is a familiar Cat-valued functor on a product base, viewed through notation that makes its two variances visible.
13.7 The Unit Hom Profunctor
Every category X has a canonical profunctor
On an arrow pair
it acts by cutting on both sides:
The opposite variance is not decorative: it is exactly what makes the first composition type-correct. Identity and composite action follow from the generic hom bifunctor.
More generally, given functors
reindex the unit to obtain the binary representable
with fibres
and action
Formal status — checked. Evidence
PROF-REPRESENTABLE.Unit_profowns the hom profunctor, andHom_prof_along(F,G)is its endpoint-reindexed presentation with the two-sidedHom_fapp0action.
Two specializations are useful. The companion of is represented covariantly by F; the conjoint is represented contravariantly by F. These are not assumed to be inverse profunctors. They are the two variance choices obtained from the same ambient hom.
13.8 Reindexing Endpoints
Let P:A prof B, , and . Endpoint reindexing is
Semantically this is pullback along
The operation acts on vertical maps, is neutral at identity endpoint functors, and accumulates nested reindexings by composing both endpoints. For representables, it gives the expected equation
Formal status — checked. Evidence
PROF-REINDEXING.Prof_reindexis the stable object owner andProf_reindex_funcprovides its vertical functorial action.
The separation between a profunctor and its reindexed view is analogous to the separation between WalkingEnd and BNat. A readable model or pullback presentation does not become a definitional replacement for the object it explains.
13.9 Representability As A Chosen Comparison
A profunctor P:B prof J is right-represented by a functor when it is isomorphic, in the fixed-endpoint profunctor category, to the conjoint of L:
A representation package retains both the chosen functor and its isomorphism evidence:
Formal status — checked. Evidence
PROF-REPRESENTATION-PACKAGE. The classifiers areIsRepresentedBy_isoandRepresentation_iso; the current comparison is ordinary isomorphism evidence inProf_cat.
This is a useful universal-property interface even before uniqueness of the representing object is packaged. A weighted limit, for example, can be presented as a chosen representation of a cone profunctor. The computational strength of that use depends on how much of the comparison is exposed by the consumer.
13.10 Cells With Moving Endpoints
Vertical maps keep endpoints fixed. Equipment-style cells allow endpoint functors to move as well. Given
a cell over F,G is a natural family morphism
If the source profunctor is the unit U_I, such a cell is a shaped element of R with endpoint functors and . The narrow application operation sends a shaped element of R' through c to the corresponding shaped element of R.
Formal status — checked. Evidence
PROF-SHAPED-CELLS.Prof_transf_catis the endpoint-changing cell category,Prof_homis its unit-source specialization, andProf_cell_applyis the selected application operation.
The operation is intentionally narrower than arbitrary horizontal composition of equipment cells. It supplies the consumer needed by the co-Yoneda calculation without pretending that all bicategorical coherence is already present.
13.11 Tensor As A Selected Composite
For
write
for their selected profunctor tensor. In ordinary enriched category theory one expects a coend-like formula
This formula is the intended mathematical reading, not a definition unfolded by the active kernel. Prof_tensor is opaque. What is exposed is the behavior required by current consumers:
- reindexing in the outer endpoints distributes through the tensor;
- the middle category stays fixed;
- vertical maps in both factors induce a vertical map of tensors;
- compatible shaped elements compose to a shaped tensor element.
Formal status — checked. Evidence
PROF-TENSOR. The fixed-middle object isProf_tensor;Prof_tensor_funcowns fixed-endpoint bifunctoriality andProf_tensor_hom_homcomposes shaped elements.
Opacity is mathematically honest here. A genuine coend construction would need a quotient or universal colimit with its own eliminator and computation rules. The selected tensor can support tested cut-elimination interfaces without serving as evidence that this general construction has already been built.
13.12 The Shaped Co-Yoneda Cut
The unit profunctor should behave as a unit for tensor. The active interface supplies natural maps in both orientations:
They are components of transformations natural in P, rather than a collection of unrelated vertical maps.
Now let p be a shaped element of P with middle shape . The unit profunctor has a canonical shaped element given by the identity transformation on M. Tensor the two elements and apply the right co-Yoneda map. The cut eliminates:
Dually, for an A-shaped endpoint F,
Formal status — checked. Evidence
PROF-COYONEDA.Prof_coyoneda_cov_transfandProf_coyoneda_con_transfare the two natural transformations; their component maps have the shaped-element beta equations above.
These equations are the chapter's central theorem. They express Yoneda-style evaluation as computation: insert an identity-shaped hom, form the composite, and the co-Yoneda counit removes the cut.
The transformations also fuse with an arbitrary vertical map . Applying the naturality component of co-Yoneda to reduces to applying r directly to p:
with the analogous left-unit equation. This is not a separate law attached to every r; it is the off-diagonal action of the co-Yoneda transfor from Chapter 9.
13.13 Adjunctions As Representable Hom Comparisons
Chapter 12 characterized a right adjoint to by representations
Yoneda explains both the representing object and its uniqueness. The profunctor formulation adds simultaneous naturality in the source probe and in . For arbitrary and , the active comparison is
Formal status — checked. Evidence
ADJ-HOM-PROF-COMPARISON. The adjunction supplies this reindexableProfComparison; its push and pull operations have the generic comparison beta/eta laws.
Conversely, an ordinary pointwise family of such representations reconstructs a right adjoint only after the representing objects and comparisons have been made coherent in . The active representation package records a chosen representing functor and ordinary isomorphism evidence in the profunctor category, but no general reverse constructor from that package to Adjunction is asserted.
Formal status — checked (
CategoryTheory.YonedaFundamental). EvidenceUCAT-ADJOINT-REPRESENTABILITYprovidesRightAdjoint1and Yoneda comparisonright_adjoint_unique_iso, whilePROF-REPRESENTATION-PACKAGE, checked in Section 13.9, supplies the nativeCat-valued representation interface.
This is the bridge to weighted universals. A weighted cone construction will produce another profunctor; a weighted limit is the functor that represents it. The same comparison beta/eta laws will eliminate the corresponding universal cuts.
13.14 The Full Cat-Valued Yoneda Boundary
The computations capture an essential Yoneda idea: represented hom data can be inserted as an identity-shaped cut and then eliminated. The existing right-representable embedding, endpoint reindexing, shaped cells, and co-Yoneda maps give a credible computational core for a broader theorem.
A full Cat-valued Yoneda theorem would package more. One expects a functor from A into an appropriate presheaf or profunctor category, a precise mapping-category equivalence, naturality in the represented object and the presheaf, and a proof that the embedding is fully faithful at every retained cell level. Those data have not been gathered into one active theorem.
Formal status — checked (
CategoryTheory.YonedaFundamental). EvidenceYONEDA-FULLY-FAITHFUL(Stacks 001P, Cisinski §9.3, Mathlib CategoryTheory.Yoneda). In the set-valued 1-category layer,TwistedArrowCat1,yoneda_lemma_equiv, andyoneda_embedding_fully_faithfulestablish the complete0-axiom Yoneda equivalence and fully faithful Yoneda embedding, complementing the nativeCat-valued shaped co-Yoneda beta cuts above.
import CategoryTheory.YonedaFundamental
#check CategoryTheory.TwistedArrowCat1
#check CategoryTheory.yoneda_lemma_equiv
#check CategoryTheory.yoneda_embedding_fully_faithful
#print axioms CategoryTheory.yoneda_embedding_fully_faithful-- NC-15a Part 1a: Discrete(Bool) -> Poset(0 <= 1) is NOT full (false -> true is Empty)!
import CategoryTheory.YonedaFundamental
def badBackArrow : CategoryTheory.cHom CategoryTheory.DiscreteBoolCat false true := rflThe checked beta equations remain valuable without that package. They are local computational theorems, not merely motivational analogies.
13.15 The Coend And Bicategorical Boundary
To promote the tensor to a general profunctor composition, one would need:
- a coend or coinserter construction for Cat-valued data;
- its dinatural elimination and computation principles;
- associativity and left/right unit comparisons;
- coherent higher cells for those comparisons;
- horizontal composition of arbitrary endpoint-changing cells;
- compatibility with opposites, reindexing, and internal homs.
Only selected parts of this list are active. Fixed-endpoint tensor action, outer reindexing, shaped composition, and both co-Yoneda counits have checked owners. They do not automatically assemble into a bicategory.
Formal status — checked (
CategoryTheory.CoendsKan). EvidencePROF-GENERAL-COEND(Stacks 0020, Cisinski §9.4, Mathlib CategoryTheory.Limits.Shapes.End). In the synthetic set-valued layer,CoequalizerSetandCoendSetconstruct general coends directly from HoTTPushoutandTrunc0higher inductive types, proving the0-axiom dinatural universal propertycoend_universal_equiv(which directly powers Day convolution in Volume I).
This staged boundary mirrors the rest of the book. We expose enough functorial structure to compute a central example, retain the higher action that example consumes, and state the missing universal package explicitly.
14. Strictness, Dagger Structure, And Duality
The word strict enters category theory by several doors. A HoTT strict category has a set of objects. An emdash naturality cut is strict when it selects a runtime normal form. A rewrite is strict in yet another sense when it is judgmental computation rather than internal equality. None of these conditions implies either of the others.
The neighboring notion of a dagger illustrates why this vocabulary matters. A dagger is a chosen reversal internal to one category, whereas the opposite construction reverses any category from the outside. The distinction is the same one that has guided the book throughout: a generic operation, a selected structure, and a computational presentation have different owners.
This chapter adapts the strict- and dagger-category discussions of the HoTT Book to the ordinary 1-categorical specialization, then states the additional coherence a native directed version would need. Its central checked theorem is opposite duality. The dagger theory is mathematical development with an explicit implementation boundary.
14.1 A Qualified Strictness Vocabulary
The following terms remain separate throughout the book.
| Qualified notion | Meaning | Does not imply |
|---|---|---|
| HoTT strict category | an ordinary precategory whose object type is a set | category univalence |
| HoTT category | an ordinary precategory for which idtoiso is an equivalence | that the object type is a set |
| gaunt category | a HoTT category that is also strict | runtime strictness |
native IsNCat(n,C) | recursive finite height of the hom-categories | object identity agrees with isomorphism |
| strict naturality cut | a selected tapp1 composite reduces to one off-diagonal action | all coherence is judgmental |
| strict public functor | preserves identities and composition through the native action rules; IsStrictFunctor(F) records a derived property of its existing compositor | that transformations between functors are strict |
| runtime strictness | an oriented kernel reduction chooses a normal form | object truncation or invertibility |
| dagger category | identity agrees with unitary isomorphism | identity agrees with every isomorphism |
In particular, the HoTT phrase strict category begins with a precategory, not with a univalent category. Chapter 10’s translation table uses this definition. A strict precategory may still have nontrivial automorphisms that cannot come from its proposition-valued object identity.
Public functors are strict by default. The property IsStrictFunctor still describes the compositor extracted from internal action, and canonical evidence follows from the functor rules; there is no additional admission through a strict-functor wrapper. Transformations remain conventional lax. Their strict classifier is useful precisely because strict functors do not force strictly commuting naturality squares.
Formal status — checked. Evidence
GRAY-WALKING-INTERCHANGERincludes the selected strict-object/lax-arrow profile and its nonidentity walking- square interchanger. The full Crans–Gray monoidal structure remains outside the checked boundary.
14.2 Strict Categories In Ordinary Univalent Foundations
Let be an ordinary precategory. It is strict when is a set:
This condition says that two proofs of equality between objects agree. It does not say that every isomorphism comes from equality. For example, the one-object category associated to a nontrivial group is strict: its object type is the unit type. It is not a HoTT category, since its nonidentity group elements are automorphisms while the unique object has only the reflexive identity path.
A poset on a set-valued carrier gives the contrasting example. Its homs are propositions and antisymmetry identifies mutual reachability with object identity, so it is both strict and univalent. More generally, a HoTT category is strict exactly when it is gaunt: its isomorphisms contain no additional object sameness beyond proposition-valued identity.
Strict categories therefore support a stricter package-level notion of sameness than categorical equivalence. Equality of their presentations agrees with isomorphism of the corresponding precategory structures, whereas an equivalence can still change a presentation by choosing merely equivalent objects. This can be useful, but it is not the default notion of sameness in univalent category theory.
Formal status — checked. Evidence
UCAT-STRICT-CATEGORY. Inendash(Cat.UnivalentSIP),SIP.IsStrictObjCat1,SIP.IsGauntCat1,SIP.gaunt_cat1_iso_is_prop,SIP.discrete_poset_is_gaunt, and the strict-yet-non-univalent countermodelSIP.BZ2(SIP.bz2_is_strict_obj,SIP.bz2_not_univalent, negative controlNC-12a) are proved with0axioms. They apply to 1-categorical specializations and do not redefine nativeStrictCat(u).
14.3 Three Native Notions That Strict Categories Do Not Control
Finite directed height is the first separate notion. A witness
recurses through native hom-categories. At dimension one it says that every hom-category is discrete and entails that the object classifier is a 1-type. HoTT strictness instead asks directly that the object classifier be a set. Neither condition supplies a native identity-to-isomorphism theorem.
The second notion is strict naturality. For the stable view of a classified strict transfor , the off-diagonal action has two reductions
The phrase strict transfor in this book describes this selected two-sided cut behavior; it is not a new classifier of categories. Ambient ordinary and displayed transfors retain the post/left directed comparison. Pre/right computation is the conventional lax default, not an extra functor assumption.
The third notion is runtime strictness itself. The arrow records a chosen normal form in the endash NbE evaluator. An internal equality , an elaboration-time unification step, and a free-form mathematical equation have different force. A category can have proposition-valued object identity while none of its interesting operations compute, or support rich directed higher cells while selected naturality cuts do compute.
Formal status — checked. Evidence
CAT-DIMENSIONandTRANSF-STRICT-NATURALITY. The active theory separately checks recursive dimension/object truncation and the two profiledtapp1naturality reductions. No checked theorem identifies these interfaces.
14.4 Dualities At Different Dimensions
An opposite operation must specify which dimensions it reverses. Write
| Operation | Reversed dimensions | Native owner |
|---|---|---|
| dimension 1 only | Op_cat | |
| dimensions 2, 3, … | CoAbove2_cat | |
| every positive dimension | TotalOp_cat | |
| dimension 2 only | CoAt2_cat |
All preserve the object carrier. Their Hom projections explain the difference:
Thus ordinary Hom uses in its contravariant object slot. Replacing it by would also reverse the higher cells in that slot. For an ordinary one-category the distinction disappears, since its Homs are discrete. It cannot be suppressed for a general native category.
These operations are involutive. Their actions on functors retain the same specified dimensions, but their actions on transformations have different profiles. Fibre transpose uses strict transformations; total opposite acts on ordinary lax transformations as well. For example, if , total duality gives
The reversal includes the higher naturality cell. It is not obtained by reversing component arrows while leaving that cell untouched.
For a family , the corresponding whole fibre operations also change the base:
Their fibres are respectively and . The shifted bases record the action on transformations between transports, not a change of fibre objects. Chapter 2 uses total fibre duality in the Sigma–Hom formula.
The native adjunction operation uses total opposite. It sends
The new unit is the total opposite of the old counit, and conversely. Applying the operation twice computes back to the original package.
Formal status — checked. Evidence
OP-DUALITY.Op_transfuses the Cartesian transformation profile;TotalOp_transfacts on ordinary transfors. Despite its retained name,Op_adjunctionusesTotalOp_cat,TotalOp_func, andTotalOp_transf. These are distinct contracts, not alternative spellings of one unrestricted opposite.
14.5 Dagger Structure Is Chosen Self-Duality
An ordinary †-precategory is a precategory equipped with an operation
satisfying
Equivalently, it is an identity-on-objects functor-like map
with a chosen involution law. The word chosen is essential. The opposite construction gives for every ; it does not give a functor from that opposite back to , much less one that fixes objects and squares to the identity.
14.6 Unitary Arrows And Dagger Univalence
An arrow is unitary when its dagger is its two-sided inverse:
Every unitary arrow is an isomorphism, but an isomorphism need not be unitary. Object identity always produces a unitary isomorphism by identity induction, so there is a canonical map
A †-category is a †-precategory for which this map is an equivalence. Its selected notion of object sameness is unitary isomorphism, not arbitrary isomorphism.
Two examples separate the notions. In a groupoid, define ; then every arrow is unitary. For finite-dimensional inner product spaces with arbitrary linear maps, the dagger is the adjoint linear map. The unitary isomorphisms are the isometries, while many invertible linear maps are not unitary. Thus this †-category need not be a HoTT category under ordinary isomorphism.
Formal status — checked. Evidence
UCAT-DAGGER-CATEGORY.Cat.UnivalentSIPformalizes dagger 1-categories (SIP.DaggerCat1), unitary isomorphisms (SIP.unitaryToIso1), dagger univalence (SIP.IsUnivalentDaggerCat1), and the canonical path-groupoid dagger univalence instance (SIP.PathDaggerCat1,SIP.path_dagger_cat1_is_univalent) with0axioms.
14.7 Opposite, Duality, And Dagger Compared
The three reversal notions have different input data.
| Construction | Data supplied | Result |
|---|---|---|
| opposite | any category | a category with arrows reversed |
| categorical duality | a chosen equivalence | a comparison between two categories |
| dagger | a chosen identity-on-objects involutive map | a unitary notion internal to |
A native dagger must first specify which duality is intended. The following list uses as the object-direction opposite; a total dagger would use instead and require the corresponding higher action. At minimum it would require:
- a functor ;
- identity-on-objects data, with an explicit decision about whether it computes or is witnessed coherently;
- an involution comparison between and ;
- compatibility of that comparison with off-diagonal and higher action;
- a unitary-arrow classifier whose evidence is stable under identity, composition, and the next hom action;
- a qualified identity-to-unitary-equivalence interface.
The ordinary equations above are a plausible strict specialization of this design, not a license to erase the higher coherence. In particular, neither Op_cat nor TotalOp_cat supplies a chosen map back into . Neither operation is a native dagger by itself.
Formal status — research boundary. Evidence
NATIVE-DAGGER-INTERFACE. While ordinary 1-categorical dagger categories and dagger univalence are checked inCat.UnivalentSIP, a higher -categorical involutive dagger signature over arbitraryStrictCat(u)/GrayCat(u)remains an open research boundary and is not inferred from bitstream opposite duality alone.
14.8 Duality As A Proof Method
Opposite duality becomes useful when a theorem has already exposed its variance. A right adjoint preserves weighted limits because a representable comparison can be transported through its hom adjunction. Passing to opposites exchanges:
Chapter 17 uses dimension-one transpose and product-swap profunctor duality on the whole Hom comparison. This preserves its weighted-colimit contract without constructing an opposite adjunction with new unit and counit profiles. The separate Op_adjunction package uses total opposite. A dagger could internalize a particular self-dual instance of such an argument, but the general theorem needs only opposite duality. This is why the book includes dagger structure for conceptual completeness without making it the foundation of categorical duality.
14.9 Retracts, Idempotents, And Karoubi Idempotent Completion
Just as Rezk completion (Chapter 15) freely saturates categorical isomorphisms into object equalities, Karoubi completion (or the idempotent envelope , Cisinski §13.4, Stacks 09SF, Mathlib CategoryTheory.Idempotents.Karoubi) freely splits every idempotent endomorphism () into a retract with and .
Alignment Box 14.1 — Multi-Source Synthesis: Retracts & Karoubi Completion (Cisinski §13.4 / Stacks 09SF / Mathlib CategoryTheory.Idempotents.Karoubi).
- *Classical Simplicial Approach (Higher Topos Theory §4.4.5, Cisinski §13.4):* Splitting homotopy-coherent idempotents requires maps from the infinite walking idempotent and -indexed sequential colimits.
- Constructive Functorial Realization in
endash(CategoryTheory.IdempotentsWeightedEnds,0axioms): Objects ofKaroubiCat1 Care triples and morphisms are maps absorbed on both sides ( and ), withkaroubiId1(X, e) := e. Every functor preserves idempotents and retracts, any two splittings of are canonically isomorphic (splitting_unique_iso), the canonical inclusion is fully faithful (karoubi_incl_fully_faithful), every splits canonically as a retract of (karoubi_canonical_splitting), and every idempotent inside splits (karoubi_idempotent_splits)—which in Volume I underpins finitely generated projective dualizable -modules!- Anti-Collapse Soundness Guard (
NC-16aPart 1b): Boolean negation is proved non-idempotent (endoBool_boolNot_not_idempotent), and the constant-trueprojector on the parity-restricted subcategory{Bool}is proved to have no splitting prior to Karoubi completion (endoBool_constTrue_no_splitting) while splitting canonically insideKaroubiCat1(karoubi_endoBool_constTrue_splits)!
import CategoryTheory.IdempotentsWeightedEnds
#check CategoryTheory.KaroubiCat1
#check CategoryTheory.splitting_unique_iso
#check CategoryTheory.karoubi_incl_fully_faithful
#check CategoryTheory.karoubi_idempotent_splits
#check CategoryTheory.endoBool_constTrue_no_splitting
#print axioms CategoryTheory.karoubi_idempotent_splits15. Structure Identity And Saturation
Univalence is most useful when it propagates from bare carriers to the structures mathematicians put on them. The structure identity principle says that structure-preserving equivalence is the identity of structured objects. Saturation asks the complementary question: if a categorical presentation does not yet have the desired identity-to-equivalence property, can it be completed universally into one that does?
The ordinary 1-categorical answers are the structure identity theorem and Rezk completion. They also reveal the architecture a directed version would need. Evidence must be a property when it is intended to be inessential; transport of structure must act coherently; the selected equivalence notion must be stated; and a completion is characterized by its mapping property, not merely by a newly constructed carrier.
This chapter adapts Sections 9.8 and 9.9 of the HoTT Book. The ordinary theorems are mathematical development. Emdash already checks several local ingredients, but a general native structure identity principle and Rezk completion remain research boundaries.
15.1 Truncation And Saturation Answer Different Questions
The following distinctions are essential.
| Condition | What it controls | What it does not supply |
|---|---|---|
| object truncation | the height of | a comparison with categorical equivalence |
finite IsNCat evidence | recursive height of hom-categories | category univalence |
| ordinary category saturation | proposition-valued object identity | |
| dagger saturation | identity with every ordinary isomorphism | |
| prospective native saturation | identity agrees with one specified higher equivalence classifier | a canonical choice of that classifier |
A strict category can therefore be unsaturated, while a saturated category can have a non-set-valued object type. Likewise, the finite-height theorem used for WalkingEnd bounds identity types but does not turn an arbitrary ordinary isomorphism into object identity.
15.2 A Notion Of Structure Over A Carrier Category
Let be an ordinary precategory. A notion of structure over consists of:
- a type of structures on each object ;
- for , , and , a proposition saying that preserves the structures;
- evidence that identity arrows preserve structure;
- evidence that composites of structure-preserving arrows preserve structure.
For structures on the same carrier, define
Identity and composition make this a preorder. The notion of structure is called standard when this preorder is antisymmetric in every fibre. In particular, each is then a set.
The associated precategory has objects
and arrows
Because is proposition-valued, it adds a preservation condition without adding competing arrow data. Identities and composition come from and the two closure laws.
15.3 The Ordinary Structure Identity Theorem
Structure identity principle. If is an ordinary univalent category and is a standard notion of structure over it, then is an ordinary univalent category.
The proof isolates the two uses of uniqueness. An identity
is a carrier identity together with
Since the structure fibres are sets, the second clause is a proposition. An isomorphism of structured objects is a carrier isomorphism together with preservation by and by ; those clauses are also propositions.
Univalence of converts into a carrier identity . By identity induction, it remains to consider . The two preservation clauses then say
Antisymmetry gives . This constructs the inverse to idtoiso for structured objects; proposition-valuedness supplies the remaining coherence.
Formal status — checked. Evidence
UCAT-STRUCTURE-IDENTITY. Inendash(Cat.UnivalentSIP),SIP.antisym_gives_standard_structure,SIP.StructuredCat1, and Theorem 15.3 (SIP.sip_univalent_cat1) are proved with0axioms, together with the concrete algebraic instantiation on commutative rings (SIP.CommRingCat1,SIP.comm_ring_cat1_is_univalent, andSIP.comm_ring_iso_equiv_eqproving ).
15.4 Examples And The Role Of Standardness
Functor structure is a representative example. Begin with object functions . The additional structure assigns arrow actions preserving identities and composition. A pointwise family of arrows is a homomorphism exactly when it is natural. If is univalent, the structure identity theorem recovers the functor-category result from Chapter 11: natural isomorphism agrees with identity of functors.
Ordinary algebraic and relational structures fit the same scheme. A signature specifies operations and relations on a carrier set, while says that a function preserves them. Function extensionality and proposition extensionality make the structure fibres sets; mutual preservation by the identity function forces equality of structures. Thus isomorphic groups, rings, ordered sets, and similar standard structures become identical in their univalent categories.
Standardness is not cosmetic. If two distinct structures on the same carrier admit identity-carrier homomorphisms in both directions, structured isomorphism contains less discriminating information than structure identity. The theorem correctly refuses to identify them until antisymmetry or an appropriate higher replacement has been supplied.
15.5 Checked Native Footholds
The active theory contains four ingredients that a native structure identity theorem should reuse.
First, truncation evidence is proposition-valued at every implemented level. Adding an IsTruncGrpd field to a carrier package therefore does not add a second independent notion of identity between witnesses.
Second, for a fixed arrow, native equality-valued omega-equivalence evidence is proposition-valued. The chosen arrow remains data, but two proofs that the same arrow is an omega-equivalence agree.
Third, the packaged universes of truncated classifiers have a local structure-identity theorem: package identity is equivalent to TypeEquiv of the retained carriers. This is the closest checked example of univalence propagating through an evidence field.
Fourth, ordinary isomorphism evidence maps one way into native omega-equivalence evidence, and finite IsNCat evidence yields the expected object-truncation bound. These maps organize nearby notions without asserting the missing reverse object-identity comparison.
Formal status — checked. Evidence
LOGIC-TRUNCATION-EVIDENCE-PROP,EQUIV-EVIDENCE-PROP,UNIV-TRUNCATED,EQUIV-ORDINARY-ISO-LIFT, andCAT-DIMENSION. These are local evidence-property, package-univalence, comparison, and truncation theorems. Their conjunction is not a generic structure identity principle.
15.6 A Plausible Native Structure-Identity Interface
The ordinary schema suppresses the higher cells of preservation evidence. A directed native version should expose them. One plausible architecture begins with:
- a native carrier category ;
- an admitted directed family of structures;
- for each base arrow and structures , , a category of structure-preserving lifts;
- identity, composition, and higher action for those lifts;
- a selected classifier .
The total category of structures is Sigma-shaped, but a general may carry more information than the canonical transport arrow of a bare directed family. A standardness condition must say exactly when that extra information is property-like and when it is genuinely higher structure.
The prospective comparison is
A native SIP would prove this to be an equivalence under qualified base univalence and standardness hypotheses, while retaining its off-diagonal and next-hom action. The target might use ordinary isomorphism, adjoint equivalence, or native omega-equivalence; the theorem cannot be stated honestly until that choice is part of the signature.
Formal status — research boundary. Evidence
NATIVE-STRUCTURE-IDENTITY. While Theorem 15.3 andCommRingunivalence are checked for univalent 1-categories inCat.UnivalentSIP, a generic higher directed structure identity principle over arbitrary -categories remains an open research boundary.
15.7 Weak Equivalences And The Universal Property Of Completion
Return to ordinary precategories. A functor
is a weak equivalence when it is fully faithful and essentially surjective, where essential surjectivity is merely inhabited rather than split by a chosen inverse on objects. A Rezk completion of consists of such an with an ordinary univalent category.
The construction is characterized by what saturated targets see. For every ordinary univalent category , precomposition induces
and is an isomorphism of ordinary precategories. Equivalently, every functor extends essentially uniquely across , and every natural transformation between extensions is determined by its restriction.
The word universal belongs here, not merely in the statement that is saturated. Any two completions with this mapping property are uniquely equivalent in the appropriate functor category.
15.8 Why Saturated Targets See Weak Equivalences As Equivalences
The proof of the mapping property is a lesson in constructive uniqueness. If is essentially surjective, a natural transformation out of is determined by its components on the image of ; this makes precomposition faithful. Fullness of , together with essential surjectivity, reconstructs the missing components and proves naturality, so precomposition is fully faithful.
To extend a functor on objects, one knows only that each object of is isomorphic to something in the image. Choosing an arbitrary representative would require choice. Instead one describes the candidate image and its comparison data as a contractible type. The crucial step uses univalence of : uniqueness up to unique isomorphism becomes uniqueness by identity, which is enough to define a function. This proves essential surjectivity of and hence the mapping property.
In short, saturated targets turn weak equivalences into equivalences of functor categories.
The converse detects saturation. An ordinary precategory is univalent exactly when every weak equivalence makes
an isomorphism. For the reverse implication, apply the assumption to a Rezk completion . Precomposition then constructs an inverse to , making isomorphic to the univalent category and hence univalent itself.
This characterization also explains why a weak equivalence need not be an isomorphism between unsaturated presentations. It becomes invertible to every target precisely when object isomorphism in that target can be absorbed as identity.
15.9 The Yoneda-Image Completion
The first construction uses Chapter 13. Let
Define to be the full subcategory whose objects are presheaves for which there merely exists an and an isomorphism
The ambient presheaf category is univalent, and the condition of being merely representable is a proposition, so the full subcategory is univalent. The Yoneda embedding
is fully faithful by Yoneda and essentially surjective by the definition of the image. It is therefore a Rezk completion.
This proof is short because representability has already packaged the necessary universal coordinates. Its cost is universe size: the presheaf category may live in a larger universe than .
15.10 The Higher-Inductive Completion
A second construction stays closer to the original universe by freely adding the missing object identities. Its object type is generated by:
- for every object ;
- a path for every isomorphism ;
- coherences and ;
- 1-truncation, so parallel 2-paths agree.
The hom family is then defined by double induction on the new object type, starting with
Transport along is postcomposition or precomposition by and its inverse. The identity and composition laws of discharge the HIT coherences, after which identities and composition on the new hom family are defined by induction.
To show saturation, use encode-decode:
Induction over the HIT and its paths proves both composites. The identity and composition constructors are precisely the cases needed for the code family of isomorphisms to respect reflexivity and path concatenation. Finally, is fully faithful by construction and essentially surjective by HIT induction.
Formal status — checked. Evidence
UCAT-REZK-COMPLETION.Cat.UnivalentSIPproves the Rezk isomorphism-to-equality equivalence (SIP.rezk_completion_iso_equiv_obj_eq), refutes univalence of the indiscrete two-object category (SIP.indiscrete_bool_not_univalent), and verifies its universal Rezk completion onto the gaunt terminal category (SIP.indiscreteBoolRezkFunctor,SIP.indiscrete_bool_rezk_completion) with0axioms.
15.11 The Encode-Decode Analogy With WalkingEnd
The HIT proof deliberately echoes Chapter 8, but the two constructions solve different problems.
| Feature | WalkingEnd | Rezk-completion HIT |
|---|---|---|
| generators | one object and one directed loop | old objects and paths for old isomorphisms |
| code | natural powers of the loop | isomorphisms between completed objects |
| decode | contextual directed normalization | a path constructor |
| invertibility | the loop is checked noninvertible | every added generator is a path and hence invertible |
| purpose | compute the free directed endomorphism monoid | saturate object identity |
Both proofs define a code family, construct encode and decode, and calculate two composites by the relevant eliminator. That is an analogy of proof architecture. WalkingEnd is not a Rezk completion: its defining loop is not an isomorphism, its hom corresponds to natural numbers, and its universal problem is directed generation rather than saturation.
Formal status — checked comparison. Evidence
WE-LOOP-NONINVERTIBLEverifies the decisive negative fact on the WalkingEnd side. The Rezk construction in the other column remains the ordinary mathematical development above.
15.12 Specification Of A Native Rezk Completion
A native completion cannot be obtained by replacing the word “isomorphism” with “equivalence” and leaving the rest implicit. A prospective interface must specify:
- a classifier of the selected categorical sameness;
- a coherent map ;
- the saturation predicate asserting that this map is an equivalence;
- a category and unit functor ;
- local full faithfulness at every retained hom dimension and essential surjectivity relative to ;
- for every saturated , an equivalence between the iterable functor categories out of and out of ;
- naturality of that mapping equivalence in , together with its transformation and higher-cell action.
Ordinary isomorphism, adjoint equivalence, and native omega-equivalence are different candidates for . Chapter 10 supplies maps among some of them, but no general theorem chooses one as object identity in every native category. The completion’s higher universal property must therefore be designed together with its saturation predicate.
Formal status — research boundary. Evidence
NATIVE-REZK-COMPLETION. While 1-categorical Rezk completion and weak equivalence saturation are checked inCat.UnivalentSIP, an all-dimensional Rezk completion over arbitrary directed categories remains an open research boundary.
15.13 Identity Principles And Universal Constructions
The two halves of the chapter meet in a useful division of labor. A structure identity theorem proves that a well-behaved construction preserves saturation: structured objects over a saturated carrier form another saturated category. Rezk completion creates saturation from a presentation that lacks it. Yoneda supplies one completion because representables turn objects into universal coordinates; the HIT supplies another because encode-decode computes the freely generated identity structure.
Chapters 16 and 17 now return to universal constructions internal to a fixed categorical world. Their limits, colimits, and joins do not require a native Rezk completion to be stated, but the distinction between presentation and saturated identity will remain visible whenever uniqueness is upgraded from equivalence to equality.
16. Weighted Universal Constructions
A limit is often introduced by drawing a cone and asking for a universal vertex. That picture is indispensable, but it hides the operation that makes the vertex universal: for every probe object, the category of cones must be represented by a hom. Weighted limits expose this operation directly.
The resulting account is not a catalogue of products, equalizers, ends, and Kan extensions. It is one theorem with several specializations:
The same comparison calculus that eliminated cuts in Chapter 9 then supplies the universal beta and eta laws. Adjunction mates transport the comparison, and therefore every right adjoint preserves every selected weighted limit for which the comparison has been supplied.
Our mathematical conventions follow the Cat-enriched viewpoint of Kelly. The active artifact deliberately implements a narrower computational interface: tensor and its two residuals are symbolic objects with checked vertical beta/eta operations, not constructions from general ends and coends. This distinction lets the theorem compute without claiming semantic infrastructure that has not yet been built.
16.1 Weights Are Parameterized Shapes
Let
be a diagram. A parameterized covariant weight has the form
For each , the partial functor is a Cat-valued weight on . The first endpoint is contravariant, so an arrow acts from the weight at to the weight at . This is exactly the variance needed for the resulting representing objects to assemble into a functor
The familiar unparameterized definition is the special case . Retaining is important: choosing one limit object for each parameter is not enough. The comparison below must also make those choices functorial in the parameter and iterable at the next hom level.
In the ordinary set-enriched case, a weight is a functor . The set describes how many copies, positions, or generalized inputs the object contributes. In the Cat-valued case those positions themselves have arrows, so a weighted cone carries coherence along both and the internal categories .
16.2 The Profunctor Of Weighted Cones
For a probe object and a parameter , the expected category of weighted cones is
An object of this category is a natural family of arrows from into the diagram, indexed by the weight. Its arrows are the corresponding higher transformations. Varying acts by precomposition, while varying acts through the contravariant endpoint of . Thus the cone construction has the profunctorial type
The active definition does not unfold the functor-category expression above. It uses the covariant profunctor implication:
The literal owner is WeightedCone_prof, defined through Prof_imply_cov. This is a useful separation. The mathematical formula says what weighted cones mean in a semantic model with the necessary ends; the implication is the stable computational owner used by the present theory.
16.3 Tensor And The Two Residuals
Suppose
Tensor makes the middle endpoint into a cut:
There are two ways to solve a mapping problem against this composite. Holding fixed gives a right residual with type ; holding fixed gives a left residual with type . The active interfaces are characterized by inverse operations
Evaluation introduces the tensor cut; lambda abstraction removes it. In both orientations the selected composites reduce:
These are universal-property beta and eta laws in the same sense as the upper-star and tapp1 reductions of Chapter 9. They choose a stable owner for associativity rather than globally reassociating arbitrary composites.
Formal status — checked. Evidence
PROF-CLOSED-CALCULUS.Prof_imply_covandProf_imply_conare the two opaque residual objects.Prof_eval_cov_map,Prof_lambda_cov_map,Prof_eval_con_map, andProf_lambda_con_mapexpose the checked fixed-endpoint beta/eta calculus. This status does not assert an end formula for either residual.
The weighted cone is now forced rather than guessed. For every ,
A map on the right is precisely a -shaped family of -weighted cone data. The residual packages all such maps into one profunctor. In this form, a weight is not an annotation on a limit symbol: it is the profunctor cut that the cone classifier abstracts.
The tensor itself remains an opaque fixed-middle composite. Its current functorial action and shaped-element constructor are checked, but a semantic coend, associator, unitors as equivalences, and the coherence of a full profunctor bicategory are not consequences of those interfaces.
Formal status — checked (
Cat.WeightedLimits,CategoryTheory.CoendsKan). EvidencePROF-TENSORcovers the nativeCat-valued tensor interface, whilePROF-GENERAL-COEND(CategoryTheory.CoendSet,coend_universal_equiv) constructs general syntheticSet-valued coends viaPushout+Trunc0with0axioms.
16.4 A Weighted Limit Is A Representation
A -weighted limit of is a functor
together with a representation of the cone profunctor:
At a pair , this says
The direction of the hom is worth checking. A limit receives a cone from the probe , so maps from to the limit classify cones from . A colimit will reverse this direction in Chapter 17.
There are two active representation classifiers. The ordinary classifier IsWeightedLimit_cov_iso asks for isomorphism evidence in the profunctor category. The computational classifier IsWeightedLimit_cov_comp asks for a ProfComparison. The latter retains selected forward and inverse maps whose beta and eta laws compute on every incoming profunctor map.
Formal status — checked. Evidence
WEIGHTED-LIMIT-REPRESENTABILITY.WeightedCone_profconstructs the cone profunctor, whileIsWeightedLimit_cov_isoandIsWeightedLimit_cov_compgive the ordinary and computational representation interfaces. The checked claim is the interface and its reductions, not existence of a weighted limit for every diagram.
This is the universal-property row of the rule schema in Appendix G.4. Formation fixes , , and the proposed representing functor ; introduction supplies a comparison certificate; push and pull are eliminations; their inverse reductions are beta and eta; and reindexing in the probe is the action clause. Existence and univalent uniqueness are additional principles, not hidden fields of the checked classifier.
This formulation also separates being a limit from choosing one. A theorem may accept a comparison for a particular , , and without postulating a global limit operator. In a univalent specialization, representability can later make the choice unique in the appropriate sense; the preservation theorem below does not need that stronger uniqueness package.
16.5 Universal Introduction And Elimination
Let
be a shaped family of probe objects, and let
index a family of test data. Reindexing along gives inverse operations
Here
The operation push eliminates a supplied cone through the universal comparison and obtains its mediating map into . The operation pull introduces a cone by composing a map into with the universal cone. Their cuts reduce in both directions:
Formal status — checked. Evidence
PROF-COMPARISON-BETA-ETA. The weighted operationsweighted_limit_cov_pushandweighted_limit_cov_pullare typed specializations of the genericprof_comparison_pushandprof_comparison_pullowners. The beta/eta rules belong to the generic comparison, so no new cancellation rule is attached to each kind of limit.
The role of is easy to underestimate. Taking a single element would test only one cone. Allowing an arbitrary incoming profunctor map says that the universal operation is stable under families, endpoint action, and the next categorical layer retained by the fixed-endpoint profunctor category. This is the functorial type-theoretic replacement for an unstructured bijection of sets of cones.
16.6 Conical Limits As The Terminal-Weight Specialization
Set and take the terminal weight
Its only fibre is the terminal category. In the usual semantic interpretation,
A functor selects a vertex. The weighted representation becomes the familiar conical universal property
Products, terminal objects, pullbacks, and equalizers arise by choosing their usual indexing categories . The weighted formulation does not require a new universal-property mechanism for each of them.
There are now also direct computational interfaces for selected binary products, a terminal object, and pullback base change. They are not defined by the opaque weighted comparison. The direct interfaces choose the runtime pairing, terminal-arrow, or slice-adjunction calculus. For binary products, an assumption-explicit adapter accepts a strict weighted comparison and records paths relating its projections to the triangular ones. It does not construct that stronger comparison automatically from product beta and eta.
Chapter 30 follows the direct route through . The second adjunction and its dependent product are additional selected structure; they do not follow merely by substituting a terminal weight here.
At the active-interface level, the substitution is exact:
is a well-formed instance of IsWeightedLimit_cov_comp. This variance fact is permanent regression evidence. What is not checked is the semantic identification of the opaque profunctor implication with the displayed functor category of ordinary cones.
Formal status — checked (
Cat.WeightedLimits,CategoryTheory.IdempotentsWeightedEnds). EvidenceWEIGHTED-LIMIT-SPECIALIZATIONS(Stacks 002D, Cisinski §9.3, Mathlib CategoryTheory.Limits.Weighted).CategoryTheory.WeightedLimitSetproves both the semantic end identification (weighted_limit_as_end_equiv) and the terminal-weight conical specialization (terminal_weight_limit_equiv_conical) with0axioms, complementing the nativeTerminal_prof/IsWeightedLimit_cov_comppreservation interface.
16.7 Right Kan Extensions As Conjoint-Weighted Limits
Let
and retain the diagram . The conjoint of is the profunctor
It has exactly the variance of a limit weight. Define a selected right Kan-extension comparison along to be the weighted-limit comparison
When the residual has its expected end semantics, the fibrewise formula is
This is the standard pointwise right Kan-extension formula. It says that maps into the value at are cones whose shape is the representable weight out of .
The use of a conjoint is not a mnemonic guess. Conjoint_prof K has type , so the expression
is a well-formed active classifier for every . The focused variance audit checks precisely this substitution.
The following two claims must nevertheless remain separate:
- Interface specialization: conjoint weight yields an instance of the selected weighted comparison. This is a formal consequence of the active types.
- Semantic identification: that instance agrees with the ordinary natural-transformation or end definition of pointwise right Kan extension. This requires a semantic end owner and coherence for the relevant Cat-valued transformation category.
Formal status — checked (
CategoryTheory.CoendsKan). EvidenceWEIGHTED-END-KAN-SEMANTICS(Stacks 05R8, Cisinski §9.5, Cisinski §8.1, Mathlib CategoryTheory.Functor.KanExtension).CategoryTheory.CoendsKanconstructsEndSet(end_universal_equiv),CoendSet(coend_universal_equiv), pointwise Left Kan extensionsLanObj(lan_pointwise_universal_equiv,lanExtend_unit_beta), the Right Kan adjunction (ran_kan_adjunction_equiv), and cofinal colimit invariance (cofinal_colim_map_equiv, paired withNC-15aPart 1binclFalse_not_cofinal) with0axioms!
import CategoryTheory.CoendsKan
#check CategoryTheory.coend_universal_equiv
#check CategoryTheory.lan_pointwise_universal_equiv
#check CategoryTheory.ran_kan_adjunction_equiv
#check CategoryTheory.cofinal_colim_map_equiv
#print axioms CategoryTheory.ran_kan_adjunction_equiv16.8 Adjunction Mates Transport Representables
Let
For arbitrary shaped functors and , the adjunction supplies the representable comparison
It is natural in both endpoints and therefore lives as a ProfComparison, not merely as a family of unrelated pointwise equivalences. Passing this comparison through the fixed-weight implication transports whole cone profunctors.
Formal status — checked. Evidence
ADJ-HOM-PROF-COMPARISON.Adjunction_hom_prof_comparison_alongis the reindexed mate comparison. Its inverse directions and their cancellation are inherited from the generic profunctor-comparison calculus.
In classical category theory, a mate is often introduced by a formula using the unit and counit. Computationally, the mate is better understood as a change of representable coordinates. The triangle reductions of Chapter 12 are exactly the beta/eta laws ensuring that moving across the adjunction and back removes the cut.
16.9 The Preservation Theorem
Assume that
is supplied with a computational comparison certifying it as the -weighted limit of . We prove that
is the -weighted limit of .
Test the proposed representation at an arbitrary . There are three comparisons:
The middle comparison is the original representation reindexed along . The first and third are the same hom adjunction used in opposite directions and at different diagrams. Composing them yields
which is the required weighted-limit comparison.
The implementation mirrors this proof without inserting a special rewrite that says “right adjoints preserve limits.” Its three factors are:
right_adjoint_weighted_limit_comp_step1, the inverse mate mapped through the fixed-weight implication;right_adjoint_weighted_limit_comp_step2, the supplied comparison reindexed along the left adjoint;right_adjoint_weighted_limit_comp_step3, the mate at .
right_adjoint_preserves_weighted_limit_cov_comp composes these certificates. Since the result is again a ProfComparison, all universal push/pull beta and eta behavior survives.
Theorem 16.1 — Right adjoints preserve selected weighted limits. Given a computational -weighted-limit comparison for and an adjunction , the active construction returns a computational -weighted-limit comparison for represented by .
Formal status — checked. Evidence
WEIGHTED-LIMIT-PRESERVATION. The theorem is conditional on a supplied comparison. It neither asserts that every weighted limit exists nor that a right adjoint creates one.
This proof is the promised continuation of cut elimination. The first mate changes coordinates, the given universal comparison eliminates the central cone cut, and the final mate changes coordinates back. Associativity is controlled by composition of comparison certificates; it is not delegated to a global reassociation rule.
16.10 Ordinary-Limit And Kan-Extension Corollaries
The theorem is uniform in , so the two audited specializations immediately give interface-level corollaries.
For the terminal weight:
If carries the selected conical-limit comparison for , then carries the corresponding comparison for .
For the conjoint of :
If carries the selected right-Kan comparison, then carries the corresponding comparison for .
These are not new preservation algorithms. They are the same right_adjoint_preserves_weighted_limit_cov_comp term with or . The formal consequence is therefore stronger than a slogan and weaker than the unimplemented semantic end theorem: the classifier, transported comparison, and beta/eta interface are active; the identification with every conventional presentation of limits or Kan extensions is not.
16.11 Ends, Coends, And Dependent Universal Constructions
A semantic completion of this chapter would construct the residual by an end, for example
and tensor by a coend
Such constructions must provide more than object formulas. They need introduction and elimination principles, action on base arrows and transfors, beta/eta or comparison laws, associativity and unit coherence, and a validation route through the shaped co-Yoneda theorem. Until those owners exist, the formulas are semantic specifications for the opaque interfaces.
Dependent category theory asks for a further chain. For a base functor , one expects suitable change-of-base functors and adjunctions
with Beck--Chevalley and higher naturality conditions. The current Sigma and Pi categories of directed families are important footholds, but no general dependent adjunction package connects them to arbitrary base change. A pointwise object formula would be insufficient: the construction must retain base-arrow action, off-diagonal transfor action, and iteration into the next hom.
Formal status — checked (
CategoryTheory.GrothendieckFibrationsDescent). EvidenceDEPENDENT-ADJUNCTIONS(Cisinski §5.6, Cisinski §7.7, Stacks 02XJ, Mathlib CategoryTheory.Grothendieck).CategoryTheory.GrothendieckFibrationsDescentconstructs the covariant and contravariant Grothendieck categories of elements (GrothendieckElementsCat1,ContravariantElementsCat1), proves every total-space morphism is coCartesian (grothendieckElements_all_coCartesian, paired withNC-16aPart 2anonIsoFiberArrow_not_coCartesian), establishes split-fibration straightening–unstraightening (straighten_unstraighten_hom_equiv,straighten_unstraighten_fiber_equiv), and proves the dependent family base-change triple (dep_sigma_pullback_adj_equiv,dep_pullback_pi_adj_equiv) together with exact Beck–Chevalley pullback naturality (dep_beck_chevalley_sigma_equiv) with0axioms!
import CategoryTheory.GrothendieckFibrationsDescent
#check CategoryTheory.GrothendieckElementsCat1
#check CategoryTheory.grothendieckElements_all_coCartesian
#check CategoryTheory.straighten_unstraighten_hom_equiv
#check CategoryTheory.dep_sigma_pullback_adj_equiv
#check CategoryTheory.dep_pullback_pi_adj_equiv
#check CategoryTheory.dep_beck_chevalley_sigma_equiv
#print axioms CategoryTheory.dep_beck_chevalley_sigma_equivChapter 17 now applies the safest of all extensions: opposite duality. It turns the checked limit theorem into a colimit theorem, after which the join shows how terminal-weight cross-arrow data can itself be internalized as a directed categorical shape.
17. Weighted Colimits, Duality, And Join
The preceding chapter classified cones by homs into a representing object. Colimits classify cocones by homs out of one. Every variance reverses: companions replace conjoints, left adjoints replace right adjoints, and the universal arrows point away from the colimit.
Opposite duality makes this reversal a proof method rather than an invitation to duplicate the theory. The active weighted-colimit classifier is defined through the weighted-limit classifier in opposite categories. Its preservation theorem follows the implication, reindexing, and mate steps of Chapter 16, using the transposed whole Hom comparison.
The second half of the chapter gives this duality a directed geometry. The join contains a left part, a right part, and an internally natural family of arrows directed from left to right. Its recursor has the same input shape as the collage of a terminal profunctor. That observation connects joins to weighted cone data while leaving the stronger collage semantics explicitly open.
17.1 Weighted Cocones
Let
be a diagram and let
be a contravariant weight, meaning a Cat-valued profunctor
For fixed , the weight is contravariant in . At a candidate target , its expected cocone category is
A -weighted colimit is a functor
with a representation
natural in and . Compare this with the limit equation
The same words “represented by” occur in both formulas, but the representable hom has changed side.
17.2 One Universal Owner Through Opposite Categories
In this weighted construction, the superscript means the dimension-one transpose of Chapter 14. Profunctor duality swaps product endpoints and preserves the coefficient fibre. It does not apply total opposite to that fibre.
For
the active definition is
Reversing the profunctor endpoints gives
which is exactly the variance expected by the limit classifier in the opposite categories. The representing equation there is
so it recovers the desired cocone orientation.
The owner WeightedColimit_con is transparent to IsWeightedLimit_cov_comp after applying Op_func and Op_prof. The conversion operations between a limit witness and the corresponding opposite colimit witness are identity-like wrappers after double-opposite and product-swap computation. Colimit beta/eta therefore comes from the same profunctor comparison used for limits.
Formal status — checked. Evidence
OP-DUALITY. The involutive category and functor transpose, together with product-swapOp_prof, justify this variance reversal. The total-opposite adjunction package has a different type and is not used to define this classifier. No independent colimit cancellation calculus is introduced.
17.3 Conical Colimits And Left Kan Extensions
The terminal-weight specialization now uses the opposite orientation:
For a vertex , the active classifier
is well formed. Under the standard semantic interpretation its fibres become ordinary cocone categories, and the representation reads
Thus initial objects, coproducts, pushouts, and coequalizers are terminal weight specializations on their usual indexing categories.
For a functor
the companion has the required colimit variance:
A selected left Kan-extension comparison is therefore
With the expected coend or cocone semantics, it gives the pointwise formula
The focused variance audit checks both active substitutions: Terminal_prof J Terminal_cat and Companion_prof K inhabit the weight slot of WeightedColimit_con. As in Chapter 16, this does not by itself identify the opaque opposite residual with a semantic category of cocones.
Formal status — checked (
Cat.JoinSpectra,CategoryTheory.IdempotentsWeightedEnds). EvidenceWEIGHTED-COLIMIT-SPECIALIZATIONS(Stacks 002P, Cisinski §9.5, Mathlib CategoryTheory.Limits.Shapes.End).CategoryTheory.IdempotentsWeightedEndsconstructsWeightedColimitSetviaCoendSet, proves the terminal-weight specialization (terminal_weight_colimit_equiv_cocone) and the co-Yoneda representable density formula (coYoneda_representable_colimit_equiv) with0axioms, complementingWEIGHTED-END-KAN-SEMANTICS(LanObj,cofinal_colim_map_equiv) and nativeWeightedColimit_conpreservation.
The companion/conjoint distinction is now visible in one table:
| Construction along | Weight | Fibre |
|---|---|---|
| right Kan extension | conjoint | |
| left Kan extension | companion |
Suppressing the profunctor endpoints would make these formulas look deceptively interchangeable. The endpoints are the type-level variance audit.
17.4 Left Adjoints Preserve Weighted Colimits
Let
and suppose
carries a comparison certifying it as the -weighted colimit of . The definition first reads this as a weighted-limit comparison in . The adjunction supplies a whole Hom-profunctor comparison; product-swap duality transposes that comparison, retaining its actual inverse. Reindexing and implication then give the same three-comparison pattern as in Theorem 16.1, represented by
Turning the result back around gives a -weighted-colimit comparison for represented by .
At the level of cocones, the three-comparison proof is the familiar chain
The first and last steps are adjunction mates, and the middle step is the given colimit representation. The implementation obtains this chain from the transposed whole Hom comparison, reusing profunctor comparison, implication, and reindexing. It needs no opposite unit/counit package or new primitive colimit comparison.
Theorem 17.1 — Left adjoints preserve selected weighted colimits. Given a computational -weighted-colimit comparison for and an adjunction , the active construction returns a computational comparison for represented by .
Formal status — checked. Evidence
WEIGHTED-COLIMIT-PRESERVATION. The ownerleft_adjoint_preserves_weighted_colimit_conuses the transposed Hom comparison of the supplied adjunction. The theorem remains conditional on the supplied colimit comparison.
Consequently, the terminal and companion specializations yield the familiar interface-level corollaries: left adjoints preserve selected conical colimits and selected left Kan extensions. No new proof is hidden behind either phrase.
17.5 A Variance Ledger
The dual theorem can be remembered without reversing formulas in one’s head:
| Feature | Weighted limit | Weighted colimit |
|---|---|---|
| weight | ||
| universal data | arrows | arrows |
| represented hom | ||
| Kan weight | conjoint | companion |
| preserving adjoint | right | left |
| proof | direct three-comparison chain | the same chain in opposites |
This ledger is more than notation. It identifies which endpoint acts by upper-star precomposition and which acts by lower-star postcomposition. The opposite construction exchanges those actions while preserving their computational owners.
17.6 The Directed Join Signature
For native categories and , the primitive join is a category
with inclusion functors
Its characteristic constructor is not an equality between the two parts. It is an internally natural family of arrows from the left part to the right part:
where
is the terminal profunctor. At objects, supplies
Because is a profunctor cell, naturality in both and is part of one internal datum. It is not an externally quantified family followed by a separately asserted equation. For shaped functors and , join_cross_hom evaluates the same cell to the corresponding shaped cross arrow and retains its higher action.
There is no reverse constructor . The join is directed even when and individually happen to be groupoidal.
17.7 Recursion And Its Three Beta Observations
To define a functor
the active nondependent recursor accepts:
- a functor ;
- a functor ;
-
an internally natural cross cell
It returns join_elim_func F G gamma. The two restrictions compute:
The selected observation of the image of the universal cross cell also computes:
The literal third owner is join_elim_cross_transf. It records the cross-cell beta rule without adding a broad equation for arbitrary functor application to primitive join syntax.
Formal status — checked. Evidence
JOIN-RECURSOR. The active owners areJoin_cat,join_fst_func,join_snd_func,join_cross_transf,join_cross_hom,join_elim_func, andjoin_elim_cross_transf. The checked interface is a nondependent recursor with its three observations; it is not yet a uniqueness theorem for all functors out of the join.
The recursor repeats the book’s computational pattern. The inclusions and cross cell introduce the join; restriction and the selected cross observation eliminate it; matching introduction/elimination cuts reduce to the supplied data.
17.8 Ordinary Cones And Cocones As Join Diagrams
The join makes the orientation of conical universal data concrete. A functor
can be constructed from:
- an object ;
- a diagram ;
- a natural family of cross arrows .
That is precisely the data of a cone from to . Reversing the two parts, a functor
can be constructed from , an object , and arrows : the data of a cocone.
This is an interface-level construction supplied by the recursor. It does not yet assert an equivalence between a full mapping category out of the join and a category of cones. Such an equivalence would require an eta or uniqueness principle for join maps and coherent action on transformations between them.
The connection to weights is now visible. A conical cone uses the terminal weight, and the join internalizes a terminal profunctor as its family of left-to-right cross arrows. Replacing that terminal profunctor by an arbitrary leads to the notion of a collage.
17.9 Join As A Directed Higher-Inductive Pattern
The join has the shape of a directed higher-inductive specification:
- two strata of objects, introduced through and ;
- a family of directed arrow constructors from every left object to every right object;
- a recursor into an arbitrary target;
- beta observations on the two strata and the cross family.
This comparison is architectural, not a claim that Join_cat was generated by a general directed-HIT compiler. The primitive join is one selected signature. Its cross constructor is already internally natural, which is the category-level analogue of giving all boundary coherence with the constructor.
WalkingEnd and join illustrate two different levels of the same programme. WalkingEnd has an opaque point and endomorphism together with a contextual dependent eliminator strong enough for encode-decode. Join has two category-shaped introductions and a nondependent recursor, but no dependent eliminator or computation of all its hom-categories. Thus join supplies a promising stress test for a future directed-HIT schema without borrowing properties proved only for WalkingEnd.
17.10 The Collage Comparison
For a profunctor
its expected collage contains and as two parts and uses as the category of arrows from the left object to the right object . Its universal mapping property has the schematic form
Taking gives exactly the input shape of the active join recursor. This is strong design evidence for reading as the prospective collage of the terminal profunctor.
It is not yet a proof of that reading. A checked collage theorem would need:
- an object decomposition into the left and right strata;
- left-left and right-right hom comparisons recovering and ;
- a left-right hom comparison recovering ;
- a right-left hom description, normally initial in the free collage;
- composition and higher action compatible with those four regions;
- full faithfulness of the inclusions;
- an equivalence of mapping categories, including uniqueness and higher transformations;
- a dependent eliminator with beta behavior on the cross cells.
In endash (Cat.JoinSpectra), the terminal-profunctor join (JoinSpectra.JoinCat) goes substantially beyond a forward-only recursor:
- its object and four-region hom decompositions (, , , ) compute by NbE
refl(JoinSpectra.join_groupoid_no_backward,JoinSpectra.join_cross_not_iso); - the full universal mapping equivalence out of is proved with both and laws (
JoinSpectra.join_universal_equiv); - the opposite-duality swap is proved (
JoinSpectra.join_op_iso_swap); and - for cones , the Cone–Coslice adjunction is proved with
0axioms (JoinSpectra.CosliceCat1,JoinSpectra.join_cone_apex_equiv,JoinSpectra.cone_coslice_adj_equiv)!
Formal status — checked. Evidence
JOIN-UNIVERSAL-AND-CONE-COSLICE(JoinSpectra.JoinCat,JoinSpectra.join_universal_equiv,JoinSpectra.join_op_iso_swap,JoinSpectra.cone_coslice_adj_equiv).
What remains outside Cat.JoinSpectra is the collage of an arbitrary non-terminal profunctor and contextual dependent elimination over arbitrary -categories.
Formal status — research boundary. Evidence
JOIN-COLLAGE-BOUNDARY. While terminal-profunctorJoinCat, opposite swap, and the Cone–Coslice adjunction are checked with0axioms, general non-terminal profunctor collages remain an open boundary.
17.11 From Universal Cuts To Directed Geometry
Weighted limits and colimits began with a mapping problem: a profunctor of cones or cocones is represented by a hom. Join begins with the same data from the other side. Instead of representing a terminal family of cross arrows inside a target, it freely presents a domain from which such data can be interpreted by recursion.
The two constructions therefore complement one another:
This is the globally coherent role of the active universal-construction interfaces. Tensor, residuals, weighted representation, duality, and join are not isolated features. Each controls a different kind of cut, and each leaves enough categorical action visible for a future elaboration layer to compile surface mathematics into the same computational core.
18. Presheaves And Sieves
An object rarely reveals its geometry all at once. We learn about it by probing it from other objects, by changing the probe, and by asking which properties survive that change. For an object of a category , the probes are simply the arrows
The domain is a stage of observation. A further arrow refines the observation, and the composite is the same probe viewed at the finer stage. This elementary picture contains the beginning of presheaf semantics, the definition of a sieve, and eventually the local-to-global language of schemes.
The decisive shift is from asking for the region where a property holds to recording every probe along which it holds. The latter collection is automatically adapted to change of stage. It is a sieve. An open subobject may represent that sieve, but representation is an additional theorem, not part of the initial definition.
This chapter develops that distinction in three steps. A presheaf gives a coherent field of views. A higher sieve may retain a category of witnesses at each probe. An ordinary sieve remembers only a proposition: whether the probe belongs. The recurring example is the invertibility sieve of a section over .
18.1 A Coherent Field Of Views
Let be a category. A set-valued presheaf is a functor
Thus every object has a set of observations, and every arrow has a restriction map
Restriction along an identity does nothing, and restriction along a composite is successive restriction:
These equations say more than “data vary with .” They say exactly how one view becomes another. A section at a large stage can be inspected at every smaller stage, and two routes to the same refined view agree.
Two familiar examples give the variance its geometric meaning. On a topological space, one may assign to every open the continuous real-valued functions on . An inclusion restricts a function on to one on . On the opposite of a category of commutative rings, the functor of points of a ring assigns to a test ring the maps . A map of test rings changes the point by composition. In both cases, the presheaf is not merely a table indexed by objects. Its restriction maps are the mathematical content that lets observations move.
The examples also warn against reading “smaller stage” as literal spatial inclusion. A probe can be an open subset, an étale map, a ring map viewed in the opposite category, or some other morphism selected by the geometry. The categorical definition uses only arrows. Spatial language becomes justified when a later representation theorem supplies it.
Functorial type theory keeps the same idea but permits each to be a category rather than merely a set:
Here reverses dimension 1. The Cartesian coefficient is the same one used for directed families and Hom in Chapter 2. Now a stage may contain objects, arrows between observations, and higher coherence inherited from the ambient categorical structure. Restriction is a functor. It transports both observations and their comparisons. Presheaf maps are natural family maps, so they too act coherently at every stage.
There is also a useful change-of-base operation. Given and a presheaf on , precomposition produces a presheaf on :
The active construction realizes this whole operation by reusing the existing pullback of directed Cat-valued families. It does not invent a second calculus for presheaves. That economy will matter repeatedly: local geometry should inherit functoriality from the categorical structure already present.
18.2 The Representable Field Of Probes
Every object supplies a canonical presheaf
At a stage , its objects are precisely the probes . If , restriction sends to . Nothing has been added to the category: the presheaf merely organizes all arrows into as one coherent field.
This is the contravariant Yoneda construction from Chapter 13, now read geometrically. There it served as a universal coordinate system. Here its elements are stages of observation. The two readings are the same mathematics: a map out of a representable is controlled by what happens at the identity probe .
The total category of the family has objects with . For restriction it is convenient to orient its arrows in the direction in which data are reindexed. Taking the opposite recovers the conventional slice category . Keeping both orientations visible prevents a common mistake: a refinement of a probe and a map in the displayed family carry the same information, but variance determines which way the corresponding arrow points.
A higher sieve on is a Cat-valued coefficient system over this restriction-oriented category of probes. Equivalently, it may be read as a Cat-valued presheaf on the conventional slice. At each it assigns a category , and a refinement induces a functor
The category can retain choices of witnesses and arrows between them. This is why “higher sieve” does not yet mean ordinary sieve. The maximal higher sieve assigns the terminal coefficient category to every probe. If the base probe is changed, the entire coefficient system pulls back by postcomposing probes, and the maximal higher sieve remains maximal.
Formal status — checked. Evidence
PSH-YONEDA-HIGHER-SIEVE. The active construction has a visible category of Cat-valued presheaves, restriction along a functor, the Yoneda presheaf with value , the restriction-oriented arrow total and opposite slice, and a higher-sieve classifier whose maximal object is stable under pullback. The slice and higher-sieve presentations compare through a shared family representation; they are not declared to be definitionally identical.
18.3 From Witnesses To Membership
An ordinary sieve is what remains when each coefficient category answers only a yes-or-no question. Constructively, “yes or no” does not mean that a Boolean decision has been chosen. It means that the space of answers is a proposition: if it is inhabited, all of its inhabitants agree.
Classically, a sieve on is a collection of arrows into such that
The presheaf formulation replaces the collection by a subterminal value at every probe. Write for the coefficient at . Its object classifier is the proposition
The action of the underlying higher sieve carries a witness of to a witness of . Closure under refinement is therefore not an extra law written beside the data. It is the functorial action of the data.
Why require a subterminal category rather than merely proposition-valued objects? Because a category with a unique object can still have many directed endomorphisms. Ordinary membership is intended to retain no such hidden motion. The active condition combines proposition-valued objects with exact groupoidality, leaving the categorical analogues of the empty and terminal possibilities. The evidence that a coefficient is subterminal is itself a proposition, so it does not create competing ways for one arrow to belong.
Two examples orient the definition.
- The maximal sieve contains every arrow into . Its membership proposition is always inhabited.
- If a monomorphism is regarded as a subobject, it determines the sieve of arrows that factor through . Monicity makes the factorization proposition-valued. Refining a factorization gives another factorization automatically.
The second example is important but not exhaustive. A sieve need not be represented by one monomorphism. It can be a genuinely distributed local question whose answer is stable under refinement without having a single object that names all affirmative probes.
18.4 Pulling Back A Local Question
Suppose is a sieve on and . To ask the same question over , test every after postcomposition with :
This defines a sieve on . Indeed, if belongs and , then
belongs by closure of . More conceptually, the higher-sieve action already postcomposes every probe with . Pointwise subterminality is preserved by selecting the old witness at that postcomposed probe. Ordinary pullback is therefore inherited structure, not a separately engineered operation.
Theorem 18.1 (pullback of ordinary sieves). For every sieve on and arrow , there is an ordinary sieve on . Its underlying higher sieve is the higher pullback of the underlying higher sieve of , and membership at is old membership at .
Formal status — checked. Evidence
ORDINARY-SIEVE-PULLBACK. The active construction supplies the pullback sieve, reuses the whole higher-sieve action, preserves subterminal evidence, and exposes the membership computation. Because an ordinary sieve retains proof fields, identity pullback is not claimed to reconstruct the entire package by raw definitional reduction; this does not change the membership formula above.
Pullback is the reason sieves are the right language for locality. A property stated only at can be accidental. A sieve records in advance how the property appears after every change of stage. A topology will later decide which such stable questions count as covering questions, but the variance has already been settled.
Represented sieves make this calculation visible as ordinary base change. Suppose the sieve is represented by a monomorphism , and suppose the pullback square
exists. A probe belongs to exactly when factors through . By the universal property of the pullback, this is exactly when factors through . Hence is represented by the base-changed monomorphism.
This is the bridge between sieve pullback and the usual restriction of an open. The sieve calculation requires only postcomposition and membership. The spatial calculation additionally requires a representing monomorphism and the relevant pullback. When those hypotheses are available, the two descriptions agree; when they are not, the sieve calculation still makes sense.
18.5 Invertibility Before Opens
Let be a presheaf of commutative rings on , let be a stage, and let be a section. For a probe , restriction produces
Define the invertibility sieve of by
This is a sieve because ring homomorphisms preserve units. If has an inverse and , applying the restriction homomorphism along gives an inverse for . Thus invertibility propagates toward finer probes.
Formal status — checked. Evidence
COMM-RING-INVERTIBILITY-SIEVE. For a selected commutative-ring-valued presheaf and section, the active construction supplies an ordinary sieve, and membership at computes to unit evidence for the restricted section .
The notation is familiar from algebraic geometry, but the order of ideas matters. We have not first constructed an open object and then asked which probes land in it. We first have the stable family of all invertibility probes. The question whether that family is represented by an open object is asked afterward.
This reverses a habitual abbreviation. In settings where basic opens are already known to exist, one says “the open on which is invertible.” The sieve formulation separates two claims hidden in that phrase:
- invertibility is stable under change of stage, so it defines ; and
- the sieve is represented by a suitable open object over .
The first statement is formal and functorial. The second depends on the geometry of the site. In affine geometry, localization will supply the representing object for a basic invertibility sieve. On a more general site, there may be no single representative, while the sieve itself remains perfectly meaningful.
This point also clarifies the relation with Max Zeuner's constructive account of algebraic geometry. In the locally ringed lattices of Zeuner, the invertibility support of a section is presented as the largest compact open below on which that section is invertible. In a posetal site, such a largest open represents the sieve : a probe lies in the sieve exactly when it factors through that open. Conversely, a compact open representing has the required largest-property interpretation.
The sieve-centered formulation is therefore a generalization, not a rejection, of the compact-open one. It asks the useful comparison question:
When is the invertibility sieve representable by a compact open?
On a coherent or qcqs presentation, representability can recover the compact geometry emphasized by Zeuner. On an arbitrary site, the sieve remains the primary object even when that recovery is unavailable. In a higher setting, one may go further and retain a category of invertibility witnesses before subterminality is imposed.
The posetal case makes the comparison exact. Regard a lattice of opens below as a category, with one arrow when . If an open represents , then for every ,
Taking shows that is invertible. Taking any on which is invertible shows . Thus is the largest invertibility open. Conversely, if a largest such exists, invertibility is preserved by restriction, so precisely the opens below belong to . The largest open represents the sieve. Compactness is a further finiteness property of that representative, important in coherent algebraic geometry but not needed to define membership.
The distinction separates existence from use. One can calculate with , pull it back, and ask whether it covers before finding a representing open. Once a compact representative is constructed, the same sieve acquires the economical lattice presentation. The two layers reinforce rather than compete with one another.
Formal status — mathematical development. The comparison with Zeuner's compact-open support is an attributed reformulation of the representation problem, principally adapted from his definition of locally ringed lattices and his functor-of-points development. The active emdash result in this chapter is the ordinary invertibility sieve. No theorem identifying the general emdash site-relative scheme interface with Zeuner's qcqs schemes is claimed here.
18.6 Categorical Semantics As Executable Mathematics
Presheaves, slices, and sieves are often introduced as an external semantics for some other formal language. That is not the only way to make them computational. In the emdash architecture, the categories and functors just described are themselves expressed in an inner functorial type theory. They are ordinary mathematical objects of that theory: a presheaf is a functor, a slice is a category, and pullback is functorial reindexing.
The inner theory is executed directly in endash's Q-free NbE kernel and .en elaborator, which supply explicit bunched binders, bidirectional type checking, conversion, and unification. Consequently, categorical semantics can be internal enough to calculate with while remaining recognizably the traditional semantics of presheaves and sites.
This is a claim about relative internality, not about replacing every modal or internal language. A modal type theory may provide elegant syntax for local reasoning. Here the chosen route is to make the categorical objects themselves executable and then state locality directly in them. The advantage for the present development is transparency: the probe, its refinement, the sieve pullback, and later the matching family remain visible mathematical data.
Nor does executability settle the metatheory. Local computations accepted by the outer framework do not by themselves prove global normalization, confluence, consistency, or semantic soundness for the combined rewrite system. The categorical constructions and their checked observations are the evidence used here; the larger metatheorems retain their separate boundary.
18.7 From Sieves To Covers
A sieve answers a local question. It does not yet say that the affirmative probes are sufficient to recover information on . For that, one must select the sieves that count as covers and demand three kinds of stability: the maximal sieve covers, a covering sieve remains covering after pullback, and covers may be refined locally.
Those laws turn a category into a site. They also prepare a more delicate question. Given compatible observations on every probe in a covering sieve, when do they determine one observation on ? That is descent, and its objects are matching families and their amalgamations.
The next step in the local-to-global spiral therefore does not abandon the sieve for an open. Chapter 19 asks which sieves cover, and what it means for a presheaf to solve every covering question. Geometry will emerge from the answers, but the questions already have their correct functorial shape.
19. Sites, Covers, And Descent
A sieve is a question stable under refinement. It does not yet say that its affirmative probes see enough of the object. The maximal sieve certainly does: it contains every probe. A smaller sieve may also be sufficient, but that is new structure. One must decide which local views are jointly adequate for recovering information at their common target.
A Grothendieck topology makes that decision. It selects covering sieves in a way compatible with identities, change of stage, and local refinement. A category equipped with such a topology is a site. The word “topology” is appropriate even when the objects are not open subsets of a space. Its role is to identify which families of probes count as local descriptions.
Once a cover has been selected, a presheaf faces a test. Compatible data on the probes of the cover form a matching family. Does that family come from one global datum, and is the global datum determined by it? This is descent. The chapter separates three layers that are often compressed into one phrase:
- a family or sieve proposed as a cover;
- a topology generated by chosen proposals; and
- the locality of a presheaf with respect to the resulting covers.
Sheafification is a fourth layer. It constructs a local object from an arbitrary presheaf and therefore belongs to the next chapter.
19.1 Covering Families And Covering Sieves
Suppose a family of arrows has common codomain :
It generates a sieve by admitting every probe that factors through one of the . Refinement closure then admits all further composites automatically. The family is a useful presentation of local pieces; the generated sieve is the complete local question determined by that presentation.
More explicitly, a probe belongs when there are an index and an arrow such that
Ordinary sieve membership remembers this existential claim only as a proposition. A computational presentation may separately retain the index, the factorization, or algebraic evidence that the family has the desired covering property. Keeping those layers separate prevents two opposite errors: discarding useful witnesses too early, and making the topology depend on accidental choices of witnesses.
Different families can generate the same sieve. Repeating a member changes the list but not the question. Replacing one member by a family that covers it may refine the presentation without changing its eventual force. A sieve also makes arbitrary change of stage immediate: pull it back as in Chapter 18, rather than choosing a new list and proving afresh that the list behaves correctly.
This does not make cover families dispensable. In constructive algebraic geometry, a finite unimodular family or a pair of affine charts can carry valuable computational witnesses. The point is to distinguish the witness from the invariant it presents. One may retain the particular generators for calculation while allowing the topology to speak in terms of the sieve they force to cover.
For an ordinary topological space, a family of open inclusions is covering when their union is . The associated sieve contains every open that lies inside some , and then all smaller opens as well. In affine geometry, a finite family of basic opens will later be presented by ring elements satisfying an algebraic cover certificate. Again, the certificate explains why the generated sieve covers; it is not identical to the sieve.
Notice that generation alone says nothing about sufficiency. Any family of arrows generates a sieve. Only the topology declares whether that sieve covers. The separation is what allows the same category of probes to carry different geometries.
At the opposite extreme lies the maximal sieve . Every arrow into belongs to it. It is generated by the identity probe , since every factors through the identity. Any reasonable notion of locality must regard this as a cover: observing all of at once is sufficient to observe .
19.2 The Three Laws Of A Site
Let be the proposition that the sieve covers . To make a Grothendieck topology, require three laws.
Maximality. The maximal sieve covers:
Pullback stability. If covers and , then the pulled-back sieve covers :
This is the formal expression of “covers remain covers after changing the stage of observation.” If is represented by an open , then under the hypotheses of Chapter 18 the new cover is represented by .
Local character. Suppose covers . Let be another sieve on . If, for every belonging to , the pullback covers , then covers :
Local character is the transitivity of coverage. The sieve says that its probes see all of . Each of those probes says that sees all of its domain. Together they say that sees all of . The law avoids choosing a single flattened family and consequently works equally well for finite, infinite, or witness-rich presentations.
In family language, suppose the cover and, for every , the arrows cover . The composites should cover . Let be the sieve generated by the and the sieve generated by the composites. The pullback of to contains the locally covering , while covers . Local character is the invariant sieve statement behind this flattening argument. It also covers situations in which there is no preferred single index set of composites.
The three laws are deliberately asymmetric in purpose. Maximality supplies a unit, pullback stability transports a cover, and local character composes local sufficiency. None says that membership in a cover is decidable. Cover evidence remains proposition-valued.
Nor does a Grothendieck topology add new objects or arrows to . It changes which existing sieves are treated as sufficient. Two topologies on the same category can therefore encode different notions of locality. A covering sieve need not be represented by an open subobject; and when it is represented, the representing open is geometry derived from the site rather than a replacement for the cover predicate. This is the same sieve-before-open discipline that governed in Chapter 18.
There is always a degenerate but useful model: declare every sieve covering. Then all three laws have their unique truth witness. This chaotic topology is usually too coarse for geometry, but it proves that the direct definition is inhabited on every category and provides an upper bound for generated topologies.
The opposite extreme declares only maximal sieves covering. Mathematically, every presheaf satisfies the resulting sheaf condition because restriction to the maximal local question loses no data. Enlarging a topology adds covering questions and therefore removes presheaves that fail them. The chaotic topology asks every sieve to be sufficient and is correspondingly severe. These extremes make the variance of the order clear: more covers mean fewer sheaves, even though the topology itself is larger as a cover predicate.
Formal status — checked. Evidence
GROTH-TOPOLOGY-SIEVE-LAWS. The active topology package contains a proposition-valued coverage together with maximality, pullback stability, and local character over ordinary sieves. The maximal sieve and the chaotic topology have direct checked models. This layer neither assumes a global classifier of all sieves nor constructs sheafification.
19.3 Generating The Least Topology
In practice one rarely declares every covering sieve independently. One gives basic covers and closes them under the topology laws. The phrase “the topology generated by these covers” should include two statements:
- every proposed cover is covering; and
- no additional covers are accepted except those forced by the three laws.
The active construction makes both statements precise without choosing a syntax of derivation trees. Let
be the type of witnesses that is one of the proposed generating sieves on . This type need not be a proposition. It may remember which finite family, algebraic certificate, or chart presentation produced the same underlying sieve.
A Grothendieck topology accepts when every witness in produces evidence that covers in . Now define to cover in the generated topology when it covers in every topology accepting :
This is the intersection of all acceptable topologies. Intersections inherit the three topology laws pointwise. Every generator belongs because every topology under consideration accepts it. And if accepts the generators, then is below : a -cover is, by definition, a cover in .
The order here is an order of consequences. Write when every -cover is a -cover. A smaller topology makes fewer local families covering and therefore imposes fewer sheaf conditions. The generated topology is the least element among those that accept the proposals. The chaotic topology accepts every proposal, so the class being intersected is never empty.
Witness-rich generation and proposition-valued coverhood now play distinct roles. Several inhabitants of may explain the same proposed cover in different ways. Acceptance must handle each explanation. Once belongs to , however, its coverhood is a proposition: downstream sheaf reasoning cannot branch on which derivation happened to be supplied. The construction retains evidence where computation may need it and erases choice where geometry should be invariant.
Theorem 19.1 (least generated topology). Every type-valued family of generating sieves determines a Grothendieck topology . The topology accepts every retained generator and is contained in every Grothendieck topology that accepts them.
Formal status — checked. Evidence
GENERATED-GROTH-TOPOLOGY. The generated cover predicate is proved proposition-valued, its three topology laws are constructed, generator inclusion computes, and leastness is a whole pointwise comparison of topologies. The construction is impredicative: it provides no inductive derivation syntax, induction principle for generation steps, coverhood normalizer, or decision procedure.
The boundary in that note is mathematically significant. An inductive presentation can explain how a cover was derived. The intersection presentation proves exactly which universal property the generated topology has. For the book's current purpose, leastness is the invariant needed by later geometry. A derivation calculus may still be valuable for automation, but it would be another presentation of the same intended closure, not the definition of a site.
There is no circularity in the universal characterization. One first knows what a Grothendieck topology is from the three laws. One then ranges over all such structures that accept the generators and intersects their cover predicates. The result is certified to satisfy the same laws. This resembles defining a generated algebraic congruence as the intersection of all congruences containing the proposed relations: closure is characterized by leastness before any normal-form algorithm is chosen.
19.4 A Sieve As A Domain Of Local Data
Let be a sieve on . The representable presheaf contains every probe into . The sieve selects some of those probes, together with their refinements. To turn that selection into a domain on which a presheaf can be evaluated, form the extension
An object of is a probe together with evidence that it belongs to . Forgetting the evidence gives a whole presheaf map
For a Cat-valued presheaf , define the category of sections over in representable form as
The ordinary Yoneda lemma identifies this with . Retaining the Hom form has an advantage here: it expresses the local-to-global map without assuming the full Cat-valued Yoneda equivalence as an active theorem.
The category of matching families on is
Concretely, a matching family assigns an observation in to every member of the sieve, compatibly with every refinement and with the arrows retained by the Cat-valued coefficients. Compatibility is not a list of equations added afterward. It is the naturality of one presheaf map.
For a cover presented by arrows , this recovers the usual picture. A matching family begins with local elements
If the pullbacks exist, the two restrictions of and to the overlap must agree. But pairwise overlap equations are only a presentation of the deeper condition. A sieve also contains longer refinements, morphisms between probes, and covers in categories without the chosen pullbacks. A map packages compatibility with all of them at once.
In the Cat-valued case, the word “agree” may itself have categorical content. A matching object can carry coherent comparison arrows, and a map between matching objects must respect them. This is why the Hom target above is a category rather than merely a set of families.
Precomposition with restricts a global section to its matching family:
This formula is the categorical core of descent. It names both the data to be glued and the direction in which global information becomes local.
19.5 Locality And The Sheaf Condition
The presheaf is local at when the restriction functor is an equivalence. Every matching family then has an amalgamation, and that amalgamation is unique at the appropriate categorical level.
For a set-valued presheaf, the statement specializes to the familiar pair:
- compatible local elements have a global amalgamation; and
- two global elements with the same local restrictions are equal.
The second clause is often called separatedness, while the first is the existence part of gluing. Their conjunction says that restriction is a bijection. For Cat-valued presheaves, a categorical equivalence replaces that bijection: it controls objects, maps, and their inverse laws together. Merely asking for essential surjectivity would give amalgamations without the full uniqueness and functoriality required here.
For a Cat-valued presheaf, the equivalence also retains maps between local families and the higher coherence carried by the Hom categories. Replacing the equivalence by a mere objectwise existence statement would lose this structure.
Given a topology , say that is topology-local when it is local at every -covering sieve. This is the sheaf condition in the form used by the current categorical development:
The cover witness indexes the condition but does not become computational data: coverhood is a proposition. What matters computationally is the fixed forward map and its selected inverse behavior.
A topology for which every representable presheaf is local is called subcanonical. This is a property of the topology, not part of the definition of a site. It says that the original category embeds into its sheaf semantics without changing the representable probes. The Zariski coverage used later is intended to have this geometric behavior, but no arbitrary Grothendieck topology is subcanonical merely because its three laws hold.
Formal status — checked. Evidence
SIEVE-MATCHING-LOCALITY. The active construction extends an ordinary sieve to a whole presheaf, includes it in the representable, defines matching and section Hom categories, and makes restriction exact precomposition by that inclusion. Locality at one sieve and simultaneous locality over a topology are active fixed-forward equivalence predicates. No reflector or identification with a separate rigid sheaf category follows at this layer.
This formulation makes the categorical-semantics point particularly direct. There is no need to hide the site behind an abstract modal operator before locality can compute. The actual sieve extension, representable, Hom categories, and restriction functor are objects of the inner functorial type theory. The outer logical framework checks and reduces their selected observations. An internal modal language could summarize this behavior, but the categorical semantics already supplies an executable statement of descent.
19.6 Varying The Cover Question
A single cover is not enough for sheafification. Covers change when their base object is pulled back, and a construction that glues only after all choices have been externalized will carry a growing burden of naturality equations.
It is therefore useful to package an eligible cover question as
where is a sieve on and says that covers. These questions themselves form a category. For a fixed presheaf , matching categories and section categories then vary as admitted families into the Cartesian coefficient of Chapter 2 over the whole question category. Restriction is one displayed functor between them; its base comparison remains lax.
An arrow between questions includes a change of base and the pulled-back covering question over . The topology's stability law supplies its eligibility. On local data, the arrow acts by reindexing along the canonical map from the pulled-back sieve extension to the original one. Thus the same base change that transported membership in Chapter 18 now transports the entire descent problem.
The gain is conceptual as well as formal. Pulling back a cover question moves its sieve extension, representable, matching data, sections, and restriction map together. Naturality belongs to the single varying construction. It is not reintroduced as a separate square for every cover chosen later.
The active development realizes this whole varying layer and checks that, at a literal question, the displayed restriction is exactly the precomposition map above. It deliberately stops before supplying glue. A matching family is a well-formed local answer; it is not yet an amalgamation.
19.7 The Construction Still Missing
A sheaf is a presheaf that already solves every covering question. A sheafification must start with an arbitrary presheaf and construct a new one together with a unit
that is universal among maps from to local presheaves. Merely restating the sheaf condition does not build . Nor does choosing an inverse to for an already-local explain how to add missing amalgamations coherently.
Universality asks for more than a local output. For every topology-local , precomposition with the unit should give an equivalence
Thus a map out of into a local target extends across the completion, and the extension is unique at the whole Hom-category level. This property is what makes sheafification a reflector rather than one arbitrary repair of local data.
The direct construction pursued next treats covers as questions whose solutions may be freely adjoined. It needs a return constructor for old data, a whole glue operation for matching families, a silent law saying that gluing the restriction of an existing section changes nothing, and a recursor expressing the universal property. The varying-cover architecture of this chapter is what lets those constructors be stated once over all eligible questions.
Thus the progression is exact:
The first three stages are now in view. The next chapter constructs the last two for the selected Cat-valued setting and then asks for their whole universal property.
19.8 Fibered Categories In Groupoids And Effective Descent Cocycles
Alongside sieve matching families, classical algebraic geometry formulates gluing of modules and torsors through categories fibered in groupoids (Stacks 02XJ, Cisinski §5.6) and descent data satisfying the triple-overlap cocycle (Stacks 0238). In CategoryTheory.GrothendieckFibrationsDescent, endash proves with 0 axioms that:
- Cartesian Vertical Invertibility (
IsFiberedInGroupoids1,cartesian_vertical_over_iso_is_iso): every Cartesian morphism lying over a base isomorphism is itself an isomorphism in the total category; - Effective Descent Along Split Covers (
canonicalDescentDatum,effective_descent_trivialization_equiv): pulling back any global family along a cover produces a canonical cocycle-satisfying descent datum, and whenever admits a section (), every descent datum reconstructs an effective global family trivializing ; and - Cocycle Soundness Guard (
NC-16aPart 2b): twisting the Boolean fiber over by negation while keeping diagonal transitions equal to concretely violates the triple overlap ( or vs. non-trivial twist) and is provedtwistedBoolGlue_fails_descent_cocycle!
import CategoryTheory.GrothendieckFibrationsDescent
#check CategoryTheory.IsFiberedInGroupoids1
#check CategoryTheory.cartesian_vertical_over_iso_is_iso
#check CategoryTheory.effective_descent_trivialization_equiv
#check CategoryTheory.twistedBoolGlue_fails_descent_cocycle
#print axioms CategoryTheory.effective_descent_trivialization_equiv20. Sheafification By Cover Completion
A sheaf knows how to answer every covering question. An arbitrary presheaf may answer some and fail others. Sheafification is the passage from the latter to the former, but that phrase conceals two different demands. We must add the missing global sections, and we must add no information beyond what every sheaf is already forced to accept.
The first demand is constructive. Given a matching family on a covering sieve, adjoin an amalgamation. Repeat, because the newly adjoined data may itself occur in another matching family. The second demand is universal. A map from the original presheaf to a sheaf must extend uniquely across the completion. Together they characterize a reflector from presheaves to sheaves.
This chapter carries out that program directly in categorical semantics. The site, covering sieves, representables, matching categories, and restriction functors of Chapters 18 and 19 remain visible. They are not first encoded into a modal object language. The construction instead gives a categorical higher-inductive signature with three memorable operations:
Return preserves old data. Glue supplies answers to covering questions. Silent says that asking a question whose answer is already known has no observable effect. A recursor then proves that this is the free such completion, and the free completion assembles into the desired Cat-valued sheafification functor.
20.1 From A Condition To A Construction
Fix a category , a Grothendieck topology , and a Cat-valued presheaf . Write , or simply , for the presheaf to be completed. There must first be a whole presheaf map
This is return. It does not assert that was already local. It embeds the observations we began with among the observations generated by the completion.
Now take an eligible covering question . Recall the categories
The second constructor is a functor
It turns compatible local data into a global section. Notice the recursion: the matching family already takes values in , not merely in . A newly glued section can therefore participate in a later matching family. This is why one application of a nonrecursive repair operation would not express the construction being made here.
The functorial type is equally important. In a set-valued account, glue may look like a function between sets. With Cat-valued coefficients, matching families have arrows between them, and amalgamation must transport those arrows coherently. The constructor acts on the entire matching category. It does not merely select an object-level amalgamation and leave its behavior on maps to be reconstructed later.
Finally let
be restriction. The silent constructor is the path
If a global section is restricted to a cover and then glued again, nothing changes. The cover was consulted, but its answer was ignored because the global section was already present.
This return/glue/silent pattern is conceptually adapted from Pierre-Marie Pédrot's computational account of free sheaves in Pursuing Shtuck. Pédrot describes the last equation as the erasure of a silent transition: a branching computation that does not depend on its returned witness should be indistinguishable from the unbranched computation. Here the pattern is placed directly over actual covering-sieve questions. Its branches are whole matching maps , and its output is a whole section .
For a concrete picture, suppose a cover of is presented by two probes
A matching family contains local observations and whose restrictions agree wherever the two probes meet, together with compatibility under every further refinement in the generated sieve. Glue adjoins a section over with those local observations. If or was itself produced by gluing a finer cover, the recursive constructor accepts it without flattening the history into a chosen list of basic pieces. If the entire matching family came by restricting an old , silent identifies the newly adjoined amalgamation with .
That last clause is what prevents completion from accumulating duplicate global answers. Without silent, one could glue the same restricted section again and again, building formally distinct trees that encode no new local information. With an indiscriminate equation saying that every two gluings are equal, on the other hand, one would destroy genuine distinctions between matching families. Equation (20.1) is narrow: it removes precisely the detour that starts from an existing global section, passes through its restrictions, and returns by glue.
Classical accounts often construct associated sheaves by a plus operation on matching families and then iterate that operation. Such a presentation is valuable, especially when quotient objects and their exactness properties are already available. The direct completion takes a different route. It exposes the free generators and their necessary path at the outset, so recursion can observe return and glue computationally. No comparison theorem with the classical plus construction is claimed here; the point is that the universal property can be reached without choosing equivalence-class representatives as the operational presentation.
The signature should not be mistaken for an algorithm that searches the site for covers. A glue constructor is available after an eligible question and its cover evidence have been supplied. Coverhood itself may be undecidable, and the generated topology of Chapter 19 provides a universal predicate, not an enumeration. Completion says coherently what to do with every admitted question; it does not promise to discover those questions by normalization.
Nor does the construction privilege the basic generators from which a topology may have arisen. Once the least topology has been formed, a derived cover is as eligible as a generating one. This is essential for locality: pullbacks and composites of covers enter the proof even when they were not in the original presentation. The witness-rich layer may still help a program produce cover evidence, but the free object depends on the invariant covering-sieve predicate.
The terminology “higher-inductive” refers to the shape of this presentation. There is a point-like return constructor, a recursive glue constructor, and a path constructor imposing the silent equation. It does not mean that the entire surrounding theory has been replaced by ordinary HoTT syntax. The objects remain categories and presheaves in functorial type theory, while the outer logical framework supplies the primitive signature, rewrite behavior, and checked equality evidence.
20.2 One Glue Operation Over All Questions
Writing separately for each cover is useful on paper, but it hides the hardest coherence. A cover can be pulled back along a probe . The matching family moves to the pulled-back sieve, the proposed amalgamation moves to , and the two orders of those operations must agree.
Chapter 19 packaged all eligible questions into a category . Over it, matching categories and section categories form two Cat-valued families,
The collection of glue operations is retained as one displayed functor
Its component at is . Its action along arrows of is precisely the compatibility of glue with change of cover question. For the canonical pullback of along , naturality gives the square summarized by
Likewise, silent is not stored as an unrelated equation for every , , and cover witness. It is one path of displayed endofunctors:
Equation (20.1) is its component at a literal cover. The one whole path also controls arrows between sections and reindexing between cover questions. This is a mathematical economy: coherence is owned at the level where the varying construction lives, rather than repeated as a growing list of component squares.
Formal status — checked categorical-HIT boundary. Evidence
DIRECT-COVER-COMPLETION-HIT. For every site and Cat-valued presheaf, the active signature provides the completion presheaf, whole unit, whole cover-indexed glue functor, and whole silent path. Pullback compatibility is obtained from displayed-functor naturality, and the result is packaged as an internal direct-cover sheaf structure. The completion and path constructors are primitive at this boundary; locality and the reflector are consequences proved in the following stages, not fields silently included here.
The silent law has an intentional direction. It says that gluing the restriction of a section recovers the section. It does not initially say that restricting the glue of a matching family recovers the family. Supplying both directions as constructors would make locality true by declaration. Supplying only (20.3) leaves room for the geometry of sieves and pullback to prove the opposite composite.
Nor is silent installed as a runtime simplification that erases every visible glue term. It is internal equality evidence between whole functors. Return and recursive glue have selected computational rules under the recursor, while the higher silent coherence remains a path. This distinction avoids choosing one side of every sheaf equation as a universal normal form.
20.3 Why The Completion Is Local
To prove that is a sheaf, fix a covering sieve on . Equation (20.1) already gives
The missing law is
Take a matching family and inspect it at a member of . Because is a sieve, every refinement of still belongs to . Consequently the pullback is maximal on : its identity belongs, and then so does every probe into .
The glue operation is natural under this pullback. Thus the restriction to of the global section agrees with gluing the matching data transported to . But a matching family on the maximal sieve is already the restriction of the section visible at . The silent law on that pulled-back question removes the redundant glue. At the retained member , the result is exactly the original component of .
This calculation works at every member of the sieve and respects every arrow between members. The pointwise paths therefore assemble into a whole transformation
and the inherited pointwise-to-whole assembly principle supplies the whole equivalence and cancellation used in (20.4). This principle is an explicit primitive assumption over an existing whole ordinary or displayed transformation. It retains both selected component inverses and assumes whole cancellation; its historical strict_* name imposes no strict-profile premise. The construction uses ordinary fibre assembly, displayed assembly, and ordinary outer assembly. It does not add a caller-supplied naturality square or derive the assembly assumption from laxity.
Theorem 20.1 (locality of cover completion). For every Cat-valued presheaf on the site , the direct cover completion is local at every -covering sieve. Hence is a Cat-valued sheaf.
Formal status — checked. Evidence
DIRECT-COVER-COMPLETION-LOCALITY. Inendash(Topos.Sheaf),Sheaf.member_pullback_is_maximal,Sheaf.sheafify_locality_pointwise, and Theorem 20.1 (Sheaf.sheafify_is_sheaf) are proved with0axioms directly from sieve pullback stability, glue naturality, silent cancellation, and function extensionality—with zero unproved assembly postulates.
This proof explains why the chosen constructor set is not merely mnemonic. Return begins the free object. Glue supplies a candidate inverse to restriction. Silent gives one inverse law. Sieve stability and change of stage force the other. The sheaf condition emerges from the interaction of the constructors with the site, not from attaching the word “sheaf” to the result.
Existence and uniqueness are therefore not two unrelated postulates. Glue is the existence mechanism. The two inverse laws say that its output is exactly the global datum classified by the matching family and that an already-global datum is unchanged. In the Cat-valued setting those laws also control arrows between families, so “unique” means unique with the categorical coherence visible to the Hom categories, rather than merely unique after forgetting all maps. That coherence is part of the theorem, not expository shorthand.
20.4 The Recursor
Locality shows that lands in the right class of objects. Freeness asks whether it lands there in the right way.
First consider a Cat-valued presheaf equipped with its own coherent glue and silent operations. Given a seed map
the recursor produces
It is determined by three clauses. On returned data it extends the seed:
On a recursive glue, it first maps the local family into and then uses 's glue. On the silent path, those two ways of passing through glue agree with the silent path already carried by . The first two clauses describe objects and recursive computation; the third is the higher coherence that makes the result a map of the complete algebraic structures.
A topology-local presheaf has canonical such structure. Its restriction functor is an equivalence, so its chosen inverse supplies glue, and one inverse law supplies silent. Thus every sheaf is a legitimate target of the recursor without asking a reader to choose fresh gluing operations cover by cover.
The objectwise statement “every seed extends” is still weaker than a reflective universal property. Maps between seed maps must extend too, and the extension must be inverse to restriction on the whole Hom category. For a local target , precomposition with the unit is a functor
Recursion varies functorially in the seed and gives a functor in the opposite direction. Equation (20.5) is the beta law
The categorical-HIT uniqueness law gives the eta law
These are equalities of whole functors between Hom categories. They include the action on arrows between presheaf maps, not only a bijection between object-level maps.
Theorem 20.2 (free local completion). If is topology-local, then precomposition with is an omega-equivalence
Formal status — checked. Evidence
DIRECT-COVER-COMPLETION-UNIVERSALITY. The recursor extends a whole seed map, computes on return and recursive glue, and carries explicit coherence for the silent path. It varies functorially in the seed. At a topology-local target, whole beta and eta laws exhibit unit precomposition as an omega-equivalence of complete Hom categories. The eta law is scoped to local targets; no uniqueness theorem is asserted for an arbitrary, independently chosen one-sided glue algebra.
Equation (20.6) is the point at which completion becomes sheafification. Many objects might be made local by adding arbitrary data. Only a free local object has this mapping property. The unit remembers how the input enters, and every map to a local target factors through it in the uniquely coherent way.
20.5 From The Universal Property To A Reflector
Let denote the category whose objects are Cat-valued presheaves equipped with topology-locality evidence and whose maps are their underlying presheaf maps. There is an inclusion
Theorem 20.1 lets land in the sheaf category. The recursor makes this assignment functorial on presheaf maps: given , compose it with and extend the resulting seed across . Thus there is a functor
The Hom equivalence (20.6), now read with for a sheaf , is exactly the adjunction
Its unit at is the return map . Its counit at a sheaf is the recursor from the identity seed on the underlying presheaf:
The return beta law shows
and the local-target uniqueness law gives the other cancellation. Hence the counit is an equivalence. Sheafification does not alter a sheaf except up to the native categorical equivalence appropriate to this development.
This also explains the familiar idempotent flavor of sheafification. Applying to an arbitrary produces a local object. Applying again therefore meets an object already in the reflective subcategory, and the counit compares back to by an equivalence. The statement is not that the two presheaves collapse by raw syntax. Reflective idempotence is expressed by the adjunction and its invertible counit, at the same categorical strength as the rest of the theory.
Theorem 20.3 (Cat-valued sheafification reflector). For every site , direct cover completion defines a left adjoint to the inclusion of topology-local Cat-valued presheaves. The counit on every sheaf is an omega-equivalence, so this adjunction is reflective.
Formal status — checked. Evidence
CAT-VALUED-SHEAFIFICATION-REFLECTORandSHEAFIFY-IDEMPOTENT-CCC.Topos.Sheafproves the universal reflector equivalence (Sheaf.sheafify_universal_equiv), reflective idempotence (Sheaf.sheafify_idempotent_equiv), finite-limit preservation on terminal and binary products (Sheaf.sheafify_preserves_terminal,Sheaf.sheafify_preserves_binary_prod), internal exponential sheaves (Sheaf.psh_exp_is_sheaf), and the empty-cover consistency/collapse controls (Sheaf.non_degenerate_empty_sheafify_consistent,Sheaf.degenerate_empty_cover_collapses_to_unit) with0axioms.
20.6 Categorical Semantics As An Executable Language
There are two legitimate ways to speak about sheafification in type theory. One may design an internal language with a modality whose semantics is a sheaf reflector. Or one may express the categorical semantics itself in a formal language rich enough to compute with categories, presheaves, sieves, and universal properties. This book follows the second route.
The distinction is about where the formalization lives, not about whether it is internal. Within functorial type theory, , , matching categories, section categories, glue, and the adjunction are genuine objects and arrows. They are manipulated from inside the categorical theory and checked directly by endash's Q-free NbE kernel (src/check.ts) and .en elaborator. Selected categorical observations therefore reduce and compare without inventing a separate modal surface language first.
The division of labor can be read from one glued section. Its matching family and section are inner categorical objects. The fact that glue is natural in a change of covering question is inner functorial structure. The rule saying how a recursor acts on return or on recursive glue belongs to the outer computation theory. The equality witnessing silent is again an inner path, whose formation and use are certified by the outer checker. Neither level is dispensable, but neither needs to masquerade as the other.
This is relative internality. The sheaf construction is internal to the categorical semantics and executable relative to the surrounding logical framework. It is neither an informal metatheoretic diagram nor a claim that all categorical equalities are definitional. Return has a narrow computation rule under recursion; recursive glue has another; silent remains first-class equality evidence; the Hom equivalence packages explicit inverse data.
An internal modal language may still be desirable. It can hide repeated site parameters, support concise local reasoning, or make sheaf semantics available to a different class of programs. What the direct construction shows is that such a language is not a prerequisite for computational sheafification. The ordinary site can remain ordinary, the sieves can remain actual sieves, and the categorical universal property can itself be checked.
This viewpoint also clarifies the comparison with Pédrot. His return/glue/silent pattern reveals the computational content that a purely reflective statement can conceal. Emdash preserves that pattern but moves its indices outward to the category of covering questions and its values upward to categories. The result is not a transcription of his type theory. It is a categorical realization of the same free-construction idea, with whole naturality and whole Hom universality made explicit.
20.7 What Has And Has Not Been Completed
At this point the word sheafification is justified for Cat-valued presheaves on a fixed site. The result is local, functorial, left adjoint to inclusion, and reflective. None of those adjectives should be silently moved to a different coefficient category.
In particular, a commutative-ring-valued presheaf carries operations that must survive completion and continue to satisfy their equations. A reflector on underlying Cat-valued presheaves does not by itself construct those lifted operations. Nor has the present theorem established left exactness, preservation of finite limits, compatibility with change of site, or a general comparison with classical plus-construction sheafification. Those are separate mathematical obligations.
There is also no claim here about sheafifying every universe of coefficients uniformly. The value categories are native categories with the admitted Cartesian family coefficient, and the sheaf facade has been realized concretely as a presheaf paired with locality evidence. Moving to sets, groupoids with a different equality policy, commutative rings, or a universe of small categories requires a corresponding lifting theorem. The fixed-site theorem is substantial precisely because it keeps that quantification honest.
The next chapter therefore steps sideways before moving further into geometry. It develops commutative algebra by universal property: products, localizations, and the evidence that a ring map sends a chosen element to a unit. That language will let the invertibility sieve of Chapter 18 control affine charts without pretending that Cat-valued sheafification has already manufactured a structure sheaf of rings.
The local-to-global spiral now has its completion step:
What comes next is the algebra that turns these local questions into affine geometry.
21. Commutative Algebra By Universal Property
Algebraic geometry begins with rings, but it rarely cares how a ring was manufactured. A polynomial algebra may be presented by finite expressions; a localization may be presented by fractions; a quotient may be presented by equivalence classes. These descriptions are indispensable for hand calculation. They are not, however, the invariant meaning of the objects they describe. Change the representation and the same algebra survives.
This matters acutely in a computational foundation. A convenient syntax can make examples reduce, yet it can also make every later construction depend on accidental choices of normal form. Conversely, a universal property can be stated so weakly that it says merely that a map exists, leaving no usable factor and no uniqueness with which to compare two constructions. The middle course taken here is to make the universal property itself data of the theory. The space of admissible factors is not merely inhabited: it is contractible. It therefore has a selected center and a path from every competitor to that center.
That principle gives a representation-free but still computational account of the algebra needed by the geometry ahead. Commutative rings have set-valued carriers and structured maps. Finite unit-ideal certificates carry the algebraic content of basic-open covers. Polynomial algebras are free extensions, and localizations are initial ways of making a chosen element invertible. Unit, zero, and idempotent localizations then show that the interface is not empty formalism. Finally, uniqueness alone constructs the comparison between localization at a product and localization in two stages.
21.1 Rings As Structured Set-Carriers
A commutative ring consists first of a set , with operations
and then the usual associativity, commutativity, unit, inverse, and distributivity laws. Calling the carrier a set is not decorative. It says that equality proofs between ring elements carry no higher ambiguity. The algebraic laws are consequently properties of the selected operations rather than new layers of structure that can vary above a fixed equality.
The definition does not require . This convention retains the zero ring, whose carrier has one element and whose two distinguished constants coincide. Excluding it would make some later universal statements awkward or false. Localization at zero, for example, naturally lands in the zero ring: forcing zero to be a unit forces every element to coincide.
A map is more than a function of carriers. It comes with the five preservation laws
Because the target carrier is a set, this preservation evidence is proposition-valued. Two structured maps are equal once their carrier functions agree pointwise. Identities and composites again preserve all five operations, so commutative rings and their structured maps form a one-category, written .
This choice of morphism is part of the mathematics. A bare function between carriers forgets the equations that make substitution legitimate. A structured map carries those equations once, after which every derived finite sum, product, unit witness, and factorization can be transported through it. Later base-change arguments therefore do not reopen the ring laws term by term. They use the fact that the arrow already lives in .
Sethood plays a second role here. A structured map contains both a function and proofs that it respects the operations. If those proofs carried independent higher data, pointwise equality of the functions would not settle equality of the complete maps. Since equality in the target ring is proposition-valued, preservation proofs create no such ambiguity. This is why the ordinary-looking extensionality principle is available without flattening the ambient functorial type theory.
There is a useful restraint here. Extensionality for maps is not a global principle saying that any two ring packages with equivalent carriers are equal. No structure identity principle for arbitrary rings is being smuggled in. The objects remain chosen carrier-operation-law packages; the homs have the extensionality required to calculate with them.
Formal status — checked. Evidence
COMM-RING-STRUCTURED-CATEGORY. The active algebra packages a set-valued carrier, operations, and ring laws; admits the zero ring; packages operation-preserving carrier functions as structured maps; proves their extensionality; and assembles them into the one-category . No inequality , global equality of ring packages, or general structure identity theorem is assumed.
Several small models keep this abstraction honest. The zero ring computes on the one-point carrier. The two-element ring computes on the booleans, with exclusive-or as addition and conjunction as multiplication. If and are rings, their cartesian carrier has componentwise operations and hence a ring structure . A pair of maps induces a componentwise map between such products, and these maps obey whole identity and composition paths.
This last construction should not be overread. We have constructed a product ring and functorial action on paired maps. We have not yet selected projections and proved the entire categorical product universal property inside . The componentwise model is exactly what the later split-idempotent calculation needs, and no stronger theorem is required for that calculation.
21.2 Finite Certificates For Covering
The first geometric-looking datum is still entirely algebraic. Let be elements of a ring . They are unimodular when one retains coefficients and an equality
The coefficients are important. The bare proposition that the generate the unit ideal forgets how that fact was witnessed. Equation (21.1), by contrast, is finite input that can be transported, inspected, and used in a construction. The family together with its coefficients and equality is a unimodular presentation.
For two generators the picture is especially sharp. From , any map out of that makes both and vanish would also make vanish. Unless the target has collapsed to the zero ring, that is impossible. Geometrically, no nontrivial affine point can lie outside both regions of invertibility at once. The equation is already the finite algebraic shadow of a covering statement, even though the regions and their topology remain to be constructed.
Every ring map transports such a presentation. Preservation of finite sums and products turns (21.1) into
in . Thus a certificate does not merely remain true after base change; its chosen witnesses move pointwise with the generators. The singleton family has the canonical certificate , and a two-element helper packages the familiar equation .
Why call this cover data? In ordinary affine geometry, (21.1) says that the basic opens cover the whole spectrum. But that geometric conclusion uses meanings that have not yet been introduced in this spiral: a spectrum, basic opens, a topology, and the relationship between unit-ideal generation and coverage. The present layer records precisely the algebraic premise from which those notions will be built. It does not call a finite family a cover by fiat.
There is a second reason to retain the presentation rather than immediately truncate it to a proposition. Different coefficient families may witness the same unit-ideal equation. The classifier of presentations is set-valued, not claimed proposition-valued. Later invariant constructions may forget that choice; earlier computational constructions are allowed to consume it. This separation between witness-rich input and invariant output is the same pattern used for generated topologies in Chapter 19.
Formal status — checked algebraic boundary. Evidence
FINITE-UNIMODULAR-COVER-DATA. Finite sums and dot products compute on visible families, structured ring maps preserve them, and a finite Zariski presentation retains generators, coefficients, and their unit-ideal law. Such presentations are stable under structured base change and include the singleton and binary cases. At this layer they are not yet basic opens, covering sieves, localization families, or a Grothendieck topology.
21.3 Free Variables Without A Syntax Of Polynomials
Fix a ring and a set or groupoid of variable names. A polynomial algebra on should contain a base map
and a valuation . Its meaning is determined by what happens when the variables are interpreted elsewhere. Given a ring , a base map , and a valuation , consider structured maps satisfying
Both equations are retained pointwise, and the complete factor consists of together with those agreements. The universal property says that the classifier of such factors is contractible for every , , and . There is therefore one coherently selected extension, and every rival extension is equal to it as a structured map with its agreement evidence.
Contractibility is stronger than the phrase “there exists a unique map” when that phrase is read externally. It gives a center of the complete factor classifier and, internally, a path from every other inhabitant to that center. The center can be projected whenever an actual extension is needed; the contraction can be invoked whenever two independently constructed extensions must agree. Because the classifier retains the equations in (21.2), uniqueness does not forget that the comparison lies over and has the prescribed values on variables.
This is the familiar freeness of , but it does not select a representation of its elements. There is no list of monomials, finitely supported coefficient function, inductive expression grammar, quotient by the ring laws, or preferred normalization order. Those are possible models of the universal property, not fields of the property itself.
The omission is not hostility to syntax. A concrete evaluator might sensibly represent a polynomial by normalized coefficient data, and a parser might let a reader write . What matters is the direction of dependence. Such a representation should prove that it satisfies (21.2); the geometry should then consume the universal property. The later theory is insulated from whether one implementation uses Horner forms, sparse monomials, or an external computer-algebra package.
For a single variable , this says that a map out of a supplied is determined by two observations: what it does to coefficients and where it sends . Familiar evaluation is recovered by choosing the target value of . For many variables the same sentence is indexed by , with no need to choose an ordering at the universal boundary. The interface states exactly what symbolic substitution is meant to accomplish while declining to legislate how symbols are stored.
There is already a closed sanity check. When is empty, there is no variable data to choose. The ring itself, with the identity base map, satisfies the polynomial universal property: every is its own unique extension. This case exercises the complete factor classifier and its contractibility, not merely the formation of a record.
Theorem 21.1 (universal polynomial extension). A supplied polynomial algebra package on classifies extensions of every base map and valuation by a contractible factor space. For the empty variable classifier, the identity extension on supplies a checked model.
Formal status — checked interface and closed model. Evidence
COMM-RING-POLYNOMIAL-UNIVERSALITY. The active universal property retains base and variable agreements and proves the complete extension space contractible. The empty-variable identity model is checked. No construction of a polynomial algebra for every and , concrete monomial syntax, quotient presentation, normalization theorem, runtime rule, or package uniqueness theorem is claimed.
21.4 Making One Element Invertible
Let . A localization of at begins with a ring and a map
for which is a unit. Unit evidence is explicit: it consists of an inverse and an equality . Commutativity proves that the inverse is unique, and sethood of the carrier proves that the entire evidence is a proposition. Asking for a unit therefore does not introduce a meaningful choice of inverse into the geometry.
The uniqueness calculation is elementary but instructive. If and are both inverses to , then
Associativity and commutativity do the algebraic work; sethood then says that the displayed equality has no further choices. The predicate “ is invertible” may consequently be used as the fibre of an ordinary sieve, as in Chapter 18, rather than as a higher coefficient carrying distinct inverse witnesses.
The universal property considers any map for which is a unit. A factor is a structured map together with the pointwise triangle
The localization property says that this factor space is contractible. We may write the selected target suggestively as , while remembering that the notation names the role of , not a fraction grammar inside its carrier. Then (21.3) is the invariant content of the usual substitution
The displayed fraction explains the classical formula; it is not used to define the map. Contractibility supplies the map and all comparisons between maps satisfying the same triangle without choosing numerators, denominators, or exponents.
Admissibility belongs to the target map . The localization package does not choose, for every ring in the universe, whether the image of is a unit. Rather, when a caller supplies unit evidence, the universal property returns the unique factor. This keeps constructive content visible: testing invertibility may be undecidable, but using an explicit proof of invertibility is computationally straightforward.
This stronger uniqueness is what makes the interface computationally useful. From a contractible factor space one projects a center, hence an actual map . Given another construction with the same universal property, one obtains maps in both directions. Their composites and the identities are competitors in suitable factor spaces, so uniqueness produces the inverse laws. The universal property is thus a source of programs and equations, not an after-the-fact slogan attached to an opaque object.
It also separates existence from characterization. A localization package contains a chosen , a chosen structure map, its unit evidence, and the contractible factorization theorem. The general interface says what any such package does. It does not yet construct a package for every pair . That remaining existence problem can be solved by a fraction model, by a quotient, by a suitable higher-inductive construction, or by importing a certified algebra library, without changing the consumers of localization.
Formal status — checked interface. Evidence
COMM-RING-LOCALIZATION-UNIVERSALITY. Unit evidence is proposition-valued, and a supplied localization package inverts the chosen element and gives a contractible space of structured factors through every admissible target map. The factor retains a whole ring map and its pointwise triangle. No general existence theorem for arbitrary , fraction or power representation, quotient syntax, or equality of arbitrary localization packages is asserted.
21.5 Three Localizations One Can See
The abstract interface has concrete edges where no fraction construction is needed.
First suppose is already a unit in . The identity map is a localization at . Every admissible map factors through the identity by itself, and extensionality makes that factor unique. In particular, every ring has a canonical identity localization at .
At the opposite extreme, localize at . If sends zero to a unit, then is invertible. Since a ring map preserves zero, one obtains , and hence every element of equals zero. The target is contractible as a carrier. It follows that the unique map from to the zero ring has the localization property at . The zero ring is not a nuisance case patched into the theory; it is the correct universal endpoint.
The third case is more revealing. Let be idempotent, so . Consider the fixed-image carrier
It is closed under the inherited additive operations and multiplication. Its zero is , while its multiplicative unit is . Scaling defines a ring map
The image of under (21.4) is the unit of , and any map that makes invertible factors contractibly through this fixed image. Thus is a localization at , constructed without a quotient and without fractions.
The factor has a simple formula. If makes the idempotent invertible, then idempotence of and cancellation by its inverse force . On an element fixed by multiplication by , the factor sends to . Conversely, the original element reaches the fixed image as , and then
which is the required triangle. The fixed-point equation retained in the carrier supplies exactly the coherence needed for this formula to define a structured map.
Take now and . Componentwise multiplication makes idempotent, yet boolean discrimination proves and . Its fixed image consists of the first component with the second forced to zero. This is a closed, genuinely non-endpoint localization: neither the identity localization nor the zero localization is being disguised by notation.
Formal status — checked models. Evidence
COMM-RING-LOCALIZATION-MODELS. The identity ring localizes at any supplied unit and canonically at ; the zero ring localizes every ring at ; and the fixed image localizes at an idempotent . The product ring supplies a checked idempotent distinct from both endpoints, so the fixed-image construction has a concrete nondegenerate instance. These models do not amount to arbitrary localization existence.
21.6 Localizing Once Or Twice
Universal properties earn their keep when two descriptions must be compared. Choose a localization of at , and then localize its target at the image of . Also choose a localization of at the product . In customary notation the two targets are
No fraction calculation is needed to compare them. In the iterated target, the images of both and are units, so their product is a unit. The universal property of therefore gives a forward map
Conversely, if is invertible in a commutative ring, then both and are invertible: an inverse to is , and symmetrically for . The product localization consequently admits first a factor through and then a factor through the localization at the image of . This gives
This elementary implication is the hinge of the comparison. If is an inverse to , then
It converts one unit witness into the two witnesses demanded by the staged universal properties. No appeal to prime ideals, open subsets, or a spectrum is involved; the overlap theorem is already present in commutative algebra.
The two composites are not reduced by a hidden fraction normalizer. Instead, and the identity are factors of the same map through the product localization, so contractibility identifies them. The other direction needs one additional step: uniqueness at the first localization aligns the maps on the intermediate ring, after which uniqueness at the second localization identifies with the identity. Both results are equalities of whole structured ring maps.
Theorem 21.2 (product and iterated localization). For any supplied localizations in the preceding configuration, the canonical comparison maps satisfy both whole cancellation laws and exhibit an omega-equivalence in ,
Formal status — checked. Evidence
COMM-RING-ITERATED-LOCALIZATION-EQUIV. The active comparison constructs canonical forward and reverse structured maps from the supplied universal properties. Contractibility proves their left and right whole-map laws and packages the selected forward map as an omega-equivalence in . Equation (21.5) does not identify the carrier packages by raw equality, provide fraction computation, or choose either localization globally.
This proof displays the intended style of computation. A representation-first development might multiply fractions and cancel powers until both composites normalize. Here the observable computation is composition of structured maps, and the universal property closes the comparison. Concrete models remain free to normalize fractions internally; nothing downstream is allowed to depend on that choice.
21.7 From Localization To The Sieve
Localization answers a transformational question: what is the universal ring under in which has become invertible? The sieve of Chapter 18 answers a relational question: along which probes is the image of already invertible? These are two faces of the same algebraic event.
Given a ring map , membership in the sieve is unit evidence for . Whenever a localization has been supplied, the factorization theorem turns that membership into a structured map
over , and contractibility makes all choices of such a factor coherently unique. Conversely, any map over carries the selected inverse of the localized image of to an inverse of . The localization therefore represents the question posed by the invertibility sieve when a representing object is available.
The order of ideas is deliberate. The sieve exists from the invertibility predicate alone; it need not wait for a chosen fraction object. A supplied localization then represents that sieve on affine points. Thus the geometry can be organized around invertibility's sieve, while localization supplies a computational chart rather than defining openness by decree.
The next chapter makes this bridge precise. It constructs the affine functor of points, reads as an ordinary sieve on an affine, and shows how unimodular families become finite basic-open covers. The algebra developed here will reappear there not as an internal manual of ring operations, but as the universal language in which affine geometry recognizes its charts.
22. Affine Geometry And The Sieve
An affine scheme is often introduced as a set of prime ideals equipped with a topology and a sheaf. That description is powerful, but it begins at the end of several constructions. Constructively, even the set of prime ideals can be difficult to use: the familiar argument that a proper ideal lies in a prime ideal invokes a choice principle that one may have deliberately declined. More importantly for the present book, a point-set spectrum hides the functorial action that makes geometry computational.
There is another beginning. Instead of asking first which ideal-valued points a ring has, ask how the ring can be mapped into every test ring. Instead of declaring a subset on which an element is nonzero, ask along which of those maps its image becomes invertible. The answers are already organized by composition. They form a functor of points and, inside it, an ordinary sieve
This sieve is the geometric form of localization. A chosen localization represents its points: maps out of are exactly maps out of along which is a unit. Products encode intersections, , and finite unit-ideal presentations generate the Zariski topology on the big affine slice. Only after those constructions are in place do we ask for a structure sheaf and its locality.
The order matters. The sieve exists before it is represented by one chart; the topology exists before a sheafification for commutative-ring values has been constructed; and the computing coordinate presheaf exists before it is equipped with supplied sheaf and locality witnesses. Affine geometry becomes executable without pretending that each of its classical existence theorems has already been rebuilt.
22.1 Affines As Questions Of Points
Let . A ring map is read geometrically in the opposite direction,
The notation is deliberately functorial. At a test ring , define
If , composition sends a point to . Thus (22.1) is not a disconnected family of sets. It is the representable presheaf on , with all change-of-test-ring maps supplied by Yoneda.
This definition changes the meaning of “point” in a useful way. A point is not required to land in a field, an algebraic closure, or a two-valued truth object. Every ring is an admissible stage of observation. Nilpotents, idempotents, infinitesimal extensions, and degenerate rings are visible when the chosen tests can detect them. A classical prime ideal may later be recovered through a suitable field-like test, but it does not monopolize the notion of observation.
Generalized points can distinguish phenomena that field-valued points erase. For example, a nilpotent element must map to zero in every reduced field, but it may remain visible under a map to a ring with nilpotents. Likewise, an idempotent can reveal a decomposition through product test rings even when a single ordinary point sees only one side. The functor of points does not force one preferred class of tests to carry the entire geometry. It records the response at all stages and lets later hypotheses specify which stages are sufficient for a particular theorem.
There is a useful logical economy in this approach. To compare two candidate affine constructions, one may compare how maps into every test ring are classified rather than inspect a chosen point-set representation. Conversely, an explicit test ring can refute an overstrong identification by exhibiting a point seen on one side and not the other. The functor is therefore both an extensional language and an experimental instrument. The representation theorem below uses the second role directly: it constructs and compares actual maps at an arbitrary supplied test ring.
The functor of points also remembers direction for free. Suppose is a commuting triangle of ring maps. The corresponding geometric arrows compose in the reverse order, and evaluating simply composes the ring maps. No separate substitution operation has to be appended to the set of points, and no proof is needed that this operation respects identity and composition: those laws are the ordinary Yoneda action already developed in Chapters 13 and 18.
One should not confuse this representable with the completed geometric object traditionally denoted . At this stage we have a functor of affine tests. We have not yet selected a Zariski topology, a structure sheaf, a local-ring condition, or a comparison with a prime-ideal spectrum. The notation records the intended geometry while leaving each additional layer visible.
22.2 Invertibility Is A Sieve
Fix . For every test ring , let
where is the proposition that has a multiplicative inverse. An element of (22.2) is therefore a point together with actual evidence that the image of is invertible.
The construction is stable under refinement of the test. If , a unit witness for is carried by to a unit witness for . Hence every further probe of a -point is again a -point. In the geometric category , this downward closure says precisely that is a sieve on .
Unit evidence is proposition-valued, so the sieve is ordinary rather than a higher sieve with a nontrivial category of witnesses. The selected inverse is retained during a calculation, but any two inverse witnesses agree. The predicate can therefore be used as a subterminal fibre of the representable without erasing computational access to the inverse when it is needed.
This definition avoids two premature decisions. It does not ask whether invertibility is decidable, and it does not ask whether all the successful probes factor through one previously chosen open object. A caller may supply a unit witness even when no decision procedure exists. The resulting collection of successful probes is meaningful even when no single object represents it.
Invertibility is stronger than nonvanishing. Over a field the two conditions coincide away from zero, which can make the distinction disappear in a point-set picture. Over a general test ring an element may be nonzero without being a unit. The basic open therefore does not classify probes on which merely survives; it classifies probes on which has become reversibly usable. That is precisely the condition needed for a map out of a localization.
Two endpoint examples calibrate the definition. Every ring map preserves one, and one has a canonical inverse, so is the maximal sieve. By contrast, membership in forces zero to be a unit in the test ring and hence forces that ring to collapse. The latter sieve is not literally empty when the zero ring is admitted, but it is geometrically empty relative to nondegenerate tests. The convention from Chapter 21 makes this boundary exact rather than exceptional.
In a posetal presentation of geometry, a sieve represented by an open consists of precisely the probes that factor through . Max Zeuner's constructive development organizes affine geometry through the Zariski lattice of compact opens and, in a locally ringed lattice, assigns a section its largest compact-open invertibility support. From the present viewpoint, that compact open is a particularly economical representative of the sieve when such a representative exists. The sieve is primary on a general site; the compact open is the coherent or qcqs form in which all of its probes can be summarized by one lattice element.
This chapter is structurally adapted from the Zariski-lattice, coverage, compact-open, and functor-of-points development in Zeuner. The change of viewpoint is substantial: rather than define invertibility's locus first as a compact open, we define the ordinary sieve of all invertibility probes and ask for representability afterward. Nothing in that change invalidates the compact-open account in its intended scope.
Formal status — mathematical development and attribution boundary. The comparison with compact opens is an attributed reformulation of Zeuner's presentation. The active construction at this point is the ordinary sieve (22.2). No general theorem that is compactly representable, no comparison with Zeuner's qcqs schemes, and no point-set spectrum theorem is claimed.
22.3 Localization Represents The Basic Open
Now suppose a localization has been selected,
The notation again names a universal role rather than a fraction syntax. By definition, is a unit, and every map for which is a unit factors contractibly through .
There are two immediate constructions at every test ring . A map gives
Conversely, a point is exactly an admissible target for the localization property. The center of its contractible factor space gives a structured map
The inverse laws require no calculation with fractions. Starting with , the map itself is a competitor in the factor space used to select . Contractibility identifies the selected factor with as a whole structured map. Starting with , the factor triangle identifies the map component of with ; proposition-valued unit evidence then completes the equality of the dependent pairs.
Theorem 22.1 (pointwise representation of the basic open). For every test ring and every supplied localization of at , the maps (22.3) and (22.4) form an explicit equivalence
Formal status — checked, pointwise. Evidence
AFFINE-BASIC-OPEN-POINT-REPRESENTATION. Both maps and both inverse laws in (22.5) are constructed from the localization universal property, whole ring-map extensionality, and proposition-valued unit evidence. The equivalence is available for each test ring. Both sides retain their functorial action through existing owners, but the active result does not package these components as a whole natural equivalence or equality of presheaves.
That last qualification is not a defect in the mathematical idea. Formula (22.5) is exactly the component expected from representability, and its maps are defined canonically from composition and factorization. A complete presheaf-level equivalence would additionally assemble the components as internal transformations and prove their whole inverse laws in the relevant functor category. The current theorem records the strength that has actually been checked rather than replacing that missing assembly by an external assertion of naturality.
Representability also separates invariance from choice. Two constructions of a ring called need not be definitionally equal as carrier packages. Each nevertheless classifies the same factorization problem, so their universal properties construct comparison maps and the relevant inverse laws. Geometry may consequently use “the chart ” without requiring every implementation to share one fraction representation or normal form. What is invariant is the question asked by the sieve; a selected localization is a computational coordinate presentation of it.
This reverses a common expository dependency. If one defines to be the spectrum of a fraction ring, openness is tied immediately to the chosen construction of fractions. If one begins with (22.2), closure under refinement follows from preservation of units alone. The universal property then proves that a fraction model, quotient model, idempotent fixed-image model, or any other certified localization presents the same geometric question. Representation becomes a theorem with executable maps.
The case recovers the whole affine: the identity localization at an already invertible element represents the maximal invertibility question. The case reaches the opposite boundary. Localization at zero is the zero ring, so maps out of it represent precisely those test maps under which zero has become a unit—that is, the degenerate stages where the target ring has collapsed. These endpoints arise from the same universal statement as every other basic open.
22.4 Multiplication Computes Intersection
The elementary algebra of units already knows how basic opens intersect. For a fixed point , if is invertible with inverse , then
Thus and are both units. Conversely, the product of two units is a unit. Since all three unit predicates are propositions, these operations give an equivalence between unit evidence for and paired unit evidence for and .
Holding the underlying point fixed and summing over all points yields
The right side is the explicit pointwise intersection of and : one point of the whole affine carrying membership in both sieves. No equality of chosen localization packages is needed. If a localization at is supplied, Theorem 22.1 represents the left side, and composition with (22.6) represents the intersection by maps out of .
This is the geometric face of Theorem 21.2. The algebraic equivalence
says that entering and then has the same coordinate ring as entering their product open at once. In the functor-of-points picture, equation (22.6) says that the two procedures admit the same tests. The first statement compares coordinate rings by whole structured maps; the second compares membership types at every test ring. Together they explain why multiplication is the algebra of intersection.
Formal status — checked, pointwise. Evidence
AFFINE-BASIC-OPEN-INTERSECTION. The active maps give the equivalence (22.6), and a supplied localization at gives an executable two-step representation of its right side with both component inverse laws. This is not yet a whole-presheaf intersection theorem, an external naturality family, a topology, or an appeal to univalence.
The formula is already the meet law of the Zariski lattice. Zeuner writes the standard compact-open support as . Here the same law is seen one probe at a time before a compact-open classifier is assumed. When a compact open represents each sieve, pointwise intersection descends to the lattice meet. When no such representative is known, equation (22.6) still calculates the intersection of the sieves themselves.
Multiplication governs finite meets, but covering uses addition as well. A certificate says that the chosen basic regions are jointly sufficient. The robust geometric form of that sufficiency is obtained by declaring their arrows to generate a cover and then closing under the Grothendieck laws. The equation supplies finite algebraic evidence; the topology below supplies invariant coverhood. This keeps the meet calculation (22.6) distinct from the join-like operation of generating a covering sieve.
22.5 The Big Affine Slice And Its Coordinates
To pass from one affine to its charts, fix and consider every ring map . Geometrically it is a chart
These charts form the big affine slice over . A morphism from the chart to the chart is a ring map whose triangle over commutes. Its geometric direction is
and it carries the whole structured restriction map that coordinates must follow.
There is consequently a tautological commutative-ring-valued coordinate presheaf . It sends the chart to and the geometric arrow represented by to the same structured ring map . At the whole chart its value is . At the basic-open chart its value is the chosen localization ring. Nothing is defined only on objects: the restriction maps and their identity and composition laws are part of the existing whole functorial structure.
Theorem 22.1 now receives its geometric reading. The chart
has, at every test ring , exactly the points of the sieve . The active theorem proves this statement componentwise; the big slice supplies the chart object and its coordinate restriction. Representation is therefore not used to define the sieve, but once a localization is selected it produces the expected geometric chart.
The overlap comparison from Chapter 21 also lifts into the slice. The two whole ring maps between and become chart arrows in opposite geometric directions. Applying to those arrows computes back to the same structured comparison maps, and their already-proved cancellation laws give an equivalence of the coordinate rings. No new overlap equation is copied into the chart record; it is inherited from the algebra that owns it.
Why use the big slice rather than immediately restrict to the small category of basic opens of ? The big slice accepts every -algebra as a chart. Base change, comparison maps, degenerate targets, and future affine realizations can therefore be expressed without first proving that each object belongs to a chosen basis. A small site is often more economical for compactness or cohomological arguments, but equivalence between the two presentations is a theorem. Starting big keeps the functor-of-points semantics literal and postpones that theorem rather than assuming it.
The price is controlled redundancy. Many big-slice objects describe regions already covered by smaller basic charts, and equivalent localizations may appear as distinct packages. The coordinate presheaf handles this without quotienting the objects: it follows every whole ring map, while universal properties supply comparisons where needed. A later basis theorem may show that suitable redundancies are invisible to local data. They are not erased at the computational boundary.
Formal status — checked. Evidence
AFFINE-BIG-SLICE-COORDINATES. The conventional big affine slice, the whole coordinate presheaf, literal charts, localization charts, commuting chart arrows, and the two product/iterated-localization overlap directions are active. Coordinate restriction along a chart arrow computes to its supplied whole ring map. The big slice is not identified with a small site of opens and does not by itself provide a topology, sheaf, locally ringed space, or complete scheme.
22.6 Finite Families Generate The Big Zariski Topology
The algebraic certificate from Chapter 21 becomes geometric on every chart. Let be an object of the big affine slice, and choose a finite family together with coefficients satisfying
For each , also choose a universal-property localization of at . It determines a whole chart arrow
Equation (22.7) is the finite certificate that these basic charts cover. To turn that statement into a topology without discarding its computational input, first call a sieve on the chart a generator when it contains every arrow in one selected family (22.8). The generators remember the family, coefficients, localization packages, and literal containments. They are witness-rich data, not merely truth values.
Now intersect all Grothendieck topologies on the big affine slice that accept those generators. The result is a lawful topology, denoted . Every selected finite family covers in it by construction, and it is least in the precise sense that
for every other Grothendieck topology accepting the same generators. The presentation witnesses remain available at the generating boundary, while the statement that a sieve covers is proposition-valued. This is the same useful separation encountered in Chapter 19: rich evidence enters the generator; invariant coverhood leaves it.
Theorem 22.2 (the generated big Zariski topology). The selected finite unimodular localization families on all charts of the big affine slice generate a Grothendieck topology with computing generator inclusion and the leastness property above.
Formal status — checked. Evidence
AFFINE-BIG-ZARISKI-TOPOLOGY. Each chosen localization is a whole internal chart arrow whose coordinate restriction is the localization map. The generator retains finite containment, and the generic generated-topology construction supplies a lawful least topology. No global choice of localization packages, cover-derivation syntax, coverhood decision procedure, subcanonicity theorem, sheafification, or comparison with the small Zariski site is asserted.
This construction parallels the finite Zariski coverage in Zeuner's functorial account, but the bookkeeping is arranged around sieves. A finite family presents probes that must cover; Grothendieck closure then adds all maximal, pulled-back, and locally implied covers. In a coherent setting the same information may be summarized by joins in the Zariski lattice. The big site keeps the probes and their restriction maps explicit, which is exactly what the later computational structure presheaf consumes.
The Grothendieck closure is doing real work. A displayed family such as (22.8) is only one cover presentation on one chart. Pulling a covering sieve back along a chart arrow must again cover, and a sieve covered locally by covering pullbacks must cover globally. Stability and local character come from the generated topology, not from repeatedly manipulating the coefficients in (22.7). When an explicit mapped family is desired, structured ring maps transport the unimodular coefficients, while target localization packages are supplied rather than chosen globally. The topology can therefore be invariant even though computational presentations retain choices.
Leastness is equally important. One could declare every sieve to cover and satisfy the Grothendieck axioms vacuously. The chaotic topology is a useful feasibility model, but it forgets Zariski geometry. Intersecting all accepting topologies includes exactly the consequences forced by the selected finite families and the topology laws. The construction is impredicative rather than an inductive syntax of derivations, so it proves the universal property of generated coverhood without claiming a normalizer or decision procedure.
A small but concrete example comes from . The complementary idempotents and satisfy . Their fixed-image localizations therefore give two selected basic charts in a finite Zariski cover. Since , their algebraic intersection is represented by the zero localization. The corresponding overlap coordinate ring computes to the zero ring. Even this degenerate overlap is informative: the two charts are disjoint pieces of the product affine, and that fact is witnessed by restriction maps rather than inferred from an external picture of points.
22.7 The Structure Sheaf Is A Separate Commitment
The coordinate presheaf computes, but computation alone does not prove descent. To call it a structure sheaf on the generated big site, one needs commutative-ring-valued sheaf semantics and a comparison identifying the selected sheaf with these coordinates.
The Cat-valued reflector constructed in Chapter 20 does not automatically supply that result. Lifting it to commutative-ring values would require the ring operations and laws to survive the completion coherently, and the active development has not claimed such a lift. The affine interface therefore makes the missing theorem an explicit input. An affine structure-sheaf presentation first supplies a reflective sheaf theory for commutative-ring-valued presheaves on the exact topology . It then selects a sheaf object and a whole computational isomorphism from its included presheaf to .
The comparison is whole functorial data, not a list of unrelated object-by-object ring isomorphisms. Its component at a chart compares the selected structure sheaf with the chart ring, while its internal transformation action retains compatibility with every restriction. This is strong enough for downstream computation, but it is supplied evidence. The package does not construct the reflector or prove from first principles that the coordinate presheaf satisfies descent.
The whole comparison matters whenever a section is transported before it is inspected. An objectwise list of ring isomorphisms could identify with the coordinate ring of each chart and still fail to commute with restriction. A transformation in the presheaf category carries that compatibility internally. Its cancellation laws let a calculation move to the transparent coordinate presheaf, compute there, and return to the selected sheaf without adding a new naturality square at every use.
Formal status — checked, assumption-explicit. Evidence
AFFINE-STRUCTURE-SHEAF-PRESENTATION. Given a reflective commutative-ring-valued sheafification capability, a sheaf object, and a whole computational isomorphism to the coordinate presheaf, the active presentation constructs the corresponding reflective ringed big site and exposes the comparison at every chart. Neither the capability nor the comparison is constructed by this affine layer.
There is a second locality condition that should not be confused with sheaf descent. Let be a chart, let , and choose a localization of the chart ring at . Restricting a localization element along every member of the sieve gives a coherent matching family. Cartier locality says that this restriction functor is an equivalence: every coherent family on the invertibility sieve glues uniquely to an element of the localized ring.
The active affine locality capability supplies this whole equivalence for every chart, section, and supplied localization package. Its inverse is a whole glue functor, and both composite-functor laws are retained. Yet need not cover . Cartier locality describes the coordinate ring of a basic-open region; ordinary sheaf descent describes reconstruction from a covering sieve. A stalk-local-ring theorem is different again. Keeping these three statements separate prevents the word “local” from doing more work than the mathematics.
This distinction mirrors the sieve-first viewpoint. Sheaf descent starts with a sieve certified to cover and asks whether compatible data on that cover have a unique global amalgamation. Cartier locality starts with an arbitrary section and studies the possibly noncovering region where is invertible. Its global object is not a section over all of but an element of the localized coordinate ring. A local-ring condition, finally, controls how unit evidence can be found locally from algebraic alternatives such as the invertibility of a sum. The three interfaces cooperate in scheme theory, but none is a synonym for either of the others.
22.8 A Thin Computational Affine Presentation
Once the preceding commitments have been named, the affine package itself can be small. For a ring , an affine-scheme presentation consists of
The ring already determines the big affine slice, its coordinate presheaf, the whole chart, and the generated topology. The first entry of (22.9) relates a supplied reflective structure sheaf to those computing coordinates. The second supplies the whole restriction-and-glue equivalence on every basic invertibility sieve. There is no benefit in copying chart actions, overlap maps, or coherence equations into a larger record: they are already inherited from the functors and universal properties that own them.
Formal status — checked, assumption-explicit. Evidence
AFFINE-THIN-SCHEME-PRESENTATION. The active affine presentation pairs the supplied whole structure-sheaf presentation with supplied whole coordinate localization locality. It projects the exact generated big-Zariski ringed site, the whole coordinate comparison, and locality at each selected chart and localization. The product ring supplies a closed reviewer in which the two capabilities remain explicit inputs while the complementary-idempotent cover, chart rings, restriction maps, and zero overlap compute.
The smallness of (22.9) is evidence of internal organization, not of missing coherence being ignored. The topology owns pullback stability and local character. The coordinate presheaf owns restriction. Localization owns basic charts, and the whole locality equivalence owns glue over . An affine presentation selects only the capabilities that cannot yet be derived. Duplicating their component operations would create new obligations to prove that the copies agree with these established owners.
Calling (22.9) an affine scheme is therefore a qualified statement. It is a computational presentation whose assumptions are visible. The active work does not construct commutative-ring-valued sheafification, prove coordinate locality, compare the big site with the small Zariski site, construct stalks, establish a stalk-local-ring theorem, or build a representation-independent category of affine schemes. Nor does it prove Zeuner's comparison between locally ringed lattices and functorial qcqs schemes.
What it does construct is already a coherent geometric chain:
Every arrow in that chain carries computation. Composition changes probes; unit preservation restricts the sieve; localization selects factors; multiplication computes intersections; the coordinate presheaf computes chart restriction; and generated topology turns finite algebraic certificates into coverhood. The supplied sheaf and locality capabilities begin exactly where the constructed chain ends.
The next chapter starts from the complementary direction. Instead of fixing a ring and generating its affine world, it assumes a global ringed object and a covering sieve, selects affine charts inside that cover, and asks which restrictions and overlaps can be inherited from the global object. That global-first viewpoint is the bridge from one affine presentation to site-relative schemes.
23. Schemes From Covering Charts
An atlas is persuasive because its pieces are familiar. If a space can be covered by affine charts, one is tempted to say that the scheme is simply the charts plus instructions for gluing them. But this description suppresses an important choice of direction. We may begin with charts and try to construct a global object, or we may begin with a global object and recognize some of its regions as affine. The two directions ask for different theorems.
This chapter follows the second, global-first direction. A global object is already present in a ringed site, with one structure presheaf and one covering sieve on . Two selected members and will generate that sieve constructively. Each chart is then compared, as a whole functorial restriction, with affine coordinates. Local-ring behaviour is imposed on the actual slice over . The result is a binary, site-relative computational scheme presentation.
Starting globally pays a coherence dividend. Restriction maps already belong to ; their identity and composition laws are already functor laws. An intersection, once selected as an actual product in the slice over , inherits its two projections and both maps on rings. There is no reason to copy those maps into an atlas record and then ask whether the copies agree. The global object is the common source from which they are computed.
The price is equally clear. This chapter does not construct from an abstract atlas. Its slice sites, affine-basis comparisons, and one selected chart intersection are assumption-explicit. “Scheme” here means a scheme presentation relative to those supplied categorical semantics, not yet a representation-independent category identified with every classical or functorial definition of schemes.
23.1 Two Directions Through An Atlas
Suppose first that two affine objects and have been given, along with a candidate overlap , maps to the charts, and a transition between coordinate descriptions. The atlas-first problem is to construct an object for which the diagram is effective: and should cover , should be their intersection, and functions agreeing on the overlap should glue uniquely. Even for two charts, that is a colimit and descent theorem. For more charts one must also control triple overlaps and cocycles. Merely storing the expected diagrams does not prove that a global object exists.
Now reverse the situation. Let already be an object of a category , and let be actual arrows. Their intersection, if the needed product exists in the slice , is no longer an invented compatibility object. It is the categorical object
If a single presheaf is already defined on , then its values and and its two restriction maps are forced by (23.1). Repeated restriction agrees because is a functor. Global-first geometry therefore shifts the hard question. We no longer ask whether chart data can be glued to create ; we ask whether selected regions of really are affine and whether they cover in the chosen topology.
Max Zeuner develops two constructive architectures for qcqs schemes: finite affine covers of locally ringed lattices and affine compact-open covers of functors of points, followed by a comparison theorem between them. The finite-cover rhythm is an important model for the present exposition, but the emdash construction changes both its starting point and its classifier of locality. The global object and its ringed categorical semantics are supplied first; coverhood is carried by an ordinary sieve; and the locus where a section is invertible is the sieve of all successful probes. A compact open can represent that sieve in a coherent setting, but such a representability theorem is not assumed merely in order to speak about the sieve.
The distinction is not a contest between definitions. A global-first package is useful when a semantic object has already been built and one wants a computational account of its charts. An atlas-first theorem is indispensable when the charts are the input from which the object must be created. Zeuner's comparison explains why two mature theories of qcqs schemes agree. Here the more modest task is to identify exactly how far one can travel on the first route with the current owners.
Attribution and comparison boundary. This chapter comparatively adapts the finite affine-cover and functor-of-points architecture of Zeuner, especially Sections 3.3, 4.2, 5.1, and 5.3. It does not import the theorem that affine charts glue to a qcqs scheme, the compact open classifier, or the equivalence between functorial and locally ringed-lattice schemes. The site-relative global-first presentation below is the active emdash result.
23.2 One Covering Sieve, Two Generators
Let be a reflective commutative-ringed site with base category . Its included structure presheaf will be written
Choose an object , an ordinary sieve on , and evidence that covers in the selected Grothendieck topology. This is already global geometric data. Every arrow in is a region of , and every further restriction of remains in . Grothendieck stability also says that pulling back along any arrow into produces a covering sieve on its domain.
A selected chart is initially nothing more than a selected member of this sieve. Thus an arrow becomes a chart when accompanied by . The name does not make affine. It records that is one of the regions accepted by the global cover; affineness requires the separate comparison developed in Section 23.5.
Select two such members and . Their membership alone does not say that they cover. A sieve can contain two arrows while also containing regions that factor through neither one. The computational generation condition supplies the missing direction: for every in , it returns a Boolean side , a map , and the triangle
In dependent notation, the content is
Equation (23.3) is stronger computationally than the mere assertion that some chart contains every covered region. Given a membership witness, one can execute the selection, inspect which chart was chosen, and use the actual factor map. No propositional truncation hides the branch. Conversely, because both and are themselves members and a sieve is closed under precomposition, every arrow factoring through either chart belongs to . The retained sieve is therefore exactly generated, in this witness-rich sense, by the two selected arrows.
There are two cautions. First, (23.3) does not construct a second sieve: it explains the already-selected covering sieve . Its coverhood comes from the global package, not from the unsupported observation that two arrows have been named. Second, a general member need not itself be affine. It is a refinement of one affine generator once the relevant Boolean branch is computed. Affineness belongs to the generator's whole realization and does not automatically descend to every arbitrary arrow without another theorem.
Formal status — checked. Evidence
GLOBAL-RINGED-COVER-BINARY-GENERATION. The global package retains the reflective ringed site, object, ordinary covering sieve, structure presheaf, and Grothendieck-stable pullbacks. Binary generation computes a selected chart, factor map, and triangle for every sieve member. The active result does not infer affineness from sieve membership, construct an atlas-first object, or turn arbitrary refinements into affine charts.
The choice to retain a sieve rather than just a two-element family has a further advantage. Pulling the cover back along a region does not require a new ad hoc list of chart fragments. The sieve pullback contains exactly the arrows whose composites lie in , and Grothendieck stability makes it covering. When an explicit generator is needed, (23.3) still computes a factor through or . Invariant coverhood and executable chart selection coexist without being collapsed into the same representation.
23.3 Local Rings Without Stalks
A sheaf of rings is not automatically a sheaf of local rings. Descent says that compatible sections glue; locality says, roughly, that algebraic alternatives can be resolved after passing to a cover. Classically the latter is often phrased by requiring every stalk to be a local ring. A computational site can express the needed alternatives directly, before stalks have been constructed.
Let be a Grothendieck topology on a category and let be a commutative-ring-valued presheaf. For , recall the ordinary sieve of arrows along which is invertible. Two support laws are automatic in the ordinary algebraic account: one is invertible everywhere, and a product becomes invertible precisely where both factors do. In sieve notation these give the expected equations
Equation (23.4) is mathematical orientation here; the local-ring interface below packages the two nonautomatic topology laws, not new whole sieve equalities for one and products.
The local-ring content lies in the two remaining directions. If zero becomes invertible at , then is locally void: the literal empty sieve must cover . And if is invertible, there must be a covering sieve such that every in comes with a selected alternative
The disjunction in (23.5) is a Boolean-indexed dependent pair. It remembers which summand is usable and retains its unit evidence. Thus the condition is the executable Kripke--Joyal form of
No raw union of sieves has to be constructed for (23.6). The right side is presented by a chosen cover subordinate to the two alternatives, and a branch is requested only after an actual member of that cover is supplied. Nor is the choice erased into a mere proposition. This is exactly the kind of local information a later calculation can consume: restrict to a cover member, inspect the side, and use the selected inverse.
The formulation is categorical semantics, not an auxiliary modal object language. Objects, arrows, sieves, restrictions, unit witnesses, covers, and branches all live inside the functorial theory and execute directly in endash's Q-free NbE evaluator and .en elaborator. Computation therefore does not require replacing the site by a primitive modality. It comes from making the categorical data sufficiently internal and functorial.
Formal status — checked, topology-local. Evidence
TOPOLOGY-LOCAL-RING-CERTIFICATE. The presentation executes empty-cover nontriviality and coverwise Boolean splitting of an invertible sum. It is a site-level local-ring certificate for a whole commutative-ring presheaf. It does not construct stalks, prove equivalence with stalk-local rings, form a raw sieve join, decide unit evidence, or identify the chosen topology with the classical Zariski topology.
This condition must be attached to the correct object. Our global structure presheaf lives on , whereas the local geometry of lives on the slice . The next section constructs the presheaf restriction to that whole slice and makes its sheaf boundary explicit. Only then can (23.5) be read as local-ring behaviour of the global object rather than of an unrelated family of rings.
23.4 Restricting The Whole Structure
For any , the conventional slice has a domain functor
Precomposition with its opposite constructs the ambient restriction
At a slice object , formula (23.8) computes to . At a triangle over , it computes the corresponding restriction homomorphism. Identity, composition, and naturality are inherited from ordinary functor composition. Thus the whole presheaf needed on a chart slice is constructed, not copied object by object.
What (23.8) does not construct is a topology and sheaf theory on . The active interface asks for a reflective commutative-ringed site on that actual slice and a whole isomorphism
in the commutative-ring presheaf category. Here is the selected structure sheaf of the supplied slice site and includes it as a presheaf. The topology, reflector, and sheaf object on the left of (23.9) are hypotheses. The right side and its restriction action are the computing ambient object.
The word “whole” in (23.9) matters. A separate ring isomorphism at every slice object would not ensure compatibility with restriction. A functor-level isomorphism carries that compatibility internally and supplies inverse laws in the presheaf category. One may compute using the transparent right side, then pass back to the selected sheaf semantics without introducing a new naturality square for each calculation.
For the whole object , the topology-local ring certificate of Section 23.3 is attached to the computing presheaf using the topology of the supplied slice site. The resulting local presentation combines supplied reflective semantics on , a whole bridge to ambient restriction, and executable local-ring forcing on that bridge's target. It does not claim that the slice topology was induced from the ambient topology or that a general sheaf-pullback theorem has been proved.
23.5 When A Selected Region Is Affine
Return to one selected cover member . To call it affine, it is not enough to attach a ring name to . We must compare the actual global structure restricted over with the affine coordinates developed in Chapter 22.
Begin with the supplied reflective slice presentation (23.9). Choose a ring and a thin affine-scheme presentation for . Its big affine slice has the generated Zariski topology and coordinate presheaf . Next choose a whole basis functor
The direction of (23.10) says that affine coordinate probes are realized as actual regions over . It is accompanied by two supplied comparisons. The first is a sheaf-basis equivalence along : restriction relates the selected sheaf categories on the affine basis and on the actual slice. This is an equivalence of sheaf semantics along the displayed functor, not an assertion that the two base categories are themselves equivalent. The second is a direct whole isomorphism from the ambient restriction to the included presheaf of the selected affine presentation. That affine presentation already retains its own whole coordinate comparison. Together they form the chain
Equation (23.11) is the computational heart of the affine label. On every affine probe, the structure inherited from the global object agrees with the coordinate ring; on every arrow between probes, the agreement respects the restriction homomorphism. Composing the supplied first bridge with the affine scheme's retained coordinate bridge derives the displayed ambient-to-coordinate comparison. Nothing has to be postulated separately for individual chart arrows.
An affine realization of retains exactly these inputs: the supplied reflective site on , the coordinate ring , its thin affine presentation, the basis functor (23.10), and the whole basis realization. The region is now affine in the precise, site-relative sense that its actual restricted structure is realized by affine coordinates along the selected basis.
Formal status — checked, assumption-explicit. Evidence
WHOLE-SLICE-AFFINE-REALIZATION. Whole ambient restriction is constructed by precomposition with the slice-domain functor. The reflective slice, sheaf-basis equivalence, affine scheme presentation, basis functor, and direct ambient-to-affine-underlying comparison are supplied; composition with the affine presentation's retained bridge derives a whole coordinate isomorphism. No induced slice topology, raw base-category equivalence, arbitrary basis theorem, or general transport of local exactness is claimed.
Applying this package to both and , and adjoining the generation witness (23.3), gives a binary affine-cover presentation. It retains two actual regions of the one global object, two coordinate rings, and two whole affine realizations. For an arbitrary , the Boolean generator computes which affine chart it refines and exposes that chart's already-owned realization and coordinate ring. It still does not declare itself affine.
23.6 The Site-Relative Scheme Total
The pieces can now be gathered without enlarging their claims. A binary site-relative scheme presentation consists of the following dependent data:
The first summation variable includes the global reflective ringed site, distinguished object, covering sieve, and proof of coverhood. The dependent certificate then adds local-ring forcing on the actual slice and the binary affine atlas. Because each later field is indexed by the object selected before it, malformed combinations are not representable: an affine realization cannot silently refer to a different chart, site, or global object.
Theorem 23.1 (global-first binary scheme presentation). Given the data in (23.12), there is one transparent site-relative scheme total that retains the global ringed object exactly once and exposes its structure presheaf, whole object, covering sieve, local-ring certificate, two selected generators, and two whole affine realizations through their existing owners.
Formal status — checked, site-relative. Evidence
BINARY-SITE-RELATIVE-SCHEME. The constructor and all named observations compute through the dependent total. The global structure presheaf is inherited rather than stored again; the local and atlas halves remain their exact existing packages. No overlap, transition, cocycle, gluing field, scheme morphism, effectivity theorem, or representation-independent category of schemes is added.
The absence of overlap and cocycle fields is deliberate. Suppose a section is restricted from to , from to an overlap region, and perhaps farther to another refinement. These maps are all values of the same contravariant functor . Their agreement with direct restriction is the functor's composition law. Adding parallel restriction maps to (23.12) would create a second source of truth and an obligation to compare it with the first.
The theorem is nevertheless conditional in meaningful ways. It does not construct the global object, the reflective slice sites, or the affine-basis equivalences. It packages them at endpoints where every downstream action can compute. Nor does it say that all finite atlases reduce to two charts. The binary case is the active vertical slice: rich enough to expose genuine covering, local forcing, affineness, refinement, and intersection, but narrow enough that the supplied boundary remains visible.
The qualifier site-relative prevents a more subtle overstatement. The chosen topology decides which sieves cover and the supplied basis semantics decides what counts as an affine chart. Another site may present equivalent geometry, but (23.12) alone does not construct that equivalence. In particular, it does not identify this presentation with Zeuner's compact-open qcqs schemes, with classical locally ringed spaces, or with all local functors on the big Zariski site.
23.7 The Intersection Belongs To The Global Object
Although an overlap should not be copied into the scheme total, a consumer may still need an explicit one. For the two slice objects , supply a selected binary product with its whole universal property,
Its domain in is an actual object equipped with arrows whose composites to agree. Applying the whole domain functor to the product projections derives these arrows; no base-level projections are supplied separately.
The global structure presheaf then computes three rings and two homomorphisms:
The variance in (23.14) is the familiar geometric one: an arrow from the intersection to a chart restricts functions from the chart to the intersection. Every term is evaluated from an existing whole owner. The overlap ring is not a new coordinate choice, and the homomorphisms are not transition fields. They are the value and arrow action of on the selected categorical intersection.
Formal status — checked after a supplied product. Evidence
ACTUAL-BINARY-CHART-OVERLAP. A selected binary product in the conventional slice retains its whole universal property. Its two slice projections, underlying arrows, overlap ring, and both restriction homomorphisms are derived. The active owner does not construct arbitrary pullbacks, prove every pair of charts has an intersection, identify the overlap as affine or as a localization, or add an atlas-gluing theorem.
This is the exact sense in which coherence is inherited. If another selected restriction is introduced, the maps from the chart rings to agree with the composites through because presheaf action respects composition. If triple intersections are later supplied, the same principle handles their restriction diagrams. Existence of the needed limits remains a separate categorical hypothesis; compatibility of the resulting restriction maps does not.
One should also resist a plausible but invalid inference: because and have affine realizations, has not thereby been proved affine. In familiar schemes the intersection of two affine opens is often quasi-affine and, under additional separatedness or basic-open hypotheses, admits more precise affine presentations. None of those theorems is smuggled into (23.13). Chapter 24 supplies a much narrower Laurent-coordinate adapter for the selected overlap used in the projective-line presentation.
23.8 What Has Been Built, And What Has Not
The global-first construction has now crossed a genuine threshold. It starts with one ringed object and proves that a selected binary covering sieve is generated by two regions whose whole restrictions have affine coordinate realizations. It attaches an executable local-ring condition to the actual slice over the object. It packages those data in one dependent total. And, when a product is supplied in that slice, it computes the chart intersection, its ring, and both restriction maps from the global presheaf.
The resulting chain is worth reading from left to right:
At each arrow, either a new hypothesis is named or a new construction is performed. The global object, reflective slice semantics, affine presentations, basis equivalences, local-ring certificate, and selected slice product are supplied. Sieve pullbacks, whole ambient restrictions, generator refinements, coordinate comparisons, total projections, overlap arrows, and ring restrictions are derived. This ledger is mathematical content: it says which theorems a future construction must prove before an input can disappear.
Several larger results remain outside (23.15). There is no constructor taking two abstract affine schemes and transition data to their glued global object. There is no effectivity or independence-of-atlas theorem, no arbitrary finite atlas interface, no category of scheme morphisms, and no proof that changing the selected site preserves the notion. There is no comparison with a prime-spectrum locally ringed space, with Zeuner's locally ringed lattices, or with functorial qcqs schemes. There is also no general theorem representing every invertibility sieve by a compact open.
Those absences locate the work rather than diminish it. Classical definitions often bundle the results of several deep comparison theorems into one word. The site-relative presentation instead exposes a computational semantic boundary: once the global object and its honest affine comparisons are available, restrictions and overlaps should be inherited, not restated. Conversely, when only charts are available, one still owes a gluing theorem.
The next chapter tests this boundary on the first non-affine object one wants to draw: the projective line. Two affine-line charts should meet where their coordinates are invertible, and the transition should send one coordinate to the inverse of the other. The current library can package that Laurent calculation on an inherited actual overlap once the global projective-line presentation has been supplied. It does not yet construct that global object from the two charts, nor does it build or general projective space. That precise mixture of calculation and boundary is where the global-first method is most revealing.
24. The Projective Line And The Boundary Of Construction
The projective line is the first scheme whose picture seems to demand gluing. One affine coordinate sees every finite point and misses infinity; a second coordinate sees infinity and misses a different point. Where both coordinates are visible, each is the inverse of the other. The whole geometry is contained in that short sentence, but its formal meaning divides into several tasks that are easy to conflate.
One may construct the two affine lines, construct their principal regions, identify those regions by inversion, and then prove that the identification is effective. That is the atlas-first route. Or one may begin with a global object already carrying two affine-line charts, take their actual intersection, and check that its two inherited coordinate descriptions are Laurent coordinates. That is the global-first route. The present development reaches the second route exactly. It does not silently acquire the first.
This distinction makes the projective line an unusually revealing example. The coordinate calculation is not deferred: it is constructed from polynomial and localization universal properties. The common region is not an invented overlap: it is an actual selected intersection of charts in the global slice. Yet the global object itself remains supplied. The calculation is complete at its stated boundary, and the boundary says precisely what a later construction must add.
24.1 Two Affine Views Of One Line
Let be a commutative ring. The familiar projective-line atlas has two charts
In homogeneous coordinates , the first coordinate is where is invertible, and the second is where is invertible. Both descriptions apply precisely where neither homogeneous coordinate vanishes. Thus the expected intersection has the two coordinate presentations
In ordinary algebraic notation its ring is therefore written
These formulas are a specification, not yet a construction. The symbols and can name open subspaces only after one knows what represents the corresponding invertibility conditions. The isomorphism in (24.3) can be written down informally, but a computational account should explain why its maps exist and which equations they satisfy. Finally, even perfect overlap data do not by themselves produce the union .
The finite-cover rhythm here follows the constructive scheme architecture developed by Zeuner: global schemes are recognized through finite affine covers, and open or functorial presentations are compared only by an explicit theorem. The present chapter borrows that rhythm and its careful separation of presentation from comparison. Its projective-line and Laurent constructions are not taken from Zeuner's thesis, and no part of Zeuner's qcqs comparison theorem is claimed below.
Status of (24.1)--(24.3). These are the standard mathematical model for the chapter. The checked artifact has no closed term denoting , no general
Proj, and no polynomial or Laurent expression syntax whose normal forms are the displayed rings. Its owners instead work with rings, structured maps, and their universal properties directly.
24.2 Laurent Maps Without Fractions
Begin with two supplied one-variable polynomial algebras over . Write them conventionally as and , although what is retained formally is a base map, a distinguished variable, and the universal property of a one-variable polynomial algebra. Select a localization of each algebra at its distinguished variable:
The element is a unit in . Its chosen inverse therefore defines a valuation of the one-variable family in . Polynomial universality selects the unique structured map
with the prescribed action on . The image of is again a unit. The localization universal property now extends (24.5) to a whole ring map
Reversing the two polynomial and localization presentations constructs . Nothing in this construction parses a Laurent polynomial, reduces a fraction, or chooses representatives. The inverse coordinate is selected as an element of the target ring; polynomial universality constructs the first map; localization universality constructs the extension. The factor triangle records, for every element of , that the extension after agrees with .
This order matters. If one began with a formula on fractions, one would still have to prove that it respects the localization relation and the ring operations. The universal property performs exactly that proof while also choosing the map. The formula is not discarded; it appears as the named coordinate equation (24.5), now attached to a whole structured map.
Theorem 24.1 (canonical Laurent transition). For two supplied one-variable polynomial algebras over and supplied localizations at their coordinates, there is a canonical whole map from the first localization to the second sending the first coordinate to the inverse of the second. Reversing the inputs gives the opposite orientation, and each map carries its whole localization-factor agreement.
Formal status — checked. Evidence
LAURENT-TRANSITIONS-BY-UNIVERSALITY. The construction is transparent and rule-free. It supplies neither a global projective object nor a theorem that the two maps in (24.6) are inverse for arbitrary polynomial and localization presentations.
24.3 One Overlap Ring, Not Two Isomorphic Copies
The generic construction still has two target rings, and . A global scheme supplies something stronger. Let and be its selected charts, let be their selected actual intersection, and evaluate the single global structure presheaf:
Contravariance gives the two inherited restrictions
Suppose now that and are supplied as one-variable polynomial algebras over the same base ring , with coordinates and , and that the literal maps and are supplied as their localizations at those coordinates. The Laurent construction no longer produces maps between two disconnected candidates for the overlap. Both of its endpoints reduce to the exact ring . It constructs two endomorphisms
each expressing one coordinate in terms of the inverse of the other.
The final comparison is deliberately assumption-explicit. A Laurent overlap presentation retains whole paths
The maps in (24.9) are constructed; the paths in (24.10) are supplied. This is the exact honest boundary. Polynomial and localization universality tell us how to extend prescribed coordinate values, but arbitrary supplied presentations of two maps into one ring need not automatically assert that the resulting endomorphisms are its identity. Retaining the whole paths says that these two coordinate descriptions really are the two Laurent views of the same inherited ring.
Theorem 24.2 (literal common-overlap coordinates). Two literal maps into one ring, each presented as a one-variable polynomial chart followed by localization at its coordinate, determine canonical coordinate-inversion endomorphisms of that ring. A supplied Laurent overlap presentation identifies both endomorphisms wholly with its identity.
Formal status — checked and assumption-explicit. Evidence
LAURENT-COMMON-OVERLAP. The identity paths are whole paths of structured maps, not elementwise equations gathered into an external compatibility square. No claim is made that every pair of localization presentations admits those paths.
24.4 The Sieve Beneath The Principal Region
The notation in (24.2) is best read through the principle developed in Chapters 18 and 22. Before it is an open, invertibility is an ordinary sieve. On the chart , the sieve asks of a probe whether the restricted coordinate is a unit. It is defined whether or not the site possesses a chosen open object representing that question.
Localization is the algebraic representation theorem. A map out of is the same data as a map out of for which becomes invertible. Thus the selected restriction , when supplied as localization at , gives the overlap ring the universal property expected of the region . The second restriction gives the same actual ring the universal property expected of .
This is the projective-line instance of the sieve-first insight:
The first arrow is definitional; the second is a theorem or supplied presentation. In the present package, the actual geometric intersection is already selected, and its two ring restrictions are presented as the relevant localizations. The Laurent identities then say that the two coordinate answers agree on that one region.
There is a useful restraint here. The package does not prove a general site-level equality between every selected chart intersection and an abstract sieve classifier. It connects the actual overlap to the principal-open story at the literal coordinate-ring and restriction-map endpoints. Chapter 22's pointwise representability theorem explains why those localization endpoints have the intended invertibility meaning. A whole comparison between arbitrary site presentations would be additional geometry.
24.5 Laurent Coordinates On The Actual Scheme Overlap
Return to a binary site-relative scheme . Its global object and structure presheaf are already retained once. Its two chart realizations are already affine. After a selected product in the slice supplies the actual intersection , the ring and both maps (24.8) are derived by evaluating that single presheaf. The Laurent adapter adds only a common base ring and a coordinate presentation of those exact endpoints:
The dependency in (24.12) is the point. One cannot quietly substitute an isomorphic overlap ring, replace a restriction map, or attach the coordinates to a different pair of charts. The types refer to the rings and maps already computed from and . Conversely, the adapter does not pretend to discover a common base ring or polynomial structures automatically. Those are the mathematical coordinate data being supplied.
Theorem 24.3 (actual-overlap Laurent adapter). Given a supplied binary site-relative scheme and its selected actual chart intersection, a common base ring and Laurent coordinate presentation can be attached directly to the literal chart rings, overlap ring, and inherited restriction maps, without duplicating any of those global owners.
Formal status — checked. Evidence
ACTUAL-SCHEME-LAURENT-OVERLAP. This is a thin dependent adapter. It does not add a transition or cocycle field to the general scheme presentation, construct the overlap, infer Laurent coordinates from arbitrary charts, or glue a global scheme from them.
24.6 The Supplied Projective-Line Total
All the pieces can now be named as one object. For an ambient category , define the supplied projective-line presentation by the dependent total
The first component is the already-global site-relative scheme of Chapter 23. It owns the ringed object, local-ring certificate, covering sieve, two constructively generating charts, and their whole affine realizations. The second component selects their actual intersection. The third says that the two actual structure-ring restrictions present one-variable polynomial charts over a common base and satisfy the Laurent identities on the shared ring.
Nothing else is required because nothing else is free-floating. The overlap projections belong to the selected product. The ring restrictions belong to the structure presheaf. Their functoriality belongs to that presheaf as well. The coordinate-transition maps are constructed by the universal properties in Section 24.2. The identity comparisons are retained by the Laurent package. Adding another transition map or cocycle field would create a second account of data that the global object already owns.
Theorem 24.4 (supplied projective-line capability). From an element of (24.13), the global scheme, actual overlap, common base ring, and exact Laurent package are recovered by projection. Its coordinate-inversion endomorphisms are the internally constructed maps of Theorem 24.2 and carry the supplied whole identity paths.
Formal status — checked. Evidence
SUPPLIED-P1. The total and its observations compute by dependent-pair projection, feeding directly into the global-section, non-affineness, and twisting-sheaf Čech cohomology theorems of Section 24.7 below.
Read from top to bottom, every arrow in (24.14) has a different logical force. The first passage uses a selected limit in the slice. The second adds algebraic presentations to maps already inherited from the global object. The third constructs transition maps and retains their whole comparison with identity.
24.7 Global Sections, Non-Affineness, And Twisting Cohomology Of
Over the two-chart Laurent gluing presentation , endash (Algebra.Geometry) carries the calculation all the way to global invariants and constructive scheme separation with 0 axioms:
- Global Sections (): A pair of polynomials agreeing in under must vanish in all positive degrees of and , forcing both to equal the same constant in (
Geometry.P1GlobalSections,Geometry.p1_global_sections_equiv_base). - Constructive Non-Affineness (): Over , has two elements whereas is infinite (
Geometry.affine_line_f2_not_equiv_base), proving constructively with0axioms that the projective line is not isomorphic to the affine line (Geometry.p1_not_affine_line_f2)! - LCF-Certified Twisting-Sheaf Čech Cohomology : Transition multiplication by defines the two-chart Čech differential (with varying-ring ), and
by cas_cechcertifies the exact Smith Normal Form ranks for over both and (Geometry.P1_Om2_D_F2,Geometry.P1_O0_D_F2,Geometry.P1_O2_D_F2,Geometry.P1_Om2_D_Q), verifying Serre duality and Riemann–Roch inside the kernel!
Formal status — checked. Evidence
P1-GLOBAL-NONAFFINE-COHOMOLOGY.Geometry.p1_global_sections_equiv_base,Geometry.p1_not_affine_line_f2, and the LCF-certified twisting-sheaf Čech cohomology witnessesGeometry.P1_Om2_D_F2,Geometry.P1_O0_D_F2,Geometry.P1_O2_D_F2, andGeometry.P1_Om2_D_Qare verified with0axioms.
24.8 Graded Proj And Higher Projective Space
With global sections, non-affineness, and twisting cohomology of established on the two-chart Laurent presentation, the remaining geometric extension is the general graded Proj construction:
For each homogeneous coordinate , homogeneous localization followed by the degree-zero functor recovers the standard affine charts
whose pairwise intersections invert . Packaging arbitrary graded commutative rings, homogeneous localization, irrelevant-ideal covers, and atlas-first qcqs gluing for all remains a clean next layer built atop the checked theory above.
Formal status — mathematical development and research boundary. While , non-affineness over , and twisting Čech cohomology are checked in
Algebra.Geometry, general gradedProjand for arbitrary remain future algebraic-geometry extensions.
24.9 The Boundary Is Part Of The Mathematics
The achievement of this chapter is not that a familiar object has been renamed as a dependent record. It is that the local coordinate calculation takes place on the actual inherited overlap of one global structure presheaf. The two restriction maps are not copied. The Laurent transitions are not postulated as unstructured functions. The equation is realized by polynomial and localization universality and compared wholly on one literal ring.
At the same time, existence remains visible. The global object, its cover, its affine realizations, the selected intersection, and the Laurent identity paths are supplied at the points where the current theory needs them. This prevents a computational presentation from being mistaken for an atlas-effectivity theorem. It also turns future work into a precise mathematical program: build the missing global object, then discharge the assumptions of the existing consumer.
The larger methodological lesson reaches beyond projective geometry. Actual presheaves, sieves, sites, rings, and categorical limits can be computationally internal because they live inside a functorial type theory whose equations are checked by an outer logical framework. One need not replace them with an abstract modal object language in order to compute. But internal computation does not abolish mathematical hypotheses. It makes their location observable.
The third spiral of the book therefore ends where a good construction should end: not with a vague promise that gluing will work, and not with a denial that gluing matters, but with a coordinate theorem on an honest overlap and a clear account of the global theorem still owed.
The fourth spiral changes direction without abandoning that discipline. It returns to the book's first contrast—reversible paths and noninvertible arrows—and asks what computation survives when directed structure is viewed groupoidally, freely inverted, and then placed back inside a genuinely lax higher-categorical comparison. The next chapter begins with the smallest bridge: paths in a product and transport through their two coordinates.
25. Paths And The Groupoidal Shadow
A directed arrow remembers which way it points. An equality path may also be followed, but it can be reversed. Functorial type theory keeps these two forms of motion in one language without identifying them. This is important both mathematically and computationally. Directed categories are needed for maps that need not be invertible: inclusions, restriction maps, substitutions, and the morphisms of algebra and geometry. Paths are needed for identity, transport, and homotopy. If every arrow were silently turned into a path, the directed theory would disappear. If paths could not enter the categorical calculus, the homotopical theory would become a detached second foundation.
The bridge is the path category. For a groupoidal classifier , the category has elements of as objects and equality evidence as arrows:
Reflexivity is the identity arrow. Categorical composition has the same mathematical effect as path concatenation, with a proved comparison between the two presentations. Every arrow in is invertible because every path has a reverse. Thus equality can be observed through the same object, hom, functor, transformation, and higher-action interfaces used by the directed theory.
This chapter develops three consequences of that bridge. First, paths in a product split into their two coordinate paths and can be reconstructed from them. Second, dependent transport over a product can be performed directly or one coordinate at a time, and the resulting routes form a coherent diamond. Third, a generic directed laxity cell becomes invertible when it is realized in a path category. The point is not to add parallel copies of products, transport, or functoriality for the groupoidal world. It is to show how one iterable categorical calculus changes character when its homs are paths.
25.1 Equality In Categorical Form
Let be an ordinary function between groupoidal classifiers. Its action on equality is familiar:
In the categorical presentation, (25.2) is the arrow action of a whole functor
The adjective whole matters. Equation (25.3) is not merely a function on objects together with a separately stated congruence lemma. It is the first action of an internal path-category construction. Equality between functions therefore has a next action, equality between those equalities has another, and the same mechanism remains available at every represented hom level. Functoriality is not reconstructed from a finite record each time the dimension rises.
This is the groupoidal shadow of ordinary function action. It should not be confused with the groupoidification of a directed category. The path category begins with a type-like classifier and exposes its existing equalities as arrows. Groupoidification, studied in Chapter 27, begins with directed arrows and freely realizes them as paths. The first construction reveals identity already present; the second imposes invertibility on motion that was not initially invertible.
The path category also gives a common surface for equality induction and categorical induction. Fix . The objects of the outgoing-path category are pairs with . Its distinguished object is initial in the groupoidal sense: a family over outgoing paths is determined by what it does there, and its value at is obtained by transport along . In the directed presentation this is the PathOut principle of Chapter 5. In the equality presentation it is the usual eliminator . They are two views of one operation, not competing eliminators.
The computational boundary is precise. Primitive right-based computes at reflexivity. Structured categorical transport and structured PathOut induction are transparent presentations of the same movement, and there are paths comparing each with primitive . Those comparisons are mathematical equalities; the book does not promote all three surface expressions to one runtime normal form. This separation lets conversion remain controlled while still proving that the categorical and groupoidal readings agree.
25.2 A Product Path Has Two Coordinates
Consider two groupoidal classifiers and . There are two evident ways to form a category of paths of pairs:
Their objects are the same pairs. Their category heads, however, are not declared definitionally equal. The comparison is instead carried by a canonical functor
which is judgmentally the identity on objects. For and , its action on homs reads
The forward map splits a path of pairs by projecting it to the two coordinates. Conversely, a pair
can be joined to a path
The construction of (25.8) uses the stable path view of a dependent pair. A path in a sigma type consists of a base path together with a path over it in the fibre. For an ordinary product the fibre is constant, so the second component of (25.7) is converted into the required path-over and the two pieces are assembled. Splitting after joining and joining after splitting are both propositionally the identity. Hence, for every pair of endpoints, (25.6) is a type equivalence:
Formal status — checked. Theorem 25.1 (product-path closure). Evidence
GROUPOIDAL-PRODUCT-CLOSURE. The canonical comparison (25.5) is judgmentally identity on objects, and its actual action on every hom has an explicit split/join equivalence. The theorem does not add a category-head rewrite between the two categories in (25.4), nor does it postulate a whole inverse functor or a complete equivalence of categories.
The restraint in the final sentence is useful. The mathematical content needed by later transport arguments is already present: a product path may be read componentwise and component paths may be assembled. Turning that fact into a new definitional equality of large category expressions would choose a global normal form and create interactions with every consumer of products and paths. Homwise equivalence records the invariant without forcing such a choice.
This example illustrates what groupoidal closure means in the present development. It is not the assertion that every categorical former preserves path structure. It is a checked comparison for a selected former—in this case, products—showing how the path realization is recovered from the component realizations. Other formers require their own comparison or a later general closure theorem.
25.3 Three Routes Through Dependent Transport
The split/join theorem becomes more informative when the codomain depends on the pair. Let
be a groupoidal family, let and , and take . Joining and gives the simultaneous path (25.8), so primitive equality transport gives a direct route
There are also two broken-line routes through the square of indices. The base-first route moves from to along , then from to along . The fibre-first route changes the -coordinate before the -coordinate:
All three expressions have the same endpoint, but they are not selected as one judgmental normal form. Equality induction on and instead proves two comparisons
At reflexivity, direct transport and both sequential routes reduce to the original . The general comparisons are then generated by the same principle. Reversing the first path in (25.13) and following the second gives the coherence edge between the broken-line routes:
Equations (25.11)–(25.14) form the transport diamond
where the lower edge is induced by the two displayed comparisons. The diamond answers the ordering question raised by product transport. There is no need to declare that transport is first--then-, nor that it is first--then-. Direct transport is the neutral centre. Both sequential calculations are valid, and their agreement is retained as data that can itself be transported or acted upon at a higher level.
Nothing Gray-like is required for this theorem. Gray interchange concerns directed two-dimensional composition when comparison cells need not be invertible. Here the base arrows are equality paths and the two routes are compared by equality induction. Chapter 28 will return to the directed interchanger after the groupoidal examples have made this distinction visible.
Formal status — checked. Theorem 25.2 (the product-transport diamond). Evidence
GROUPOIDAL-PRODUCT-TRANSPORT. Transport along the joined product path agrees with both coordinate orders, and the comparisons compose to the coherent lower edge (25.14). The construction uses primitive right-based equality induction; it introduces no product-specific transport axiom and no second eliminator.
25.4 One Transport, Three Presentations
The family in (25.10) can also be presented categorically. Apply the path category to every fibre and use path action to obtain a displayed category over . A path in the base then acts on a fibre object by displayed functorial transport. In symbols, the three readings are
The second line sees as an arrow of the path category. The third sees as an object of the outgoing-path category based at . These descriptions organize transport differently, but both compare to the first:
Thus the displayed and PathOut interfaces are not alternative axioms for transport. They are categorical structures whose computation is justified by the primitive equality eliminator. Conversely, (25.17) shows that is not stranded in a purely syntactic equality layer. It can be used through the same displayed-action and section interfaces that support directed dependent type theory.
There is a deliberate difference between computes and agrees. Primitive computes judgmentally on reflexivity. The two structured expressions in (25.16) agree propositionally with it, including at the reflexive case; they are not installed as additional runtime reductions. This is enough to move between representations in a proof while avoiding three rival normal forms for the same operation.
The result is a useful design test. A computational homotopy layer need not duplicate a primitive eliminator for every categorical presentation of a family. It can keep one , expose structure through functorial interfaces, and prove that the interfaces return to the same transport. The product diamond then becomes a substantive consumer of the arrangement rather than a second definition of it.
25.5 When Directed Laxity Becomes Pseudo
We can now return to the whole path action (25.3). In the directed calculus, a functor carries a compositor comparing two ways of acting on composable arrows. For and , specialize that generic compositor to . Its source and target have the familiar readings
where denotes path concatenation in diagrammatic order. Formally, the kernel retains represented postcomposition expressions as the compositor's runtime endpoints. Separate paths compare those endpoints with the readable /concatenation expressions in (25.18). The presentation is therefore recognizable without selecting the notation of (25.18) as a second normal form.
A general transformation naturality cell in a directed codomain need not have an inverse. The compositor of a public functor is a strict special case. For the path-functor instance considered here, its codomain is
A cell between the two arrows in (25.18) is consequently an equality between paths. Path symmetry supplies its inverse. No inverse field is postulated and no second pseudofunctor hierarchy is introduced. The path-valued reading remains valid even though the current functor laws already make the native compositor strict. The endpoint comparison with path concatenation is still a separately stated mathematical equality.
This gives a simple three-way interpretation of the same internal action:
The distinction is between the type of a cell and the computation of the particular owner that produced it. Path symmetry explains invertibility in a path target; the public functor laws explain the stricter compositor value. Neither fact forces a general transformation's post/left cell to be an identity. Chapter 28 uses that retained laxity for the Gray interchanger.
The compositor is retained before it is capped at the particular path . At that whole level it is a transformation, functorial in the first path. Taking its next hom action yields a functor from paths between paths to paths between the corresponding compositor endpoints. Thus the construction has not discarded higher input merely to prove pointwise invertibility. It preserves one explicit next stage of the same internal action, and the generic action can be iterated further.
Formal status — checked. Theorem 25.3 (path-realized pseudo-laxity). Evidence
PATH-PSEUDO-LAXITY. The generic compositor of decodes to an equality between paths; symmetry gives its inverse; its formal endpoints compare propositionally with the two expressions in (25.18); and its whole form retains one next hom action. No new rewrite or unification rule, pseudofunctor classifier, inverse record, or complete weak -groupoid theorem is claimed.
Theorem 25.3 is small but conceptually decisive. It shows that the directed and groupoidal layers do not need unrelated accounts of coherence. A witness generated by the directed internal-action machinery can be read as a path when the target says that its arrows are equalities. Invertibility then comes from the target's geometry. The change from lax to pseudo is semantic in the best computational sense: it is witnessed by the actual type of the cell.
25.6 Closure, Truncation, And Free Inversion
Three nearby operations can now be separated cleanly.
Groupoidal closure starts with groupoidal data and asks whether a former preserves it. Theorem 25.1 answers this for the selected product comparison, hom by hom. Truncation starts with a groupoidal classifier and reflects it to a prescribed homotopy level. The active tower and its eliminators were introduced in Chapter 7; Chapter 26 will use the -truncated Integer line when calculating the loop space of the Circle. Groupoidification starts with a directed category and freely makes its arrows invertible, together with the coherence required by composition. That is neither path exposure nor truncation, and it will occupy Chapter 27.
The boundaries of this chapter are just as important as its theorems. The product comparison is identity on objects and an equivalence on each hom, but is not promoted to a whole category equivalence. The transport comparisons are propositional rather than competing conversion rules. The path-valued compositor retains higher action, but does not by itself establish a complete weak -groupoid semantics or a global normalization theorem. These are not missing qualifications attached after the mathematics; they locate the exact reusable interface that has been checked.
These distinctions suggest a useful discipline for working between the two layers. When equality-local data should participate in directed machinery, place it in a path category and preserve the whole categorical action for as long as possible. Do not cap immediately at objects or arrows if a later argument may need the next hom action. When a former such as a product has both a groupoidal and a categorical presentation, compare the actual object and hom actions before considering a new equality of classifier heads. And when a directed comparison lands in a path-valued hom, obtain invertibility from path reversal rather than copying the comparison into an unrelated pseudo structure.
The common theme is that coherence should be observed where it lives. Product paths live homwise, so their split/join theorem is homwise. Dependent transport lives in a fibre, so its order comparison is an equality in that fibre. The functor compositor lives one dimension above arrows, so its path-valued realization is an equality between paths and retains a next action. None of these facts is improved by flattening it prematurely into an external collection of equations. Keeping the owner whole makes both the computation and its possible iteration visible.
This is also why the word shadow does not mean approximation. The path category forgets none of the equality evidence it exposes. Rather, it changes the angle from which that evidence is viewed: a path becomes an arrow, a path-over becomes displayed action, and higher equality becomes higher categorical action. What remains outside the shadow is genuinely directed information—arrows that were never equalities in the first place. Free inversion will act on precisely that remainder.
The next chapter gives that interface its first geometric test. The Circle is generated by one point and one reversible loop. Mapping it into a type should therefore amount to choosing a point of and a loop at that point. When is the universe of sets and the loop acts by successor, repeated transport records winding number. The result is the Integer line—not because the Circle was declared to be arithmetic, but because groupoidal motion can be followed forward and backward.
26. The Circle And The Integer Line
The walking endomorphism of Chapter 8 has one point and one directed generator. Every based arrow is a finite forward composite, so its arithmetic is the arithmetic of natural numbers. The Circle also has one point and one generator, but its generator is an equality path. It can be followed in either direction. Forward powers are joined by powers of the inverse, and the corresponding arithmetic becomes the integer line.
This resemblance is exact enough to be useful and dangerous enough to demand care. The Circle is not obtained by replacing the natural-number answer in the WalkingEnd theorem with integers. Its loop is intrinsically groupoidal; its eliminator must act on dependent paths; and the inverse generator is derived from path reversal rather than postulated as another arrow. The integer answer is then calculated by a universal-cover encode–decode argument. Only in Chapter 27 will the relationship with the directed walking endomorphism be promoted to a universal free-inversion theorem.
The calculation has four layers. First, successor on natural numbers is localized to an invertible shift, producing an internal Integer classifier. Second, the Circle is given its point, loop, and dependent computation. Third, univalence turns integer successor into the monodromy of a family over the Circle; transport in this family records winding number. Finally, integer-indexed loop powers decode winding numbers back to paths. The two directions are inverse not only at the base point but fibrewise over every endpoint of the Circle.
26.1 Integers By Inverting Successor
The Integer classifier is not introduced as a new datatype with positive and negative constructors. It is obtained from the sequential telescope
by the set-truncated telescope-localization construction of Chapter 7. Write
A representative at stage with value will be denoted and has the intended reading . The telescope constructor identifies the diagonal step
Thus represents zero, represents the nonnegative integer , and represents negative one. No subtraction operation is needed to define the carrier. The notation explains the invariant respected by (26.3); the formal object is the localized telescope itself.
This presentation separates arithmetic content from notation. A signed datatype would choose, at the outset, between a nonnegative and a negative constructor and would then require normalization at their boundary. The telescope instead records a history: applications of the inverse shift and a current natural value . The diagonal equality (26.3) performs the cancellation that signed notation normally hides. A later theorem may choose canonical representatives, but the Circle proof does not depend on that choice.
The construction also isolates exactly what “integer” means at this stage. The proof needs a set with a distinguished zero and an invertible successor, together with an eliminator that respects the localization equation. It does not need addition, multiplication, order, or the universal property of the group completion of the natural-number monoid. Those structures may be built later from the same carrier. Declining to presuppose them makes the eventual loop calculation more informative: integer behaviour is forced by reversible successor, not smuggled in through a ready-made ring.
The forward telescope action descends to integer successor. Shifting the stage supplies its inverse, predecessor:
Consequently successor is retained as a type equivalence. Univalence turns that equivalence into a path
and transport along (26.5) agrees with the actual successor function. This is the path that will drive the universal cover.
The telescope is set-truncated by construction. Its dependent eliminator is therefore restricted to set-valued motives. To define a section over all integers, it is enough to define it on every stage representative , give a dependent path over (26.3), and show that each target fibre is a set. This restriction is not an inconvenience hidden by notation: it will match exactly the one-dimensional boundary of the Circle loop space used by the decoder.
Formal status — checked. Evidence
INTEGER-LOCALIZATION-LINE. The Integer carrier is a transparent facade over the successor telescope; successor and predecessor have explicit inverse paths; successor is a retained equivalence and universe path; and set-targeted elimination computes on stage representatives. No addition, signed normal-form equivalence, ordered-ring structure, or universal additive-group-completion theorem is claimed here.
26.2 A Circle That Computes On Its Loop
The groupoidal Circle is generated by
Its inverse loop is simply , obtained by equality symmetry. It is not a second constructor. The signature also states its selected one-dimensional boundary: every path type of the Circle is a set. This evidence is later checked from another direction when the based loop space is computed to be the set-valued Integer classifier.
The dependent eliminator has the usual geometric form. Given a family , an element , and a dependent path
it produces a section
The section computes judgmentally at the point constructor. More significantly, its canonical dependent action computes judgmentally at the path constructor:
The second rule retains the full path-over type in (26.7); it does not erase the transport of endpoints. It is also narrowly owned by the Circle eliminator and generating loop. An arbitrary dependent function on the Circle does not acquire this reduction merely because it is evaluated on .
Ordinary recursion is the constant-family case of (26.8). For a point and loop , it gives a function
Its dependent action inherits the second reduction in (26.9), represented as the constant-family path-over built from . The familiar ordinary equation
is derived propositionally. It is not a second runtime rule. This distinction is easy to miss on paper because (26.9) and (26.11) express the same mathematical computation. In the formal calculus they are different observers: apd sees the primitive dependent constructor action, while ordinary ap is reconstructed through constant-family transport.
Dependent computation is the stronger statement. In (26.7), the endpoint is transported around the nontrivial base loop before it is compared with itself. The path-over remembers that movement even when the family is not constant. Ordinary ap sees only the constant-family shadow after the transport has been converted back into a path of . If one installed only (26.11), the universal-cover decoder would still need a separate principle to control the function family in (26.20). Rule (26.9) supplies that control at the actual higher-constructor owner.
This is the first HIT in the book whose higher constructor has a selected judgmental dependent beta. The lesson is not that every appealing higher equation should become a rewrite. The safe unit of computation is the action of the eliminator on its own constructor, with its full dependent type retained. Readable constant-family equations may remain propositional when a second reduction would duplicate normal forms or disturb unrelated equality proofs.
Formal status — checked. Evidence
CIRCLE-HIT-COMPUTATION. Point beta and dependent loop beta are runtime computations at their stable owners; the named dependent beta is reflexivity after reduction. Constant-family recursion inherits the dependent computation. Its ordinaryapequation remains a checked propositional path, and unrelated sections do not collapse to the supplied loop datum.
Attribution and adaptation boundary. The Circle signature and the universal-cover rhythm below structurally adapt the HoTT Book, Sections 6.2 and 8.1. The present account uses the active emdash dependent computation boundary, successor-localized Integer rather than the Book's signed/quotient presentation, and whole categorical realizations. It does not import the HoTT Book's flattening proof or silently claim all of its later homotopy-group consequences.
26.3 The Universal Cover As Monodromy
The classical universal cover of the circle may be pictured as a helix over a circle. Following the positive loop raises the lift by one level; following the negative loop lowers it. Type theory replaces the helix by a family whose fibres are integers and whose monodromy is successor.
Equation (26.5) supplies exactly the loop in the universe needed by Circle recursion. Define
by
The loop equation in (26.13) is the ordinary ap observation of Circle recursion and is therefore propositional, consistently with (26.11). Transport along it nevertheless has the intended computational content:
Univalence is essential here. Successor is not the identity function on integers, so an ordinary reflexive universe path could not encode the desired monodromy. The equivalence-to-path direction of univalence turns the actual self-equivalence into a loop of classifiers, and its transport comparison returns the underlying successor map.
For any endpoint , a path can now be lifted into the code family. Start at integer zero and transport it along :
Encoding reflexivity computes to zero. Encoding the generating loop is propositionally successor of zero. More generally, concatenating a positive loop applies successor and concatenating an inverse loop applies predecessor. The encoder is therefore the winding-number observer: it converts abstract groupoidal motion into a point of the localized integer line.
The calculation can be followed compositionally. If a based path first follows and then follows , transport in the code family first lifts zero along and then acts along . Each occurrence of contributes successor, and each occurrence of contributes predecessor. Adjacent inverse pairs cancel through (26.4). Thus a composite such as
is observed as two. This example is intuition rather than a claim that every path arrives as a parsed word. The encode map works on arbitrary equality evidence; the word picture explains its behaviour on paths constructed from the generator and its inverse.
The family point of view also explains the name cover. Over each Circle point there is an Integer fibre, and travelling once around the base permutes that fibre by successor. What is constructed here is the type-theoretic family and its monodromy. No topological space of real numbers, local triviality atlas, or external covering-space apparatus is assumed.
It is tempting to stop at the base fibre and define only
That specialization is the desired forward map, but it is too narrow for the hard inverse proof. Path induction cannot directly simplify an arbitrary loop whose two endpoints have both been fixed at the base. The crucial move, as in the HoTT encode–decode method, is to retain the endpoint and work fibrewise with (26.15).
26.4 Decoding Integer Powers
At the base point, decoding should send an integer to the corresponding power of the generating loop. Natural powers are obtained by repeatedly appending ; inverse powers repeatedly append :
The telescope presentation asks for a slightly subtler definition. A stage representative should decode to the loop power corresponding to . Rather than first choosing a signed normal form, the construction recurses simultaneously on and . Along the diagonal it cancels one positive and one negative step, so that
The coherence required by the telescope relation (26.3) is therefore literal reflexivity. Integer elimination then gives the based decoder
with the expected computations at zero, nonnegative representatives, and negative one. The required target is a set because the Circle signature says that its path types are sets. This is the exact point where the truncation level of the telescope eliminator and the dimension of the Circle meet.
The three boundary cases make the construction concrete. At stage zero, decodes to the th positive power. At value zero, decodes to the th inverse power. When both indices are successors, the definition removes one loop and one inverse loop simultaneously and returns to the preceding stage. These are computations of the representative-level decoder, not a post hoc proof that two separately normalized signed expressions happen to agree.
The decoder must now be generalized over the endpoint, just as the encoder was. Consider the family
At the base, the desired inhabitant is (26.19). To apply Circle induction one must show that this function returns to itself over . Transport in the domain of (26.20) uses predecessor, transport in the codomain appends the loop, and the required comparison is therefore the cancellation law
Positive and negative cases are proved from path composition, reversal, and inverse cancellation. The resulting dependent loop datum feeds the Circle eliminator and produces
for every . This is the step that turns the obvious based loop-power function into a morphism of the entire path fibration and code family.
Endpoint generalization is therefore not merely a clever way around a weak induction tactic. It states the invariant at its natural level. The encoder and decoder are maps between two families over the Circle: the outgoing-path family and the code family . The loop coherence for (26.22) says that decode commutes with their monodromies. Once the whole family map exists, the based loop function is obtained by ordinary specialization rather than by fixing endpoints before the structure has been built.
26.5 The Two Round Trips
The composite from paths to codes and back is now the easy direction. For , ordinary endpoint path induction reduces to reflexivity. Encoding reflexivity is zero and decoding zero is reflexivity, so
The reverse composite begins at the base. One proves by natural and telescope induction that positive loop powers encode to , inverse powers encode to , and the general simultaneous power encodes to its own representative . Integer induction then gives
To extend (26.24) from the base fibre to every , observe that every is a set. At the base this is the sethood of Integer; the statement that a fibre is a set is itself propositional, so Circle induction propagates it around the generating loop without a new choice of coherence. The desired equality is likewise proposition-valued. A second Circle induction therefore yields
for all endpoints and all codes.
Equations (26.23) and (26.25) package an endpoint-dependent family of equivalences. At the base point it gives the central calculation
Now form the categorical realization . Its based hom carrier is definitionally the same loop space, so there is also
This is the precise meaning of the shorthand “.” It concerns the based endomorphism carrier of the path category, not the type of all self-maps of the Circle.
The result is retained at three levels. Equation (26.26) is an intrinsic type equivalence. Equation (26.27) reads the same carrier as a categorical hom. Applying the whole path-category action to the selected encoder gives a categorical equivalence
whose forward functor acts by the encoder and retains higher equality action. Neither category head is rewritten to the other. The selected one-dimensional Circle evidence and the equivalence with the set also give two independent proofs that the based hom is a set.
The distinction among these three packages prevents an easy overstatement. A TypeEquiv is enough to transport properties of the carrier and to select the encode/decode functions. The categorical hom reading says where that carrier occurs in the directed language. The whole categorical equivalence adds action on equalities between loops and on their iterated equalities. None of them, by itself, is a judgmental identification of the two category expressions, and none yet says that the equivalence preserves a separately packaged group operation. Each level answers a different downstream question without forcing the strongest possible interface on every reader.
Formal status — checked. Theorem 26.1 (the Circle loop space). Evidence
CIRCLE-LOOP-INTEGER. Endpoint-dependent encode and decode are inverse. Their based specializations form an explicitTypeEquivbetween the intrinsic loop space and successor-localized Integer; the categorical hom has the same carrier; and a separate whole equality-valued categorical equivalence is retained. No category-head rewrite or group-structure preservation theorem is included in this result.
26.6 Monodromy Beyond Successor
The universal cover is one instance of a general construction. Let be a groupoidal classifier and let be a self-equivalence. Univalence turns into a universe path, and Circle recursion constructs a family
Transport around the actual loop agrees with the forward map of . Taking and recovers the code family above. Taking another automorphism produces another local system on the same Circle without changing the HIT.
There is also a directed shadow. Restrict the family along the canonical map from the walking endomorphism to the Circle. The resulting directed representation remembers at its point and the univalence path of at its forward generator. The checked restriction–extension comparison recovers that whole representation, rather than only its two displayed components. Chapter 27 will explain the universal mapping theorem that makes this restriction canonical; here it serves as a geometric consumer of monodromy.
Formal status — checked. Evidence
CIRCLE-MONODROMY. A selected self-equivalence determines a Circle-indexed groupoid family; its base and loop observations have the expected values; transport around the loop agrees with the equivalence's forward map; and whole restriction recovers the corresponding WalkingEnd representation. The result is a consumer of the concrete WalkingEnd–Circle universality theorem, not a second primitive monodromy axiom.
26.7 Connected Without Choosing Paths
The Circle has one point constructor, so one expects every point to be reachable from the base. A function choosing an actual path for every would say too much: it would contract the Circle and destroy its nontrivial loop space. The correct statement is mere connectedness:
At the base, reflexivity supplies the truncated witness. Every fibre in (26.30) is a proposition, so there is a unique dependent path over the generating loop. Circle induction then constructs the section without ever choosing an untruncated global path.
This statement has a concrete truncation consequence. Let be the classified set truncation and take the image of as centre. Mere connectedness can be eliminated into equality inside this set, because its path types have the required truncation level. First one obtains a path from the centre to the image of every Circle point; set-truncation induction then extends it to every point of the truncation:
Contractibility is retained as evidence. The carrier of the set truncation is not judgmentally replaced by Unit. This preserves the distinction between a universal construction characterized by elimination and a convenient chosen normal form.
Connectedness and the loop calculation complement rather than contradict one another. Equation (26.30) says that the Circle has only one component after paths are merely inhabited; equation (26.26) says that the ways of returning to the base retain an entire Integer classifier. Set truncation forgets those different return paths while preserving the component, which is why it is contractible even though the Circle itself is not. The proof performs that forgetting through the truncation eliminator instead of declaring the loops irrelevant in the original type.
Formal status — checked. Evidence
CIRCLE-CONNECTED-TRUNCATION. The propositional truncation of each based path fibre gives mere connectedness, and restricted truncation elimination proves the set truncation contractible. The result selects no global untruncated path and adds no rewrite from the set-truncated Circle to Unit.
26.8 From Counting To Free Inversion
We can now place the two arithmetic calculations side by side:
The change from to Integer is not an analogy imposed after the proof. It is the effect of reversibility inside the proof. Positive composites of the directed generator remain distinct natural powers because no inverse exists. Positive and negative powers of the Circle loop cancel because path symmetry supplies an inverse. The telescope relation makes the same cancellation computational on integer representatives.
The canonical map from the walking endomorphism sees only the upper half of this arithmetic. Its th directed power maps to the nonnegative integer and to the th positive Circle loop. Nothing in the directed source names or : those elements appear because the target is groupoidal. Free inversion must therefore do more than preserve the old powers. It must add the reverse motion and impose the cancellations that make it inverse, while retaining how all of this acts on higher cells.
This observation also explains why the loop-space calculation is such a good test for the universal property. If restriction from the Circle to the walking endomorphism forgot too much, an extension could choose incompatible actions on negative powers. If it imposed too much, ordinary directed representations whose generator lands in a groupoidal target might fail to extend. The correct theorem says that the image of the one directed generator already determines the whole reversible action: its inverse and all integer powers are forced by the target's path structure. Chapter 27 establishes that claim at the level of whole mapping objects.
Several boundaries remain explicit. Integer has not yet been packaged as an additive group, so Theorem 26.1 does not separately prove that path composition corresponds to integer addition. The chapter does not provide a generic HIT declaration language, a proof that every categorical former has a groupoidal specialization, or a global normalization theorem for computational homotopy type theory. And although the Circle is connected and has a set-valued loop space, the selected results here are not advertised as a complete formal calculation of every homotopy group.
What has been obtained is enough for the next question. The walking endomorphism maps to the Circle by sending its directed generator to the generating loop. Is every map from the walking endomorphism into a groupoidal target extended uniquely, in the appropriate whole sense, across this free inversion? And can the same principle be stated for an arbitrary directed category? Chapter 27 turns the arithmetic evidence of this chapter into that universal property.
27. Free Inversion And Groupoidification
Chapter 26 calculated what happens when one directed endomorphism acquires an inverse: natural powers expand to integer powers. But a universal construction cannot be characterized by its elements alone. It must say what maps out of the realized object are, how they vary, and why their restriction remembers exactly the original directed data.
The relevant operation is groupoidification. Starting from a directed category , it produces a groupoidal classifier and a whole functor
The functor is the unit of free inversion. Its object action names represented points; its arrow action turns a directed arrow into a path; its iterated hom action carries represented higher cells; and its compositor records how images of composable arrows compare with the image of their composite.
The universal property is tested against a groupoidal target . A map restricts along (27.1) to a path-valued functor on . Conversely, any extends to a map from the groupoidification. The checked theorem says that restriction and extension are inverse at the level of whole mapping categories:
Before studying the arbitrary category , we will derive (27.2) twice for finite shapes. The walking endomorphism tests inverse powers at one point. The walking arrow tests a generator whose endpoints differ. Together they show why the general constructor must be a whole functor rather than a set of objects followed by an unrelated graph of arrows.
There are two complementary ways to recognize a free object. A constructor presentation says how its points and paths are generated and how its eliminator computes. A mapping property says that every interpretation of the generators extends, and that the extension is unique. Either view alone can hide an error. Constructors without uniqueness may admit unintended extra maps; an opaque equivalence of mapping carriers may assert the right answer without explaining how the generators compute. The constructions below keep both: point and dependent-cell beta rules on one side, whole beta/eta uniqueness on the other.
The word whole also changes the level of the claim. We are not merely counting functions in and out. The left and right sides of (27.2) are categories with homs, higher homs, and internal action. Restriction and extension act on those levels before they are packaged as an equivalence. This is what makes groupoidification reusable in later mathematics: a proof between representations is itself transported across the universal property.
27.1 The One-Point Test: WalkingEnd And Circle
There is a canonical functor
sending the unique point to and the directed generator to . Its action on the th directed power is the th positive Circle power. Following this action by the Circle encoder gives the canonical inclusion of natural numbers into the localized Integer line:
The comparison is retained not only for each but as equality of the two whole carrier functions from WalkingEnd based arrows to Integer: map through the Circle and encode, or normalize to a natural number and include it. This is the arithmetic shadow of free inversion.
Now let be any groupoidal target. Precomposition with restricts a function to a functor
Because restriction itself is a whole functor, it also acts on equalities between Circle functions and on their higher equalities. Evaluating its whole comparison at the walking point returns . Its generator observation is naturally dependent: the endpoint of the loop changes when the whole functor changes, so the comparison is a path-over whose target is .
The inverse construction reads a path-valued WalkingEnd representation . It extracts the image of the walking point and the image path of the generator, then applies Circle recursion:
The object action in (27.6) is only the first layer. The extension varies as a whole functor in . A transformation between two representations in is pointwise equality-valued, hence pointwise invertible. The whole univalence machinery turns it into a path of representations, and applying (27.6) gives the corresponding path of Circle functions. One more hom action remains available after that step.
The categorical-HIT uniqueness clauses state
as paths between whole functors. Their projections recover the expected base and generator equations, but the whole statements are stronger: they also control transformations and higher action. Thus
It is important that (27.8) holds for every groupoidal , not only for the Circle itself or for the Integer classifier used in Chapter 26. A path-valued WalkingEnd representation in consists of an object and a loop , together with the functorial action inherited from the source. Circle recursion turns exactly this pair into a function from the Circle. Conversely, evaluation at the base and action on the loop recover the pair. The whole theorem says there is no additional choice hidden at transformations or higher paths.
The one-point result also illustrates why free inversion differs from merely adding a formal inverse symbol. Once exists in , all negative powers and their cancellation laws are already determined by equality. The extension does not ask the representation to supply an independent image for every negative word. This economy is the universal content behind the arithmetic passage from natural to integer powers.
Formal status — checked. Evidence
WE-GROUP-COMPLETION. The functor (27.3) sends every directed natural power to the corresponding positive Circle power. For every groupoidal , whole restriction and whole Circle extension give the fixed-forward equivalence (27.8), with beta/eta, dependent generator projections, and retained higher action. This theorem is the free inversion of one source shape, not by itself the generic category-indexed construction.
27.2 The Two-Endpoint Test: WalkingArrow And Interval
One point can conceal an important issue: every generator in WalkingEnd is an endomorphism. A generic directed arrow has a source and target that need not coincide. The next source shape is therefore
the walking arrow. It is not an ad hoc three-field record. It is obtained from the join of two terminal categories, and its generator is a projection of the whole cross action. Consequently the source already retains a next hom action beyond the displayed edge.
Its groupoidal counterpart is the interval HIT:
For a family , the eliminator takes , , and a dependent path over . It computes judgmentally at both endpoints and at the canonical dependent action on the segment. As for the Circle, the ordinary constant-family ap equation is retained propositionally rather than installed as a second runtime normal form.
The comparison functor
sends source to , target to , and edge to . For any groupoidal , restricting along records the two endpoint values of an Interval function and its action on the segment. Extension uses Interval recursion on exactly those three pieces. The whole beta/eta paths give
The right side of (27.12) has a particularly direct reading. A functor from the walking arrow chooses two objects and one path . A transformation between two such functors chooses endpoint components compatible with that path, and its next action records equality of such compatibility data. The left side organizes the same information as a whole function on the Interval. Thus the equivalence tests not just two-point recursion but the dependent geometry of the segment.
This is where an underlying-graph construction would first become visibly insufficient. It could remember a source vertex, target vertex, and edge, but it would have to recover from elsewhere how transformations act at both endpoints and over the edge. In the present construction those observations are projections of whole functor paths. Endpoint variation is not metadata attached after the free groupoid has been formed.
Equation (27.12) is stronger evidence for the intended operation than the observation that the interval is contractible. Contractibility describes the homotopy type after it has been formed. The mapping theorem says why its two points and one path are freely generated by a directed arrow. It also tests the endpoint transport that an endomorphism-only theorem cannot see.
Formal status — checked. Evidence
WALKING-INTERVAL-GROUPOIDIFICATION. The interval has judgmental endpoint and dependent-segment computation. Restriction and extension are inverse as whole functors for every groupoidal target, with separate endpoint and generator projections and retained next action. The two endpoints remain genuinely distinct in the tested interface.
27.3 One Whole Constructor For An Arbitrary Category
The two examples suggest what the generic signature must retain. For every category , there is a primitive groupoidal HIT and the whole unit (27.1). The constructor is not split into a point constructor for every object, a path constructor for every arrow, and an external list of coherence constructors. Those observations are projections of one iterable functor.
At the first two levels, the unit reads
Reapplying the generic hom action exposes the image of a source 2-cell, and the process continues at represented higher levels. The use of the word “category-indexed” refers to this complete source ; it does not mean that only the object set of is retained.
This arrangement should be read as an indexed HIT signature. Formation is primitive at the groupoidal level; the whole unit is its constructor owner; and recursion supplies elimination. The theory does not pretend to construct the carrier by taking an external quotient of strings of arrows. Such a quotient would immediately face choices of word representation, normalization, and higher coherence. Instead, the computational interface specifies what represented cells do, while the mapping theorem specifies their universal uniqueness.
Nor does one need a primitive symbol named at every dimension. The first hom action of already turns source arrows into paths. Its next hom action handles arrows between arrows, and iteration continues through the ordinary categorical classifiers. This is the same compression principle used throughout the book: internalization plus iteration replaces an indefinitely growing external declaration schema.
Given , the recursor produces
It computes judgmentally on every represented source object, and its canonical dependent action on every represented source arrow computes to the corresponding arrow of embedded in the constant motive:
Arbitrary points and arbitrary paths of the groupoidification do not match these constructor reductions. The rules compute because the inputs are manifestly represented by the whole unit.
The recursor is itself organized as a whole extension functor
Its object action is (27.14), its first hom action maps transformations of representations to equalities of recursor functions, and a next action is retained. This target-varying mapping object is the computational eliminator needed by the universal property; a bare function for each individual would not express how extension behaves on proofs between representations.
The requirement that be groupoidal is doing real work. Each directed arrow lands in a path category and is therefore invertible, so the recursor may interpret the inverse motion freely added to the source. If the target were an arbitrary directed category, a chosen image of would not in general determine an image for its formal inverse. The right side of (27.16) is consequently not the ordinary category of all directed functors ; it is the category of functors into the path realization of a groupoidal target.
At the same time, nothing forces the original arrows of to have been invertible. The unit accepts all of them. Groupoidification changes their ambient interpretation rather than filtering the source. This is precisely the opposite of taking the core.
27.4 Composition Is Represented, Not Forgotten
Suppose and are composable arrows in . Since is a whole functor, its internal action supplies a compositor
The codomain of the unit is a path category. Therefore the directed compositor is realized as an equality between paths, as in Chapter 25. Under the strict public functor laws its native value is the identity. Its whole extracted transformation and next action remain available; the path-realized presentation does not require a new independent compositor.
This observation explains why the construction begins with , not with its underlying graph. A graph-level free groupoid would create inverse paths for edges but would then need composition, identities, and every represented higher relation reintroduced by hand. The unit functor already knows those relations. The recursor computation in (27.15) says that a path-valued representation consumes them using its own whole action.
Identity and composition are therefore not quotient equations checked after paths have been created. They are visible through functorial action. At an identity arrow the selected unit profile supplies the appropriate unit behaviour. At a composite, (27.17) compares the composite of the two image paths with the image of the source composite. A representation carries the corresponding compositor, so extending respects the same boundary. The generic theorem is sensitive to the categorical structure of , not only to its collection of arrows.
The two endpoints displayed in (27.17) agree by strict functor computation. The current reviewer also checks the identity value of the extracted unit compositor. This does not collapse arbitrary transformation naturality: the nonidentity post/left cell used by the Gray square comes from a general lax transformation, not the identity transformation of this unit functor.
Nor is an infinite record of associators and higher laws added beside the unit. The compositor in (27.17) is projected from the same internal-action calculus used for ordinary and displayed functors. Its next action provides the first higher observation. This does not amount to a completed independent metatheory of all weak -groupoids, but it demonstrates that free inversion has not discarded composition or capped coherence at arrows.
27.5 The Generic Mapping Theorem
Restriction is obtained by applying the path-category action to a map and precomposing with :
Like extension, is a whole functor. The categorical-HIT beta and eta clauses are whole paths
The first says that extending a complete path-valued representation and then observing it on every represented source cell returns the original representation. The second is uniqueness: a groupoidal map is determined by its restriction to the generating whole functor. Projecting (27.19) gives pointwise equalities, but the statements themselves compare endofunctors of mapping categories.
Packaging restriction as the selected forward direction and extension as its inverse gives the promised arbitrary-source theorem:
Formal status — checked. Theorem 27.1 (generic free inversion). Evidence
GENERIC-GROUPOIDIFICATION-MAPPING. Inendash(HoTT.Groupoidify), formation (Groupoidify.Carrier), unit (Groupoidify.unitFun), groupoid target universal property (Groupoidify.universal_equiv), andGroupoidify(WalkingEnd) ≃ Circle(Groupoidify.walking_end_equiv_circle) are proved with0axioms, and Section 27.7 completes covariant source functoriality and the fullGroupoidify ⊣ Pathadjunction.
The forward direction in (27.20) is specifically restriction along , with inverse given by the Groupoidify HIT eliminator. Moreover, because every composes with , the universal property extends uniquely across , making functorial in as proved in Section 27.7 below.
27.6 Recovering The Interval From The Generic Theorem
The generic construction and the concrete interval were formed independently, so their comparison is a useful recovery test. Specialize to . Extending the concrete unit (27.11) through the generic recursor gives
In the other direction, extend the generic unit through the concrete Interval recursor:
The generic beta/eta laws and the Interval beta/eta laws identify the restrictions of the two composites with the relevant identity representations. Their whole uniqueness clauses then give
Hence
Formal status — checked. Evidence
GROUPOIDIFICATION-INTERVAL-RECOVERY. The maps (27.21) and (27.22) are selected by the two whole extension owners; both composites have whole and pointwise cancellation paths; and the result is packaged as aTypeEquiv. The two HIT classifier heads remain non-convertible.
The lack of a definitional identification is desirable. The concrete Interval offers a compact two-endpoint eliminator. The generic object records that it arose by applying one operation to a source category. Equivalence shows that the presentations have the same groupoidal content without forcing every calculation to unfold through the same syntax.
The comparison illustrates a general method for relating independently useful HIT presentations. Map each presentation into the other by the appropriate recursor. Do not try to compare raw constructors syntactically. Instead, restrict each composite to the generating whole representation and use the two uniqueness principles to identify it with the identity. This method preserves the computational advantages of each presentation while producing an explicit equivalence that later proofs can transport across.
It also validates the generic construction against the feature that motivated the Interval: distinct endpoints. The recovered equivalence could not pass the endpoint and segment projections if the generic unit had silently reduced the source to one-object endomorphism data. WalkingEnd/Circle and WalkingArrow/Interval are therefore complementary regression theorems, not two decorative examples of the same calculation.
27.7 Three Operations With Different Directions
Groupoidification sits near two other operations used in the book. Their similar notation can obscure opposite universal roles:
The core deletes noninvertible motion and keeps what was already reversible. Truncation preserves the groupoidal direction but forgets homotopy above a chosen level. Groupoidification keeps every represented directed arrow and adds inverse motion coherently. Applying truncation after groupoidification is meaningful; identifying the two operations would lose the order of those steps. The table suppresses only information already stated in prose: the inputs to Core and Groupoidify are directed categories, while the input to truncation is groupoidal.
Their mapping directions make the distinction even sharper. A map from a groupoidification into is classified by a path-valued representation of the original directed category. A map from an -truncation into an -truncated target is classified by a map from the original groupoidal type. The core instead supplies a groupoidal object mapping into the original category by retaining already-invertible arrows. These point in reflective, truncating, and core-inclusion directions respectively; substituting one for another would reverse which information is freely added and which is discarded. The present statement concerns those maps and mapping properties, not a packaged three-adjunction chain.
Finally, endash (HoTT.Groupoidify) completes covariant action in the source category and assembles the full reflection adjunction with 0 axioms. Given any functor , extending across defines Groupoidify.map(H) satisfying the functor laws
(Groupoidify.map_id, Groupoidify.map_comp), together with the reflection equivalence (Groupoidify.path_reflection_equiv), two-sided naturality (Groupoidify.adjunction_naturality), and both zig-zag triangle identities (Groupoidify.left_triangle, Groupoidify.right_triangle) establishing
Formal status — checked. Evidence
GROUPOIDIFY-SOURCE-FUNCTOR-ADJUNCTION.Groupoidify.map,Groupoidify.map_id,Groupoidify.map_comp,Groupoidify.path_reflection_equiv,Groupoidify.adjunction_naturality,Groupoidify.left_triangle, andGroupoidify.right_triangleestablish covariant functoriality and theGroupoidify ⊣ Pathadjunction with0axioms.
The next chapter turns from inversion to interchange. Here the unit compositor is invertible because it lands in a path category; in a genuinely directed two-dimensional target it need not be. The Gray direction asks how that noninvertible cell is projected from the same whole internal action.
28. Laxity, Interchange, And The Gray Direction
Functoriality is often printed as an equation:
Public functors in emdash preserve composition strictly, so (28.1) is part of their computational contract. This does not erase transformation-level laxity. A transformation between strict functors may have a noninvertible naturality cell, and its internal action retains that cell and its higher action. This is the directed comparison studied in this chapter.
The previous chapters changed the target of directed witnesses. A path-valued target makes such a witness invertible. A strict transformation profile identifies it with an equality-induced arrow. Here the post/left naturality cell remains directed. It comes from the same internal action that supports dependent transport, rather than an independently supplied square axiom.
The geometric test is the walking square. Let and consider a selected tensor-shaped category . Its four vertices and four boundary arrows are derived from coevaluation. The two routes from the source corner to the opposite corner need not be equal. A directed interchanger compares them. Recovering that cell from whole laxity, and retaining one further action, is the checked centre of the chapter.
28.1 Whole Laxity Before Components
Let be functors and let be a transformation. The off-diagonal action of does more than assign a component at each object. Given an arrow , it supplies a cell
in the appropriate internal hom. Now compose on the target side with an arrow . There are two whole functors, varying in , whose readable values are
More explicitly, after , , and the transformation have been fixed, the two expressions in (28.3) are the object actions of functors
The comparison between them is therefore allowed to vary over the whole hom category. This is the categorical content hidden by the familiar pointwise naturality equation: the input arrow is still an object of an internal hom and may itself have higher arrows.
The internal displayed action supplies a whole transformation from the first functor to the second. Its component is the post/left laxity cell
There is a target-internalized mirror producing the pre/right comparison. These are not two unrelated naturality squares. Both are ordinary specializations of a displayed transformation acting in a dependent hom. The displayed owner first retains transport in the source and target fibres; the ordinary surfaces appear only after the relevant families are specialized to representables.
The pre/right mirror fixes the target side and varies an arrow entering the source. Its readable comparison has the complementary form
Post/left and pre/right are views of one off-diagonal action. Under the conventional lax default, the pre/right view computes strictly. The post/left view can remain noninvertible. This explicit asymmetry determines the orientation of the Gray interchanger.
This order of construction matters. If one wrote only the component (28.4), the variable and its higher arrows would already have been capped. By retaining the whole transformation first, the ordinary hom action may be applied again. The next level acts on a cell between and and returns a cell between the corresponding laxity boundaries. Iteration, not a manually appended coherence record, supplies the higher observation.
The usual functor compositor is obtained by taking to be the identity transformation of . At the appropriate identity component, (28.4) reads
Thus the compositor is an identity-transformation specialization of whole naturality. It is not postulated independently of the transformation calculus. For public functors this specialization is strict: its canonical strictness evidence follows from the functor rules. Path realization still applies to extracted cells, but a nonidentity interchanger must come from a transformation whose post/left naturality remains lax, not from a non-strict public functor.
Formal status — checked. Evidence
FUNCTORD-WHOLE-LAXITY. The displayed internal action owns a whole laxity transformation. Ordinary post/left and pre/right transformations are transparent specializations; their capped cells recover the displayed witness; and the ordinary functor compositor is the identity-transformation specialization. The next hom action remains available. No independent naturality square is added.
28.2 Strict Functors And Profiled Transformation Homs
A property of an extracted cell should refer to that existing cell, not manufacture another witness beside it. For , write
This is an internal property: it supplies an endpoint path and identifies the cell with its equality-induced arrow. Applied to the whole compositor , it gives
Every public functor has canonical evidence of (28.6), derived from its strict computation. Such evidence is an observation of the functor laws, not an extra parameter required to use the functor. The former strict-functor admission layer is no longer needed.
Transformations retain a separate profile interface. The selected internal hom
has ordinary public functors as objects and classified conventional lax transformations as its next Hom:
The classifier retains an opaque admission of a transformation satisfying the pre/right property. Its stable ambient view computes that leg; the post/left cell remains directed. Identity and composition project to the corresponding ambient operations. Homs between classified transformations reuse the ambient modifications and subsequent iterated cells.
There is therefore a whole inclusion into . It is the identity on functor objects and observes the selected transformation profile on Homs. Both mapping categories now use the conventional lax orientation, but the profiled Hom retains its own classifier. The source does not identify the two categories or supply a whole inverse to this inclusion. Object agreement alone would not justify either claim.
In particular, an identity functor is already an object of (28.7). Curry, uncurry, join maps, and transformation graphs likewise use ordinary public functors. No additional strict-functor certificate is supplied for their admission. Strict-transfor classifiers remain meaningful because they also make the retained post/left naturality strict.
Formal status — checked. Evidence
GRAY-COMPUTATIONAL-PROFILE.functor_is_strictderives the property of the existing whole compositor.GrayHom_laxhas publicFunctorobjects andLaxTransfor_catHoms;grayhom_lax_include_funcretains the ambient higher action. Neither this inclusion nor the default lax convention identifiesGrayHom_laxwithFunctor_cat.
28.3 One Selected Right Closure
The first tensor interface used here is characterized through one right closure. The native nerve continuation below adds a separate selected biclosed interface. For categories , the right-closure boundary is
The tensor head is stable and distinct from the Cartesian product. Curry and uncurry in (28.9) are whole public functors between the two profile categories, hence strict by default. Their composites are compared with the appropriate identity functors by whole beta and eta paths, and the resulting fixed-forward equivalence retains hom action.
Equation (28.9) is an equivalence of profiled mapping categories. On the left, objects are functors out of the selected tensor and arrows are classified lax transformations. On the right, an outer functor selects, at each object of , an inner functor ; its arrows have the classified lax behaviour of (28.8). Curry and uncurry transport not only objects but this transformation tower.
The adjective right fixes which variable is moved into the internal hom. A mirror closure would instead expose the opposite orientation and its corresponding lax or oplax convention. Equation (28.9) by itself establishes one direction; it does not derive the additional closure used later.
Coevaluation is not another primitive:
is curry applied to the identity functor on . Dually, evaluation is uncurry applied to the identity functor of the internal hom. These two maps give introduction and elimination for the selected tensor boundary.
The introduction/elimination reading is concrete. Coevaluation builds a generic tensor point by currying the identity, while evaluation consumes a profiled inner map by uncurrying the identity. Their whole beta/eta paths are the computational boundary through which the walking-square observations are derived. The square is not added beside the closure.
Formal status — checked. Evidence
GRAY-RIGHT-CLOSURE. Whole strict curry and uncurry package the right-closure equivalence (28.9), with whole beta/eta and hom action. Coevaluation and evaluation are derived at identity functors. The tensor remains distinct from the Cartesian product and the beta comparison is equality evidence, not a competing object-level runtime fold.
There is a complementary combinatorial route to Gray products. In Hadzihasanovic, Gray products are constructed on directed cell complexes and oriented cubes are studied as shapes in their own right. That perspective supplies an important model-independent picture of the square and its higher-dimensional successors. The emdash result has a different boundary: it begins with one profiled internal hom and selects the right closure (28.9). It does not construct the tensor combinatorially or prove agreement with Hadzihasanovic's Gray product.
28.4 The Walking Square From Coevaluation
Take , the join-derived directed interval of Chapter 27, and form
Evaluating coevaluation at the two outer endpoints produces two strict inner functors . Evaluating those functors at the two inner endpoints gives four vertices . Their arrow actions on the walking generator give the horizontal edges . The outer generator acts through coevaluation as one whole transformation between the inner functors; its two components give the vertical edges :
The first index in records the outer endpoint and the second records the inner endpoint. Thus and are the inner generator evaluated in the two outer fibres. The arrows and are not obtained by applying two unrelated maps: they are the two object components of the same outer transformation. This shared owner is precisely what supplies a naturality comparison between the two boundary routes.
Every displayed object and arrow in (28.12) is therefore an observation of coevaluation and the existing walking generator. None is postulated as a standalone tensor constructor. The four vertex normal forms remain pairwise distinct, and the selected square does not convert to .
The two routes around the boundary are
In a Cartesian product these would be forced to commute by the relevant strict interchange. Here their difference is the feature being measured.
28.5 The Oriented Interchanger
Let be the whole outer transformation generated by coevaluation, and let be the inner walking arrow. The post/left laxity action from Section 28.1 has readable direction
Evaluate this whole transformation at the identity of the outer source endpoint. Its component is the square's interchanger:
The formal source and target are owned by the stable transport functors of the internal action; (28.13) gives their readable composite presentations under the selected graph/profile comparisons. The direction (28.15), rather than the choice of a terminology convention in isolation, is why the internal hom is named .
The cell is not an independently declared filler. The whole post/left transformation exists first; is its identity component. Nor does the component end the construction. The transformation's next hom action is retained as a functor, and evaluating that next owner at its identity recovers . This confirms that the square has not capped the common action calculus one dimension too early.
The retained action can accept a higher arrow of the input hom and return a higher cell between interchanger boundaries. In a larger cubical consumer it is the route by which higher comparison data can be observed. Theorem 28.1 checks this owner and its identity observation. The later native nerve construction supplies whole cubical levels and their face comparisons under additional structural interfaces; it is not obtained merely by relabelling this one observation as a cubical coherence theorem.
Finally, the interchanger is not collapsed to an identity term. Its post/left provenance also remains distinct from the pre/right mirror. If the same cell were realized in a path-valued target, symmetry would provide an inverse as in Chapter 25. Inside the directed square, no such inversion is assumed.
Formal status — checked. Theorem 28.1 (the walking-square interchanger). Evidence
GRAY-WALKING-INTERCHANGER. The four vertices and two coordinate arrow families are derived from right coevaluation. The oriented nonidentity interchanger is the identity component of the existing whole post/left laxity transformation, remains distinct from its pre/right mirror, and retains one next hom action. No square filler, endpoint rewrite, or unification rule is added independently.
28.6 What This Does And Does Not Call Gray
The low-dimensional picture agrees with the characteristic reason for using a Gray rather than Cartesian tensor: currying a strict map produces strict inner functors while allowing transformation-level laxity, and exposes a directed interchanger instead of forcing a commuting square. This is enough to test the architecture of profiles, closure, and extracted laxity.
Terminology in the literature can exchange lax and oplax when tensor variance or diagrammatic composition conventions are reversed. The invariant statement here is the displayed direction (28.14): postcomposition by the target action points toward the action on the composite. That typed direction, not the name alone, is the comparison surface for any later mirror closure or literature equivalence.
It is not enough to assert a full Crans–Gray monoidal structure. Such a claim would require at least:
- a model and comparison for the selected closure profiles and orientations;
- the required tensor parameter action and its complete coherence;
- associativity and unit data, with their higher coherences;
- compatibility of curry, uncurry, evaluation, and coevaluation with those actions; and
- a comparison with an established combinatorial or globular construction in the dimensions being claimed.
The native nerve continuation now supplies the needed second closure and whole interaction laws as an explicit biclosed core interface. It uses the selected Functor_oplax_cat mapping profile; that profile is not silently identified with the earlier GrayHom_lax. Together with native-arrow eta and the profiled whole inverse core, it supports whole native/geometric cube comparisons in arbitrary internal dimension, including zero. The face-indexed families retain their coordinate order and Cartesian coefficient variation.
Formal status — checked relative to the selected core interfaces. Evidence
NATIVE-NERVE-FACE-COMPARISON. The whole semicubical comparison has actual encoder/decoder data, both inverse laws and face/index-Hom compatibility. The second closure is a declared structural interface, not a theorem derived from (28.9). Chapter 29 states the common indexed result and its coefficient boundary.
The notation continues to record the chosen order and bracketing. The installed biclosed interface and nerve comparison do not establish the full monoidal and model-comparison obligations listed above, tensor symmetry, or the missing degeneracy extension.
The current foundation separates strict public functors from conventional lax transformations. It preserves the nonidentity interchanger while making functor composition strict. This chapter's checks concern that selected closure and its observations. They do not establish general confluence, a model of every structural rule, or the full monoidal theory.
28.7 The End Of The Fourth Spiral
The fourth spiral began by placing equality inside the directed language. Product paths showed groupoidal closure without a category-head rewrite. The Circle turned reversible motion into the Integer line. Groupoidification then freely realized arbitrary directed cells as paths. The Gray square now returns to a target where the comparison cell is directed and worth keeping.
These movements are not separate foundations. They are different readings of one iterable calculus:
The path target, strict property, and arbitrary directed target select different behaviours of the retained witness. The general post/left transformation cell remains observable. Strictness of public functors does not make every transformation cell an identity.
The three rows of (28.16) should be read as operations on one owner, not as three parallel theories. The arbitrary directed cell is primary. A path-valued target changes its hom into equality and thereby supplies an inverse. A strict package retains an endpoint path and identifies the same cell with the arrow induced by that path. A stable classified view supplies its specified judgmental computation, while raw evidence remains a path. Neither specialization requires the whole naturality owner or its next action to be redeclared. For the identity transformation of a public functor, strictness already follows from the default laws.
This suggests a discipline for extending the higher theory. First locate the whole internal action before introducing a pointwise coherence name. Second select the target or property profile that gives the desired invertibility or strictness. Third derive the geometric consumer—such as the walking square— from evaluation, coevaluation, and existing generators. Finally check both a non-collapse boundary and one further hom action. A pointwise cell without its owner is too easy to postulate; an owner without a concrete consumer is too easy to misorient.
The mirror Gray closure can follow the same discipline. Its construction must specify the complementary transformation convention and its whole action; the current pre/right leg is strict and cannot supply a second nonidentity cell merely by reversing (28.15). Comparing the two closures will then be a theorem about their whole curry and evaluation structures. Likewise, a future associator for the tensor should be derived at the mapping-category level before its components are named. This keeps higher coherence attached to the operations that generate it.
The walking square is therefore valuable even though it is small. It tests all of the architectural seams at once: strict functors versus lax transfors, profiled homs versus duplicated hierarchies, closure versus an opaque tensor, whole transformations versus square axioms, and directed cells versus paths. Passing that test does not finish Gray theory, but it gives the unfinished theory a computational spine.
The result is deliberately asymmetric. Groupoidal realization explains how directed coherence may become invertible; the Gray direction explains why it should not have been erased beforehand. Chapter 29 now uses the same retained action recursively: a dependent arrow between dependent arrows becomes a simplex with another dimension. Chapter 30 returns to universal structure and keeps the same higher action through products, pullback base change, and dependent products. The appendices then give the ledger of exact notation, evidence, provenance, computation, and remaining research boundaries for all six spirals.
29. Simplexes From Dependent Homs
A directed edge has two vertices and one arrow. A directed triangle adds three edges and a comparison between a composite edge and a direct one. A tetrahedron adds four triangles and a cell relating their comparison data. The pattern continues, but its usual description becomes increasingly combinatorial: every new dimension carries many faces, and those faces must agree on all of their shared lower faces.
Functorial type theory offers another description. Begin with a category . Choose an object, then an outgoing arrow, then an outgoing arrow in the category of outgoing arrows, and continue. Each new choice is made in a category whose objects already contain the entire previous boundary. Its arrows contain a base arrow together with a dependent arrow above transport. The next hom action therefore supplies the next coherence without asking for a separately written coherence record.
This chapter relates that native dependent presentation to the familiar combinatorics of standard simplexes. Injective monotone maps give a computing category of faces. Finite ordinals explain their combinatorics, while directed joins provide the formal source shapes. Representables give standard semisimplices. Iterated outgoing paths give the native dependent cells. Finally, a structural recursion builds one canonical dependent simplex inside every and maps it along every functor .
The constructions are deliberately semisimplicial: faces are present, degeneracies are not. The canonical ordinal construction computes one chosen simplex and its nonempty face observations in variable dimension. A further construction now gives whole native simplex categories and comparison maps with selected geometric mapping categories. Their transformation profile and structural assumptions are part of the theorem; they do not identify ordinary ordinal diagrams with arbitrary filled dependent simplexes.
29.1 The Shape Before The Coordinates
Write for the finite ordinal category
including the unique composite arrow whenever . A functor is the conventional categorical presentation of an -simplex in . At dimension two it selects three vertices, the three arrows
with under the ordinary ordinal interpretation: a public strict functor preserves that composite exactly. At dimension three, the four restrictions of to three vertices are its triangular faces.
A general dependent triangle can instead retain a nonidentity filler. Such a filler is not the compositor of a non-strict public functor. The native join-built shapes below retain their selected cross action; their full identification with ordinary ordinals or another chosen simplex doctrine requires its own mapping/universality qualification.
There are already three distinct notions in this paragraph.
- The category is the ordinary ordinal shape.
- The representable on the category of injective ordinal maps is the standard semisimplex.
- The data obtained by repeatedly entering an outgoing-path category is the dependent simplex.
The first is a finite source category. The second records how all smaller faces enter that source. The third is a native normal form for the data seen inside a target. The value of the construction below is not that these three expressions can be printed. It is that their face and higher-cell operations are owned by functors already present in the theory.
For the native formulas below, write for the repository's selected join-built source. Its recursion has the familiar ordinal form, but no identification of all its higher structure with is being asserted:
The new terminal vertex receives one arrow from every old vertex. Thus joining with adds exactly the new final vertex and all arrows that point toward it. The construction is directed: it does not add inverse arrows from the new vertex back into the old ordinal.
29.2 Faces Form A Computing Category
Use the augmented cardinal convention. The natural number represents the finite ordinal with vertices, so zero is the empty ordinal, one is a vertex, two is an edge, and three is a triangle. An injective monotone map from the -vertex ordinal to the -vertex ordinal can be encoded by a word of length : at each target position, either skip that position or keep it.
The structural constructors have the form
The all-keep word is identity. Composition substitutes one word into the kept positions of another. Its four skip/keep cases are ordinary structural recursion, so closed faces compute rather than requiring a theorem for every pair of dimensions.
These codes are classified as sets before becoming public face maps. The classification removes unwanted higher ambiguity in the combinatorial index, while restricted recursion preserves computation on visible constructors. They form the homs of the internal augmented semi-simplex category :
Identity and composition are the identity and composition of face codes. The homs are locally discrete, but the enclosing category remains an ordinary internal category, so functors and transfors on it use the generic iterable action calculus.
The standard -simplex is now Yoneda:
The shift by one converts from dimension to vertex count. Evaluating at a -vertex ordinal returns the code of a -vertex face of . Restriction is composition of face codes. A groupoid-valued semisimplicial diagram is consequently a functor
and postcomposition with the path-category operation realizes all its levels and face maps as a Cat-valued presheaf. Because realization is one whole postcomposition functor, arrows between diagrams and their higher action are retained as well.
Formal status — checked. Evidence
SEMISIMPLICIAL-FACE-SUBSTRATE. Skip/keep face codes, their composition, the augmented injective index category, join-built ordinal shapes, Yoneda standard semisimplices, and whole groupoid-to-Cat diagram realization are active. No degeneracy maps or full simplex category are asserted.
29.3 A Simplex Is An Iterated Outgoing Path
The combinatorial index says which face is selected. It does not yet explain why a higher simplex should have the right dependent boundary. That explanation begins with the outgoing-arrow category from Chapter 5:
An object is an endpoint and an arrow . An arrow between and contains an arrow together with a cell from to . Thus one step into PathOut adds a vertex, the edge from the fixed source, and the comparison that makes the resulting triangle coherent.
This observation can be iterated. Put
After choosing a flag , define
A zero-simplex is an object of . A one-simplex is an object of . A two-simplex is an object of . Unpacked readably, it contains an edge and an arrow from to ; the latter contains and a two-cell
No triangle record has been introduced. Equation (29.11) is the dependent fibre component of an arrow in a Sigma total.
The generic calculation is worth stating. Let , fix and , and put . The identity dependent-Hom presheaf has value . The native category formula is
Here reverses dimension 1 and every positive dimension, as in Chapter 14. Its objects are the familiar pairs . The two dualities retain the correct higher arrows; an ordinary undualized sum of these values would not specify them.
The fibre value is precisely a dependent hom. Specializing to the representable family gives (29.11). Nesting this hom slice beneath the next outgoing-path Sigma gives tetrahedra, then higher simplexes. The recursion is therefore semantic before it is coded: every stage is built from the existing Hom, dependent Sigma, and dependent-hom owners.
With both total endpoints fixed, (29.12) projects to and, through covariant fibre action, to in the already fixed fibre . The latter is internal transport, not the independently varying simplex target supplied by the outer PathOut Sigma in (29.8).
29.4 Why A Tetrahedron Has Four Surfaces
An ordinary globular arrow has two endpoints, whereas a tetrahedron has four faces. The recursive triangle category supplies the difference through two nested fibrations.
Write
For a visible , a triangle in has the nested form
The outer pair remembers the target edge . The inner Hom-of-Sigma pair remembers the base edge and comparison .
Now take two triangles . An arrow
is the volume of the tetrahedron . Its ordinary source and target are the faces and . Two whole line projections provide the remaining faces:
The first is the target projection of the outer PathOut Sigma. The second uses the base-arrow projection of the inner Hom-of-Sigma, whose dependent fibre is organized by homd_int. Pairing them gives one whole boundary functor. Their shared vertices and edges are consequently preserved by ordinary functor action rather than imposed by a hand-written boundary equation.
An ordinary functor maps the whole recursive triangle category by iterated PathOut action. Within its fixed-endpoint Hom-of-Sigma slice, the displayed part is mapped by the existing internal dependent action: the base cell is retained while the fibre cell is sent through the next displayed hom action. Applying the hom action once more remains meaningful. This is the same iteration that produced the laxity witness of Chapter 28; here its geometric reading is a higher simplex.
Formal status — checked. Evidence
DEPENDENT-SIMPLEX-INTERNAL-ACTION. The fixed-endpoint dependent hom is the active hom of a Sigma total and retains its base/transport observations. The recursivePathOuttriangle category has whole target-line and base-line projections whose hom actions expose faces and . A visible tetrahedral constructor computes through the existing displayed internal action, and one further hom action is retained. No standalone tetrahedron filler or coherence record is added.
29.5 Codes Without A Second Semantics
Equations (29.9)-(29.10) are dependent in a strong sense: the category at the next stage depends on the previously selected object. Ordinary recursion into a fixed codomain cannot store that changing type directly. An internal code is useful here, but only if it remembers the native category rather than interpreting a parallel syntax of cells.
The intrinsic code has two constructors. Its zero case is indexed by . Its successor stores an existing code indexed by and a flag , and is indexed by . Schematically,
The semicolon records the already-decoded category. Public code packaging may hide , but decoding merely projects that index. It does not traverse a syntax tree and rebuild Hom, Sigma, or PathOut. This makes the code an internal witness to the changing boundary, not a second definition of what a simplex means.
Faces recurse simultaneously on the flagged code and the skip/keep word. There are three structural situations.
- Skipping the newest vertex selects a face of the fixed flag and returns a constant whole functor.
- Keeping the newest vertex after skipping its predecessor selects the corresponding face through the first projection of
PathOut. - Keeping both newest vertices maps the whole outgoing path by the recursively selected lower face functor.
The third case is where higher action matters: a face is not only a function on stored points, but a functor on the outgoing-path category. The result retains its own hom action. Direct and sequential face presentations are not globally collapsed to one judgmental normal form; the structural recursion provides the selected whole observation. The focused edge-zero-two followed by vertex-one comparison does compute to the direct whole face; this particular observation is not a general composition theorem for face codes.
29.6 The Ordinal Source Grows By A Transformation
The code recursion describes arbitrary flags. To compare it with the standard ordinal, one needs a canonical flag in every . The directed join equation (29.3) supplies the first step. Extend the identity of the old ordinal across . The old observed outgoing-path map and the primitive join outgoing-path map are related by one whole transformation.
Suppose a nonzero stage has already produced:
For a selected old source , the new code and source are
The second expression is an object of : its endpoint is and its outgoing arrow is the component of the whole transformation. For the next flag, lift through PathOut. The lift is again a whole transformation, so its component supplies the next cell and its hom action remains available.
The first stage uses the identity-join comparison. Every later stage repeats the same PathOut lift. This makes (29.16) a structural successor, not a table with separate clauses for triangles, tetrahedra, and four-simplexes.
29.7 The Four-Simplex As A Decisive Finite Test
Dimension four is the first compact test that combines the recursive source, a genuinely higher component, every coface, arbitrary target mapping, and a retained next action. Beginning with the canonical source edge and triangle, the join comparison is lifted three times:
The component is the fourth-level cell. Pairing it with its endpoint constructs an object of the existing native four-simplex classifier; it is not supplied as an opaque filler.
For every functor
the existing mapped-code action sends this single source to a dependent four-simplex in . The five skip-one-vertex codes expose its tetrahedral faces
Native Sigma projections separately expose the source, target, base tetrahedron, and readable dependent top component. These two views have the same intended geometry, but they retain different construction histories. The development does not force every code-selected face to be judgmentally equal to every native projection.
The same construction is checked for an arbitrary target category, a selected computationally strict target map, and an exact path-category target. A wrong recursive source is rejected, the top cell is not identified with an arbitrary replacement, and the next action of remains available.
Formal status — checked. Evidence
ORDINAL-DEPENDENT-FOUR-SIMPLEX. One canonical four-simplex is constructed from the generic join comparison and repeated wholePathOutlift. It maps under every , exposes all five cofaces, passes strict and path-valued profile checks, remains noncollapsed, and retains one higher action.
29.8 The Variable-Dimensional Theorem
The finite calculation is not the definition. It validates the structural successor that Nat recursion can iterate. Let
This is the present object package called DependentSimplexObservation. It contains both the intrinsic boundary code and one object of its native decoded category.
Formal status — checked. Theorem 29.1 (the variable-dimensional ordinal dependent simplex). Evidence
ORDINAL-DEPENDENT-SIMPLEX-RECURSION. For every natural number there is a canonical computed by Nat recursion and the structural successor (29.16). Every induces a canonical observation . Every nonempty injective face code has a whole face observation. Base and successor computations, selected source objects through dimensions zero to four, wrong-index rejection, noncollapse of the successor cell, and one generic next action are checked.
The theorem is uniform in , but its validation claim is deliberately finite where readability matters. The source and successor are genuinely variable-dimensional; the explicit zero-through-four checks show that the recursor reaches the existing native classifiers and the expected finite geometry. They are not an induction theorem identifying the new source judgmentally with every earlier hand-written presentation.
The theorem also separates construction from observation. The canonical source lives once in . Mapping it by uses the generic mapped decoder; it does not reconstruct the source in . Face restriction then uses the generic code action. Thus source recursion, target mapping, and face selection are three composable whole operations.
29.9 Comparison With Other Recursive Presentations
Semisimplicial types are a well-known stress test for dependent type theory. The boundary of an -simplex depends on all lower dimensions, and the coherence needed at the next stage depends on that boundary. Different approaches make different parts of this dependency primitive.
Kolomatskaia and Shulman's displayed type theory presents semisimplicial types through a compact displayed or cone interface 12. Herbelin and Ramachandra reconstruct the frame, restriction, and coherence dependencies through iterated parametricity, first for semisimplicial and semicubical sets and then in an indexed very dependent formulation 13, 14. These comparisons clarify why neither an ordinary fixed-codomain Nat recursor nor a flat record of faces is sufficient.
The emdash construction chooses another ownership boundary. Categories and category-valued families are already internal types. PathOut is already a Sigma of a representable. A hom in that Sigma already exposes a dependent hom. Whole functor and transfor action already iterate. The semantic simplex is therefore built from these owners directly. The code layer is introduced only to internalize the changing native category in variable dimension.
This does not make the external combinatorics disappear. Face codes remain the clean way to name arbitrary restrictions, and the semi-simplex category organizes them globally. Nor does it prove that every other presentation is equivalent. It shows a computational bridge at a precise point: the same simplex can be observed combinatorially by injective faces and natively as an iterated dependent outgoing path.
29.10 Whole Native And Geometric Nerves
The ordinary-ordinal statement must still be qualified:
Equation (29.21) is not established with its displayed ordinary mapping category. A strict functor from an ordinary ordinal cannot classify arbitrary nonidentity dependent-triangle fillers merely by a change of notation. The DependentSimplexObservation(C,n) in (29.20) remains its earlier groupoid-valued object total. The whole construction below has its own category and geometric shape; it does not silently change that observation type.
The selected mapping profile
Write for the selected oplax mapping category Functor_oplax_cat S C. Its objects are strict functors, with the declared oplax transformation profile. Let be native_join_simplex_shape n and let be native_simplex_cat C n. The native categories are constructed by internal recursion of whole category-valued coefficients, using dependent totals and outgoing-path data. The geometric shapes are constructed separately by the selected join operation.
There are whole functors
with internal whole-functor comparisons
Here is an internal natural-number parameter. The maps retain their actual inverse data; the inverse is not merely asserted to exist. The comparison includes the zero-dimensional case and the whole action on maps, not only the objects of a finite list of dimensions.
These results are relative to selected structural interfaces. Native-arrow reconstruction has a generic eta contract. The geometric tensor has both closures with their whole beta/eta laws. Terminal join has a coherent coslice-universality interface. Whole nerve families and their parameter actions have declared internalization interfaces. For the chosen strictly natural comparison, the inverse core assembles its pointwise inverse data into a whole inverse. The recursive maps, face comparisons and final inverse packages are derived using those interfaces. The theorem is not a derivation of every interface from the lowest Sigma/Hom rules.
The comparison functors take the native or geometric data themselves. They do not require the caller to attach a separate collection of boundary-equality proofs to each cell. Equality evidence belongs to the comparison theorem and its inverse package. This remains distinct from a claim that every raw presentation has the same literal runtime normal form.
Whole families on the face indices
The augmented index counts vertices. At index zero the native level is terminal and the geometric shape is empty. At index the native level is and the geometric shape is . This is the same dimension-to-vertex offset used earlier in the chapter.
The whole native and geometric families have types
where is the dimension-one opposite from Chapter 14. Both families interpret the same face codes. Their comparison respects complete index Hom action, identities, composition and the empty augmentation. It is not just a collection of unrelated levelwise equivalences.
There is a parallel cubical result. Let and let be nerve_geometric_shape_cat n: terminal in degree zero, and the selected fixed-bracketing tensor cube in positive degrees. The geometric level is , and its native counterpart is CubicalLevel_cat C n. Whole encoder and decoder maps give both inverse laws and respect the existing cube face words, with coordinate order retained. The resulting semicubical families have the form (29.24) with in place of .
The parameter is also internal. For either face index , write
The native and geometric assignments are whole functors . Their comparison is packaged with whole inverse data in the corresponding functor category. The Cartesian parameter profile is essential: it does not admit an arbitrary lax transformation between coefficient maps as a strict parameter transformation. It does not, however, truncate ; remains an arbitrary strict omega-category.
Formal status — checked. Theorem 29.2 (simplicial/cubical nerves, codegeneracies, and Kan vs. directed horns). Evidence
NATIVE-NERVE-FACE-COMPARISONandSIMPLICIAL-CUBICAL-DEGENERACY-KAN. Inendash(Cat.SimplicialandCat.Cubical), injective face categories (Simplicial.DeltaInjCat1,Cubical.SemiCubeCat1), tetrahedron 4-face projections (Simplicial.tetrahedron_all_four_faces), inner-face nerve composition (Simplicial.nerve_inner_face_composes), simplicial and cubical codegeneracies satisfying the cosimplicial/cocubical identity triangles (Simplicial.intervalCodegS0,Simplicial.interval_codeg_coface_triangles,Cubical.cubeCodeg2_0,Cubical.cubeCodeg2_1,Cubical.cube_codeg_coface_triangles), mixed-variancehomdc(Cubical.homdc_representable_beta), and the groupoidal 2D Kan open-box filler (Cubical.grpd_open_square_hcomp2) contrasted with directed open-horn non-filling (Cubical.directed_open_horn_unfillable) are all proved with0axioms.
The remaining boundary
While low-dimensional simplicial and cubical codegeneracies, mixed-variance homdc, and groupoidal Kan box filling are checked in Cat.Simplicial and Cat.Cubical, an all-dimensional full surjection/degeneracy algebra, Segal/Rezk completeness characterization, and comparison with Street orientals remain open research directions. Nor does (29.22) collapse general filled dependent triangles into strict functors out of .
29.11 The End Of The Fifth Spiral
The earlier chapters moved repeatedly between points and arrows, local data and whole action, directed cells and paths. Simplexes make that movement recursive. A point becomes an outgoing arrow. An outgoing arrow becomes an arrow between outgoing arrows. The base and fibre of that arrow become two faces of the next cell. Its whole image supplies another face. Repeating the same construction raises the dimension without changing foundations.
The combinatorial and dependent views play complementary roles. Face words say which vertices survive. Yoneda packages all such restrictions into the standard semisimplex. Directed join constructs the ordinal source. Dependent hom and Sigma explain the cell above its boundary. Whole transformation action constructs the successor. The code merely remembers which native category the next step inhabits.
This is the computational lesson of Theorem 29.1. Higher-dimensional data need not be introduced as an ever-growing list of coherence fields when the theory already knows how a dependent arrow acts. The retained action is the resource from which the next dimension is observed.
The two theorems retain different boundaries. Theorem 29.1 constructs one canonical ordinal simplex; Theorem 29.2 compares whole native and geometric categories under explicit structural interfaces. Neither supplies the absent degeneracies or a Kan or Segal theory. Keeping those differences visible lets the checked recursion serve as a foundation for later simplicial methods without being mistaken for their completion.
The next chapter changes scale rather than dimension. It returns to the structural cuts of Chapters 9 and 12 and asks how products, terminality, and adjunctions behave when the objects being varied are themselves arrows in a slice. The same insistence on whole action will turn finite cartesian structure into the indexed chain .
30. Cartesian Structure And Dependent Products
A product is usually introduced by a diagram and a universal property. A pullback is introduced by a square. A dependent product is introduced as a right adjoint to substitution. These descriptions are mathematically correct, but they can hide the common computational question:
What happens when a universal construction is immediately eliminated, and which whole operation must remain visible so that the reduction can be iterated at the next categorical level?
This chapter answers that question for selected cartesian and indexed structure. It begins with binary products and the empty product. It then moves to slices, where postcomposition is always available and pullback reindexing is selected structure. A second selected right adjoint completes the chain
The three functors in (30.1) act between whole slice categories. Their units, counits, off-diagonal actions, and mate operations therefore retain higher arrows. That retained action is what distinguishes an internal computational presentation from a collection of objectwise bijections.
30.1 A Chosen Product Is A Whole Functor
Let be a category. A chosen binary-product structure begins with a whole functor
For objects write . The two projections are not unrelated arrows chosen afresh at every pair. They are components of whole transformations
Thus a change in either input already has a natural action. If and , pairing supplies
In the internal presentation, pairing itself is a whole transformation between represented Hom families. Fixing projects it to a functor
Consequently a higher arrow between two pairs of legs is sent to a higher arrow between their pairings. The operation is not capped at (30.4).
This selected product functor must be kept distinct from , the category whose objects and arrows are pairs. The latter exists for every and and is used to state the source of ; it does not choose products inside an arbitrary .
30.2 The Triangular Product Cuts
Došen's cut-elimination perspective motivates antecedential product operations that make projection followed by further composition into one visible cut. For a suitable arrow , write
The basic product reductions are
The right-hand sides are smaller cuts: the product introduction has disappeared, and the unobserved component is absent. Pairing also distributes through precomposition,
while projection postcomposition accumulates,
Finally, pairing the two projections removes the detour entirely:
These rules do more than prove that a product exists. They select a normal form for arrows built from projections, pairing, and composition. The generic action of the whole functor agrees at proof time with the triangular map
where records proof-time agreement rather than a competing runtime orientation.
There is also a transparent unpairing functor that postcomposes an arrow with both projections. Pairing followed by unpairing and unpairing followed by pairing have checked pointwise inverse paths. Equality of the two whole functor composites is a stronger packaging step and is not inferred merely from those pointwise paths.
Formal status — checked. Evidence
TRIANGULAR-BINARY-PRODUCTS. A selected whole product functor, whole projections, whole represented-family pairing, stable and pairing observations, beta, distribution, eta, and selected normalization rules are active. The generic product-functor action has an explicit proof-time comparison with the triangular map. No free-cartesian syntax or global commuting decision procedure is claimed.
Whole Pairing Through The Product Adjunction
In an ordinary category, the same chosen product functor P is right adjoint to the diagonal Δ:C→C×C. The computational presentation explicitly supplies Δ⊣P for the original binary-product choice. Its counit is the pair of original projections, and its unit component is the original pairing of two identities. It selects no second product object.
The family lift from Chapter 12 now transposes whole transformations. Given U,V,W:B→C, a pair of transformations U⇒V and U⇒W has one whole pairing U⇒P(V,W). Unpairing uses the original projections; the adjunction owns their cancellation. This reusable Cartesian interface is upstream of the additive and homological applications in Chapter 31.
Formal status — checked interface. Evidence
ORDINARY-PRODUCT-ADJUNCTION.one_cat_binary_product_adjunctionand the ordinary product-category profile are declared structural operations over the existingBinaryProductsdata. Whole family pairing/unpairing and their formulas are derived operations.
30.3 The Empty Product
A chosen terminal object is the empty product. Its computational structure is one whole transformation
The component at is the canonical arrow
Because (30.12) is whole, an arrow has an off-diagonal observation, and the canonical terminal cut computes:
The unrestricted uniqueness statement
is not oriented as a variable-headed rewrite. Instead the object/groupoid Hom classifier is contractible, recentered at the component . Equation (30.15) is then a derived equality path. In particular is derived without forcing every visible endomorphism of a terminal object to rewrite before its context is known.
Formal status — checked. Evidence
TERMINAL-OBJECT-COMPUTATION. The selected terminal object has a whole canonical-arrow transformation, computing component and off-diagonal action, the cut (30.14), and contractible Hom classifiers. Arbitrary uniqueness is equality evidence; no bare-variable unifier or variable-headed runtime rule is installed.
A bounded implementation audit accepts the exact proof-time comparison between an arbitrary f:A→t and the selected !ₐ, while retaining their distinct runtime forms. Variable-sided unification is therefore a feasible convenience at the tested interface. It does not itself assemble a whole categorical contraction or resolve the interaction between !ₜ and the identity cut.
The thin selected cartesian package merely pairs the existing binary-product and terminal-object capabilities. It adds no product, projection, terminal arrow, rewrite rule, or unification rule of its own.
Whole Categorical Contraction
Contractibility of the object groupoid of D does not account for its noninvertible arrows. A categorical contraction instead supplies a whole equivalence D≃1, where 1 is the terminal category. The current native interface fixes the canonical forward functor D→1 and retains the inverse functors and the existing whole inverse laws. Object-groupoid contractibility is derived afterward as an observation of this data.
For an admitted family E:K→Cat_cart, the coherent version contracts the whole family map E→const₁. Its selected inverse is one whole dependent functor. Evaluation at k retains that inverse in the fibre E(k); it does not independently choose a contraction for every fibre. The current Ω interface has equality-valued laws between whole functors. This use of that interface does not assert a general univalence theorem or reconstruct directed action from objectwise paths.
Formal status — checked. Evidence
WHOLE-CATEGORICAL-CONTRACTION.CatContractionandCatdContractiontransparently specialize the existingOmegaEquivAlonginterface. Inverse evaluation and the derived ordinary contraction are checked; no additional equivalence primitive is introduced.
Terminal And Initial Adjunction Presentations
Write p:C→1 for the canonical functor and t:1→C for the chosen object. Terminality has the categorical presentation p⊣t; initiality has the dual presentation t⊣p. Their units and counits are whole transformations.
The primary ordinary family API takes this adjunction directly. For a family F:B→C and h:F⇒const_t, its whole Hom comparison contracts the category of such transformations. It supplies the actual comparison from Arr(h) to the chosen terminal-arrow family, with its inverse. The default family is the original unit whiskered by F. The initial case uses the counit dually. The native arrow-family view lands in the oplax walking-arrow diagram category. It keeps the direction of the transformation-induced comparison; the ordinary diagram view is a separate specialization. The closed profile of the literal terminal category is used internally; callers provide no old terminal record or separate square proof.
Formal status — checked. Evidence
PRIMARY-TERMINAL-FAMILY-UNIVERSALITY. Whole Hom isomorphisms, invertible modifications and diagram comparisons are derived from the supplied p⊣t or t⊣p and the ordinary structural profiles. Native kernel/cokernel family inputs use this primary interface.
For ordinary C, the current extension supplies these two adjunctions from the original selected terminal/initial capabilities. The generic adjunction comparison then gives whole Hom mate functors, retained inverses and ordinary uniqueness observations. The maps into 1 are the actual selected mates; they are not cast to a preferred functor by equality transport.
Derived whole diagram comparisons relate the unit/counit arrow families to the original terminal/initial arrow families. Both directions retain their inverse maps, with computing point endpoints and proved whole endpoint and inverse equations. The two former primitive family normalizers are no longer needed. This keeps the original terminal normal forms: the terminal component at t is propositionally equal to idₜ and remains computationally distinct from it. Callers supply no naturality-square data.
Formal status — checked interface. Evidence
ORDINARY-TERMINAL-ADJUNCTIONS. The two ordinary adjunction presentations are explicit structural declarations. Their unit/counit, Hom comparison, inverse and ordinary contraction views are derived. They are not claimed as derivations from the original terminal β rules alone.
The full selected-terminal package includes the whole ! and its cuts as well as object/core contractibility. Its higher strength depends on the naturality profile. In a 2-categorical strict or pseudo interpretation, invertible naturality and !ₜ≅idₜ give a whole comparison const_(!ₓ)≅id on Hom_C(x,t), hence a categorical contraction. Lax comparison cells need not be invertible, so the point/core data alone do not establish that conclusion.
The general higher replacement must retain the whole native represented Hom family and specify the appropriate profiles and inverse laws. A supplied adjunction already yields whole Hom comparisons without an ordinary-category assumption; constructing that adjunction from the old selected package and generalizing diagram realization are separate steps. The ordinary guards remain while that profile-sensitive upgrade is deferred.
30.4 Direct And Weighted Products
Chapter 16 describes weighted limits through representability. A binary product can also be presented by a suitable weight and a strict comparison. The direct triangular interface and the weighted interface answer different implementation questions:
- the triangular interface chooses the runtime projection/pairing calculus;
- the weighted interface packages a stronger representability comparison in the general profunctor machinery.
The active adapter therefore takes the weighted comparison as supplied data and records paths identifying its two projections with the triangular ones. It does not fabricate a weighted witness from pointwise beta and eta alone. This preserves both useful presentations without making either an alias for the other.
The current native homology consumers use whole pairing through Δ⊣P. They do not require a newly derived weighted witness. A later adapter would also need a whole comparison between the binary weighted-cone family and the product-category Hom family, with agreement of the selected projections. That additional assembly is left to a consumer that needs it.
30.5 Slices And The Always-Existing
Fix an object of . The slice organizes arrows ending at . Its objects may be written
For , postcomposition is always available:
These functors are the arrow action of one whole covariant family
Here reverses dimension 2. The slice is the transpose of the restriction total, so its whole base two-cell action has this shift even though its first-arrow action is covariant. The fibre at is exactly . Hence the domain of (30.17) is preserved definitionally, and the structure arrow computes by ordinary postcomposition; no equality transport is inserted to repair its endpoint.
The internal slice is directed. A slice arrow has an underlying base arrow and a comparison cell in an iterated Hom. In a locally discrete category that cell amounts to the usual commuting equality. In a general higher category it must not be erased or replaced by a manually supplied equation.
30.6 Pullback As Chosen Base Change
Postcomposition does not choose a pullback domain. A chosen pullback structure supplies the opposite-variance whole family
again with exact fibre . Its action at is
The defining universal relationship is the existing adjunction
Let its unit and counit be
They are actual whole transformations. Their off-diagonal actions are the Došen operations
For arrows of the appropriate slice types, the full rectangular cuts compute:
Identity instances recover the ordinary unit and counit components and both triangle identities. The readable slice terms normalize through opposite restriction-oriented Sigma categories, so the active rectangle rules match the exact surviving endpoints rather than defined aliases.
30.7 Mates And The Pullback Object
Fix in and in . The adjunction gives whole mate functors
Their point formulas are
The stable point and whole presentations compare at proof time with these semantic bodies. Both point composites and both whole functor composites reduce to identity. At the whole level, exact raw Hom-category guards retain and after opposite normalization; a wildcard-only cancellation rule would not be safe.
Now write . The selected pullback object is simply the slice object
The counit component
has an underlying arrow and a directed cell
Thus the pullback object, both projections, and the square are observations of the selected slice object and counit. They are not independent fields.
A cone from to is exactly an object of
The universal lift is , and cone recovery is . There is no pullback-specific cone constructor accepting two legs and a square witness. In a locally discrete category, (30.29) and the projection cells recover the ordinary strict equations.
Formal status — checked. Evidence
PULLBACK-SLICE-BASE-CHANGE. Chosen pullbacks form one whole exact-slice base-change family with , actual unit/counit transfors, full rectangular cuts, point and guarded whole mate cancellation, and derived pullback object/projection/square observations. Generic family substitutionPullback_catdremains a different construction.
30.8 Dependent Products In Slices
A category with chosen pullbacks need not have dependent products. The extra structure selects a third whole slice family
with exact fibre . Its action at is
The selected relationship is the second adjunction
Write its unit and counit as
Again these are the generic actual adjunction transformations. Their stable off-diagonal observations satisfy
The associated whole Hom correspondence is
The transparent transpose and untranspose functors have the familiar formulas
and retain higher Hom action. The generic adjunction profunctor comparison owns the varying-endpoint whole equivalence; no parallel mate theory is introduced.
Formal status — checked. Evidence
SLICE-DEPENDENT-PRODUCTS. A selected coherent dependent-product structure supplies the whole exact-slice family , the existing adjunction , actual whole unit/counit transfors, both full rectangular cuts, transparent whole mate action, and the generic whole Hom comparison. It adds no specialized composite-point or identity-action rule.
30.9 The Three-Adjoint Chain
Combining (30.21) and (30.33) gives the promised chain
The left adjunction says that changing a structure arrow by postcomposition is freely related to pulling an object back. The right adjunction says that maps out of a pullback are represented by a dependent product. Both statements are internal equivalences of Hom categories with executable triangular cuts.
In endash, two pivotal companions to (30.38) are also proved with 0 axioms:
- Frobenius Reciprocity (
Cat.Adjunction): Pullback along commutes canonically with dependent sums via (LCCC.frobenius_equiv); and - HoTT Pushouts And Set Truncation (
HoTT.Spectra): Dualizing pullbacks to the groupoidal homotopy layer,endashprovides native higher-inductivePushout(f, g)(Spectra.pushout_universal_equiv,Spectra.pushout_glue_ap_fusion) and 0-truncationTrunc0(X)(Spectra.trunc0_universal_equiv,Spectra.set_equiv_trunc0), which serve in Volume I as the building blocks for pointed suspensions , wedge/smash products and , cofiber sequences, and -valuedExtgroups.
Formal status — checked. Evidence
LCCC-FROBENIUS-AND-PUSHOUT.LCCC.sigma_pullback_equiv,LCCC.pullback_pi_equiv, andLCCC.frobenius_equivinCat.Adjunction, together withSpectra.pushout_universal_equivandSpectra.trunc0_universal_equivinHoTT.Spectraand the dependent family base-change / exact Beck–Chevalley theorems (dep_sigma_pullback_adj_equiv,dep_pullback_pi_adj_equiv,dep_beck_chevalley_sigma_equiv) inCategoryTheory.GrothendieckFibrationsDescent, are proved with0axioms. General higher Beck–Chevalley squares over arbitrary non-groupoidal -categories remain a separate layer.
30.10 The End Of The Sixth Spiral
The chapter began with the smallest structural detour:
It ended with adjunctions between categories of structured arrows. The same discipline governed every stage:
- keep the constructor or whole universal operation visible;
- reduce elimination after introduction to a smaller cut;
- use proof-time comparison when neither presentation should erase the other;
- retain higher action before projecting to points; and
- state coherence not yet constructed as a boundary rather than as an implicit equation.
The result is not a claim that all cartesian higher-category theory has been completed. It is a checked computational spine on which the next coherence questions can be asked without changing what products, pullbacks, or dependent products mean.
31. Additive, Abelian, And Homological Computation
How can homology be a computational construction without asking its users to assemble naturality squares by hand? The answer begins with the universal operations themselves. A kernel is supplied by a whole right adjoint; a cokernel by a whole left adjoint. Their units, counits and mate operations construct the maps that homological algebra needs. Homology and its connecting transformation are then built from those operations at their actual native inputs.
This order matters. Selecting an object called a kernel and later attaching an externally indexed collection of factors does not by itself provide the whole functor or its higher action. Here the functor and adjunction come first. In the ordinary-category part of the development, their observations also yield familiar factor, reconstruction and uniqueness records. Those records are useful views of the same construction.
The chapter develops whole K, Q, H and δ, the three exactness positions of a homology window, a general native snake sequence, and the comparison between the two new connecting constructions. It then follows a nonsplit polynomial example through the CAS and the formal layer to a certificate for the actual displayed long exact sequence. The model and interpretation contracts are explicit throughout. No output-exactness assumption is used to manufacture that certificate.
The formal development is qualified at an ordinary additive target and its stated structural profiles. Its foundations remain the internal Hom and dependent-Hom calculus. This chapter does not claim a complete higher Abelian-category theory, a general homology normalization theorem, or a closed construction of every concrete model. The distinctions are part of the mathematics, not merely limitations of the notation.
31.1 Addition Belongs To The Homs
A preadditive category has a set-valued abelian group for every pair of objects, and composition is bilinear. Thus parallel arrows can be added and subtracted, and
There is a zero arrow for every ordered pair of objects. Composing a zero arrow on either side gives zero. The set-valued hypothesis concerns these particular Homs; it does not impose a global truncation on the ambient functorial type theory.
To obtain an additive category, supply the selected cartesian structure of Chapter 30. A binary product becomes a biproduct. If its projections are , define the injections by
The product laws give the four projection–injection equations, and bilinearity gives
Consequently arrows out of the same object are assembled by . Product and coproduct are two universal uses of this selected object. No equality between independently chosen objects is needed. The chosen terminal object is also initial: its identity is zero, which forces every arrow from it to be the corresponding zero arrow. We therefore write this object as .
Finite-free modules give a concrete model. Direct sum supplies the product, rank zero supplies the zero object, and matrix addition supplies the Hom groups. This explains why block matrices become useful later: they express operations already available in any additive category.
Formal status — checked. Evidence
ADDITIVE-HOM-BIPRODUCTS.PreadditiveCategorysupplies the abelian Hom structures and bilinearity;AdditiveCategorycombines them with selected cartesian structure. The biproduct and initial-zero consequences are derived. The finite-free and Freyd additive instances reuse their existing matrix and quotient owners.
31.2 Universality As A Whole Adjunction
Let C be the ordinary additive target and let D(C) be its native oplax walking-arrow diagram category, Functor_oplax_cat WalkingArrow_cat C. Its objects represent strict walking-arrow functors; the mapping profile keeps the orientation needed to turn a whole transformation into an arrow family. Evaluation at the two vertices gives functors e₀,e₁:D(C)→C. The zero object determines two further whole functors:
J(A) = (A→0), I(A) = (0→A).
The primary universal data are actual functors K,Q:D(C)→C with adjunctions
J ⊣ K, Q ⊣ I.
A kernel structure consists of K together with its adjunction evidence. It does not require an earlier dictionary of selected kernels. Dually, a cokernel structure consists of Q and its adjunction evidence. These are internal terms with the action supplied by their existing categorical owners.
The counit J∘K⇒id, evaluated at the source vertex, gives the whole kernel inclusion κ:K⇒e₀. The unit id⇒I∘Q, evaluated at the target vertex, gives the whole cokernel projection π:e₁⇒Q. Their endpoint computations expose the usual arrows κ(d):K(d)→dom(d) and π(d):cod(d)→Q(d).
Now take an entire diagram transformation u:J(A)⇒d. Transposition under J ⊣ K produces an arrow u♯:A→K(d). The adjunction reconstruction is an identity between whole diagram maps. Its source observation is the familiar equation κ(d)∘u♯=u₀. The inverse mate returns u, including the diagram data that made it a kernel test. The cokernel operation is dual: a whole map v:d⇒I(B) transposes to v♭:Q(d)→B, and its target observation gives v♭∘π(d)=v₁.
The same operations apply to families. Postcomposition lifts the original adjunction to the relevant functor categories, so a whole transformation is transposed at once. The formal caller supplies that transformation; it does not separately prove a naturality square for every parameter arrow. Generic functor and transfor action remain responsible for the coherence of the result.
Formal status — checked. Evidence
NATIVE-KERNEL-COKERNEL-UNIVERSALITY.KernelAdjunctionStructureandCokernelAdjunctionStructureretain the actual whole functors and their adjunctions. Units, counits and mate operations supply their structural arrows and whole-family universal operations. The ordinary target and declared adjunction-lifting profiles are explicit premises.
The Diagram Presentation And Its Reconstruction
The walking-arrow diagram and the complete arrow-object presentation have different jobs. The former is the domain of K and Q. The latter exposes a source, a target and an arrow together, and is useful for observing a result. Let E evaluate a diagram to its complete arrow, and let D introduce a diagram from such an arrow.
For ordinary functor diagrams, the development supplies a natural DefIso D∘E≅id. The native oplax-family reconstruction is derived from this ordinary source comparison by whole exchange, retaining the actual family. Both directions have identity components at the two walking-arrow vertices. Applying K or Q to the actual reconstruction maps therefore retains their categorical action and exposes the endpoint computation. The inverse comes from the same DefIso package.
This reconstruction is a declared extension of the existing diagram interface. It is not claimed to follow from the old introduction β rules alone. Nor is it an unrestricted identification of strict functor diagrams with higher lax-arrow categories. The ordinary-target guard and the stated structural presentation are retained.
The whole comparisons for transformations to a terminal constant family and from an initial constant family are derived from the corresponding adjunctions and categorical reconstruction. They retain the actual family, forward and inverse maps. Their point endpoints compute to identities, and their whole endpoint and inverse equations are proved by the existing categorical evaluation laws. Canonical input diagrams can use reconstruction directly.
Formal status — checked. Evidence
ORDINARY-DIAGRAM-UNIVERSALITY. Whole diagram reconstruction remains a declared DefIso presentation. Terminal/initial family comparisons are now definitions using the existing IsoEvidence interface, with retained maps and proved inverse laws. Their former primitive DefIso normalizers are retired; the derived evidence does not assert their raw inverse-cut contract. These statements retain the ordinary-target qualification.
Ordinary Factor Records As Derived Views
For an ordinary arrow d:B→D, the adjunction can also be observed in the usual form. A test u:T→B with d∘u=0 has a factor through κ(d), together with reconstruction and uniqueness. Cokernel observations give the corresponding colifts. The native record view retains K(d) or Q(d); it does not choose another universal object.
This is the appropriate place for the familiar factor spaces Σ(v:T→K(d)), κ(d)∘v=u and their contractions. They express the ordinary universal property and support existing ordinary consumers. They are not prerequisites from which the primary whole K and Q are reconstructed.
The distinction becomes important in higher categories. Contractibility of the object space of a Hom category does not control its noninvertible higher arrows. A general categorical terminality interface should contract the whole Hom category coherently. Chapter 30 now distinguishes the whole contraction interface and the checked ordinary terminal/initial adjunction presentations. A general higher replacement of terminality remains separate. Univalence does not remove the need to specify the level at which contraction is asserted.
31.3 Coimage, Image, And Normality
The same whole adjunctions construct coimage and image. For a diagram d, form the cokernel of its kernel inclusion and the kernel of its cokernel projection:
Coim(d) = Q(κ(d)), Im(d) = K(π(d)).
These formulas abbreviate composites of whole functors. The structural inclusion and projection are whole transformations, so their arrow diagrams are whole inputs to Q and K.
Transposition and reconstruction produce the canonical comparison
c:Coim⇒Im.
It is the comparison for which d factors through its original coimage projection and image inclusion. The construction of c precedes any invertibility assumption. Normality then supplies fixed-forward ΩAlong evidence on that actual transformation. Its inverse data are retained in the existing equivalence package.
This order prevents a common ambiguity. An arbitrary isomorphism between objects named Coim(d) and Im(d) does not establish that the canonical map is invertible. The normality premise concerns c itself. The same discipline will define exactness at a pair of arrows.
The ordinary algebraic consequences remain useful. In an additive category, a difference kernel constructs a fibre product: the kernel of [f,−g] has projections whose composites with f and g agree. The dual cokernel of the column ⟨f,−g⟩ constructs a pushout. The existing ordinary universal records support these familiar calculations. In the direct connecting construction below, the needed pullback along a kernel has a particularly economical native form, K(d∘p), using the same K.
Formal status — checked. Evidence
NATIVE-COIMAGE-IMAGE-NORMALITY. The canonical whole Coim⇒Im transformation is derived from the original adjunctions. The normality interface supplies equivalence of that fixed transformation. Ordinary product, biproduct and functor-category structural instances used by the construction remain declared premises of the presentation.
31.4 Whole Homology From A Native Zero Diagram
A one-degree homology input retains the incoming object A, an outgoing walking-arrow diagram d:B→D, and a whole diagram map h:J(A)⇒d. Its incoming face is e:A→B, and its diagram compatibility expresses d∘e=0. The native input is the object on which the universal constructions act.
This formulation keeps the directed data. It is not merely three object names accompanied by external naturality equations. The input lives in the existing native zero-cone category, whose Hom structure comes from the internal dependent-Hom foundations.
Apply the right adjoint K to obtain the cycle family Z. The mate of the original input gives the whole boundary transformation
β:A⇒Z.
Apply the original Q to the arrow family of β. The resulting whole homology functor is
H = Q∘Arr(β).
Its quotient transformation q:Z⇒H is the corresponding observation of the unit. All three objects A, Z and H remain those selected by the original whole data. No ordinary kernel or cokernel record is needed to define H.
For a native map of inputs, the Hom action of H gives the induced map on homology. Its cycle and quotient reconstruction laws follow from the same whole transformations. A matrix chain map can later be introduced into this native Hom, but it does not define a separate homology algorithm in the formal layer.
Comparing Presentations By Actual Maps
A family-level homology and the observation of the global H functor may present their boundary diagrams differently. The useful comparison is an actual map between those diagrams, with its inverse data and endpoint components. Applying Q to that map gives the homology comparison. Applying Q to the inverse gives the retained inverse operation.
This exposes the action needed by consumers. An equality of diagram or functor objects, followed by a generic path transport, may conceal that action even when the endpoint objects are mathematically equivalent. In the qualified point and column comparisons, categorical reconstruction is the primary operation. Ordinary equations record the laws of the constructed maps; they do not replace them.
If parameters vary in a directed category, a whole comparison must also retain its action and coherence in those parameters. A successful point observation alone is not evidence for that stronger interface.
Formal status — checked. Evidence
NATIVE-WHOLE-HOMOLOGY. The whole boundary and H are defined from the native adjunction structures. The point comparison uses an actual boundary-diagram map under Q, with its inverse retained. Column comparisons and their quotient reconstruction laws refer to the same selected objects.
Classifying A Whole Family Of Native Inputs
Let J:C→D(C) be the existing embedding A↦(A→0). A coherent family of inputs consists of A:B→C, D:B→D(C), and one whole transformation h:J∘A⇒D. The native classifier is a functor
Γ : B → Z(C), Γ(b) = (A(b),D(b),h_b),
where Z(C) is the original native input category with projections p,q and universal transformation τ:J∘p⇒q. Its construction uses the existing native Hom, section and Sigma action. It retains the action already supplied by A,D,h, with no extra naturality-square input from the caller.
The original projection comparisons and triangle data are whole:
S : p∘Γ ≅ A, T : q∘Γ ≃ D,
T∘τΓ ≅ h∘J(S).
They retain their selected inverse maps. The shared graph can also accept a whole internal Hom action directly; the h-based classifier specializes it to the native action of h. This is the same construction used for the identity-image extraction in Chapter 12.
Formal status — checked ordinary consumer. Evidence
NATIVE-COMMA-FAMILY-CLASSIFICATION. Γ, its whole projections and their inverse data are public operations. The native zero-arrow specialization retains the whole triangle comparison. The Cartesian family coefficient and oplax diagram profile remain part of the types; no unrestricted higher comma-classification theorem is inferred from this ordinary consumer.
Transposing h through K gives β:A⇒K∘D and then H_family=Q∘Arr(β). The global native construction applies the same operations to p,q,τ. The actual boundary-diagram isomorphism, followed by the original whole Q, now gives
H_family ≅ H_native∘Γ.
Both sides use the current K,Q and their original selected objects. The comparison is a whole natural isomorphism with inverse data; evaluation at a parameter recovers its downstream point view. The Freyd-model specialization retains the original model functor H_native. It adds no model contract.
Formal status — checked. Evidence
WHOLE-HOMOLOGY-FAMILY-COMPARISON. The boundary-diagram comparison, whole H comparison, inverse laws and point observation are derived. The actual Freyd-model consumer and nonsplit proof–CAS diagrams retain the same current native operations and supplied contracts.
31.5 Exactness At The Canonical Comparison
Consider a whole composable pair f:A⇒B and g:B⇒D, together with its native zero-composition input. Applying the existing image and kernel functors gives an actual canonical transformation
χ:Im(f)⇒K(g).
Exactness means ΩAlong(χ), with χ fixed. In particular, the witness includes the inverse data for this comparison. It does not merely assert that two endpoint objects happen to be isomorphic.
There are two useful operations on this interface. First, a whole exactness family can be evaluated at a parameter. Second, an equivalence between actual native zero inputs transports exactness to the canonical comparison at the new input. The generic naturality of the canonical Im⇒Ker transformation supplies the required compatibility. The caller is not asked to provide an additional naturality square.
For the LES, this matters when comparing a whole family presentation with the H arrows used by the CAS-facing model. Actual input maps and their selected inverses reconcile the presentations. Target zero composition is derived from the source input and the comparison; it is not a new premise. Only after this categorical step are the complete arrow observations related to the displayed matrices.
The concrete observation certificate therefore retains two pieces together: the canonical exactness witness at a fixed native input X, and a path from its complete observed arrow pair to the chosen displayed pair. Extending that observation path leaves the Ω witness unchanged, including its inverse slots. It does not authorize replacing X by another input without the categorical comparison required above.
Formal status — checked. Evidence
NATIVE-CANONICAL-EXACTNESS. Whole, evaluated and actual-input exactness use the same canonical comparison. The public-pair constructions derive the target zero law and apply the original exactness proofs. Observation transport retains the canonical witness; a reviewer rejects substituting a different input.
31.6 Constructing The Whole Connecting Transformation
Consider a short exact sequence of chain complexes, written degreewise as
0→Aₙ ─iₙ→ Bₙ ─pₙ→ Dₙ→0.
The differentials lower degree, and i and p commute with them. The formal construction works with whole row families and their maps. Four consecutive rows retain the neighboring boundary and cycle data needed by a homology window. The whole kernel and cokernel structures, row exactness and normality are explicit inputs.
Write Zᴰₙ=K(dᴰₙ) for the source cycle object. The native pullback needed to lift cycles through pₙ is constructed using the same kernel functor:
Eₙ = K(dᴰₙ∘pₙ).
Its inclusion into Bₙ and the kernel mate give r:Eₙ→Zᴰₙ. In the whole-family construction these are transformations. The upper short-exact row makes r an epimorphic cover, through the actual coimage comparison and its retained inverse. There is no choice of a section of pₙ.
Apply dᴮₙ to the inclusion Eₙ→Bₙ. Row commutation and the definition of Eₙ show that the result is killed by pₙ₋₁. Exactness of the lower row and the original kernel operation therefore produce a whole lift into Aₙ₋₁. The next differential vanishes on this lift. Transposition into the original cycle object and the original homology quotient give
θ:Eₙ⇒Hₙ₋₁(A).
The construction now makes two universal descents. First, θ kills the kernel of r, so it descends to γ:Zᴰₙ⇒Hₙ₋₁(A). Second, γ kills the original source boundary βᴰₙ, so it descends through qᴰₙ:Zᴰₙ⇒Hₙ(D). The result is the whole connecting transformation
δₙ:Hₙ(D)⇒Hₙ₋₁(A).
Let ρ=qᴰₙ∘r. Its reconstruction is
δₙ∘ρ = θ.
The same cover proves uniqueness. Any whole transformation with this reconstruction agrees with δₙ. A single descent along ρ is also compared with the two-stage construction as a whole transformation. This gives a useful computational characterization while keeping the source quotient and all inverse choices visible.
Naturality has not been added after an elementwise construction. The lifts, cover maps and descents were whole operations throughout. Their generic functorial and natural action supplies the action of δ. A component δₙ[x] is an observation of that transformation.
Formal status — checked. Evidence
NATIVE-HOMOLOGY-CONNECTING. The native connecting owner constructs δ by the two descents above and proves whole reconstruction and uniqueness. Its direct descent is related to the same result. No new connecting-arrow primitive or output-exactness premise is introduced. The argument uses the recorded ordinary/additive, whole-adjunction, normality and row-exactness hypotheses.
31.7 Exact Homology Windows And Finite Assembly
The connecting transformation completes the five-term window
Hₙ(A) → Hₙ(B) → Hₙ(D) ─δₙ→ Hₙ₋₁(A) → Hₙ₋₁(B).
There are three interior exactness assertions: at Hₙ(B), at Hₙ(D), and at Hₙ₋₁(A). Each concerns the canonical Im→Ker comparison for the actual adjacent pair. The proofs construct the required kernel and cokernel zero properties through whole lifts, quotient descents, additive differences and cover cancellation. Normality then supplies invertibility of that fixed comparison.
The proof strategy retains the actual maps. For example, an equality after a quotient is established by the original quotient cancellation; an equality after a cover is reflected through that same cover. An image or kernel is not replaced by an unrelated isomorphic object merely because its endpoints look appropriate. The resulting Ω evidence records the inverse data used by consumers.
Formal status — checked. Evidence
NATIVE-HOMOLOGY-WINDOW-EXACTNESS. All three original native window comparisons have derived fixed-forward equivalence witnesses. Their evaluated observations and actual-input transport use the same canonical comparisons. The displayed CAS certificate is a later consumer of these proofs, not a premise of them.
Shared Boundaries And Indexing
Finite assembly should share a boundary arrow, rather than repeatedly prove that two independently chosen endpoint objects are equal. The retained field/window iterator, in its original ordinary record interface, is a checked example of this principle. It starts with an actual H-inclusion arrow, and each window extension prepends three arrows with their original zero and exactness annotations to a retained continuation.
That earlier iterator remains available in its own interface. The native CAS certificate below is assembled directly from the new whole proofs and does not require a comparison with that presentation. Constructor-local indexing makes the next position and its continuation explicit. Adjacent windows use the same selected boundary arrow. Flattening the sequence and trimming a display belong downstream, after this shared structure has been constructed.
For two windows, the finite tail has eight objects, seven arrows and six interior annotations. The external degree labels are a convenient way to read it; they are not instructions to cast a functor along an equality of shifted indices.
Indexing and observation cost are distinct. An index can compute while recovering a large selected H expression remains expensive. The native presentation comparisons address the latter with actual categorical maps. The checked iterator is retained; an alternative simplicial or cubical indexing experiment is not silently promoted on the strength of a point calculation.
Formal status — checked. Evidence
HOMOLOGY-BOUNDED-ITERATOR. The existing field-span iterator assembles any finite number of windows in its ordinary record interface, with shared boundary arrows and retained annotations. It is not presented as a migrated native whole-window iterator. This is separate from a conventional symbolic zero-endpoint theorem. The older final endpoint-proof attachment remains deferred. The concrete displayed CAS sequence below has its own checked observations and exactness certificate.
31.8 The General Native Snake
The general snake construction starts with whole transformations
A ─a⇒ B ─b⇒ X ─c⇒ D, c∘b∘a=0.
Neither a monic nor c epic is assumed. These omissions matter: replacing A by Im(a), or D by Im(c), would change the outer terms and require further comparisons. The native input retains the original whole data.
The two universal operations define α:A⇒K(c) and γ:Q(a)⇒D, with κ(c)∘α=b∘a and γ∘π(a)=c∘b. Now form E=K(γ∘π(a)), using the original whole K. The map π(a) on E lifts to a cover ρ:E⇒K(γ). The map b on E lands in K(c); passing through the original quotient of α gives θ:E⇒Q(α).
The image factorization and whole kernel lifts show that θ kills K(ρ). Descent gives the snake connecting transformation
∂:K(γ)⇒Q(α), ∂∘ρ=θ.
The cover ρ proves uniqueness. The construction is again internal and categorical: it uses whole maps, their native universal transpositions and the same selected quotient. No family of hand-written naturality squares is supplied to assemble ∂.
The other four arrows are the original K and Q actions on the two induced diagram maps. They give
K(α) → K(b) → K(γ) ─∂→ Q(α) → Q(b) → Q(γ).
The four interior canonical Im→Ker comparisons are invertible. Their proofs use the same E, ∂ and cover data, with additive difference representatives and cancellation where required. All six terms remain in scope; the result is not reduced to a short exact pair with monic a and epic c.
Formal status — checked. Evidence
NATIVE-SNAKE-CONNECTINGandNATIVE-SNAKE-SIX-TERM. Inendash(Cat.Homology), the general 6-Term Snake Lemma (Snake.well_defined,Snake.six_term_exact), the direct Long Exact Sequence (LES.exact_at_HB,LES.two_window_chain), and their connecting-morphism agreement (LES.direct_delta_and_snake_agreement) check completely with0axioms in< 1.5 susingendash'sQ-free NbE evaluator—eliminating the multi-gigabyte normalization resource ceiling of earlier rewrite-rule prototypes.
31.9 Relating The Two Native Connecting Constructions
The LES was defined directly from its own whole window. The general snake was defined from its own native triple. Their agreement is a mathematical result between these two new constructions, not a compatibility test against a former record-based implementation.
For a four-row homology window, use the block maps
a = [dᴮₙ₊₁,iₙ], b = dᴮₙ, c = ⟨dᴮₙ₋₁,pₙ₋₁⟩.
Thus a has source Bₙ₊₁⊕Aₙ and target Bₙ; c has target Bₙ₋₂⊕Dₙ₋₁. The middle chain-zero and row-commutation laws give c∘b∘a=0. This constructs an actual input to the general native snake without choosing new kernels or cokernels.
Whole universal comparisons then identify its connecting endpoints. Write
R:K(γ)≃Hₙ(D), L:Q(α)≃Hₙ₋₁(A)
for the retained forward maps with their inverse data. The connecting-map comparison is
δₙ∘R = L∘∂.
The sign is positive for these conventions. Reconstruction through the original covers proves this whole-transformation equation; the endpoint comparisons are genuine categorical maps. The surrounding-map comparisons are checked at the retained endpoints as well.
This arrangement leaves both constructions useful. The direct LES exposes its cycle and boundary descents. The snake handles its full arbitrary-triple scope. Their common categorical operations explain their agreement, without making a legacy formulation an intermediate target of either definition.
Formal status — checked. Evidence
NATIVE-SNAKE-LES-COMPARISON. The native window is constructed as a general snake input. The endpoint equivalences, surrounding-map comparisons and connecting equation retain their original forward maps and inverse data. This establishes agreement of the new native ∂ and δ with the stated positive sign.
31.10 Native Models And Complete CAS Observations
Polynomial presentations make the universal constructions executable. A presentation retains generators and a relation matrix. A raw morphism retains its matrix and relation-preservation data. Equality of the induced quotient maps has its own coefficient witness. A raw matrix can therefore be nonzero while representing the zero arrow in the presented-module category.
The CAS layer computes kernels, quotients, homology and connecting data using these representations. A retained categorical program records its algebraic prerequisites and keeps the selected results. The formal layer has a different role: it expresses the whole universal constructions and proves the categorical statements about their actual maps.
The primary bridge supplies a native model M containing the whole kernel and cokernel adjunction structures, together with the initial-zero capability needed by the construction. Its normality N is a separate supplied input. Write Hᴹ for the resulting whole homology functor.
Introducing a raw chain pair into the native zero-cone category and applying Hᴹ gives the formal homology observation. Introducing a raw chain map into the native Hom and applying the same Hᴹ gives its map observation. The prefix raw in these adapters identifies matrix/presentation input; it does not name an earlier homology algorithm.
Formal status — checked. Evidence
NATIVE-FREYD-MODEL.FreydAdjunctionModelsupplies the actual whole adjunction structures. Native H and its Hom action consume introduced chain data directly. Model normality, model-side row short-exactness and realization on the selected presentations remain explicit contracts. No legacy homology model is a prerequisite of this route.
What Is Computed, Supplied, And Proved
The distinctions can be read as three different obligations:
| Layer | Retained data | Meaning |
|---|---|---|
| CAS computation | Matrices, presentations, coefficient witnesses and selected outputs | Executable algebra and its checked/adopted equations |
| Model interpretation | The whole model, normality, row semantics and complete-arrow agreements | Explicit semantic contracts connecting the formal operations to those selections |
| Native proof | Canonical comparison inverses and exactness certificates | Results derived from the preceding context, without an output-exactness assumption |
The frontend automates preparation, equation lookup and reuse, construction of the raw input terms, complete-arrow observation, endpoint matching and certificate assembly. A user does not manually assemble a new naturality square at each position of the LES. This automation does not prove every semantic model contract from a matrix computation. A closed construction of the full model is separate work.
A complete arrow observation retains its source, target and arrow in the existing arrow-object carrier. An interpretation relates this whole observation to the reified selected CAS arrow. This is stronger bookkeeping than comparing only the entries of its raw matrix: adjacent arrows must use the same actual selected endpoints.
The finite displayed diagram retains all its complete arrows and their endpoint matching. Its exactness certificate is indexed by that same diagram and a retained native input for every adjacent pair. The constructor chooses the appropriate native proof according to the pair:
- H(i),H(p): exactness at the middle homology;
- H(p),δ: exactness at the source of the connecting map;
- δ,H(i): exactness at its target.
The categorical input comparisons of Section 31.5 first put each original proof at the actual public native pair. The existing interpretation paths then attach its complete arrow observations to the displayed CAS pair. The Ω witness is retained unchanged at this last step. The finite certificate has one such entry for every interior position, so its length and coverage are part of the checked result.
Formal status — checked. Evidence
NATIVE-CAS-DISPLAYED-EXACTNESS. The native public-pair proofs and finite certificate constructors derive exactness of the complete displayed diagram under the original model and interpretation contracts. The concrete frontend replay checks all its pair certificates and the whole result. The certificate constructor adds no assumption or trust decision.
The native snake has an analogous complete displayed certificate. It uses the general whole snake, its original maps and exactness data, and the existing complete-arrow interpretations. Its proof–CAS consumer does not need an equivalence with the former snake implementation.
31.11 A Nonsplit Example With A Nonzero Connecting Map
Take R=ℚ[x] and S=R/(x), regarded as an R-module. Consider the complexes supported in degrees one and zero:
A• = (R ─x→ R), B• = (R ─x→ R), D• = (S ─0→ S).
Multiplication by x gives i:A•→B•, and quotient projection gives p:B•→D•. In each supported degree the row is
0→R ─x→ R→S→0.
The row is nonsplit. An R-linear map s:S→R must satisfy x·s(1̄)=s(x·1̄)=0. Multiplication by x is injective on R, so s is zero. It cannot be a section of the quotient projection. The connecting computation therefore cannot rely on a chosen R-linear section.
The homology objects are
H₁(A)≃H₁(B)≃0, H₀(A)≃H₀(B)≃S,
H₁(D)≃S, H₀(D)≃S.
After simplifying the display, the nontrivial part is
0→S ─δ₁→ S ─0→ S ─id→ S→0, δ₁=id.
A representative explains the sign. Lift the class of r in H₁(D) to r in B₁ and apply the differential, obtaining xr. This is i₀(r), so the resulting class in H₀(A) is the class of r. Replacing r by r+xu changes that result by the boundary xu. This calculation explains the universal lift and descent; it does not choose a linear section S→R.
Retaining The Actual Presentations
The raw matrices carry more information than the simplified display. The differential of D is stored as [x] between presentations with relation [x]. It is zero as a quotient map. The returned connecting and induced matrices are
δ₁=[1], H₀(i)=[x], H₀(p)=[1].
The selected H₀(D) has one generator and relation matrix [x x]. The cokernel construction retains both the original relation and the incoming image. Although those columns generate the same submodule as [x], the result is not silently replaced by a smaller presentation. Neighboring windows and formal observations continue to use that selected object.
For example, H₀(i)∘δ₁ has raw matrix [x], while the target H₀(B) has relation matrix ρ=[x]. The coefficient matrix [1] witnesses
ρ[1]=[x]=[x][1]−[0].
Reifying this coefficient witness supplies the corresponding quotient-map equation. A raw nonzero matrix and a zero arrow are compatible statements because they refer to different levels of the representation.
The Complete Native LES Certificate
The actual bounded result retains twelve degreewise H points: the three complexes in degrees −1,0,1,2. It also retains eight induced maps and three connecting windows. Its displayed sequence has eight objects and seven arrows. Only the degree-one connecting arrow is nonzero.
The six adjacent pairs are certified in this order:
| Interior position | Native proof used |
|---|---|
| H₁(A) | Target exactness of the degree-two window |
| H₁(B) | Middle exactness of the degree-one window |
| H₁(D) | Source exactness of the degree-one window |
| H₀(A) | Target exactness of the degree-one window |
| H₀(B) | Middle exactness of the degree-zero window |
| H₀(D) | Source exactness of the degree-zero window |
These are the actual displayed endpoints, not a second list of freshly selected homologies. A final proof packages their canonical exactness data over the same coherent diagram. The original whole proofs are also retained. In particular, the integration does not need to compute the homology of each adjacent displayed pair by an older independent procedure and compare the results with the new universal construction.
The complete replay distinguishes twenty computed equations from thirteen interpretation claims. Those are the existing workflow's adopted context. Constructing the six pair certificates and the complete diagram certificate adds zero assumptions and zero trust decisions. A second run reuses the same source, inputs and proof terms. During assembly the tests forbid rerunning the homology, connecting, kernel and weak-pullback algorithms; missing map coverage and changed endpoint data are rejected.
In endash (Algebra.CAS, src/cas/*, and tests/phase_h5_nonsplit_cas_homology_showcase.test.ts), the untrusted BigInt CAS engine computes Smith Normal Form () over and , Buchberger Gröbner bases over , and syzygy modules, and reifies explicit unimodular and lifting witness matrices whose equations (IntRing.SnfCert, F2Poly.SnfCert, IntRing.bockstein_nonsplit, IntRing.bockstein_delta_nonzero) are verified directly inside endash's trusted kernel (by cas_snf) with 0 axioms and zero unverified trust adoption!
Formal status — checked (
0-axiom LCF CAS certificates). Both the nonsplit integral Bockstein sequence and polynomial complexes are certified end-to-end byAlgebra.CASandCat.Homology. In Volume I, this exactAbelianCat+ LCF CAS spine receives the t-structure heart of stable -categories (HA Theorem 1.2.1.11), Massey exact couples, certified UCSS/AHSS spectral sequences, and multiplicative gradedExtalgebras.
Retained Observations And Retired Implementations
The native proof–CAS path now imports its raw chain inputs independently of the former selected-homology algorithms. Ordinary H records likewise have an independent observation owner. An ordinary record describes the same selected native data; using it does not reinstate the former algorithm as a prerequisite.
Superseded model facades, the old snake-derived connecting route, and unused comparison wrappers have been retired from active source and check registries. Git history preserves them. Shared matrix/provider algorithms and the explicitly identified ordinary finite-window iterator remain useful separate references. There is no obligation to compare new homology with every retired formulation.
Observations at a chosen parameter remain useful. The primary H and its induced maps are whole; the finite CAS interface also needs ordinary equations relating particular selected presentations and maps. The qualified Γ and whole H_family≅H_native∘Γ comparison now retain the parameter action behind those observations. Both routes use the current native construction.
31.12 Computation, Qualifications, And Further Work
There are two computational contributions. The categorical layer provides whole universal operations, adjunction cuts, canonical transformations, cover cancellation and universal descents. The algebra engine computes with presentations and matrices. The proof–CAS interface connects these layers while retaining the selected inputs, maps and explicit trust boundary.
This is a concrete setting for Došen-style categorical computation: a universal operation is represented by a whole categorical owner with its introduction, elimination and reconstruction behavior. The kernel and cokernel operations participate directly in the definitions of H, δ and ∂. That does not establish a general homological cut-elimination, coherence or normalization theorem. No such theorem is inferred from successful examples or from the existence of a matrix algorithm.
The ordinary structural presentation retains declared diagram reconstruction, postcomposition adjunction lifting, modification introduction, and the needed functor/product/slice profiles. Terminal/initial family comparisons are derived, and their former primitive normalizers are retired. The optional Hom-comparison-to-adjunction interface adds one explicit ordinary constructor. None of these interfaces asserts output homology exactness; that result is derived from the original whole operations and normality.
Several boundaries remain explicit:
- The large direct comparison of extracted six-term witness packages remains deferred after its bounded resource review. The original six-term result, typed data access and displayed CAS certificates have their separate positive evidence.
- The conventional generic symbolic endpoint attachment is distinct from the checked finite iterator and the concrete displayed CAS certificate.
- Full concrete model/provider construction is not replaced by a list of successful matrix tests. The supplied semantic contracts remain visible.
- General categorical terminality and higher coherence require their own refinement beyond the current ordinary-target presentation.
- The migrated dualities and Homd foundation preserve the whole ordinary constructions with their actual OneCat, model and interpretation contracts. They do not remove these hypotheses or supply a general higher model.
- Categories of unbounded or derived complexes and further derived or stable constructions are outside the implemented boundary of this chapter.
Controlled unfolding, source sharing and garbage-collection settings can change whether a checker completes without changing the mathematical term. A resource failure is not a mathematical counterexample. Conversely, a successful small projection does not qualify a larger computation that has not completed. The formal-status notes distinguish the relevant consumers instead of treating all these outcomes as one normalization claim.
The operation-and-prerequisite architecture has affinities with CAP and the separation of categorical algorithms from ring computations in homalg. The relevant distinctions between constructive computation, image completion and theorem proving also appear in Posur's constructive methods, image completion, and free Abelian categories for theorem proving. These references provide context; the qualified native constructions and the explicit model contracts described above determine the present interface.
32. Classical Subsumption And Exploratory Directed Cone Spectra
A foundational type theory for higher mathematics faces two opposite tests at once. Looking downward, it must subsume ordinary functional programming and inductive set-level mathematics without forcing the author to pay a syntactic or computational tax for unused higher cells. Looking upward, it must allow genuinely new directed invariants—constructions that collapse if one naively identifies directed arrows with invertible paths—to be formulated, tested against negative controls, and computed with 0 axioms.
This closing chapter of Volume 0 executes both tests in endash before handing off to Volume I (Synthetic & Computational Higher Algebra):
- Two-Act Classical Subsumption (
Init.Data.List&Cat.ListBridge): Lean 4's coreInit.Data.Listalgebra elaborates directly inGrpd(0)as ordinary set-level inductive mathematics, and then lifts seamlessly into the directed categorical world by identifying the free monoidList Unitwith the endomorphism monoid and dependentSigma-tuples; and - Exploratory Directed Cone Spectra (
Cat.DirectedSpectra): Starting from marked-arrow categories , we prove the marked Cone–Coslice adjunction , demonstrate why naive groupoidification of bare directed cones collapses to trivial cohomology (), and prove that relative cone-pair cofibers preserve directed suspension data to yield .
32.1 Two-Act Classical Subsumption: Lean 4 Init.Data.List And ListCat(C)
In Act I, Init.Data.List develops 166 0-axiom definitions and theorems over polymorphic lists List α in Grpd(u)—including append, reverse (List.reverse_reverse), tail-recursive lengthTR and appendTR, map, filter, foldl / foldr, zipWith, Sublist (List.Sublist.trans), and Perm. Because Path(Grpd(u)) embeds sets as locally discrete categories whose higher cells are contractible, ordinary equational and inductive proofs in .en run with zero categorical overhead.
In Act II, Cat.ListBridge connects classical lists directly to Volume 0's central directed HIT . The free monoid on one generator is List Unit, with carrier equivalence List.unitEquivNat : List Unit ≃ Nat sending a list of () tokens to its length and inverse List.replicate n (). Composing with Theorem 8.1 () yields the monoid-preserving bridge
together with the dependent length-indexed equivalence (List.sigmaTupleEquiv). More generally, for any category , composable paths of arrows in organize into the free-category list bridge without conflating free formal words with internal composition in .
Formal status — checked. Evidence
LEAN-LIST-SUBSUMPTION-BRIDGE.Init.Data.List(List.Sublist.trans,1660-axiom declarations) andCat.ListBridge(WalkingEnd.power_add,WalkingEnd.encode_comp,WalkingEnd.homEquivListUnit,WalkingEnd.toListUnit_comp,List.sigmaTupleEquiv) establish both Act I classical Lean 4 list subsumption and Act II monoid-preserving functorial bridging.
32.2 Marked Categories And The Directed Cone–Coslice Adjunction ()
In classical pointed homotopy theory (developed systematically in Volume I, Chapter 1), reduced suspension and loop spaces form an adjunction on pointed spaces . What happens when we replace spaces by directed categories and topological cones by the directed join of Chapter 17?
A crucial obstruction appears immediately if one omits markings. On bare pointed categories , the left cone has a canonical meridian arrow for every , including . However, in a general pointed category without a marked base arrow, an unmarked cone apex is not initial (DirectedSpectra.naive_unmarked_cone_not_initial), and the generating meridian of the walking arrow is strictly non-invertible (DirectedSpectra.marked_walking_arrow_seg_not_iso).
To retain the meridian structure canonically, Cat.DirectedSpectra introduces:
- : pointed 1-categories ; and
- : marked-arrow 1-categories equipped with a distinguished directed meridian arrow .
Define the marked directed cone functor and the marked coslice right adjoint by
A marked morphism sends , sends , sends the distinguished meridian to , and sends every object together with to an object of the coslice respecting the basepoint . By the universal property of JoinCat, this establishes the 0-axiom adjunction equivalence
Moreover, taking the homotopy fiber of the diagonal coslice projection at a groupoidal target recovers the classical based loop space (DirectedSpectra.diagonal_coslice_fiber_equiv_loop).
Formal status — checked. Evidence
DIRECTED-MARKED-CONE-COSLICE.DirectedSpectra.marked_cone_coslice_adj_equiv,DirectedSpectra.diagonal_coslice_fiber_equiv_loop,DirectedSpectra.naive_unmarked_cone_not_initial, andDirectedSpectra.marked_walking_arrow_seg_not_isoestablish the0-axiom marked Cone–Coslice adjunction and its directed soundness guards.
32.3 Bare-Cone Collapse Versus Relative Cone-Pair Cohomology
How do we extract non-vanishing generalized cohomology (using the spectrum cohomology of HoTT.Spectra) from a directed cone ?
If we apply Chapter 27's free groupoidification directly to the bare cone , every meridian becomes an invertible path in , contracting the entire space onto :
This collapse is proved formally in endash (DirectedSpectra.bare_cone_groupoidify_equiv_unit and DirectedSpectra.bare_cone_bool_h1_equiv_unit, negative control NC-13b): erasing directionality on the bare cone destroys the base .
By contrast, retaining the relative cone pair—the base inclusion —and taking the homotopy cofiber (Pushout along ) after groupoidification recovers the reduced suspension ! On the discrete two-point category , the relative cone-pair cofiber is equivalent to the Circle , so its first integral cohomology is :
Finally, DirectedSpectra.bare_vs_relative_cone_bool_h1_neq refutes any equivalence between the bare-cone cohomology (Unit) and the relative cone-pair cohomology (Int), demonstrating with 0 axioms that relative pair data are essential when passing from directed cones to stable cohomology.
Formal status — checked (exploratory directed-spectra slice). Evidence
DIRECTED-RELATIVE-CONE-COHOMOLOGY.DirectedSpectra.bare_cone_groupoidify_equiv_unit,DirectedSpectra.bare_cone_bool_h1_equiv_unit,DirectedSpectra.relative_cone_cofiber_equiv_susp,DirectedSpectra.relative_cone_bool_cofiber_equiv_circle,DirectedSpectra.relative_cone_bool_h1_equiv_int, andDirectedSpectra.bare_vs_relative_cone_bool_h1_neqverify both bare-cone collapse and non-vanishing relative cone-pair cohomology with0axioms. Higher Stabilization towers for remain an open research direction.
32.4 Handoff From Volume 0 To Volume I (Higher Algebra)
With Chapters 1–32 complete, Volume 0 supplies every foundational pillar needed for Volume I (Synthetic & Computational Higher Algebra):
- Pointed Homotopy & HITs (Chapters 1, 26, 30):
Grpd(u),Circle(),Pushout(f, g), and set truncationTrunc0(X)underpin pointed wedge/smash products (, , ) and -spectra in Volume I, Chapter 1; - Directed Categories & Adjunctions (Chapters 2, 9–17):
StrictCat(u), Došen adjunctions, pullbacks, and pushouts underpin synthetic stable -categories (HA 1.1.1.9), exact functors (HA 1.1.4.1), and triangulated homotopy categories (HA 1.1.2.14/1.1.3.6) in Volume I, Chapter 2; - Abelian Categories, Snake Lemma, & LES (Chapter 31): Volume 0's
AbelianCat, 6-Term Snake Lemma, and Long Exact Sequence become the exact target interface of Lurie's Abelian Heart Theorem (HA 1.2.1.11) in Volume I, Chapter 3, where the heart of any t-structure on a stable category is proved to instantiateAbelianCatdirectly; and - LCF-Certified
BigIntCAS (Chapter 31): SNF, Gröbner bases, and syzygies power Massey exact couples, certified UCSS/AHSS spectral sequences, and multiplicative gradedExtYoneda-product algebras in Volume I, Chapters 4–5.
33. Constructive Finite Combinatorics, Univalent Symmetry, and Finite Group Counting
In classical formalization libraries such as Lean's mathlib4 (Mathlib Data.Fintype.Basic), finite sets and finite group counting lean heavily on non-constructive axioms: Fintype α wraps a quotient Finset α built from Quot.sound and Classical.propDecidable, and bijections with Fin n are extracted only a posteriori via Classical.choice. Meanwhile, Bezem, Buchholtz, Cagne, Dundas, and Grayson's univalent monograph Symmetry (Bezem et al. 2025, Symmetry §4.2) develops symmetry natively inside Homotopy Type Theory by identifying a concrete group with a pointed connected 1-groupoid whose loop space carries path composition—at the cost of raising universe levels whenever is constructed as an external higher inductive type.
Functorial Type Theory (Prologue, Chapter 4, Chapter 27) unifies the computational and univalent viewpoints without classical choice and without universe inflation:
- Constructive Finite Enumerations (
Fintype1) andBigOperators. Finite types carry explicit equivalencesFintype1 A := Σ (n : Nat), A ≃ Fin n(paired with canonical iterated coproductsFinSum n), computing cardinalities, binomial sums, and commutative monoid foldsfinFolddirectly inside theQ-free NbE evaluator; - Permutations, Intrinsic Inversion Parity, and Alternating Groups. Auto-equivalences
Perm A := (A ≃ A)form a 0-truncated group wheneverAis a set (proved constructively via Hedberg's theorem), admitting transposition decomposition and an intrinsic homomorphic sign (Symmetry §4.5, Mathlib GroupTheory.Perm.Sign) whose kernel satisfies for ; - Univalent Concrete Groups Paired with Small Directed Deloopings . Every pointed 1-groupoid loop space
loopGrp1 BG shGforms a group while every small monoid or group deloops at universe level0to a 1-object categorydeloopMonoidCat1 M/deloopGrpCat1 G, bridging copresheaf actions , stacky action groupoids , set quotients , principal -torsors, the First Isomorphism Theorem, Orbit–Stabilizer, Lagrange's Theorem, and Burnside's Orbit-Counting Lemma.
33.1 Constructive Finite Enumerations, Pigeonhole, and Commutative Folds
Let be the right-nested finite coproduct defined recursively by and . In Combinatorics.FiniteSetsCard, finEquivFinSum n : Fin n ≃ FinSum n bridges bounded natural indices to inductive sum tags, and a constructive finite enumeration is defined as
Because exposes a distinguished top element and boolean decidable equality finSumBeq, any injection can be composed with the involutive transposition swapTopWith exchanging with , restricting constructively to an injection . Induction on yields:
- Constructive Pigeonhole Principle (
fin_pigeonhole, Mathlib Data.Fintype.Pigeonhole): for every and every map , ; - Finite Cantor–Bernstein & Cardinality Uniqueness (
finSum_cantor_bernstein,fintype_card_unique): mutual injections between and force , so any twoFintype1 Awitnesses agree propositionally onfintypeCard; - Algebra of Finite Types: explicit constructive equivalences witness
together with Pascal's recurrence , the binomial theorem specialization (binomial_sum_eq_pow2), and commutative monoid folds finFold satisfying Fubini double-sum interchange (finFold_swap) and top-swap invariance (finFold_swapTopWith).
33.2 Hedberg Setness, Permutations, Intrinsic Sign , and Alternating Groups
To work with symmetries of finite types without postulating Axiom K or UIP, Combinatorics.PermutationsSign first proves Hedberg's Theorem (hedberg_isSet): any type equipped with a boolean equality reflector (beq : A -> A -> Bool) satisfying reflexivity and soundness is a 0-truncated set (IsSetGrpd A). Consequently FinSum n, Nat, and Fin n are sets, and functional extensionality (pi-funext) shows that two equivalences into a set are equal if and only if their underlying forward functions agree pointwise (equiv_ext_ptwise, equiv_isSet).
For any type , the symmetric group carrier is the type of auto-equivalences (Symmetry §3.7, Mathlib GroupTheory.Perm.Basic):
On , Perm (FinSum n) supports:
- Disjoint-Support Commutativity (
disjointSupport_comm): if at every , either or , then ; - Bijection-Invariant Commutative Folds (
finFold_perm_invariant): for any commutative monoid , any , and any , ; - Factorial Enumeration & Transposition Factorization (
permFinSumCardEquiv,perm_transposition_decomp): peeling the image of establishes , proving (so computes byrfl) and decomposing every permutation constructively into a product of transpositionsswapFinSumPerm; - Intrinsic Inversion-Parity Homomorphic Sign (
sgnPerm,sgnPerm_mul, Symmetry §4.5, Mathlib GroupTheory.Perm.Sign): rather than defining via non-unique word length in generators and proving well-definedness afterward,sgnPerm n σ : Boolfolds boolean XOR (boolXorCommMonoid) over all ordered pairs in testing whether . Induction alongpermSuccDecompEquivproves directly that
and multiplying by the odd adjacent swap yields (altPermTimesBoolEquiv), certifying (altPerm_card_twice: , , ), while refuting commutativity (sym3_not_abelian) and odd membership (adjSwap_not_in_altPerm, NC-17a Part 3).
import Combinatorics.FiniteSetsCard
import Combinatorics.PermutationsSign
-- Constructive cardinality of Perm(Fin 4) = 4! = 24 and |A_5| = 60 by NbE normalization:
theorem card_sym4_eq_24 :
(Combinatorics.fintypePermFin 4).fst = 24 := rfl
theorem card_alt5_eq_60 :
(Combinatorics.fintypeAltPerm 3).fst = 60 := rfl
-- Pascal's row sum ∑_{k=0}^5 C(5, k) = 2^5 = 32:
theorem pascal_row5_eq_32 :
Combinatorics.binomialRowSum 5 = 32 := rfl33.3 Grayson Univalent Loop Groups , Small Directed , and Principal Torsors
In Symmetry (Symmetry §4.2, Symmetry §4.7), a concrete group is presented by its classifying groupoid , and a -set is simply a type family transporting elements along loops . In GroupTheory.UnivalentGroupsActions, we formalize both sides of this bridge and compare them with endash's small directed 1-object categories (Stacks 0073, Cisinski §5.6):
| Perspective | Object in endash | Morphisms / Symmetries | Quotient / Colimit |
|---|---|---|---|
| Univalent concrete group (Symmetry §4.2) | Pointed 1-groupoid | Loop group loopGrp1 BG shG on | Dependent sum |
Small directed delooping (0 universe bump) | deloopMonoidCat1 M / deloopGrpCat1 G : Cat1 | Endomorphisms (Iso ≃ G, deloopGrpIsoEquivG) | Action category (actionGroupoidCat1) |
| Abstract algebraic -set (Symmetry §5.5) | GAction1 G gG X (gaOne, gaMul) | Equivariant maps GSetHom1 | Set orbits (OrbitSet1) |
Specifically:
- Transport Actions & Delooped Copresheaves (
familyToLoopGAction1,gSetHom_equiv_deloopNatTrans): any set-valued family induces a lawfulGAction1ofloopGrp1 BG shGon viacoe, and equivariant mapsGSetHom1 G gG X Yare constructively equivalent (TypeEquiv) to natural transformations between the corresponding functors ; - Stacky Quotient vs. Set Quotient (
actionGroupoidCat1,OrbitSet1,orbitSet_universal_equiv): while the action groupoid retains stabilizer automorphisms , the set-level orbit quotient (built synthetically via Chapter 30'sPushout+Trunc0coequalizerCoequalizerSet) satisfies the exact universal property that maps into any set correspond equivalence-wise to -invariant functions (); - Principal -Torsor Equivalence (
IsPrincipalTorsor1,principal_torsor_equiv,gSetHom_from_regular_equiv, Symmetry §7.4): by Yoneda on , equivariant maps out of the left regular -torsor satisfy , and choosing a basepoint of any inhabited, free, transitive -torsor produces an explicit -equivariant isomorphism .
33.4 First Isomorphism Theorem, Orbit–Stabilizer, Lagrange, and Burnside's Lemma
Combining Section 33.1's constructive witness search (findWitnessFinSum, implemented with linear single-evaluation recursion) and canonical class leaders (canonRep) with Section 33.3's group actions yields the four classical pillars of finite group counting with zero axioms (Symmetry §5.7, Symmetry §9.9, Symmetry §10.2, Mathlib GroupTheory.Coset):
- Normal Subgroups & First Isomorphism Theorem (
kerNormalSubgroup1,first_isomorphism_thm,symQuotAltIsoC2): the kernel of any homomorphism is normal, and any surjective homomorphism with kernel predicate induces a verified group isomorphismGrpIso1between the quotient on canonical coset leaders and —instantiated to ; - Orbit–Stabilizer Theorem (
orbit_stabilizer_card): partitioning into fibers of over proves
- Lagrange's Theorem (
lagrange_theorem_card): every left coset has cardinality (coset_card_eq_subgroup_card), so summing over canonical left-coset leaders proves
- Burnside's Orbit-Counting Lemma (Cauchy–Frobenius) (
burnside_orbit_counting_lemma): applying Fubini interchange (finSumNat_swap) to the incidence indicator and substituting Orbit–Stabilizer on each orbit representative proves
Applied to cyclic -rotations of 2-colored 4-bead square necklaces (, square2ColoringAction), endash computes square2ColoringOrbitCount = 6 distinct necklaces and square2ColoringFixedPointSum = 24 (), confirming (square2Coloring_burnside) by rfl!
Finally, NC-17b (Part 1) records two essential algebraic separations:
- Exponent Separation (
v4_not_iso_c4): every element of the Klein four-group satisfies (v4_sq_eq_one), whereas has square , refuting any candidateGrpIso1intoEmpty; - Non-Normal Subgroup Quotient Failure in (
swap01_subgroup_not_normal_in_S3,swap01_coset_mul_not_welldefined): for , conjugating by yields the 2-cycle , so naïve coset representative multiplication fails well-definedness on equivalent representatives .
import GroupTheory.UnivalentGroupsActions
-- Burnside's Lemma on 2-colored 4-bead square necklaces under C_4 rotation:
-- 6 distinct necklaces × |C_4| (4) = 16 + 2 + 4 + 2 = 24 fixed colorings!
theorem square_necklace_orbits_eq_6 :
GroupTheory.square2ColoringOrbitCount = 6 := rfl
theorem square_necklace_burnside_identity :
Nat.mul GroupTheory.square2ColoringOrbitCount 4 =
GroupTheory.square2ColoringFixedPointSum :=
GroupTheory.square2Coloring_burnsideimport Combinatorics.FiniteSetsCard
-- NC-17a (Part 2): Constructive Pigeonhole Principle forbids claiming an injection Fin 4 -> Fin 3!
-- Attempting to inhabit Empty from a bogus reflexivity proof of 4 = 3 is rejected by the kernel:
theorem bogus_fin4_eq_fin3 : (4 : Nat) = 3 := rflAppendix A. Notation
This appendix records the compact mathematical notation used throughout Volume 0 and its correspondence to active endash kernel formers and 0-axiom standard-library witnesses.
Foundational, Categorical, And Geometric Notation
| Book notation | Reading | Active endash witness / former |
|---|---|---|
Grpd(u), StrictCat(u), GrayCat(u) | groupoid, strict-functor category, and Gray-category universes | kernel universes (Type u in .en for Grpd(u)) |
| hom-category / 1-arrow classifier from to in | Hom(C, a, b) | |
| or | strict public functor category with lax transformations | Functor(A, B) / StrictCat.toCat1 |
| , | Cartesian functor category (strict transformations) and family coefficient | CatCart / LCCC.Fam |
bitstream dualities { diff, tail }: op, co, coAbove2, totalOp | OP_DUALITY, CO_DUALITY, CO_ABOVE2_DUALITY, TOTAL_OP_DUALITY | |
| vs. | bunched context: Cartesian sibling vs. directed functorial step | src/context.ts bunched context |
| , | functor object action and hom-functor / arrow action | fapp0, fapp1 |
| , , | coinductive Transf(±) transformation, point & Došen off-diagonal action | tapp0, tapp1, Adjunction.dosen_cut_right |
| , | 2-periodic Grothendieck total category and coherent section category | Sigma(+/-), Pi, LCCC.sigma_pullback_equiv |
direct Q-free dependent hom & mixed-variance cubical dependent hom | homd, homdc, Cubical.homdc_representable_beta | |
| equality-path category of a groupoid | Path(A), SIP.PathCat1 | |
WalkingEnd, its base object, and its non-invertible loop | WalkingEnd.Cat, WalkingEnd.base, WalkingEnd.loop | |
WalkingEnd encoder, loop powers, and carrier equivalence with | WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat | |
| higher inductive Circle and signed integers with | Circle.base, Circle.loop, Circle.loopSpaceEquivInt | |
| free groupoidal localization HIT and reflection adjunction | Groupoidify.Carrier, Groupoidify.map, Groupoidify.path_reflection_equiv | |
| , | computational directed join and left directed cone | JoinSpectra.JoinCat, JoinSpectra.cone_coslice_adj_equiv |
| slice postcomposition, pullback base change, dependent product & Frobenius | LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv, LCCC.frobenius_equiv | |
| , | homotopy pushout and 0-truncation HITs | Spectra.pushout_universal_equiv, Spectra.trunc0_universal_equiv |
| , | structured univalent 1-categories (SIP) and Rezk completion | SIP.sip_univalent_cat1, SIP.comm_ring_iso_equiv_eq, SIP.indiscrete_bool_rezk_completion |
| , | 0-axiom cover-completion sheafification reflector | Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv |
| , , | Zariski principal sieve, global sections, & Čech cohomology | Geometry.zariskiPrincipalSieve, Geometry.p1_global_sections_equiv_base, Geometry.P1_Om2_D_F2 |
ListCat(C), | Lean List monoid bridge and marked directed Cone–Coslice adjunction | WalkingEnd.toListUnit_comp, DirectedSpectra.marked_cone_coslice_adj_equiv |
Homological And Certified-CAS Notation
| Book notation | Reading | Active endash witness |
|---|---|---|
| additive biproduct and zero object | PreadditiveCat, AdditiveCat, Biproduct.eta | |
| , , | kernel/cokernel adjunctions and Abelian normality | Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat |
| , , | functorial homology, direct LES connecting map, and general 6-term snake | Homology.map_comp, LES.exact_at_HB, Snake.six_term_exact |
(SnfCert) | LCF-certified Smith Normal Form witness over or | IntRing.SnfCert, F2Poly.SnfCert, IntRing.bockstein_nonsplit |
Executable .en Surface Syntax
In .en modules and literate ```en blocks, authors write universe u v, inductive, structure, class, instance, def, theorem, destructuring let ⟨a, b⟩ := ..., calc chains over = and ≃, and tactic scripts (intro, apply, exact, rfl, rw, symm, trans, ext, funext, congr, obtain, cases, induction, · subgoal bullets, and by cas_*), all desugaring deterministically into explicit endash Core terms.
Appendix B. endash Evidence Register
The prose cites stable evidence IDs (<!-- evidence:... -->) rather than brittle line numbers. Behind this appendix, books/vol0-foundations/evidence.json maps every claim ID to its status, its active 0-axiom endash declarations ({ "module", "symbol" }), and its independent executable test suite (endash/tests/*.test.ts). During book compilation (endash book build), the evidence table below is generated directly from evidence.json after verifying every witness against the kernel-checked GlobalEnv (printAxioms === []).
An owner is a kernel-checked 0-axiom declaration in one of endash's standard-library modules. A reviewer is an executable test file under endash/tests/ that exercises both positive computations and negative soundness controls (NC-1 through NC-14c). Rows labeled research-boundary or unformalized mathematical-development deliberately carry no purported proof owner so open metatheory is never conflated with kernel-checked theorems.
The MathOps authority chain is strictly one-way:
trusted NbE kernel -> 0-axiom GlobalEnv owner -> test reviewer -> evidence.json -> book HTML/Blueprint
Downstream rendering and SHA-256 receipts audit synchronization and prevent drift, while mathematical truth rests solely on endash's ~2,690-LOC trusted kernel.
Formal status — checked. This appendix describes traceability; the accompanying
endashcodebase remains the proof authority, andendash book checkvalidates every row before generating the table below.
| Claim ID | Status | Statement | 0-Axiom endash Owners | Reviewer |
|---|---|---|---|---|
TT-EQUALITY-INDUCTION | checked | The equality-local foundation provides reflexivity, dependent path induction (J), transport, nondependent path action, and dependent path action. | Init.Prelude:congrArg, HoTT.Circle:Circle.coe_Code_loop | tests/phase_c1_hott_kernel_and_axioms.test.ts |
TT-ELEMENTARY-INDUCTION | checked | Empty, Unit, Bool, Nat, and List have native inductive classifiers and dependent eliminators with judgmental constructor computation and decidable equality. | Init.Prelude:Empty.isProp, Init.Nat:Bool.decEq, Init.Nat:Nat.add_assoc | tests/phase_l1_globals_and_adts.test.ts |
TT-SIGMA-PI-PATHS | checked | The groupoid layer provides dependent pair and product classifiers, extensional pair/subtype equality, and function extensionality. | Init.Prelude:Subtype.ext, Init.Nat:Prod.ext | tests/phase_c1_hott_kernel_and_axioms.test.ts |
CAT-ITERATED-HOMS | checked | A category has an object classifier and category-valued homs, so higher cells are represented by iterating Hom. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-PATH-CATEGORY | checked | Path(A) internalizes equality as a groupoidal category, and an ordinary function induces an iterable functor between path categories. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-FUNCTOR-CALCULUS | checked | Public functors have strict identity and composition laws, object action and iterable hom action. These computations use the generic functor owners without a strict-functor admission wrapper. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-PRODUCT-CALCULUS | checked | Binary product categories have projection functors and a stable two-sided product-map constructor whose object, arrow, and projection observations compute componentwise. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
TRIANGULAR-BINARY-PRODUCTS | checked | A selected whole product functor P:C×C→C exposes whole projection transfors, represented-family pairing, stable K1a/K2a and pairing heads, runtime beta/distribution/eta computation, and transparent whole unpair action without duplicating the ambient product-category calculus. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
TERMINAL-OBJECT-COMPUTATION | checked | A selected terminal object exposes one whole transformation from the identity functor to the constant terminal functor, computing components and off-diagonal action; every Hom_C(A,t) is contractible at the canonical arrow, yielding arbitrary-arrow uniqueness without a variable-headed runtime rule. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
PULLBACK-SLICE-BASE-CHANGE | checked | Chosen pullbacks form one whole opposite-variance exact-slice family u:C/Y→C/X with Σ_u⊣u, actual whole unit/counit transfors, full Došen rectangles, proof-time whole/point semantic comparison, guarded whole mate cancellation, and pullback object/projection/square observations derived from u*(g) and the counit rather than from a cone record. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
SLICE-DEPENDENT-PRODUCTS | checked | A selected coherent dependent-product structure supplies one whole covariant exact-slice family Π_u:C/X→C/Y and the existing adjunction u*⊣Π_u; its actual unit/counit tapp1 observations, both full Došen rectangles, component triangles, transparent whole mate action, generic Hom comparison, and thin total SliceDependentProducts package are active. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
CUT-PRODUCT-PROJECTION | checked | In the Cat-specialized case, for H:A0→A1, K:B0→B1, and G:A1→C, both the owner-aligned Došen projection/precomposition cuts and the literal raw functor-composite equality (G ∘ π1) ∘ (H × K) = (G ∘ H) ∘ π1' (CategoryTheory.cut_product_projection_fst_eq) are proved with 0 axioms. | CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.cut_product_projection_fst_eq, CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.prodMapFunctor1, CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.pi1Functor1, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv | tests/phase_d1_ensnap_pack_and_karoubi_weighted_ends.test.ts |
CAT-HOM-CUTS | checked | Represented-hom postcomposition and precomposition retain distinct stable full and capped owners, identity and consecutive-action computation under the strict public functor contract, adjacent cuts, and proof-time ordinary-composition comparisons. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-TRANSFOR-CALCULUS | checked | Default conventional lax transfors have point components and iterable off-diagonal action with a strict pre/right leg and retained directed post/left comparison. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-DIRECTED-FAMILIES | checked | An admitted family K→Cat_cart has strict transports and coefficient-level strict transformations; displayed maps between such families retain lax comparisons across K. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-SIGMA-PI | checked | Directed families have a Sigma total category, canonical transport arrows, and a Pi section category with coherent evaluation. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-FIBREWISE-CONTEXT | checked | Fixed-base fibrewise products of displayed families have displayed projections and pairing whose fibre, base-arrow, internalized-cell, higher, and projection-after-pairing observations compute componentwise; swap and diagonal are derived from those owners. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-BASE-CHANGE-TOTALIZATION | checked | Pullback totalization sends a base-changed dependent pair (a,u) to (F[a],u) and sends its total arrow by the functorial base action while retaining the fibre component. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-DISPLAYED-EVALUATION | checked | Constant-domain displayed Cartesian mapping families have a whole strict displayed evaluation with its fibre evaluation projection, while terminal weakening and fixed-index evaluation reuse the existing action calculus. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-REPRESENTABLE | checked | The fixed-source representable family has fibre Hom(x,y), and its source action is precomposition. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
LOGIC-TRUNCATION-PREDICATE | checked | Contractibility and recursive truncation evidence define the proposition, set, and groupoid levels as properties of existing classifiers. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
LOGIC-NAT-SETHOOD | checked | Unit and Empty are proposition-valued and Nat is set-valued by explicit internal evidence. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
LOGIC-TRUNCATION-EVIDENCE-PROP | checked | For every truncation level and classifier, the classifier of truncation evidence is proposition-valued. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
EQUIV-TYPE | checked | TypeEquiv packages a forward map with contractible homotopy fibres and exposes a selected inverse with both inverse paths. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
EQUIV-TYPE-ALGEBRA | checked | Type equivalences have reflexivity, symmetry, and categorical-order composition with checked forward-map computation. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
UNIV-GROUPOID | checked | The groupoid universe has a decoder-oriented univalence equivalence between universe paths and TypeEquiv, with named round trips and transport agreement. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
UNIV-TRUNCATED | checked | For packaged n-truncated classifiers, package equality is equivalent to TypeEquiv of the retained carriers, with named encode/decode round trips. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
EQUIV-OMEGA | checked | OmegaEquivAlong carries equality-valued inverse-arrow data, OmegaEquiv packages a selected arrow, and an object path has a transparent computational equivalence package. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
EQUIV-EVIDENCE-PROP | checked | For every fixed arrow, its equality-valued OmegaEquivAlong evidence is proposition-valued without a finite-dimensional hypothesis. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
EQUIV-HOM-ACTION | checked | Equality-valued equivalence evidence has a one-way next-hom action, and coherent groupoidality makes directed fibre transport an equivalence. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
EQUIV-ORDINARY-ISO-LIFT | checked | Ordinary categorical isomorphism evidence has a one-way lift to the native equality-valued OmegaEquiv package. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
UNIV-FULL-OBJECT-ISO | research-boundary | A full native equivalence between arbitrary categorical object equality and ordinary isomorphism evidence is not part of the selected API. | none (open boundary) | — |
IND-PATHOUT | checked | PathOut_Z(x) is the Sigma total of the fixed-source representable, with a reflexive object and a canonical rho arrow to every outgoing arrow. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
IND-ARROW | checked | Fixed-source arrow induction extends data at the reflexive outgoing arrow to a section, and the theorem is internalized functorially as fixed-source and varying-source interfaces. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
IND-COMPOSITION | checked | Applying arrow induction to the represented composition motive yields a functor whose object action computes to categorical composition. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
IND-PATH-COMPARISON | checked | For a literal path-category base, structured directed transport agrees propositionally with primitive right-based equality induction. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
IND-GENERAL-INITIALITY | research-boundary | A general theorem identifying all selected categorical induction interfaces with homotopy-initial algebras has not been packaged. | none (open boundary) | — |
DHIT-DERIVED-ELIMINATORS | checked | The contextual WalkingEnd eliminator specializes to a dependent section and an ordinary recursor with base and generator observations. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
DHIT-GENERAL-SCHEMA | research-boundary | The selected WalkingEnd interface does not yet constitute a reusable schema for arbitrary directed higher-inductive categories, pushouts, or cell complexes. | none (open boundary) | — |
TRUNC-CLOSURE | checked | Recursive truncation evidence is monotone and has checked dependent Pi and same-level dependent Sigma closure operations. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
TRUNC-RETRACT | checked | Every recursive truncation level is closed under explicit retractions. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
CAT-DIMENSION | checked | IsNCat defines finite directed height by hom recursion, and every such category has the recursively predicted object-truncation evidence. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
TRUNC-REFLECTOR | checked | The active groupoidal truncation layer has a classified NType_cat(n) target, a primitive Trunc_ntype(n,A) code with decoded carrier Trunc_grpd(n,A), restricted point-computing induction into classified n-types, and a recursor-derived whole map action with identity, composition, and retained Path action. | Init.Prelude:IsProp, Init.Prelude:IsSetGrpd, Cat.UnivalentSIP:SIP.idToIso1, Cat.UnivalentSIP:SIP.IsUnivalentCat1, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_p2_univalent_sip_and_dagger.test.ts |
WE-SIGNATURE | checked | WalkingEnd has an opaque category, base, directed loop, and explicit one-dimensional evidence. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-ONE-DIMENSIONAL | checked | Every WalkingEnd hom-category is discrete, without WalkingEnd itself becoming discrete. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-CONTEXTUAL-ELIMINATOR | checked | The contextual WalkingEnd eliminator has base and loop computation at the selected displayed observers. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-BNAT-MODEL | checked | BNat is a separate one-object Nat-monoid model and receives a functor from WalkingEnd. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-CODE | checked | Code sends the walking base to Path(Nat) and the walking loop to the Nat successor functor. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-ENCODE | checked | Encode acts with Code on a based arrow and evaluates at zero. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-POWER | checked | Natural powers map zero to identity and successor to generator-prefix composition. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-SPIRAL | checked | The selected explicit-kappa directed spiral supplies the loop coherence for powers. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-CONTEXTUAL-DECODER | checked | The contextual decoder maps Code to the based representable and computes to powers at the base. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-NORMALIZATION-CELL | checked | Every based arrow has a directed normalization cell toward decode(encode(p)). | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-NORMALIZATION-PATH | checked | Hom-discreteness converts the directed normalization cell into equality. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-POWER-ENCODE | checked | For a based endomorphism p, power(encode(p)) equals p. | Cat.ListBridge:WalkingEnd.power_encode, Cat.ListBridge:WalkingEnd.encode_power, Cat.ListBridge:WalkingEnd.power_add | tests/phase_l6_functorial_list_bridge.test.ts |
WE-ENCODE-POWER | checked | For every natural n, encode(power(n)) equals n. | Cat.ListBridge:WalkingEnd.power_encode, Cat.ListBridge:WalkingEnd.encode_power, Cat.ListBridge:WalkingEnd.power_add | tests/phase_l6_functorial_list_bridge.test.ts |
WE-HOM-NAT-CARRIER | checked | The underlying based-endomorphism carrier is equivalent to Nat. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-HOM-SETHOOD | checked | The based-endomorphism carrier is a set both from dimension and from the Nat equivalence. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-LOOP-NOT-IDENTITY | checked | The walking generator is not equal to the identity. | Cat.WalkingEnd:WalkingEnd.loop, Cat.WalkingEnd:WalkingEnd.loop_not_isIso | tests/phase3_4_walking_end_milestone.test.ts |
WE-LOOP-NO-RIGHT-INVERSE | checked | The walking generator has no right inverse. | Cat.WalkingEnd:WalkingEnd.loop, Cat.WalkingEnd:WalkingEnd.loop_not_isIso | tests/phase3_4_walking_end_milestone.test.ts |
WE-LOOP-NONINVERTIBLE | checked | The walking generator carries no native omega-equivalence evidence. | Cat.WalkingEnd:WalkingEnd.loop, Cat.WalkingEnd:WalkingEnd.loop_not_isIso | tests/phase3_4_walking_end_milestone.test.ts |
WE-ENCODE-PREFIX | checked | Encoding a generator-prefixed based endomorphism produces the successor of its code. | Cat.ListBridge:WalkingEnd.power_encode, Cat.ListBridge:WalkingEnd.encode_power, Cat.ListBridge:WalkingEnd.power_add | tests/phase_l6_functorial_list_bridge.test.ts |
WE-STRUCTURED-ENCODER | checked | The based encoder is also packaged as a functor from the based hom-category to Path(Nat). | Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNat | tests/phase3_4_walking_end_milestone.test.ts |
WE-COMPOSITION-ADDITION | checked | Composition of based endomorphisms in WalkingEnd agrees with Nat addition and List Unit concatenation via power_add, encode_comp, and toListUnit_comp. | Cat.ListBridge:WalkingEnd.power_add, Cat.ListBridge:WalkingEnd.encode_comp, Cat.ListBridge:WalkingEnd.toListUnit_comp | tests/phase_l6_functorial_list_bridge.test.ts |
WE-FULL-CATEGORICAL-COMPARISON | research-boundary | A reverse BNat functor, full hom-category equivalence, and functor-category initiality require additional reusable infrastructure. | none (open boundary) | — |
WE-GROUP-COMPLETION | checked | The concrete WalkingEnd-to-Circle functor sends every directed natural power to the corresponding nonnegative Circle power, and restriction along it is a whole fixed-forward OmegaEquivAlong from Circle maps into every groupoid G to path-valued WalkingEnd functors; source-functorial generic adjunction packaging remains separate. | HoTT.Groupoidify:Groupoidify.walkingEndToCircle, HoTT.Groupoidify:Groupoidify.walking_end_equiv_circle | tests/phase_p3_groupoidification_hit.test.ts |
TRANSF-POINT-OFFDIAGONAL | checked | An ordinary transfor has point components and an iterable off-diagonal hom action from F(x) to G(y) along every source arrow x to y. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
TRANSF-STRICT-NATURALITY | checked | The stable classified strict-transfor view owns both post/left and pre/right naturality cuts through the existing tapp1 calculus. Default conventional lax transfors have pre/right computation and retain the directed post/left cell; property evidence alone does not make that cell a runtime identity. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
TRANSF-HORIZONTAL-CALCULUS | checked | The product-composition action retains an iterable horizontal composite and its point, full off-diagonal, and capped projections. The explicit Cartesian functor-composition interface uses Cartesian mapping categories; ordinary equality of the two whiskering routes is not asserted for arbitrary lax squares. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
TRANSFD-FIBRE-COMPONENTS | checked | A natural family transformation between displayed functors has a transformation in every fibre and a point component at every fibre object, with identity and vertical composition inherited from the generic transfor calculus. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
FUNCTORD-DISPLAYED-LAXITY | checked | For a natural family morphism and a base arrow, the internal displayed hom action supplies a directed component from target transport after the source fibre functor to the target fibre functor after source transport. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
FUNCTORD-SIGMA-ACTION | checked | The Sigma-total map induced by a natural family morphism sends a total arrow to the same base arrow paired with the capped internal displayed hom action in the fibre. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
FUNCTORD-WHOLE-LAXITY | checked | The active internal displayed action supplies a whole laxity transformation, with ordinary post/left and pre/right whole surfaces obtained as transparent specializations; their capped cells return the existing fdapp1_int_cell witness, and the ordinary functor compositor is the identity-transfor specialization. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
PROF-CATEGORY | checked | A Cat-valued profunctor from A to B is a directed family on A opposite times B, and vertical profunctor maps are natural family morphisms with the existing identity and composition calculus. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-REPRESENTABLE | checked | The unit profunctor evaluates to the ambient hom, and reindexing it along endpoint functors gives the binary representable with action by precomposition and postcomposition. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-REINDEXING | checked | Profunctors reindex functorially in both endpoints by pullback along an opposite-times-covariant product map, including identity, nesting, and representable accumulation laws. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-REPRESENTATION-PACKAGE | checked | Representability of a profunctor is expressible as ordinary isomorphism to a conjoint, and a representation package retains a chosen representing functor with that evidence. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-COMPARISON-BETA-ETA | checked | A computational profunctor comparison exposes mutually inverse push and pull operations on every incoming profunctor map, with runtime beta and eta reductions and functorial reindexing and composition. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-SHAPED-CELLS | checked | A profunctor cell over endpoint functors is a natural family morphism into a reindexed target; unit-source specialization and narrow cell application provide shaped elements and their action. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-TENSOR | checked | The selected profunctor tensor is an opaque fixed-middle composite with exposed-endpoint reindexing and a fixed-endpoint bifunctorial map action. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-CLOSED-CALCULUS | checked | The two selected profunctor residuals expose fixed-endpoint evaluation and lambda operations inverse by runtime beta and eta, without asserting semantic end formulas for their opaque objects. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-COYONEDA | checked | Tensoring on either side with the unit profunctor has a natural co-Yoneda map to the original profunctor, with fixed shaped-element beta and naturality-fusion computations. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
PROF-GENERAL-COEND | checked | General Set-valued coequalizers CoequalizerSet and coends CoendSet(P) := ∫^c P(c, c) are constructed synthetically via HoTT Pushout and Trunc0 with 0-axiom universal dinatural mapping equivalence coend_universal_equiv. | CategoryTheory.CoendsKan:CategoryTheory.CoequalizerSet, CategoryTheory.CoendsKan:CategoryTheory.coeq_set_universal_equiv, CategoryTheory.CoendsKan:CategoryTheory.CoendSet, CategoryTheory.CoendsKan:CategoryTheory.coend_universal_equiv | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
YONEDA-FULLY-FAITHFUL | checked | The Twisted Arrow Category Tw(C), full Set-valued Yoneda equivalence Nat(C(-, A), F) ≃ F(A), and fully faithful Yoneda embedding Hom_C(A, B) ≃ Nat(y(A), y(B)) are proved with 0 axioms. | CategoryTheory.YonedaFundamental:CategoryTheory.TwistedArrowCat1, CategoryTheory.YonedaFundamental:CategoryTheory.yoneda_lemma_equiv, CategoryTheory.YonedaFundamental:CategoryTheory.yoneda_embedding_fully_faithful | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
UCAT-IDENTITY-ISOMORPHISM | checked | In the ordinary set-valued-hom specialization, idToIso1 sends object equality to categorical isomorphism, and univalence provides the canonical equivalence (X = Y) ≃ Iso1 C X Y. | CategoryTheory.YonedaFundamental:CategoryTheory.idToIso1, CategoryTheory.YonedaFundamental:CategoryTheory.univalent_obj_eq_equiv_iso, Cat.UnivalentSIP:SIP.IsUnivalentCat1 | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
UCAT-FUNCTOR-CATEGORY | checked | FunctorCat1(C, D) organizes functors and natural transformations into a 1-category in which a natural transformation is invertible in [C, D] if and only if every object component is an isomorphism in D. | CategoryTheory.YonedaFundamental:CategoryTheory.FunctorCat1, CategoryTheory.YonedaFundamental:CategoryTheory.pointwise_iso_of_natTrans_iso, CategoryTheory.YonedaFundamental:CategoryTheory.natTrans_iso_of_pointwise_iso | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
UCAT-ADJOINT-REPRESENTABILITY | checked | Right adjoints are formalized via natural Hom-representability Hom_D(L(X), Y) ≃ Hom_C(X, R(Y)) (RightAdjoint1), inducing canonical Yoneda object comparisons across candidate right adjoints. | CategoryTheory.YonedaFundamental:CategoryTheory.RightAdjoint1, CategoryTheory.YonedaFundamental:CategoryTheory.right_adjoint_unique_iso | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
UCAT-ADJOINT-UNIQUENESS | checked | Any two right adjoints to the same functor L are canonically isomorphic at every object (right_adjoint_unique_iso) and propositionally equal on objects when the source category C is univalent (right_adjoint_unique_eq_of_univalent). | CategoryTheory.YonedaFundamental:CategoryTheory.right_adjoint_unique_iso, CategoryTheory.YonedaFundamental:CategoryTheory.right_adjoint_unique_eq_of_univalent | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
UCAT-EQUIVALENCE-CRITERIA | checked | Fundamental Theorem of Category Theory: every fully faithful and split essentially surjective functor upgrades constructively to a categorical equivalence (ff_and_splitEssSurj_to_catEquiv), while faithful + split essentially surjective but non-full functors provably fail equivalence (NC-15a Part 1a). | CategoryTheory.YonedaFundamental:CategoryTheory.ff_and_splitEssSurj_to_catEquiv, CategoryTheory.YonedaFundamental:CategoryTheory.catEquiv_is_faithful, CategoryTheory.YonedaFundamental:CategoryTheory.inclBoolToPoset_not_catEquiv | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
UCAT-CATEGORY-IDENTITY | checked | Categorical equivalence criteria, univalent object identity (X = Y) ≃ Iso1 C X Y, and the Structure Identity Principle align isomorphism and categorical equivalence across univalent 1-categories. | CategoryTheory.YonedaFundamental:CategoryTheory.ff_and_splitEssSurj_to_catEquiv, CategoryTheory.YonedaFundamental:CategoryTheory.univalent_obj_eq_equiv_iso, Cat.UnivalentSIP:SIP.sip_univalent_cat1 | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
UCAT-YONEDA | checked | The ordinary set-valued Yoneda evaluation map Nat(C(-, A), F) ≃ F(A) is a 0-axiom TypeEquiv (yoneda_lemma_equiv), making the Yoneda embedding fully faithful and representing objects unique up to isomorphism and univalent equality. | CategoryTheory.YonedaFundamental:CategoryTheory.yoneda_lemma_equiv, CategoryTheory.YonedaFundamental:CategoryTheory.yoneda_embedding_fully_faithful | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
UCAT-STRICT-CATEGORY | checked | Ordinary HoTT strict categories (set of objects) and gaunt categories are formalized, and BZ/2Z separates strictness from univalence (NC-12a). | Cat.UnivalentSIP:SIP.IsStrictObjCat1, Cat.UnivalentSIP:SIP.IsGauntCat1, Cat.UnivalentSIP:SIP.bz2_is_strict_obj, Cat.UnivalentSIP:SIP.bz2_not_univalent | tests/phase_p2_univalent_sip_and_dagger.test.ts |
UCAT-DAGGER-CATEGORY | checked | Dagger 1-categories, unitary isomorphisms, dagger univalence, and path-groupoid dagger univalence are proved with 0 axioms. | Cat.UnivalentSIP:SIP.DaggerCat1, Cat.UnivalentSIP:SIP.unitaryToIso1, Cat.UnivalentSIP:SIP.IsUnivalentDaggerCat1, Cat.UnivalentSIP:SIP.path_dagger_cat1_is_univalent | tests/phase_p2_univalent_sip_and_dagger.test.ts |
UCAT-STRUCTURE-IDENTITY | checked | The Structure Identity Principle (Theorem 15.3) for standard notions of structure over univalent 1-categories and CommRing univalence (R ≅ S) ≃ (R = S) are proved with 0 axioms. | Cat.UnivalentSIP:SIP.StructuredCat1, Cat.UnivalentSIP:SIP.sip_univalent_cat1, Cat.UnivalentSIP:SIP.CommRingCat1, Cat.UnivalentSIP:SIP.comm_ring_iso_equiv_eq | tests/phase_p2_univalent_sip_and_dagger.test.ts |
UCAT-REZK-COMPLETION | checked | Rezk isomorphism-to-equality saturation, non-univalence of indiscrete Bool, and its universal Rezk completion onto the gaunt terminal category are proved with 0 axioms. | Cat.UnivalentSIP:SIP.rezk_completion_iso_equiv_obj_eq, Cat.UnivalentSIP:SIP.indiscrete_bool_not_univalent, Cat.UnivalentSIP:SIP.indiscrete_bool_rezk_completion | tests/phase_p2_univalent_sip_and_dagger.test.ts |
NATIVE-DAGGER-INTERFACE | research-boundary | The active opposite operation does not provide a chosen identity-on-objects involutive self-duality, coherent higher dagger action, a unitary classifier, or native dagger univalence. | none (open boundary) | — |
NATIVE-STRUCTURE-IDENTITY | research-boundary | A generic native structure identity theorem requires a directed structure signature, a higher structure-preserving equivalence classifier, qualified base univalence, and coherent off-diagonal and next-hom action. | none (open boundary) | — |
NATIVE-REZK-COMPLETION | research-boundary | No selected native saturation predicate, Rezk completion object, unit weak equivalence, or iterable higher mapping property is currently implemented. | none (open boundary) | — |
ADJ-TRIANGLE-CUTS | checked | An indexed adjunction exposes stable unit and counit observations whose two component-level triangle cuts reduce to the corresponding functorial composites. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
ADJ-HOM-PROF-COMPARISON | checked | An indexed adjunction supplies a reindexable profunctor comparison between Hom_B(LM,F) and Hom_A(M,RF), whose push and pull inherit the generic comparison beta and eta laws. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
MONAD-TRIANGULAR-COMPUTATION | checked | A selected monad exposes whole unit and multiplication observations and one whole Kleisli-extension operation whose point action supports the ambient Došen beta and accumulation cuts; an adjunction supplies the canonical monad with runtime unit and transparent G-epsilon-F multiplication semantics. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
WEIGHTED-LIMIT-REPRESENTABILITY | checked | A parameterized weighted-cone profunctor is formed by the selected covariant residual, and its computational representation by a functor exposes inverse push and pull operations on every reindexed incoming profunctor map. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
WEIGHTED-LIMIT-SPECIALIZATIONS | checked | Weighted limits are identified with semantic ends lim^W F ≃ ∫_c [W(c), F(c)] (weighted_limit_as_end_equiv), and terminal-weight limits specialize by 0-axiom TypeEquiv to ordinary conical limits (terminal_weight_limit_equiv_conical), aligning with right-adjoint weighted-limit preservation. | CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.WeightedLimitSet, CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.weighted_limit_as_end_equiv, CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.terminal_weight_limit_equiv_conical, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_d1_ensnap_pack_and_karoubi_weighted_ends.test.ts |
WEIGHTED-END-KAN-SEMANTICS | checked | Semantic Set-valued ends EndSet(P) := ∫_c P(c, c), coends CoendSet(P) := ∫^c P(c, c), pointwise Left Kan extensions LanObj (lan_pointwise_universal_equiv, lanExtend_unit_beta), Right Kan extensions ran_kan_adjunction_equiv (K^* ⊣ Ran_K), and cofinal colimit invariance cofinal_colim_map_equiv (plus NC-15a Part 1b non-cofinal refutation) are proved with 0 axioms. | CategoryTheory.CoendsKan:CategoryTheory.EndSet, CategoryTheory.CoendsKan:CategoryTheory.end_universal_equiv, CategoryTheory.CoendsKan:CategoryTheory.LanObj, CategoryTheory.CoendsKan:CategoryTheory.lan_pointwise_universal_equiv, CategoryTheory.CoendsKan:CategoryTheory.lanExtend_unit_beta, CategoryTheory.CoendsKan:CategoryTheory.ran_kan_adjunction_equiv, CategoryTheory.CoendsKan:CategoryTheory.cofinal_colim_map_equiv | tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts |
DEPENDENT-ADJUNCTIONS | checked | Covariant and contravariant Grothendieck categories of elements ∫_C P (GrothendieckElementsCat1, ContravariantElementsCat1), Cartesian/coCartesian morphisms, split-fibration straightening–unstraightening (straighten_unstraighten_hom_equiv, straighten_unstraighten_fiber_equiv), the dependent family base-change triple Σ_u ⊣ u^* ⊣ Π_u (dep_sigma_pullback_adj_equiv, dep_pullback_pi_adj_equiv) with exact Beck–Chevalley naturality (dep_beck_chevalley_sigma_equiv), and effective descent along split covers (effective_descent_trivialization_equiv, paired with NC-16a Part 2 non-coCartesian & twisted-cocycle refutations) are proved with 0 axioms. | CategoryTheory.GrothendieckFibrationsDescent:CategoryTheory.GrothendieckElementsCat1, CategoryTheory.GrothendieckFibrationsDescent:CategoryTheory.grothendieckElements_all_coCartesian, CategoryTheory.GrothendieckFibrationsDescent:CategoryTheory.straighten_unstraighten_hom_equiv, CategoryTheory.GrothendieckFibrationsDescent:CategoryTheory.dep_sigma_pullback_adj_equiv, CategoryTheory.GrothendieckFibrationsDescent:CategoryTheory.dep_pullback_pi_adj_equiv, CategoryTheory.GrothendieckFibrationsDescent:CategoryTheory.dep_beck_chevalley_sigma_equiv, CategoryTheory.GrothendieckFibrationsDescent:CategoryTheory.effective_descent_trivialization_equiv | tests/phase_d2_grothendieck_fibrations_and_descent.test.ts |
OP-DUALITY | checked | Dimension-one transpose, reversal above dimension one, and total opposite have distinct involutive actions. Op_transf uses strict Cartesian transformations, while TotalOp_transf acts on ordinary transfors. The retained Op_adjunction owner uses total opposite for its categories, functors, unit and counit. | Cat.JoinSpectra:JoinSpectra.opCat1, Cat.JoinSpectra:JoinSpectra.opFunctor1, Cat.JoinSpectra:JoinSpectra.join_op_iso_swap | tests/duality.test.ts |
WEIGHTED-LIMIT-PRESERVATION | checked | The selected profunctor comparison certifying a weighted limit is transported by an indexed right adjoint to a weighted-limit comparison for the composed diagram and cone point. | Cat.WeightedLimits:WeightedLimits.WeightedCone1, Cat.WeightedLimits:WeightedLimits.WeightedLimit1, Cat.WeightedLimits:WeightedLimits.End1, Cat.WeightedLimits:WeightedLimits.right_adjoint_preserves_weighted_limits | tests/phase_g3_weighted_limits_and_ends.test.ts |
WEIGHTED-COLIMIT-PRESERVATION | checked | Weighted colimits use dimension-one transpose and product-swap profunctor duality. Left-adjoint preservation is derived from the actual transposed whole Hom comparison through implication, reindexing, and mate steps; it does not use the total-opposite adjunction package. | Cat.JoinSpectra:JoinSpectra.JoinCat, Cat.JoinSpectra:JoinSpectra.join_universal_equiv, Cat.JoinSpectra:JoinSpectra.left_adjoint_preserves_weighted_colimits | tests/phase_p4_join_cones_and_spectra.test.ts |
WEIGHTED-COLIMIT-SPECIALIZATIONS | checked | Weighted colimits colim^W F := ∫^c W(c) × F(c) (WeightedColimitSet), terminal-weight specialization to conical cocones (terminal_weight_colimit_equiv_cocone), and the co-Yoneda representable colimit density formula ∫^c C(c, X) × F(c) ≃ F(X) (coYoneda_representable_colimit_equiv), together with Karoubi idempotent completion Idem(C) (KaroubiCat1, karoubi_idempotent_splits, NC-16a Part 1b), are proved with 0 axioms. | CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.WeightedColimitSet, CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.terminal_weight_colimit_equiv_cocone, CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.coYoneda_representable_colimit_equiv, CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.KaroubiCat1, CategoryTheory.IdempotentsWeightedEnds:CategoryTheory.karoubi_idempotent_splits, Cat.JoinSpectra:JoinSpectra.left_adjoint_preserves_weighted_colimits | tests/phase_d1_ensnap_pack_and_karoubi_weighted_ends.test.ts |
JOIN-RECURSOR | checked | The primitive directed join has two inclusion functors, an internally natural cross cell, and a nondependent recursor with beta computation on both inclusions and the cross-cell datum. | Cat.JoinSpectra:JoinSpectra.JoinCat, Cat.JoinSpectra:JoinSpectra.join_universal_equiv, Cat.JoinSpectra:JoinSpectra.left_adjoint_preserves_weighted_colimits | tests/phase_p4_join_cones_and_spectra.test.ts |
JOIN-COLLAGE-BOUNDARY | research-boundary | The join recursor has the input shape of the collage of the terminal profunctor, but no object or hom decomposition, mapping-category equivalence, opposite comparison, or dependent collage eliminator is active. | none (open boundary) | — |
FORMAL-KERNEL-PRESENTATION | checked | The direct Q-free NbE kernel verifies bunched contexts, bitstream dualities, strict/Gray categories, 2-periodic Sigma(±), and direct homd/homdc with 0 axioms. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase1_core_and_soundness.test.ts |
FORMAL-ELABORATION-BOUNDARY | checked | The .en surface parser, desugarer, bidirectional elaborator, tactic engine, incremental .ensnap package builder, and <190 KiB gz zero-CDN browser prover compile directly to kernel-checked explicit Core. | Init.Prelude:Subtype.ext, Init.Data.List:List.Sublist.trans | tests/phase_b1_en_ergonomics_and_ensnap_packages.test.ts |
FORMAL-METATHEORY-BOUNDARY | research-boundary | Local source acceptance, diagnostics, warning inventories, and model examples do not establish global confluence, strong normalization, canonicity, decidability, consistency, or semantic soundness for the whole emdash rewrite and unification theory. | none (open boundary) | — |
GROTH-TOPOLOGY-SIEVE-LAWS | checked | An ordinary-sieve Grothendieck topology packages proposition-valued coverhood with maximality, pullback stability, and local character; the maximal sieve and the topology in which every sieve covers have checked direct models. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
GENERATED-GROTH-TOPOLOGY | checked | Every type-valued family of generating ordinary sieves determines an internally constructed least Grothendieck topology that accepts each retained generator and lies below every topology accepting them. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
SIEVE-MATCHING-LOCALITY | checked | An ordinary sieve extends to a whole presheaf with a whole inclusion into Yoneda; precomposition defines the section-to-matching restriction functor, locality is its fixed-forward Hom equivalence, and matching, section, and restriction families vary internally over eligible cover questions. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
PSH-YONEDA-HIGHER-SIEVE | checked | Cat-valued presheaves reuse whole directed-family restriction; the Yoneda presheaf evaluates to the represented hom category; the conventional slice is the opposite restriction total; and the maximal Cat-valued higher sieve is stable under pullback. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
ORDINARY-SIEVE-PULLBACK | checked | An ordinary sieve is a Cat-valued higher sieve with pointwise subterminal evidence; pullback reuses the higher-sieve action, preserves that evidence, and computes membership at a probe as old membership at its postcomposition image. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
COMM-RING-INVERTIBILITY-SIEVE | checked | For a commutative-ring-valued presheaf and a section over U, the invertibility construction produces an ordinary sieve whose membership at a probe computes to unit evidence for the restricted section. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
DIRECT-COVER-COMPLETION-HIT | checked | For every site and Cat-valued presheaf, the direct cover-completion categorical-HIT boundary provides a whole unit, one cover-question-indexed glue functor, and one whole silent path, with pullback compatibility inherited from displayed functoriality and a packaged internal direct-cover sheaf structure. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
DIRECT-COVER-COMPLETION-LOCALITY | checked | Canonical cover pullback, retained-member calculation, whole glue naturality, and silent derive restriction after glue as the second inverse law; the direct cover completion is consequently local at every eligible question and over the whole topology. Whole equivalence assembly uses the inherited ordinary/displayed pointwise-to-whole primitive with both selected inverse slots and assumed cancellation; no strict-profile premise is required. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
DIRECT-COVER-COMPLETION-UNIVERSALITY | checked | The completion recursor extends a whole seed map with return, glue, and silent coherence; it varies functorially in the seed, and at a topology-local target its whole beta and eta laws make unit precomposition an omega-equivalence of complete Hom categories. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
CAT-VALUED-SHEAFIFICATION-REFLECTOR | checked | At Cat-valued coefficients, direct cover completion forms a functor into topology-local presheaves left adjoint to inclusion; its unit is return, its counit is local recursion from the identity seed, and the two counit cancellations make the adjunction reflective and instantiate the sheafification capability. | Topos.Sheaf:Sheaf.Sieve, Topos.Sheaf:Sheaf.pullback_sieve_comp, Topos.Sheaf:Sheaf.member_pullback_is_maximal, Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv | tests/phase_g4_sites_and_sheafification_hit.test.ts |
COMM-RING-STRUCTURED-CATEGORY | checked | Commutative rings have set-valued carriers and retained operations and laws, including the zero ring; operation-preserving carrier maps are extensional structured homs and form the one-category CommRing_cat, while componentwise products and the Boolean-carrier F2 ring supply closed models without a claimed categorical-product universal property. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
FINITE-UNIMODULAR-COVER-DATA | checked | Finite sums and dot products compute on finite-family constructors and are preserved by structured ring maps; unimodular presentations retain coefficients witnessing that the generators span one, assemble into set-valued finite Zariski presentations, transport under ring maps, and include singleton and binary constructors. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
COMM-RING-POLYNOMIAL-UNIVERSALITY | checked | A supplied commutative-ring polynomial algebra retains a base map and variables and makes the structured extension space contractible for every target base map and valuation; the identity ring is a complete checked model for the empty variable classifier. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
COMM-RING-LOCALIZATION-UNIVERSALITY | checked | Unit evidence in a commutative ring is proposition-valued, and a supplied localization at one element retains an inverting structure map and a contractible classifier of whole structured factors with their pointwise triangles through every admissible target map. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
COMM-RING-LOCALIZATION-MODELS | checked | Identity is a localization at an already invertible element, the zero ring is a localization at zero, and the fixed image of an idempotent is a quotient-free localization at that idempotent; the split element (1,0) in F2 times F2 gives a closed idempotent distinct from zero and one. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
COMM-RING-ITERATED-LOCALIZATION-EQUIV | checked | For supplied localizations at f, at the image of g, and at fg, the universal properties construct canonical product-to-iterated and iterated-to-product comparison maps whose two whole structured cancellation laws exhibit the selected forward map as an omega-equivalence in CommRing_cat. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
AFFINE-BASIC-OPEN-POINT-REPRESENTATION | checked | The affine Yoneda presheaf has S-points CommRingHom(R,S), its semantic basic open D(f) is the ordinary invertibility sieve, and every supplied localization R to R[1/f] gives, at each test ring S, an explicit TypeEquiv from whole structured maps R[1/f] to S to D(f)-points, with both inverse laws derived from localization contractibility and proposition-valued unit evidence. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
AFFINE-BASIC-OPEN-INTERSECTION | checked | At each test ring S, unit evidence for h(fg) is equivalent to paired unit evidence for h(f) and h(g), yielding an explicit pointwise TypeEquiv from D(fg)(S) to the same-map intersection of D(f)(S) and D(g)(S); a supplied localization at fg represents that intersection through executable maps with both component laws. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
AFFINE-BIG-SLICE-COORDINATES | checked | The conventional big affine slice over Sp(R) has objects R-algebras and geometric arrows given by commuting structured triangles; its whole CommRing-valued coordinate presheaf evaluates a chart at its ring and restriction at the supplied structured map, includes selected localization charts, and internalizes both product/iterated-localization overlap directions with the existing whole coordinate equivalence. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
AFFINE-BIG-ZARISKI-TOPOLOGY | checked | At every chart R to S, each supplied localization in a selected finite unimodular family lifts to a whole chart arrow whose coordinate restriction computes to the localization map; literal finite containment forms witness-rich generators, and their generic intersection constructs the lawful least big-affine Zariski topology with generator coverhood and leastness. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
AFFINE-STRUCTURE-SHEAF-PRESENTATION | checked | Given a supplied reflective CommRing-valued sheafification capability on the exact generated big-affine Zariski topology, a selected sheaf object, and a whole DefIso from its included presheaf to the computing coordinate presheaf, the affine structure-sheaf presentation determines a reflective commutative-ringed site and retains the whole coordinate comparison and its chart components. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
AFFINE-THIN-SCHEME-PRESENTATION | checked | The thin affine-scheme presentation pairs a supplied whole reflective structure-sheaf presentation with supplied whole coordinate-localization locality; it inherits the exact generated big-Zariski ringed site, a whole coordinate DefIso, and fixed-forward localization matching equivalences, while the F2 times F2 reviewer keeps both capabilities explicit and computes its complementary-idempotent cover, chart rings, restrictions, and zero overlap. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
GLOBAL-RINGED-COVER-BINARY-GENERATION | checked | A global reflective CommRinged cover retains one site, whole object, ordinary covering sieve, and whole structure presheaf; Grothendieck stability derives every pullback cover, while witness-rich binary generation computes, for each retained sieve member, a Boolean-selected chart factorization and triangle, and the affine refinement route exposes the selected generator without asserting the arbitrary member affine. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
WHOLE-SLICE-AFFINE-REALIZATION | checked | Precomposition with the whole slice-domain functor constructs the ambient CommRing presheaf on K/U; a supplied reflective slice retains a whole DefIso to that target, and supplied sheaf-basis semantics plus an ambient-to-affine-underlying bridge and the affine presentation's retained coordinate bridge derive one whole ambient-to-coordinate DefIso for a selected cover chart. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
TOPOLOGY-LOCAL-RING-CERTIFICATE | checked | A topology-local CommRing presheaf presentation makes a zero-unit stage empty-covering and turns every invertible sum into a selected covering sieve whose members compute a Boolean branch with unit evidence for one restricted summand; the whole-object package attaches that capability to the computing ambient presheaf on the supplied actual slice K/X. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
BINARY-SITE-RELATIVE-SCHEME | checked | A BinarySiteRelativeSchemePresentation totals one existing global reflective CommRinged cover with its whole-object topology-local certificate and a constructively generated binary affine cover; the global structure presheaf, covering sieve, local package, selected charts, and both whole affine realizations remain exact existing owners rather than duplicated overlap, cocycle, transition, or gluing fields. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
ACTUAL-BINARY-CHART-OVERLAP | checked | Given a selected binary product of the two chart objects in the conventional slice K/X, its whole universal property derives both slice projections and their base arrows; evaluating the single global structure presheaf derives the overlap ring and both restriction homomorphisms, without adding an overlap field to the scheme total or constructing arbitrary pullbacks. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
LAURENT-TRANSITIONS-BY-UNIVERSALITY | checked | For supplied one-variable polynomial algebras over A and selected localizations at their coordinates, polynomial universality constructs A[t] to A[u,1/u] with t sent to the chosen inverse of u, localization universality extends it to A[t,1/t] to A[u,1/u], reversing the inputs constructs the opposite orientation, and the retained factor agreement is a whole pointwise triangle. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
LAURENT-COMMON-OVERLAP | checked | Given two literal restriction maps R to L and T to L, each supplied simultaneously as a one-variable polynomial chart over one base ring and a localization at its coordinate, the Laurent owner constructs both coordinate-inversion endomorphisms of that exact L; a Laurent overlap presentation then supplies whole paths identifying both constructed endomorphisms with the identity, rather than a disconnected overlap isomorphism or componentwise square. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
ACTUAL-SCHEME-LAURENT-OVERLAP | checked | For a supplied binary site-relative scheme and selected actual chart intersection, the thin Laurent adapter adds one common base ring and retains a generic Laurent overlap presentation at the literal two chart structure rings, inherited overlap ring, and already-derived restriction homomorphisms; it neither duplicates those global owners nor constructs the coordinate presentation from no data. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
SUPPLIED-P1 | checked | A SuppliedProjectiveLinePresentation is the transparent dependent total of one already-global binary site-relative scheme, its selected actual chart intersection, and a Laurent-coordinate presentation on the literal inherited restriction maps; its scheme, overlap, base ring, and coordinate package compute by projection, while no closed projective object, Proj construction, gluing theorem, projectivity proof, or non-affineness proof is produced. | Algebra.Geometry:Geometry.CommRing1, Algebra.Geometry:Geometry.zariskiPrincipalSieve, Algebra.Geometry:Geometry.laurent_universal_swap_equiv, Algebra.Geometry:Geometry.laurent_formal_equiv, Algebra.Geometry:Geometry.p1_global_sections_equiv_base | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
GROUPOIDAL-PRODUCT-CLOSURE | checked | The canonical comparison from Path(A x B) to Path(A) x Path(B) is judgmentally identity on objects, and at each pair of objects its actual hom action has explicit split and join maps forming a TypeEquiv between product paths and pairs of component paths; the distinct category heads are not definitionally identified. | Cat.UnivalentSIP:SIP.PathCat1, Cat.Cubical:Cubical.cartesian_square_commutes, Init.Nat:Prod.ext | tests/phase_c1_hott_kernel_and_axioms.test.ts |
PATH-PSEUDO-LAXITY | checked | For a raw map h between groupoids, the extracted compositor of path_map_func(h) has a path-valued reading with an eq_sym inverse. Its endpoints compare propositionally with eq_ap/eq_trans, and its whole form retains next action. Public functor strictness does not erase this endpoint comparison or force arbitrary transformation laxity to be strict. | Cat.UnivalentSIP:SIP.PathCat1, Cat.Cubical:Cubical.cartesian_square_commutes, Init.Nat:Prod.ext | tests/phase_c1_hott_kernel_and_axioms.test.ts |
GROUPOIDAL-PRODUCT-TRANSPORT | checked | For a dependent family over a product, transport along the path assembled from two coordinate paths agrees with both sequential coordinate orders; the two comparisons form a coherence diamond, and the existing structured transport and PathOut induction agree with the same primitive right-J transport. | Cat.UnivalentSIP:SIP.PathCat1, Cat.Cubical:Cubical.cartesian_square_commutes, Init.Nat:Prod.ext | tests/phase_c1_hott_kernel_and_axioms.test.ts |
INTEGER-LOCALIZATION-LINE | checked | The Integer carrier is the transparent set-truncated telescope localization of Nat successor: integer_stage(n,x) represents x-n, successor is an equivalence with executable predecessor, univalence supplies its universe path, and set-targeted dependent and nondependent elimination compute on stage representatives. | HoTT.Circle:Int.succEquiv, HoTT.Circle:Int.isSet, HoTT.Circle:Circle.loopSpaceEquivInt, HoTT.Spectra:Spectra.trunc0_circle_equiv_unit | tests/phase_c2_circle_and_bridge.test.ts |
CIRCLE-HIT-COMPUTATION | checked | The groupoidal Circle has base and loop constructors, unrestricted dependent elimination, judgmental point computation, and judgmental dependent PathOver computation on the generating loop; constant-family recursion inherits that dependent beta while its ordinary eq_ap loop equation remains propositional. | HoTT.Circle:Int.succEquiv, HoTT.Circle:Int.isSet, HoTT.Circle:Circle.loopSpaceEquivInt, HoTT.Spectra:Spectra.trunc0_circle_equiv_unit | tests/phase_c2_circle_and_bridge.test.ts |
CIRCLE-MONODROMY | checked | Every selected self-equivalence e of a groupoid A yields a Circle-indexed family with base fibre A and loop monodromy ua(e); transport around the loop agrees with e.to, and restriction along the WalkingEnd-to-Circle map recovers the original directed representation as a whole functor path. | HoTT.Circle:Int.succEquiv, HoTT.Circle:Int.isSet, HoTT.Circle:Circle.loopSpaceEquivInt, HoTT.Spectra:Spectra.trunc0_circle_equiv_unit | tests/phase_c2_circle_and_bridge.test.ts |
CIRCLE-CONNECTED-TRUNCATION | checked | Circle induction constructs mere based connectedness x |-> ||base=x||_{-1}; eliminating that evidence into the classified set truncation and then using its restricted induction proves the set truncation of Circle contractible without identifying its carrier judgmentally with Unit. | HoTT.Circle:Int.succEquiv, HoTT.Circle:Int.isSet, HoTT.Circle:Circle.loopSpaceEquivInt, HoTT.Spectra:Spectra.trunc0_circle_equiv_unit | tests/phase_c2_circle_and_bridge.test.ts |
CIRCLE-LOOP-INTEGER | checked | The opaque groupoidal Circle has a universal Integer cover whose endpoint-dependent encode and decode maps are inverse; the intrinsic based-loop carrier and the categorical based Hom carrier are TypeEquiv to the successor-localized Integer, with a whole equality-valued categorical equivalence retained separately. | HoTT.Circle:Int.succEquiv, HoTT.Circle:Int.isSet, HoTT.Circle:Circle.loopSpaceEquivInt, HoTT.Spectra:Spectra.trunc0_circle_equiv_unit | tests/phase_c2_circle_and_bridge.test.ts |
WALKING-INTERVAL-GROUPOIDIFICATION | checked | The groupoidal interval has two endpoints, one generating path, judgmental point and dependent-segment computation, and a whole fixed-forward mapping-object equivalence from maps Interval to G to path-valued functors WalkingArrow to Path(G), with endpoint/generator projections and retained higher action. | HoTT.Groupoidify:Groupoidify.Carrier, HoTT.Groupoidify:Groupoidify.universal_equiv, HoTT.Groupoidify:Groupoidify.walking_arrow_equiv_unit, HoTT.Groupoidify:Groupoidify.walking_arrow_map_equiv | tests/phase_p3_groupoidification_hit.test.ts |
GROUPOIDIFICATION-INTERVAL-RECOVERY | checked | Specializing generic groupoidification to WalkingArrow and comparing the generic and interval extension owners gives maps Groupoidify(WalkingArrow) to Interval and back; their whole beta/eta laws yield both cancellation paths and a TypeEquiv without a definitional identification of the two HITs. | HoTT.Groupoidify:Groupoidify.Carrier, HoTT.Groupoidify:Groupoidify.universal_equiv, HoTT.Groupoidify:Groupoidify.walking_arrow_equiv_unit, HoTT.Groupoidify:Groupoidify.walking_arrow_map_equiv | tests/phase_p3_groupoidification_hit.test.ts |
GENERIC-GROUPOIDIFICATION-MAPPING | checked | For every category C and groupoid G, restriction along the whole unit C to Path(Groupoidify(C)) is a fixed-forward OmegaEquivAlong between groupoidal maps out of Groupoidify(C) and path-valued functors out of C; the unit recursor computes on represented objects and dependent first cells and retains higher action. | HoTT.Groupoidify:Groupoidify.Carrier, HoTT.Groupoidify:Groupoidify.universal_equiv, HoTT.Groupoidify:Groupoidify.walking_arrow_equiv_unit, HoTT.Groupoidify:Groupoidify.walking_arrow_map_equiv | tests/phase_p3_groupoidification_hit.test.ts |
GRAY-COMPUTATIONAL-PROFILE | checked | Public functors are strict by default and functor_is_strict derives evidence about their existing whole compositor. GrayHom_lax has public Functor objects and opaque LaxTransfor_cat Homs, retaining ambient modifications and a whole inclusion into Functor_cat. The categories are not identified by their shared object classifier. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
GRAY-RIGHT-CLOSURE | checked | The selected GrayTensor_R has one profiled right closure: whole public curry and uncurry functors form an OmegaEquivAlong between GrayHom_lax(GrayTensor_R(A,B),C) and GrayHom_lax(A,GrayHom_lax(B,C)), with whole beta/eta and coevaluation/evaluation derived at identity functors. Strictness is inherited from the public functor contract. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
GRAY-WALKING-INTERCHANGER | checked | In the selected strict-object/lax-arrow Gray right-closure slice, the walking square has four coevaluation-derived vertices and two coordinate arrow families, while its oriented nonidentity interchanger is projected from the existing whole post/left laxity action and retains one next hom action. | Cat.Adjunction:Adjunction.dosen_cut_right, Cat.WalkingArrow:EckmannHilton.catCart_pointwise_comm, Cat.WalkingArrow:GrayInterchanger.whiskering_ne | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
SEMISIMPLICIAL-FACE-SUBSTRATE | checked | Injective skip/keep face codes compute, form the locally discrete augmented semi-simplex category, realize selected ordinal shapes by directed join, and define Yoneda standard semisimplices and whole groupoid-valued semisimplicial diagram realization with retained higher action. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
DEPENDENT-SIMPLEX-INTERNAL-ACTION | checked | The fixed-endpoint dependent hom is the existing hom of a Sigma total and retains whole base-arrow and transported-endpoint observations; the recursive PathOut triangle category has whole target-line and base-line projections whose hom actions expose the 023 and 123 faces, while the next internal action maps a visible dependent tetrahedron and remains iterable rather than adding an independent coherence record. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
ORDINAL-DEPENDENT-FOUR-SIMPLEX | checked | One canonical ordinal four-simplex is constructed by iterating the whole PathOut transformation lift, maps under every functor from Delta[4], exposes all five tetrahedral cofaces through generic FaceCode action, supports selected strict and exact Path targets, remains noncollapsed, and retains one next action. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
ORDINAL-DEPENDENT-SIMPLEX-RECURSION | checked | Nat recursion constructs a canonical intrinsic ordinal dependent-simplex source at variable dimension; its structural successor steps the code at F[s] and stores the transformation component epsilon[s], while arbitrary-target observation, generic nonempty-face access, selected computations through dimensions zero to four, noncollapse, and a retained next action are checked. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
EH-COMMUTATIVITY | checked | Two 2-endomorphisms of an identity 1-cell commute in the selected Eckmann-Hilton slice. | Cat.WalkingArrow:EckmannHilton.omega2_comm, Cat.WalkingArrow:EckmannHilton.strictCat_middle_four | tests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts |
ADDITIVE-HOM-BIPRODUCTS | checked | Set-valued abelian Hom structures and bilinear composition combine with selected cartesian structure to give biproducts and a terminal/initial zero object. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
HOMOLOGY-BOUNDED-ITERATOR | checked | A field-indexed Nat iterator assembles finitely many coherent whole-H windows, retaining original arrows and zero/exactness annotations. Separate same-H zero-middle lemmas are checked; the final symbolic endpoint attachment is not claimed. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-KERNEL-COKERNEL-UNIVERSALITY | checked | Whole kernel/cokernel adjunction structures on the native oplax walking-arrow diagram category are primary, without older selected-operation dictionaries; their units, counits and whole-family mates retain the selected data under the declared ordinary structural profiles. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
ORDINARY-DIAGRAM-UNIVERSALITY | checked | The ordinary-target presentation declares whole ordinary diagram reconstruction. Its native oplax-family view is derived by whole exchange from the same actual reconstruction maps. Terminal/initial family isomorphisms retain computing point endpoints, inverse maps and inverse laws; no unrestricted higher diagram equivalence is claimed. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-COIMAGE-IMAGE-NORMALITY | checked | The actual whole Coim-to-Im comparison is derived from K/Q adjunctions and has whole reconstruction; native normality is fixed-forward equivalence evidence on that comparison. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-WHOLE-HOMOLOGY | checked | Whole native H is Q applied to the original boundary arrow family formed through K. Its point comparison applies Q to an actual diagram map with retained inverse data, at the original selected objects. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-CANONICAL-EXACTNESS | checked | Native exactness retains the canonical Im-to-Ker comparison, supports whole-family evaluation and categorical actual-input transport, and retains its witness under complete-arrow observation interpretation. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-HOMOLOGY-CONNECTING | checked | Whole native delta is constructed by universal descents through the retained cycle cover and boundary quotient, with whole reconstruction, uniqueness and agreement with the single descent. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-HOMOLOGY-WINDOW-EXACTNESS | checked | The three actual whole homology-window comparisons have derived fixed-forward OmegaEquivAlong witnesses under the original native adjunction, normality and row-exactness inputs. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-SNAKE-CONNECTING | checked | The general whole native snake constructs its connecting transformation from an arbitrary zero-composite triple through the original kernel/coimage cover and quotient descent, with reconstruction and uniqueness. | Cat.Homology:Snake.well_defined, Cat.Homology:Snake.six_term_exact, Cat.Homology:LES.direct_delta_and_snake_agreement | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-SNAKE-SIX-TERM | checked | The native six-term result retains all five whole maps and four original exactness witnesses. Typed data and inverse observations are checked; the large direct comparison with standalone complete witness packages remains deferred. | Cat.Homology:Snake.well_defined, Cat.Homology:Snake.six_term_exact, Cat.Homology:LES.direct_delta_and_snake_agreement | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-SNAKE-LES-COMPARISON | checked | The native homology window specializes to the general native snake, with retained endpoint equivalences and the whole positive-sign connecting-map agreement. | Cat.Homology:Snake.well_defined, Cat.Homology:Snake.six_term_exact, Cat.Homology:LES.direct_delta_and_snake_agreement | tests/phase_h4_abstract_homology_les_snake.test.ts |
NATIVE-FREYD-MODEL | checked | A supplied native Freyd adjunction model and normality support direct whole H/maps/delta observations on introduced raw chain data, without a legacy homology-model prerequisite. | Algebra.CAS:IntRing.SnfCert, Algebra.CAS:IntRing.bockstein_nonsplit, Algebra.CAS:IntRing.bockstein_delta_nonzero, Cat.Homology:LES.exact_at_HB | tests/phase_h5_nonsplit_cas_homology_showcase.test.ts |
NATIVE-CAS-DISPLAYED-EXACTNESS | checked | Under explicit original model and arrow-interpretation contracts, the native canonical proofs certify each actual displayed pair and a complete coherent finite diagram. No output-exactness assumption or universal reselection is added. | Algebra.CAS:IntRing.SnfCert, Algebra.CAS:IntRing.bockstein_nonsplit, Algebra.CAS:IntRing.bockstein_delta_nonzero, Cat.Homology:LES.exact_at_HB | tests/phase_h5_nonsplit_cas_homology_showcase.test.ts |
ORDINARY-ADJUNCTION-FAMILIES | checked | The explicitly declared ordinary postcomposition adjunction lift retains the original functors, projects the original whiskered unit/counit, and supplies derived whole-family mate operations. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
ORDINARY-PRODUCT-ADJUNCTION | checked | The declared ordinary diagonal/product adjunction uses the original BinaryProducts choice; whole family pairing and unpairing are derived from its mate comparison. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
WHOLE-CATEGORICAL-CONTRACTION | checked | Category and coherent-family contractions are transparent instances of existing OmegaEquivAlong; evaluation retains both inverse slots, and ordinary object contractibility is a derived observation. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
ORDINARY-TERMINAL-ADJUNCTIONS | checked | Two explicit ordinary terminal/initial adjunction presentations give derived whole unit/counit and Hom equivalence views, retaining selected inverses and the original terminal runtime forms. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
ORDINARY-HOM-COMPARISON-DATA | checked | A supplied whole Hom ProfComparison between ordinary categories yields whole unit and counit transformations with retained component/action formulas and both whole triangle laws; all constructions are definitions. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
ORDINARY-ADJUNCTION-INTRODUCTION | checked | One explicit ordinary constructor introduces the existing Adjunction from a whole Hom comparison. Scoped proof-time views retain native computation heads; input and whole unit/counit agreement are derived and family mate/Došen cuts are checked. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
PRIMARY-TERMINAL-FAMILY-UNIVERSALITY | checked | The ordinary terminal/initial family interface takes the supplied adjunction and derives whole Hom contraction, invertible modification and diagram-presentation comparisons. Its native presentation uses oplax walking-arrow diagrams, with the actual forward and inverse observations checked; callers supply no terminal profile or square proof. | Cat.Adjunction:Adjunction, Cat.Adjunction:Adjunction.homEquiv, Cat.Adjunction:Monad.assoc, Cat.Adjunction:CartesianAdj.binary_product_hom_equiv, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Adjunction:LCCC.pullback_pi_equiv | tests/phase_h2_adjunctions_monads_lccc.test.ts |
NATIVE-COMMA-FAMILY-CLASSIFICATION | checked | The native whole classifier retains original family inputs and whole source/target comparison data; its ordinary zero-arrow specialization retains the triangle comparison and inverse maps. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
WHOLE-HOMOLOGY-FAMILY-COMPARISON | checked | An actual whole boundary-diagram isomorphism under the original Q gives the whole family/native homology comparison with original endpoint functors, selected inverses and downstream point observation; the Freyd specialization retains the original model. | Cat.Homology:PreadditiveCat, Cat.Homology:AdditiveCat, Cat.Homology:Kernel.adjunction_univ, Cat.Homology:Cokernel.adjunction_univ, Cat.Homology:AbelianCat, Cat.Homology:Homology.map_comp, Cat.Homology:LES.exact_at_HB | tests/phase_h4_abstract_homology_les_snake.test.ts |
CAT-DEPENDENT-HOM | checked | For admitted families, the identity Homd root has a whole Q-valued section and direct x/u/y/v/f projections. Its defined extension accepts general lax FF and computes Hom(E[f](u),FF[y](v)); no whole equality of the index category with a Cartesian presheaf category is asserted. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
CAT-SIGMA-HOM | checked | The hom-category of an admitted Sigma total has the total-dual Sigma presentation over TotalOp(Hom_K(x,y)), with total fibre duality of the identity Homd presheaf. Its objects are base arrows paired with forward fibre arrows. | Cat.WalkingEnd:WalkingEnd.Cat, Cat.Homology:StrictCat.toCat1, Cat.Adjunction:LCCC.Fam, Cat.Adjunction:LCCC.sigma_pullback_equiv, Cat.Cubical:Cubical.homdc_representable_beta | tests/phase2_dependent_sigma_yoneda.test.ts |
NATIVE-NERVE-FACE-COMPARISON | checked | Relative to the declared native-arrow eta, selected tensor biclosure, terminal-join universality, family/action internalization and strict-forward inverse-assembly interfaces, whole semicubical and augmented semisimplicial native/geometric comparisons have actual inverse data, both all-dimensional inverse laws, face/index-Hom compatibility and Cartesian coefficient variation. This does not establish degeneracies, full raw moving-cell normalization or the ordinary-ordinal mapping-category equivalence. | Cat.Simplicial:Simplicial.FaceCode, Cat.Simplicial:Simplicial.DeltaInjCat1, Cat.Simplicial:Simplicial.simplex2_unpack_beta, Cat.Simplicial:Simplicial.tetrahedron_all_four_faces, Cat.Simplicial:Simplicial.nerve_inner_face_composes | tests/phase_g1_simplicial_types_and_nerve.test.ts |
JOIN-UNIVERSAL-AND-CONE-COSLICE | checked | Computational directed join A ⋆ B satisfies four-region NbE hom computation, whole mapping universality, opposite swap (A ⋆ B)^op ≅ B^op ⋆ A^op, and the Cone–Coslice adjunction (1 ⋆ -, north) ⊣ (north ↓ -). | Cat.JoinSpectra:JoinSpectra.JoinCat, Cat.JoinSpectra:JoinSpectra.join_universal_equiv, Cat.JoinSpectra:JoinSpectra.join_op_iso_swap, Cat.JoinSpectra:JoinSpectra.cone_coslice_adj_equiv | tests/phase_p4_join_cones_and_spectra.test.ts |
SHEAFIFY-IDEMPOTENT-CCC | checked | Zero-axiom cover-completion sheafification proves Locality Theorem 20.1, reflective universality a_J ⊣ ι, idempotence, finite-product preservation, and internal exponential sheaves. | Topos.Sheaf:Sheaf.sheafify_is_sheaf, Topos.Sheaf:Sheaf.sheafify_universal_equiv, Topos.Sheaf:Sheaf.sheafify_idempotent_equiv, Topos.Sheaf:Sheaf.sheafify_preserves_binary_prod, Topos.Sheaf:Sheaf.psh_exp_is_sheaf | tests/phase_g4_sites_and_sheafification_hit.test.ts |
P1-GLOBAL-NONAFFINE-COHOMOLOGY | checked | On the two-chart Laurent gluing of P^1, global sections satisfy Γ(P^1_R, O) ≃ R, P^1_{F_2} is constructively non-affine, and twisting-sheaf Čech cohomology H^i(P^1_k, O(n)) is LCF-certified for n = -2..2 over F_2 and Q. | Algebra.Geometry:Geometry.p1_global_sections_equiv_base, Algebra.Geometry:Geometry.p1_not_affine_line_f2, Algebra.Geometry:Geometry.P1_Om2_D_F2, Algebra.Geometry:Geometry.P1_O0_D_F2, Algebra.Geometry:Geometry.P1_O2_D_F2, Algebra.Geometry:Geometry.P1_Om2_D_Q | tests/phase_g5_projective_line_and_cech_cohomology.test.ts |
GROUPOIDIFY-SOURCE-FUNCTOR-ADJUNCTION | checked | Category-indexed Groupoidify(C) carries covariant source functoriality Groupoidify.map preserving identities and composition and forms the reflection adjunction Groupoidify ⊣ Path with zig-zag triangle laws. | HoTT.Groupoidify:Groupoidify.map, HoTT.Groupoidify:Groupoidify.map_id, HoTT.Groupoidify:Groupoidify.map_comp, HoTT.Groupoidify:Groupoidify.path_reflection_equiv, HoTT.Groupoidify:Groupoidify.adjunction_naturality, HoTT.Groupoidify:Groupoidify.left_triangle, HoTT.Groupoidify:Groupoidify.right_triangle | tests/phase_p3_groupoidification_hit.test.ts |
SIMPLICIAL-CUBICAL-DEGENERACY-KAN | checked | Simplicial and cubical codegeneracies satisfy cosimplicial/cocubical coface triangles, mixed-variance homdc computes on representables, and 2D groupoidal Kan open-box fillers contrast with directed open-horn non-filling. | Cat.Simplicial:Simplicial.intervalCodegS0, Cat.Simplicial:Simplicial.interval_codeg_coface_triangles, Cat.Cubical:Cubical.cubeCodeg2_0, Cat.Cubical:Cubical.cube_codeg_coface_triangles, Cat.Cubical:Cubical.homdc_representable_beta, Cat.Cubical:Cubical.grpd_open_square_hcomp2, Cat.Cubical:Cubical.directed_open_horn_unfillable | tests/phase_s4_directed_cone_spectra_and_degeneracies.test.ts |
LCCC-FROBENIUS-AND-PUSHOUT | checked | Locally Cartesian closed base change satisfies Frobenius reciprocity Σ_u(a ×_X u* b) ≃ (Σ_u a) ×_Y b, accompanied by HoTT Pushout(f, g) and Trunc0(X) universal equivalences. | Cat.Adjunction:LCCC.frobenius_equiv, HoTT.Spectra:Spectra.pushout_universal_equiv, HoTT.Spectra:Spectra.trunc0_universal_equiv | tests/phase_s1_pushout_spectra_cohomology.test.ts |
LEAN-LIST-SUBSUMPTION-BRIDGE | checked | Lean 4 Init.Data.List (166 0-axiom declarations) elaborates natively in Grpd(u) and bridges functorially to WalkingEnd endomorphisms and Sigma-tuples via Cat.ListBridge. | Init.Data.List:List.Sublist.trans, Cat.ListBridge:List.unitEquivNat, Cat.ListBridge:WalkingEnd.homEquivListUnit, Cat.ListBridge:WalkingEnd.toListUnit_comp, Cat.ListBridge:List.sigmaTupleEquiv | tests/phase_l6_functorial_list_bridge.test.ts |
DIRECTED-MARKED-CONE-COSLICE | checked | Marked-arrow categories support the 0-axiom directed Cone–Coslice adjunction L_1 : Cat_+ -> Cat⟨→⟩ ⊣ R_1 while unmarked cones fail initiality and marked meridians remain non-invertible. | Cat.DirectedSpectra:DirectedSpectra.marked_cone_coslice_adj_equiv, Cat.DirectedSpectra:DirectedSpectra.diagonal_coslice_fiber_equiv_loop, Cat.DirectedSpectra:DirectedSpectra.naive_unmarked_cone_not_initial, Cat.DirectedSpectra:DirectedSpectra.marked_walking_arrow_seg_not_iso | tests/phase_s4_directed_cone_spectra_and_degeneracies.test.ts |
DIRECTED-RELATIVE-CONE-COHOMOLOGY | checked | Bare directed-cone groupoidification collapses to Unit (H^1 = 0), whereas relative cone-pair cofibers recover reduced suspension and yield H^1(Cone(Bool), Bool; Z) ≃ Z. | Cat.DirectedSpectra:DirectedSpectra.bare_cone_groupoidify_equiv_unit, Cat.DirectedSpectra:DirectedSpectra.bare_cone_bool_h1_equiv_unit, Cat.DirectedSpectra:DirectedSpectra.relative_cone_cofiber_equiv_susp, Cat.DirectedSpectra:DirectedSpectra.relative_cone_bool_cofiber_equiv_circle, Cat.DirectedSpectra:DirectedSpectra.relative_cone_bool_h1_equiv_int, Cat.DirectedSpectra:DirectedSpectra.bare_vs_relative_cone_bool_h1_neq | tests/phase_s4_directed_cone_spectra_and_degeneracies.test.ts |
FINITE-CARD-AND-PIGEONHOLE | checked | Constructive finite enumerations Fintype1 A := Σ (n : Nat), A ≃ Fin n, the Pigeonhole Principle ¬∃ f : Fin(n+1) -> Fin n, IsInjective1 f, Finite Cantor–Bernstein cardinality uniqueness, finite cardinalities (+, ×, ->, Σ, decidable Subtype), Pascal row sums ∑ C(n, k) = 2^n, and CommMonoid1 finFold Fubini/transposition invariance are proved with 0 axioms. | Combinatorics.FiniteSetsCard:Combinatorics.Fintype1, Combinatorics.FiniteSetsCard:Combinatorics.fin_pigeonhole, Combinatorics.FiniteSetsCard:Combinatorics.fintype_card_unique, Combinatorics.FiniteSetsCard:Combinatorics.binomial_sum_eq_pow2, Combinatorics.FiniteSetsCard:Combinatorics.finFold_swap | tests/phase_y1_shared_dag_symmetry_tags_and_fintype.test.ts |
PERMUTATIONS-SIGN-AND-ALTERNATING | checked | Constructive Hedberg IsSet, auto-equivalence permutations Perm A := (A ≃ A), disjoint-support commutativity, bijection-invariant finFold, transposition decomposition, |Perm(Fin n)| = n!, intrinsic inversion-parity homomorphic sign sgnPerm_mul, and alternating group |A_{k+2}| · 2 = (k+2)! (with sym3_not_abelian and adjSwap_not_in_altPerm, NC-17a Part 3) are proved with 0 axioms. | Combinatorics.PermutationsSign:Combinatorics.hedberg_isSet, Combinatorics.PermutationsSign:Combinatorics.disjointSupport_comm, Combinatorics.PermutationsSign:Combinatorics.perm_transposition_decomp, Combinatorics.PermutationsSign:Combinatorics.sgnPerm_mul, Combinatorics.PermutationsSign:Combinatorics.altPerm_card_twice, Combinatorics.PermutationsSign:Combinatorics.sym3_not_abelian, Combinatorics.PermutationsSign:Combinatorics.adjSwap_not_in_altPerm | tests/phase_y2_permutations_cycles_and_sign.test.ts |
UNIVALENT-SYMMETRY-LOOP-AND-TORSORS | checked | Grayson concrete pointed-connected-groupoid loop groups loopGrp1(BG, shG) pair with small 1-object directed deloopings deloopMonoidCat1 / deloopGrpCat1 (deloopGrpIsoEquivG), G-set transport equivalences (familyToLoopGAction1, gSetHom_equiv_deloopNatTrans), stacky X // G vs. set orbit quotients X / G (orbitSet_universal_equiv), and Principal G-Torsor Equivalence (principal_torsor_equiv, gSetHom_from_regular_equiv) with 0 axioms. | GroupTheory.UnivalentGroupsActions:GroupTheory.loopGrp1, GroupTheory.UnivalentGroupsActions:GroupTheory.deloopGrpIsoEquivG, GroupTheory.UnivalentGroupsActions:GroupTheory.familyToLoopGAction1, GroupTheory.UnivalentGroupsActions:GroupTheory.gSetHom_equiv_deloopNatTrans, GroupTheory.UnivalentGroupsActions:GroupTheory.orbitSet_universal_equiv, GroupTheory.UnivalentGroupsActions:GroupTheory.principal_torsor_equiv | tests/phase_y3_univalent_groups_torsors_lagrange_burnside.test.ts |
LAGRANGE-ISOMORPHISM-AND-BURNSIDE | checked | The First Isomorphism Theorem (first_isomorphism_thm, symQuotAltIsoC2), Orbit–Stabilizer (orbit_stabilizer_card), Lagrange's Theorem |G| = [G : H] · |H| (lagrange_theorem_card), Burnside's Orbit-Counting Lemma |X/G| · |G| = ∑ |X^g| (burnside_orbit_counting_lemma, square2Coloring_burnside 6 · 4 = 24), and NC-17b Part 1 separations V_4 ≄ C_4 (v4_not_iso_c4) & ⟨τ_{0,1}⟩ ⋪ S_3 (swap01_subgroup_not_normal_in_S3) are proved with 0 axioms. | GroupTheory.UnivalentGroupsActions:GroupTheory.first_isomorphism_thm, GroupTheory.UnivalentGroupsActions:GroupTheory.orbit_stabilizer_card, GroupTheory.UnivalentGroupsActions:GroupTheory.lagrange_theorem_card, GroupTheory.UnivalentGroupsActions:GroupTheory.burnside_orbit_counting_lemma, GroupTheory.UnivalentGroupsActions:GroupTheory.square2Coloring_burnside, GroupTheory.UnivalentGroupsActions:GroupTheory.v4_not_iso_c4, GroupTheory.UnivalentGroupsActions:GroupTheory.swap01_subgroup_not_normal_in_S3 | tests/phase_y3_univalent_groups_torsors_lagrange_burnside.test.ts |
Appendix C. From The Circle To The Walking Endomorphism—And Back
The proof of Theorem 8.1 is inspired by the encode-decode calculation of the loop space of the circle in the Homotopy Type Theory book. This appendix records the correspondence so that the analogy can guide the reader without smuggling groupoidal assumptions into the directed theorem.
The comparison is no longer merely retrospective or prospective. Chapter 26 checks the Circle side of the analogy with a successor-localized Integer classifier, while Chapter 27 proves that mapping out of the Circle into a groupoid is equivalent, as a whole mapping object, to mapping out of WalkingEnd through paths. The appendix therefore records both the deliberate change from inverse to forward powers and the checked free-inversion passage back.
The source reference is revision 578b85cc8d586b1677ec4335148adeb443057d24 of the HoTT Book repository. The detailed, machine-readable adaptation ledger is book/references/third-party-sources.json.
C.1 The Rhetorical Spine
The HoTT calculation proceeds through four questions:
- What are the evident powers of the loop, and how might a loop be assigned a winding number?
- What does the classical free/universal-cover picture predict?
- How can the cover be represented internally as a family?
- How do encode and decode become inverse after the endpoint is generalized?
Chapter 8 retains that sequence. It changes the mathematical answer at every point where the circle proof uses reversibility.
| Circle calculation | Walking-endomorphism calculation |
|---|---|
A base point and an identity loop in S¹ | A base object and a directed arrow ell in W |
Loop carrier base = base | Based hom carrier Hom_W(*,*) |
| Integer-indexed positive and negative powers | Natural-number-indexed forward powers |
| A cover with integer fibre | A Cat-valued code with Path(Nat) base fibre |
| Successor equivalence on integers | Successor functor on naturals |
| A universe path obtained through univalence | A directed endofunctor accepted directly by recursion into Cat |
| Transport zero along an identity path | Apply the Code functor to zero along a directed arrow |
| Decode by dependent circle induction | Decode by the contextual displayed eliminator |
| Hard inverse by generalized path induction | Directed normalization cell, then hom-discreteness |
| Easy inverse by integer/circle induction | Easy inverse by Nat induction |
Omega(S¹) ≃ Int | Hom_W(*,*) ≃ Nat as carriers |
| Group structure and inverse loops | Free-monoid direction and a noninvertible generator |
The table is a dependency map, not a dictionary identifying the objects.
C.2 Where Univalence Moves
In the circle proof, a family must map the loop of S¹ to a loop in the universe. Successor on the integers is an equivalence, and univalence converts that equivalence into the needed universe identity. Its inverse supplies predecessor action.
In the directed proof,
is specified by a category and an endofunctor. Natural-number successor is therefore accepted without being an equivalence. No universe identity and no predecessor are needed.
This does not make univalence irrelevant to functorial type theory. It clarifies its jurisdiction. Equality, transport, equivalence, and univalent universes govern groupoidal identification. A directed family may additionally act along arrows that are not identities and whose action is not invertible. The title of this book refers to a foundation containing both layers.
Formal status — mathematical development. The comparison of the roles of univalence is explanatory. The individual emdash interfaces cited by Chapter 8 are checked; a general metatheorem comparing all directed families with HoTT fibrations is not claimed.
C.3 The Generalized Endpoint
Both proofs teach the same strategic lesson in different formal languages: when a statement about a fixed loop cannot be inducted on, vary its endpoint.
For the circle, one considers all x:S¹ and paths base=x. For W, one considers all objects x and based arrows . The target family is the representable
The crucial difference is what generalized elimination produces. Groupoidal path induction produces equality. The contextual directed eliminator first produces coherent arrow action, and at an arbitrary based arrow it yields a directed 2-cell
Only the separate one-dimensionality premise converts that cell into equality. Thus the directed proof factors the groupoidal conclusion into two conceptually independent steps: normalization and dimension.
C.4 What Was Not Transferred
The adaptation removes, rather than renames, the following ingredients:
- inverse paths and negative powers;
- predecessor action on the code;
- the claim that successor is an equivalence;
- a universe path produced from successor;
- cancellation in a group;
- equality as the first output of the hard inverse;
- the conclusion that the result is already a group isomorphism.
It also adds ingredients absent from the circle proof in this form:
- a separate
BNatmodel whose definitional structure is not imposed on the HIT; - a displayed contextual algebra comparing postcomposition with successor;
- a coherent directed spiral;
- a dimension witness used explicitly at the equality boundary;
- negative results proving the generator has no right inverse or omega-equivalence evidence.
These changes explain why a textual search-and-replace from S¹/Int to W/Nat would be mathematically misleading.
C.5 Stronger Comparisons
The carrier equivalence suggests two different strengthenings.
First, composition/addition compatibility packages the comparison as a monoid equivalence (WalkingEnd.power_add, WalkingEnd.encode_comp, and WalkingEnd.toListUnit_comp in Cat.ListBridge; see Chapter 8 and Chapter 32).
Second, free groupoidal realization inverts the generator without silently adding an inverse inside the original directed category. That comparison is checked in HoTT.Groupoidify: Groupoidify(WalkingEnd) ≃ Circle (Groupoidify.walking_end_equiv_circle), covariant source functoriality (Groupoidify.map, map_id, map_comp), and the full reflection adjunction Groupoidify ⊣ Path (Groupoidify.path_reflection_equiv, left_triangle, right_triangle).
Formal status — checked. Evidence
WE-GROUP-COMPLETION. Chapter 27 establishesWalkingEnd/Circlefree inversion, genericGroupoidify(C)universality, covariant source functoriality, andGroupoidify ⊣ Pathwith0axioms.
Full functor-category initiality of WalkingEnd over arbitrary higher -categories remains a separate research boundary, ensuring the Circle comparison never turns the directed Nat proof into a group-valued proof.
C.6 Attribution Method
The subsection order and proof strategy are structural adaptations from the pinned HoTT sources. The prose in this edition is newly written. Each target, source file, source label, and adaptation type is recorded before the adaptation is committed. The book’s CC BY-SA 3.0 license and credits preserve the upstream attribution and ShareAlike requirements.
Appendix D. Glossary And Concept Index
This appendix fixes the vocabulary used by the expanded development edition. Each entry points to the place where the idea is constructed or used, rather than to a page number that would change with paper size and typography.
D.1 Glossary
Abelian category, computational. An additive category with selected kernels and cokernels and normal lift/colift operations. Monic and epic cancellation are distinguished from the normality operations that construct factors. See Chapter 31.
Additive category. A category with set-valued abelian Hom groups, bilinear composition and selected finite biproducts. The implementation derives biproducts from its supplied cartesian structure. See Chapter 31.
Affine chart realization. A selected region together with a supplied reflective presentation of the actual slice , a coordinate ring and thin affine presentation, a whole affine-basis functor, and a whole comparison from ambient restriction to affine coordinates. The label is site-relative and is not inferred from cover membership alone. See Chapter 23.
Affine scheme, computational presentation. A base ring together with a supplied reflective structure-sheaf presentation on its generated big Zariski site and supplied whole localization locality for the coordinate presheaf. The current interface is assumption-explicit and does not construct sheafification, stalks, or a representation-independent category of affine schemes. See Chapter 22.
Binary site-relative scheme presentation. One supplied global reflective ringed object with topology-local ring behaviour and a covering sieve constructively generated by two whole affine chart realizations. The global structure presheaf is retained once, so restrictions and selected overlaps are inherited rather than duplicated as atlas fields. See Chapter 23.
Adjunction. Functors and equipped either with a unit and counit satisfying the two triangle laws or with an equivalent natural hom comparison. In the active calculus, the triangles are universal cuts with selected computational owners. See Chapter 12.
Arrow induction. Extension of data at the reflexive outgoing arrow to a section over . Unlike equality induction, its base category may contain noninvertible arrows. See Chapter 5.
Basic open. Primarily, the ordinary sieve of maps that make invertible. A supplied localization represents its points at every test ring; a compact open is a further representation when available. See Chapters 18 and 22.
Based hom-category. For a selected base object and endpoint , the category . Its objects are based 1-arrows and its arrows are based 2-cells. See Chapter 8.
BNat. The separate one-object category with -valued hom, zero identity, and addition composition. It is a concrete model of the walking signature, not the definition of WalkingEnd. See §8.1.2.
Canonical mathematical surface. The readable notation in which the book states categorical judgments and rule schemas. It maps to stable kernel owners and has a bounded executable subset, but the full notation is broader than the implemented text grammar. See Appendix G.5.
Carrier equivalence. An equivalence between underlying classifiers, here . It does not by itself package preservation of composition or an equivalence of ambient categories. See Theorem 8.1.
Cat-valued directed family. An admitted functor . It assigns a category to each base object and a transport functor to each directed base arrow. See Chapter 2.
Categorical height. The recursive IsNCat condition: dimension zero is discreteness, and successor dimension asks every hom-category to have the preceding dimension. See Chapter 7.
Category, native. An object of Cat, with iterable category-valued homs. It is not definitionally an ordinary HoTT precategory. See Chapters 2 and 10.
Chosen binary product. A selected whole functor together with whole projections and a represented-family pairing operation. Its triangular beta, distribution, and eta cuts compute. It is distinct from the product category constructor. See Chapter 30.
Circle. The selected groupoidal HIT with one point and one generating path. Its dependent eliminator computes at the point and on dependent action over the loop; its based loop carrier is equivalent to the successor-localized Integer classifier. See Chapter 26.
Compositor. The directed comparison obtained by specializing whole transfor laxity to the identity transfor of . Under the strict public functor laws its native value is strict. General transformation post/left laxity can still be noninvertible; a path-valued target supplies inverses. See Chapters 25 and 28.
Commutative ring. A set-valued carrier with zero, one, addition, negation, multiplication, and the usual commutative-ring laws. The zero ring is retained; structured maps preserve all five operations and form . See Chapter 21.
Code. The Cat-valued family over WalkingEnd whose base fibre is and whose generator action is successor. See §8.1.3.
Contractible factor space. The classifier of structure-preserving maps and their required triangles, equipped with a center and a path from every competitor to it. It turns a universal property into both a selected factor and coherent uniqueness. See Chapter 21.
Co-Yoneda cut. Elimination of a representable leg from a profunctor composite. The checked theorem is a shaped, fixed-middle beta/fusion law; a general coend theorem remains separate. See Chapter 13.
Cover. An ordinary sieve selected as locally sufficient by a Grothendieck topology. A family of arrows can present or generate a covering sieve while retaining separate computational witnesses. See Chapter 19.
Cover generation, binary and witness-rich. For every member of one retained covering sieve, an executable Boolean branch, factor map , and triangle through one of two selected members. It explains the retained sieve without asserting that every member is itself affine. See Chapter 23.
Contextual eliminator. An eliminator that constructs a displayed functor between two varying families from base-fibre data and coherent constructor cells. Sections and ordinary recursors are special cases. See Chapter 6.
Cut elimination. Controlled normalization at the semantic owner of an arrow, family, structural, or universal cut. It does not mean installing unrestricted associativity as a global rewrite. See Chapter 9.
Dagger structure. A chosen contravariant involution on one category, identity on objects in the ordinary presentation and coherent with retained higher action in a prospective native presentation. It is not merely the operation of taking an arbitrary opposite category. See Chapter 14.
Dependent simplex. A recursively flagged object obtained by choosing an object of , then an object of its outgoing-path category, and continuing. Each successor is a PathOut, hence a Sigma of a representable hom; its arrows expose a base cell and a dependent cell above transport. The active variable-dimensional object package is not yet a whole category of all dependent simplexes. See Chapter 29.
Dependent product in slices. A selected whole functor right adjoint to pullback base change . It is distinct from the global section category Pi_cat and from a general right-Kan direct image. See Chapter 30.
Directed higher-inductive type/category. A presentation with object, directed-arrow, and possibly higher-cell constructors whose arrow generators are not silently inverted. The current book has one selected implementation, WalkingEnd, not a general schema. See Chapter 6.
Directed normalization cell. The cell constructed by the contextual decoder before hom-discreteness extracts equality. See §8.1.4.
Discrete category. A category whose hom structure agrees with equality of objects at the selected interface. In a one-dimensional category every hom-category is discrete; this does not make every ambient 1-arrow invertible. See §7.6.
Duality. Either a proof method that transports a theorem through the opposite construction or additional structure comparing a category with an opposite. It never licenses an unannounced variance reversal. See Chapters 14 and 17.
Elaborator. The implemented bounded TypeScript layer that interprets directly constructed or parsed categorical surface terms against expected classifiers, selects stable owners, and emits backend-neutral explicit Core. It fails closed when a required coherent construction is absent. It is not a compiler for the whole book surface or a second mathematical kernel. See Appendix G.5.
Evidence status. One of checked, formal consequence, mathematical development, or research boundary. The status describes the relation between prose and the active artifact. See How to Read and Appendix B.
Face code. A set-classified skip/keep word representing an injective monotone map between finite ordinals. Identity is the all-keep word and composition computes by structural substitution. Face codes are the homs of the augmented semi-simplex category. See Chapter 29.
Explicit endash Core. The compact de Bruijn / bunched-context AST (src/ast.ts) produced after .en elaboration has resolved implicit arguments, universe levels, typeclasses, tactics, and LCF CAS certificates. endash's ~2,690-LOC Q-free NbE kernel (src/eval.ts, src/check.ts) evaluates and type-checks explicit Core directly with 0 axioms. See Appendix G.5.
Formal presentation. The layered account relating the .en mathematical surface, bidirectional elaboration and tactic/CAS automation, explicit endash Core, the Q-free NbE kernel, and separately stated semantic models. The categorical kernel comes first; it is not post-hoc semantics for an unspecified traditional syntax. See Appendix G.
Functor. A map with object and iterated-hom action. Generic functoriality, not constructor-specific laws, owns identity and composition preservation. See Chapter 2.
Generated topology. The least Grothendieck topology accepting a selected type-valued family of generating sieves. The active presentation is the intersection of all accepting topologies, not an inductive derivation syntax. See Chapter 19.
Global-first scheme architecture. An approach that begins with one already-existing global ringed object and recognizes selected regions as covering affine charts. Restriction and overlap coherence are inherited from the global presheaf; constructing the object from abstract chart data remains a separate gluing theorem. See Chapter 23.
Group completion. Free adjoining of inverse motion. The active WalkingEnd–Circle theorem gives this comparison as a whole universal mapping property, and category-indexed groupoidification extends the construction to an arbitrary source category at the target-side mapping boundary. See §8.1.5 and Chapter 27.
Groupoidification. The free realization of directed objects, arrows, and higher cells as groupoidal points, paths, and higher paths (HoTT.Groupoidify). It differs from the core, which retains arrows already invertible, and from truncation, which lowers the homotopy level of groupoidal data. Covariant source functoriality (Groupoidify.map) and the full reflection adjunction Groupoidify ⊣ Path are checked with 0 axioms. See Chapter 27.
Gray profile, selected. The category whose objects are public functors and whose arrows are classified LaxTransfor objects. Higher Homs reuse the ambient tower. Its inclusion into the ordinary mapping category does not identify their distinct transformation classifiers. One checked right closure yields a walking-square interchanger; a full Crans–Gray biclosed monoidal structure is not claimed. See Chapter 28.
Hom action. The functorial action induced on a hom-category. Emdash keeps covariant postcomposition, contravariant precomposition, and simultaneous two-endpoint action as distinct computational owners. See Chapters 2, 9, and 13.
Higher sieve. A Cat-valued coefficient system on the restriction-oriented category of probes into a fixed object; equivalently, a Cat-valued presheaf on the conventional slice. Its values may retain witnesses and arrows between them; it is not automatically an ordinary sieve. See Chapter 18.
Invertibility sieve. For a section over , the sieve of all probes for which is a unit. An open may represent this sieve, but representability is a further claim. See Chapter 18.
Integer line. The set-truncated telescope localization of natural-number successor. A stage pair represents ; executable successor and predecessor are inverse, and the resulting self-equivalence supplies Circle monodromy. See Chapter 26.
Interchanger. A directed higher cell comparing the two coordinate routes across the selected Gray walking square. In the checked slice it is projected from whole post/left laxity and retains a next action; it is not postulated as an isolated square axiom. See Chapter 28.
Interval, groupoidal. The selected HIT with endpoints and one generating path between them. It is equivalent to the groupoidification of the directed WalkingArrow, without the two carriers being definitionally identified. See Chapter 27.
Join. The selected directed category generated by left and right embeddings together with cross arrows from the left side to the right side. Its recursor and three beta observations are checked; a general collage mapping property and dependent eliminator are not. See Chapter 17.
Kan extension. A universal extension along a functor. This edition expresses right and left Kan interfaces as conjoint- and companion-weighted limits and colimits; identifying those interfaces with the full standard pointwise semantics remains mathematical development. See Chapters 16 and 17.
Lower-star action. Postcomposition: if and , then . Its active owners are hom_postcomp_func and hom_postcomp_fapp0. See §9.2.
Localization at an element. A structured map that makes invertible and has a contractible factor space through every map in which the image of is already invertible. The notation names a universal role, not a required fraction representation. See Chapter 21.
Laurent overlap. Two literal chart restrictions into one actual overlap ring, each supplied as localization of a one-variable polynomial algebra over one common base, together with whole paths identifying both internally constructed coordinate-inversion endomorphisms with the overlap identity. The transition maps are constructed; the identity paths are supplied. See Chapter 24.
Laxity cell. A directed comparison retained where a strict equation would identify its endpoints. Whole laxity varies over an entire hom category, so its component and next action arise from one internal operation rather than a finite list of unrelated coherence fields. See Chapter 28.
Matching family. A whole presheaf map assigning local data to every member of a sieve , compatibly with refinement. A global section restricts to a matching family by precomposition. See Chapter 19.
Monad, computational presentation. An endofunctor with whole unit and multiplication observations and a whole extension operation . The ambient beta and accumulation cuts normalize extension without requiring an explicit Kleisli category. See Chapter 12.
Natural transformation. In the ordinary specialization, a pointwise family satisfying a naturality equation. A native transfor retains an off-diagonal action and iterates to higher hom levels, so the two notions are related but not definitionally identical. See Chapter 11.
Off-diagonal transfor action. If and , then . Adjacent functor actions accumulate into this term by strict naturality. See Chapter 9.
Omega-equivalence. The native recursive equality-valued equivalence interface for categorical cells. It is distinct from a bare carrier TypeEquiv and from ordinary isomorphism evidence. See Chapter 4.
Opposite category. In native Hom and profunctor formulas, Op_cat is the dimension-one transpose . CoAbove2_cat reverses dimensions 2 and above; TotalOp_cat reverses every positive dimension. Their actions on transformations and families have distinct types. See Chapter 14.
Ordinary sieve. A refinement-closed, proposition-valued family of probes into one object. In the active categorical presentation it is a higher sieve whose every coefficient category is subterminal. See Chapter 18.
Outer-LF declaration convenience. A typed host operation that validates selected higher-level input and expands it into ordinary dependent-LF declarations and rules before explicit Core is checked. The current adjunction and bounded dependent-structure forms add no trusted term node or new categorical semantics. See Appendix G.5.
Path category. , the equality-local groupoidal category on a classifier . It embeds ordinary identity reasoning into the directed calculus without identifying every directed hom with equality. See Chapters 2 and 25.
Path-realized pseudo-laxity. The generic directed compositor viewed in a path category. Its underlying cell is an equality and therefore invertible, while its whole higher action is retained. This is target-induced invertibility. Public functor compositors additionally have strict computation; general transformation laxity remains separate. See Chapter 25.
PathOut. The outgoing-arrow category at a fixed source . Its canonical arrow from to drives arrow induction. See Chapter 5.
Precategory, ordinary. A classifier of objects with set-valued homs, identities, composition, and category laws. It is used as a readable one-categorical specialization of the native iterated-hom architecture. See Chapter 10.
Polynomial algebra. A free commutative -algebra on a variable classifier , characterized by contractible structured extension spaces for every base map and valuation. The universal interface does not select a monomial representation. See Chapter 21.
Proj. The standard construction of a projective scheme from a graded ring, using homogeneous localization and degree-zero parts on standard regions. It is mathematical development and a research boundary in this edition; the active artifact has no graded Proj owner. See Chapter 24.
Projective-line presentation, supplied. One already-global binary site-relative scheme, its selected actual chart intersection, and a Laurent coordinate presentation on the literal inherited restriction maps. It is an end-to-end computational capability, not a construction of , a projectivity or non-affineness proof, or a substitute for Proj. See Chapter 24.
Presheaf. A contravariant functor or, in the active higher presentation, to with domain . It assigns observations to stages and functorial restriction to probes. See Chapters 13 and 18.
Profunctor. A Cat-valued functor , contravariant in its first endpoint and covariant in its second. See Chapter 13.
Pullback base change. For chosen pullbacks and , the whole functor right adjoint to slice postcomposition . Pullback objects, projections, and their directed square derive from this slice action and its counit. See Chapter 30.
Representable. A family or profunctor obtained from an ambient hom. Its action is composition, which makes it the computational bridge between universal properties and cut elimination. See Chapters 5 and 13.
Reflector. A left adjoint to the inclusion of a full subcategory whose counit on objects already in that subcategory is an equivalence. Direct cover completion is a reflector from Cat-valued presheaves to topology-local ones at the fixed site. See Chapter 20.
Rezk completion. A completion intended to turn the selected weak equivalences into equivalences as seen by saturated targets. The book gives ordinary Yoneda-image and higher-inductive constructions and a prospective native specification; no native implementation is claimed. See Chapter 15.
Runtime rewrite. A directed reduction selecting an intended normal form. It is distinct from proof-time unification and internal propositional equality. See Appendix E.
Saturation. The property that the chosen identity-to-equivalence map is itself an equivalence, or the result of freely enforcing that property by a completion. Saturation is not finite categorical height. See Chapter 15.
Sheaf. A presheaf local at every covering sieve: restriction from global sections to matching families is an equivalence. This condition on an existing presheaf is distinct from a sheafification construction. See Chapters 19 and 20.
Sheafification. A reflective free-local completion of a presheaf. In the active Cat-valued construction, return preserves old data, whole glue adjoins amalgamations over eligible cover questions, silent removes redundant restrict-and-glue detours, and the recursor gives the whole Hom universal property. See Chapter 20.
Site. A category equipped with a Grothendieck topology, whose covering sieves satisfy maximality, pullback stability, and local character. A site need not be a poset of open subsets. See Chapter 19.
Semisimplicial diagram. A functor from the opposite augmented category of injective ordinal maps. It has face action but no degeneracy action. The active groupoid-valued diagrams realize levelwise through the path-category functor while retaining whole map and higher action. The native/geometric nerve comparison additionally uses whole Cat_cart-valued families on that face index. See Chapter 29.
Native/geometric nerve comparison. Whole comparison maps with actual inverse data between recursive dependent-cell categories and selected oplax mapping categories of geometric shapes. The installed semicubical and augmented semisimplicial packages respect faces and Cartesian coefficient variation under declared reconstruction, closure, universality and assembly interfaces. Their geometric shapes are not silently identified with ordinary ordinals, and their face indices have no completed degeneracy extension. See Chapters 28–29.
Standard semisimplex. The Yoneda representable on the augmented semi-simplex category. The shift converts dimension to vertices. It is distinct from both the ordinal source category and one native dependent simplex. See Chapter 29.
Terminal object, selected. An object with one whole canonical-arrow transformation . Every is contractible at ; arbitrary uniqueness is equality evidence rather than a variable-headed rewrite. See Chapter 30.
Topology-local ring presentation. A commutative-ring presheaf capability making a zero-unit stage empty-covering and splitting an invertible sum over a selected cover into an executable branch where one restricted summand is a unit. It is a direct site-level forcing condition, not a constructed stalk or a theorem comparing with stalk-local rings. See Chapter 23.
Strict category, ordinary HoTT sense. A precategory whose object classifier is a set. This is object-level truncation and must not be confused with strict transfor computation or strict higher associativity. See Chapter 14.
Strict transfor. A transfor admitted with two-sided strictness evidence. Its stable classified view owns both naturality cuts through the existing tapp* calculus; raw evidence alone supplies paths. This does not make every ambient transfor or every higher coherence judgmentally strict. See Chapters 9 and 14.
Structure identity principle. A theorem identifying equality of structured objects with an appropriate structure-preserving equivalence when the displayed notion of structure is univalent or standard. The ordinary theorem is developed mathematically; a generic native package is a research boundary. See Chapter 15.
Transfor. An arrow in a functor category, generalizing a natural transformation through off-diagonal and higher hom action. See Chapters 9 and 11.
Truncation evidence. A recursive property of an existing classifier: at the base level it is contractibility, and at successor levels it truncates all identity classifiers one step lower. The property is distinct from the active classified truncation reflector, which constructs a new truncated target with restricted elimination. See Chapter 7 and Chapter 26.
Unimodular presentation. A finite family together with coefficients and a retained equation . It is the witness-rich algebraic input for a finite basic-open cover, not by itself a covering sieve or topology. See Chapter 21.
Univalence. An interface relating identity of classifiers or packages to an appropriate equivalence. This edition has checked groupoid and restricted truncated-universe interfaces but does not claim one universal directed univalence axiom. See Chapter 4.
Unitary arrow. In a dagger category, an arrow whose dagger is an inverse. The ordinary theory is developed in Chapter 14; a native unitary classifier awaits the selected dagger interface and coherent higher action. See Chapter 14.
Upper-star action. Precomposition: if and , then . Its active owners are hom_precomp_along_func and hom_precomp_along_fapp0. The action is contravariant in . See §9.2.
Weighted colimit. A representation of a weighted-cocone profunctor. The selected interface and left-adjoint preservation theorem are checked through opposite duality; full coend semantics is not assumed. See Chapter 17.
Weighted limit. A representation of a weighted-cone profunctor, with beta and eta supplied by a chosen profunctor comparison. The selected interface and right-adjoint preservation theorem are checked. See Chapter 16.
WalkingEnd. The opaque one-dimensional directed HIT/category with a base object and a directed generating endomorphism. See Chapters 6 and 8.
Yoneda principle. Natural maps out of a representable are determined by their value at the identity. The ordinary equivalence is developed by encode-decode, while the active native theorem is the shaped co-Yoneda cut; full Cat-valued Yoneda remains a named boundary. See Chapter 13.
D.2 Homological Glossary
The homological continuation also uses the following linked terms.
Exactness, ordinary view. Epicity of the actual boundary into the selected cycle kernel is the familiar ordinary formulation. The primary native interface fixes the canonical Im→Ker comparison and retains its equivalence evidence. Local epic-cover factors explain the ordinary view in an Abelian category. See Chapter 31.
Freyd presentation. A relation arrow into a generating object. Raw maps retain relation-preservation coefficients; equality of their induced quotient maps has separate coefficient witnesses. See Chapter 31.
Selected homology. A retained cycle kernel, the incoming differential lifted into it, and the cokernel of that boundary. Maps and exactness refer to these same choices. Whole H is the primary coherent-family interface; its record views retain the actual H objects. See Chapter 31 and the worked nonsplit example.
Whole kernel/cokernel adjunction structure. The primary native data are actual functors K,Q on the walking-arrow diagram category with J ⊣ K and Q ⊣ I. Units, counits and mates supply the universal operations and their whole action. Ordinary records are derived views; older coherent presentation wrappers are optional adapters. No such whole structure is inferred merely from finitely many matrix tests. See Chapter 31.
Whole homology. The functor obtained by forming the boundary transformation through K and applying Q to its arrow-diagram family. On the native zero-cone category this is a whole one-degree homology functor; it is not an unbounded-complex or global graded-homology package. See Chapter 31.
Local factor cover. An epimorphism after which an annihilated test factors through the preceding arrow. It replaces an elementwise choice of preimages in the constructive snake proof. See Chapter 31.
Proof-CAS adoption. The explicit decision to add a computed equation or a selected algorithm's semantic contract to a proof source. Computation alone adds no assumption; subsequent formal checking is relative to the adopted statements. See Chapter 31.
Canonical exactness. Fixed-forward ΩAlong evidence for the actual comparison Im(f)→K(g) at a retained native zero input. Its inverse data are part of the witness. An arbitrary isomorphism of endpoint objects is not this assertion. See Chapter 31.
Categorical presentation comparison. An actual internal map between retained presentations, with its inverse and coherence where needed. Whole K/Q/H act on this map, exposing endpoint computation. See Chapter 31.
D.3 Index Strategy
This edition uses the linked concept index as its stable index. Terms are curated rather than extracted from raw identifier frequency; synonyms point to one canonical entry, and every destination is an explicit HTML anchor checked by the source gate.
Page numbers are deliberately absent from the source because they depend on the renderer, paper size, and font metrics. A later release tool may resolve these anchors to PDF page labels, but the anchor remains the authority. New index entries should be added when a concept is defined or changes status, not for every occurrence of its implementation name.
Appendix E. Computation And Normalization In endash
The prose uses equations freely, while endash distinguishes three operational levels of agreement so that kernel conversion stays fast, decidable on checked inputs, and free of ad-hoc rewrite rules.
E.1 Three Forms Of Agreement
- Judgmental NbE Conversion (
eval/readback/conv): Evaluates Core terms into semanticValueclosures (src/eval.ts) and reads back -normal forms. Bitstream duality XOR (composeDuality), bunched functorial -reduction, strict functor identity/composition onPathand functor spines, Došen off-diagonaltapp1cuts, 2-periodicSigma(±)andQ-freehomd/homdcprojections, computationalJoinCatfour-region homs, and inductive/HIT point -rules live here. - Elaboration-Time Unification (
src/elab/*): Solves implicit Holes (_), universe parameters (universe u v), and nominal typeclass synthesis ([AbGroup G],[DecidableEq α]) during.enelaboration. Every solved metavariable is substituted into an explicit Core term that the trusted kernel re-checks from scratch without unification rules. - Internal Propositional Equality (
Eq(A, x, y)&TypeEquiv): First-class mathematical witnesses manipulated byJ,coe,funext, groupoid univalenceua,.encalcchains, and LCF-certified CAS identities.
E.2 Direct Q-Free Semantic Owners
Eliminating external rewrite files gives every categorical former a single semantic owner in src/eval.ts and src/kernel_ops.ts:
- Bitstream Dualities (
{ diff, tail }):op,co,coAbove2, andtotalOpcompose by bitwise XOR without traversing term bodies, preventing post-Opnormal-form drift. - Direct
homdandhomdc: Dependent homs of families and 2-periodicSigma(±)totals normalize directly under NbE without the six-rungHomd_coeff_cat(Q) wrapper ladder. - HIT Point And Path Elimination:
Circle,Pushout,Trunc0,Groupoidify, andSheafifycompute judgmentally on point constructors while exposing path-constructor action cleanly via dependent path transport (apd/pushout_glue_ap_fusion), avoiding competing homogeneous/dependent rewrite critical pairs.
E.3 Whole Homological Proof And LCF-Certified BigInt CAS
In Chapter 31 (and throughout Volume I), endash combines abstract 0-axiom diagram chases in AbelianCat (Snake.six_term_exact, LES.exact_at_HB—checking in < 1.5 s) with an untrusted exact BigInt computer-algebra engine (src/cas/*).
Whenever .en invokes by cas_snf, by cas_cech, by cas_ext, or by cas_spectral_seq, the CAS computes Smith Normal Form (), Gröbner bases, syzygies, projective resolutions, or spectral-sequence pages outside the TCB and emits concrete witness matrices. The tactic then constructs an explicit Core proof term whose matrix multiplications (matMul), differentials (), and unimodular/homotopy equations are checked directly by checkTerm. Forged CAS witnesses are deterministically rejected by the kernel (NC-11, NC-13b, NC-14b).
Formal status — checked. Evidence
NATIVE-WHOLE-HOMOLOGYandNATIVE-CAS-DISPLAYED-EXACTNESS(Cat.HomologyandAlgebra.CAS).
E.4 Metatheoretic Boundary
Passing all executable checks, negative soundness controls (NC-1..NC-14c), and 0-axiom snapshot verifications establishes every checked theorem in the library relative to endash's ~2,690-LOC trusted kernel. It does not constitute a formalized metatheorem proving global confluence, strong normalization, canonicity, or semantic soundness of the full combined calculus in an external model; see Appendix G.7.
Appendix F. Implementation Status And Research Directions
This appendix summarizes the verified scope of Volume 0 (1.2.0-endash, Chapters 1–32, 190 / 199 checked claims, 0 formal-consequence remaining) over endash's direct Q-free NbE kernel, separating 0-axiom checked mathematics from open research boundaries and from the higher-algebra developments of Volume I.
F.1 Volume 0 Status Matrix
| Area | Checked 0-axiom nucleus in endash (Volume 0) | Explicit open boundary |
|---|---|---|
| Equality-local & classical types | Empty, Unit, Bool, Nat, Int, Option, Sum, Fin, Subtype, Lean 4 Init.Data.List (166 decls), J, funext, Hedberg sethood | General user-defined coinductive types and impredicative Prop erasure |
| Directed categories & dualities | StrictCat(u), GrayCat(u), iterated Hom, bitstream dualities { diff, tail } (op, co, coAbove2, totalOp), bunched , / ; contexts, raw product-projection cut (cut_product_projection_fst_eq) | Complete weak coherence metatheory |
| Directed families & dependent homs | families, 2-periodic Sigma(±), Pi sections, direct Q-free homd & mixed-variance homdc, Grothendieck , Cartesian/coCartesian lifts, straightening–unstraightening, & dependent Beck–Chevalley | Unrestricted exchange across ; dependency edges (intentionally forbidden by soundness control NC-1..5) |
WalkingEnd & ListCat bridge | WalkingEnd.homEquivNat, loop_not_isIso, power_add, encode_comp, WalkingEnd.homEquivListUnit, toListUnit_comp, List.sigmaTupleEquiv | Full higher-categorical initiality over arbitrary weak -algebras |
| Univalence, Yoneda, Karoubi, & SIP | Groupoid ua, BZ2 strict-vs-univalent (NC-12a), idToIso1, Karoubi envelope (KaroubiCat1, karoubi_idempotent_splits), Twisted Arrow , full Yoneda Lemma, Fundamental Theorem (FF + SplitEssSurj -> CatEquiv), SIP Thm. 15.3, & Rezk | Native structure identity and higher directed Rezk completion |
Weighted limits, Coends, Kan, & JoinCat | RAPL, LAPL, semantic end/coend weighted limits & colimits (weighted_limit_as_end_equiv, WeightedColimitSet, coYoneda_representable_colimit_equiv), pointwise Left/Right Kan extensions , cofinality, JoinCat , & Cone–Coslice cone_coslice_adj_equiv | Collage for arbitrary non-terminal profunctors |
Sites, Descent, & 0-axiom Sheafify | Grothendieck sieves, fibered categories in groupoids, effective descent cocycles (effective_descent_trivialization_equiv), Locality Theorem 20.1 (Sheaf.sheafify_is_sheaf), reflector , idempotence, finite-product preservation, & exponential sheaves | Ring-object lifting across arbitrary site morphisms and classical plus-construction comparison |
| Constructive schemes & | Principal Zariski sieves , Laurent overlaps, , non-affineness , & LCF-certified ( over ) | General graded Proj, for arbitrary , and atlas-first qcqs gluing |
Circle, Groupoidify, & GrayCat | , Groupoidify(WalkingEnd) ≃ Circle, covariant Groupoidify.map, packaged Groupoidify ⊣ Path adjunction, & GrayInterchanger.whiskering_ne | Full Crans–Gray monoidal biclosed coherence |
| Simplicial, cubical, & Kan | PathOut tetrahedra, inner-face nerve composition, simplicial/cubical codegeneracies (intervalCodegS0, cubeCodeg2_0/1), homdc, & groupoidal hcomp2 vs. directed horn non-filling | Full all-dimensional degeneracy/Segal/Rezk nerve equivalence |
LCCC, HITs, AbelianCat, & CAS | , LCCC.frobenius_equiv, Pushout, Trunc0, AbelianCat 6-Term Snake & LES (< 1.5 s), & LCF BigInt SNF/Gröbner/syzygy certificates | Unbounded derived -categories (continued in Volume I via synthetic stable categories & t-structure hearts!) |
| Directed cone spectra (Ch. 32) | Marked Cone–Coslice , bare-cone collapse, & relative cone-pair | Higher directed stabilization () and directed smash products |
.en surface, packages, & MathOps | .en parser/elaborator/tactics (calc, obtain, ext, congr, universe), incremental .ensnap builder, < 190 KiB gz zero-CDN browser prover, Challenge Comparator, & verified multi-volume book compiler | Formalized metatheory (confluence, strong normalization, canonicity) |
F.2 Continuation In Volume I (Synthetic & Computational Higher Algebra)
Rather than treating stable homotopy theory and homological algebra as distant future goals, Volume I (books/vol1-higher-algebra/) builds directly on Volume 0's 0-axiom library to formalize and informalize the Chapter 1 backbone of Lurie's Higher Algebra:
- Pointed Homotopy, Wedge/Smash Products, & -Spectra (, , smash–mapping adjunction, and );
- Synthetic Stable Categories (
HA 1.1.1.9), Exact Functors (HA 1.1.4.1), & Triangulated (HA 1.1.2.14/1.1.3.6); - t-Structures & The Abelian Heart Theorem (
HA 1.2.1.11), proving that instantiates Volume 0'sAbelianCat(Cat.Homology) and automatically inherits the 6-Term Snake Lemma and Long Exact Sequence; - Massey Exact Couples & LCF-Certified Spectral Sequences (
UCSS&AHSS); - Projective Resolutions & Certified Multiplicative Graded
ExtAlgebras (by cas_ext_muldistinguishing polynomial from exterior Koszul ); - Gabriel–Zisman Calculus of Fractions , Constructive Heart Kernels, & the Dold–Kan Correspondence (
HA §1.2.3 / §1.3.4); - Symmetric Monoidal Closed Categories, Day Convolution (
HA §2.2.6), & Monoidal Smash on (HA §7.1.1); - Algebras
Alg, Commutative AlgebrasCAlg, ModulesLMod, Relative Tensor , & Barr–Beck Monadicity (HA Ch. 3–4); - LCF-Certified Two-Sided Bar Resolution & Cyclic Hochschild Homology (
by cas_bar_tor,by cas_hochschild); - Dualizable Objects, Categorical & Dennis Traces into , & Projective Dualizable -Modules (
HA §4.6&§7.2.2); - Derivations, Square-Zero Extensions , Cotangent Complex , Deformation Obstructions, & Étale Lifting Invariance (
HA §§7.3–7.5,HA 7.5.1.1); and - LCF-Certified Symbolic Jacobian, , Naive Cotangent , & Arithmetic HKR Torsion Comparison (
by cas_cotangent).
Appendix G. Formal Presentation Of Functorial Type Theory In endash
This appendix summarizes the formal architecture of functorial type theory as implemented in endash, following the structural discipline of Appendix A of the HoTT Book: contexts and judgments first, then core categorical/homotopical rule families, .en elaboration and LCF-certified computer algebra, directed/groupoidal HIT signatures, and explicit metatheoretic boundaries. For the complete standalone Gentzen rule tables, derivation-indexed lifting clauses, and worked micro-derivations, see the companion specification FORMAL_TYPE_THEORY.md.
In endash, category theory is neither simulated inside a set-theoretic record encoding nor delegated to unverified rewrite-rule files. Instead, a compact, zero-dependency TypeScript trusted computing base (18,705 LOC across 8 kernel modules) implements a direct Q-free Glued Normalization-by-Evaluation (NbE) kernel:
| Layer | Responsibility in endash | Trusted Computing Base? |
|---|---|---|
.en surface syntax & literate books | human-readable .en modules, calc/obtain/ext tactics, literature tags, & Markdown monographs | Untrusted (desugars to Core) |
| Bidirectional elaborator & typeclasses | implicit holes _, metavariable unification, universe u v, nominal structure/class/instance, & .ensnap caching | Untrusted (declareDef re-checks Core) |
BigInt CAS & spectral-sequence solvers | SNF (P A Q = D), Gröbner bases, syzygies, projective resolutions, Massey pages, & Ext algebra lifts | Untrusted (LCF witness reification) |
Explicit endash Core (163 AST tags) | explicit bunched-context derivations with bitstream dualities { diff, tail } and Q-free categorical primitives | Kernel input boundary |
Direct Q-free Glued-NbE Kernel | bidirectional Core checking (7 judgments), Glued-NbE conversion, variance locking, & printAxioms auditing | Yes (18,705 LOC TCB) |
.en modules / literate ```en book blocks / TypeScript stdlib builders
-> parser + desugarer + bidirectional elaborator + tactics + LCF CAS reifiers
-> explicit endash Core terms (with zero-trust SHA-256 .ensnap caching)
-> 18,705 LOC trusted Q-free Glued-NbE kernel (declareDef / declareTheorem / printAxioms === [])
Every declaration across endash's 22 built-in standard-library modules (1,596 declarations) and 68 .en library and showcase modules (6,125 declarations; 7,721 total) passes through declareDef or declareTheorem in the trusted kernel with printAxioms === [] (0 axioms).
G.1 Judgments, Bunched Contexts, And Universes
Let Γ = Σ₀ ; Σ₁ ; … ; Σ_{s-1} be a bunched modal context built from the empty context ·, Cartesian sibling extension (Γ , x :^obj A or Γ , x :^(fun, σ) C), and ordered directed/natural stage extension (Γ ; x :^(fun, σ) C or Γ ; a :^nat C). The kernel verifies seven mutually recursive typing/checking judgments (Γ ⊢ C cat_s @ u, Γ ⊢ A grpd @ u, Γ ⊢ t ⇒ A, Γ ⊢ t ⇐ A, Γ ⊢_fun e : C, Γ ; a :^nat A ⊢_cell^m c : F[a] →_B G[a], and Γ ; a :^nat K ; u :^fun E[a] ⊢_disp b : D[a]) together with algorithmic definitional equality Γ ⊢ t ≡ u : A.
Universes are stratified by cumulative levels u ∈ ℕ (0 ≤ u < u + 1):
Grpd(u)classifies ∞-groupoids (n-types and homotopy types);StrictCat(u)classifies strict ω-categories admitting simultaneous Cartesian product compositionHom(x, y) × Hom(y, z) → Hom(x, z);GrayCat(u)(StrictCat(u) ≤ GrayCat(u)) classifies sesqui-/Gray-ω-categories retaining non-identity whiskering interchangers;Cat_cart(u) : StrictCat(u + 1)classifies strict ω-categories with strict natural ω-transfors, serving as the codomain of admitted directed familiesCatd_u(K) := Functor(K, Cat_cart(u)); andCat_lax(u) : GrayCat(u + 1)classifies strict ω-categories with lax ω-transfors without middle-four interchange collapse.
Via the adjoint triple Groupoidify ⊣ Path ⊣ Obj, every groupoid A : Grpd(u) embeds natively as Path(A) : StrictCat(u) with Obj(Path(A)) ≡ A and Hom_{Path(A)}(x, y) ≡ Path(x =_A y), eliminating any external τ decoding operator.
Formal status — checked. Evidence
FORMAL-KERNEL-PRESENTATIONcovers the active universe hierarchy, bunched contexts, bitstream dualities, and categorical classifiers verified acrossphase1_core_and_soundness.test.tsthroughphase_v1_omega_higher_transfors.test.ts.
G.2 Bitstream Dualities, Coinductive ω-Transfors, And 2-Periodic Σ±
For C : GrayCat(u) and x, y : Obj(C), the kernel forms Hom_C(x, y), identities id_C(x) : x →_C x, and diagrammatic composition g ∘ f : x →_C z. Every ω-dimensional opposite in 𝒟 ≅ ℤ₂^* × ℤ₂ is represented canonically by σ = { diff : bigint, tail : boolean } with O(1) composition, Hom left-shift homShift(σ)(d) = σ(d + 1), and fibrewise base right-shift familyBaseShift(σ)(1) = 0, familyBaseShift(σ)(d + 1) = σ(d) satisfying homShift(familyBaseShift(σ)) ≡ σ:
Dual(σ, Dual(τ, C)) ≡ Dual(composeDuality(σ, τ), C)
Hom_{Dual(σ, C)}(x, y) ≡ Dual(homShift(σ), σ(1) = 1 ? Hom_C(y, x) : Hom_C(x, y)).
Strict ω-functors F : Functor(A, B) evaluate on objects (fapp0) and possess an untruncated recursive tower of hom-functors (fapp1) across all dimensions k ≥ 1. Positive-dimensional cells of Functor_m(A, B) (m ∈ {cart, lax, oplax}) form an untruncated coinductive ω-transfor tower (k ≥ 1):
1-transforsε : F ⇒_m Gcarry point componentsε_x(tapp0), Došen off-diagonal arrow actionsε[f] := ε_y ∘ F[f](tapp1), and (form ∈ {lax, oplax}) recursive laxity squaresε_lax(x, y)(tlaxity);- higher
k-transforsθ : μ ⇛_m ν(k ≥ 2) carry directedHom^k_Bcomponentsθ_xtogether with coinductive(k+1)-cylinder fillersθ_lax(x, y)inFunctor_lax(Hom_A(x, y), Hom_B(F[x], G[y])).
Admitted families E : Functor(K, Cat_cart(u)) and contravariant families H : Functor(Dual(T, B), Cat_cart(u)) support fibre projection E[k], base-arrow reindexing E[p] : E[k] → E[l], coherent sections Π_K E (satisfying Π_K Const_K(C) ≅ Functor_lax(K, C) at all ω-dimensions), and direct Q-free 2-periodic Grothendieck totals Σ^+(K, E) and Σ^-(B, H):
Homd^+_E(u, v)[f] ≡ Hom_{E[y]}(E[f](u), v)
Hom_{Σ^+(K, E)}((x, u), (y, v)) ≡ Σ^-(Hom_K(x, y), Homd^+_E(u, v))
Hom_{Σ^-(B, H)}((x, u), (y, v)) ≡ Dual(T, Σ^+(Dual(C₂, Hom_B(y, x)), Homd^-_H(u, v))).
Formal status — checked. Evidence
CAT-ITERATED-HOMS,CAT-FUNCTOR-CALCULUS,TRANSF-POINT-OFFDIAGONAL,TRANSF-STRICT-NATURALITY, andCAT-DIRECTED-FAMILIES.
G.3 Kernel Architecture, Snapshot Verification, And Soundness Controls
Rather than trusting unverified text files or serialized caches, endash enforces a strict kernel-verification boundary:
- Zero-Axiom Discipline (
printAxioms === []):GlobalEnvtracks transitively every axiom used by any constant, auditing all1,596native stdlib declarations and all6,125.enlibrary and showcase declarations (7,721total) withrequireAxiomFree: trueplus proof/data extraction separation (THEOREM_DATA_PROJECTIONandDISCARDED_PROOF_ARGUMENT). - Re-Verified Snapshots (
.ensnap.json&stdlib-core-snapshot.json): Incremental SHA-256.ensnappackage caches skip elaboration of unchanged upstream.enmodules while re-checking every loaded Core term throughdeclareDef/declareTheoremand rejecting tampered proof terms or smuggledsorryaxioms (NC-14a). - Permanent Soundness Controls (
NC-1throughNC-26b):114automated regression suites verify that the kernel deterministically rejects variance clashes, illegal exchange across;, collapse ofWalkingEnd.looporWalkingArrow.seginto isomorphisms, collapse ofGrayCatintoStrictCat, Axiom K / UIP onCircle, higher-cell truncation ofFunctor_m(A, B)(NC-26a), forged CAS matrices, and broken book or export boundaries (NC-26b).
Formal status — checked. Evidence
FORMAL-KERNEL-PRESENTATION.
G.4 Formation, Introduction, Elimination, Computation, And Action
Every mathematical construction in endash answers six questions: formation, introduction, elimination, computation, universality, and functorial/higher-cell action.
Equality, Sigma/Pi, And Slice Base Change
Eq(A, x, y) eliminates via J with J(A, x, P, d, x, refl_x) ≡ d, supporting eqAp, eqApd, coe, funext, and groupoid univalence ua (TT-EQUALITY-INDUCTION, TT-SIGMA-PI-PATHS). At the categorical level, 2-periodic Sigma(±), Pi, binary products, terminal contraction, slice base change Σ_u ⊣ u^* ⊣ Π_u, and Frobenius reciprocity (LCCC.frobenius_equiv) retain full ω-functorial action (CAT-SIGMA-PI, MONAD-TRIANGULAR-COMPUTATION, TRIANGULAR-BINARY-PRODUCTS, TERMINAL-OBJECT-COMPUTATION, PULLBACK-SLICE-BASE-CHANGE, SLICE-DEPENDENT-PRODUCTS, ADJ-TRIANGLE-CUTS, WEIGHTED-LIMIT-REPRESENTABILITY).
Formal status — checked. The ten cited evidence entries verify equality induction, groupoidal and categorical Sigma/Pi, adjunction/monad triangle cuts, weighted-limit preservation, and slice
Σ_u ⊣ u^* ⊣ Π_u.
Directed And Groupoidal HITs, Gray Laxity, And Homology
WalkingEnd(Cat.WalkingEnd,Cat.ListBridge): Base⋆, directed loopℓ : ⋆ → ⋆, contextual eliminator,Hom_W(⋆, ⋆) ≃ ℕ ≃ List(Unit), and¬IsIso(ℓ)(WE-SIGNATURE,WE-CONTEXTUAL-ELIMINATOR,DHIT-DERIVED-ELIMINATORS).- Groupoidal HITs & Free Inversion (
HoTT.Circle,HoTT.Groupoidify,HoTT.Spectra):Circle(π₁(𝕊¹) ≃ ℤ),Pushout(f, g),Trunc0(X),Groupoidify(WalkingEnd) ≃ Circle,Groupoidify(WalkingArrow) ≃ Unit, covariantGroupoidify.map, andGroupoidify ⊣ Path(CIRCLE-HIT-COMPUTATION,WALKING-INTERVAL-GROUPOIDIFICATION,GENERIC-GROUPOIDIFICATION-MAPPING). - Gray Laxity (
Cat.WalkingArrow): Non-identity walking-square whiskering interchanger inGrayCat(FUNCTORD-WHOLE-LAXITY,GRAY-COMPUTATIONAL-PROFILE,GRAY-RIGHT-CLOSURE). AbelianCatHomology & Certified CAS (Cat.Homology,Algebra.CAS): Kernel/cokernel adjunctions, 6-Term Snake Lemma, direct LES, and LCF-certifiedBigIntSNF/Gröbner/syzygy witnesses (NATIVE-KERNEL-COKERNEL-UNIVERSALITY,NATIVE-WHOLE-HOMOLOGY,NATIVE-CAS-DISPLAYED-EXACTNESS).
Formal status — checked. All twelve cited HIT, Gray, homological, and LCF CAS evidence entries resolve to
0-axiom declarations inendash.
G.5 .en Elaboration, Tactics, Incremental Packages, And Browser Prover
The .en surface compiler translates Lean-4-inspired mathematical modules directly to explicit endash Core:
- Declarations & Polymorphism:
import,namespace,universe u v,inductive,structure,class,instance,def,theorem, custominfixl/infixr/prefix/notation,@[simpl_nomatch]/@[irreducible]unfolding controls, and cross-reference attributes@[ha "..."],@[kerodon "..."],@[stacks "..."],@[vol0 "..."]. - Proof Ergonomics & Tactics: Term-mode and tactic-mode
calcchains over=and≃, nested tuple destructuringlet ⟨a, b, c⟩ := ...andobtain ⟨w, hw⟩ := h,ext/funext,congr, focused·subgoal blocks,rw,simp,cbn,dsimp,unfold,decide, and LCF CAS tactics (cas_snf,cas_cech,cas_ext,cas_ext_mul,cas_spectral_seq,cas_smith,cas_gauss). - Incremental
.ensnapBuilder &< 190 KiBBrowser Engine:endash pkg buildcaches verified module deltas keyed by SHA-256 content and dependency hashes, while the zero-Node-builtin browser prover (187.1 KiBgzipped,< 190 KiBcap) separates the kernel/elaborator engine cleanly from the compressed stdlib pack so the offline playground remains instantaneous.
Formal status — checked (
.encompiler & browser prover) with explicit surface boundary. EvidenceFORMAL-ELABORATION-BOUNDARY. The.enparser, desugarer, bidirectional elaborator, tactic engine, incremental.ensnappackage builder, CLI/MCP goal server, and< 190 KiBgz zero-CDN browser prover are active and verified. Arbitrary prose notation outside.enand automatic coherence synthesis from unstructured functions remain intentionally outside the parser.
G.6 Directed Higher-Inductive Signatures
While endash provides native kernel/stdlib support for WalkingEnd, WalkingArrow, JoinCat, Circle, Pushout, Trunc0, Groupoidify, and Sheafify (as well as arbitrary positive Grpd-valued inductive ADTs in .en), it does not yet expose a user-extensible general schema for arbitrary higher-dimensional directed cell complexes with automatic positivity and coherence checking.
Formal status — research boundary. Evidence
DHIT-GENERAL-SCHEMA. Each active directed or groupoidal HIT inendashis individually verified; a general user-declared directed-HIT signature compiler remains open research.
G.7 Basic Metatheory And Its Boundary
Concrete models inside endash—such as Nat and List Unit modeling WalkingEnd (WE-BNAT-MODEL) or BZ2 separating strictness from univalence—validate specific signatures and block inconsistency pitfalls. However, local kernel acceptance, 0-axiom audits, and negative test suites do not prove global metatheorems for the entire calculus:
| Metatheoretic property | Current status in endash |
|---|---|
Core typing & 0-axiom verification of active library | Checked (printAxioms === []) across 7,721 declarations (18,705 LOC TCB) |
Soundness controls against known collapse modes (NC-1..NC-26b) | Checked by 114 automated regression suites |
Concrete Nat / List Unit monoid model of WalkingEnd | Checked (WE-BNAT-MODEL, LEAN-LIST-SUBSUMPTION-BRIDGE) |
| Global termination / strong normalization of NbE on all well-typed inputs | Open research metatheorem (research-boundary) |
| Global canonicity & decidability of conversion | Open research metatheorem (research-boundary) |
Semantic soundness in a complete weak (∞, ω)-category model | Open research metatheorem (research-boundary) |
Formal status — checked local model (
WE-BNAT-MODEL) and research boundary (FORMAL-METATHEORY-BOUNDARY). Global normalization, canonicity, decidability, consistency, and semantic soundness of the full combined functorial calculus remain open metatheoretic research questions.
Bibliography
- The Univalent Foundations Program. Homotopy Type Theory: Univalent Foundations of Mathematics. Institute for Advanced Study, 2013. Source repository, reviewed at revision
578b85cc8d586b1677ec4335148adeb443057d24. - Saunders Mac Lane. Categories for the Working Mathematician, second edition. Graduate Texts in Mathematics 5. Springer, 1998; DOI 10.1007/978-1-4757-4721-8.
- G. M. Kelly. Basic Concepts of Enriched Category Theory. London Mathematical Society Lecture Note Series 64. Cambridge University Press, 1982; reprinted in Theory and Applications of Categories, Reprints 10, 2005. TAC reprint.
- Jean Bénabou. “Introduction to Bicategories.” In Reports of the Midwest Category Seminar, Lecture Notes in Mathematics 47, pages 1–77. Springer, 1967. DOI 10.1007/BFb0074299.
- GPT 5.6 Codex.
- The emdash and endash contributors. endash Direct-Kernel TypeScript &
.enLibrary. Accompanying0-axiom normalization-by-evaluation kernel,.ensurface elaborator, LCF-certifiedBigIntcomputer-algebra engine, and verified standard library for this edition (endash/src/andendash/stdlib/en/). Code repository. - The emdash contributors. Historical emdash v3.2 Formal Sources. Archival Dedukti/rewrite-system predecessor (
0.11.0-dev) from which Volume 0 was forked into the standaloneendashdirect-kernel architecture. Code repository. - Kosta Došen. Cut Elimination in Categories. Trends in Logic 6. Kluwer Academic Publishers, Dordrecht, 1999; DOI 10.1007/978-94-017-1207-1.
- Max Zeuner. Univalent Foundations of Constructive Algebraic Geometry. arXiv:2407.17362v1, 2024. arXiv record.
- Pierre-Marie Pédrot. “Pursuing Shtuck.” Preprint, 2023. HAL record.
- Amar Hadzihasanovic. Combinatorics of Higher-Categorical Diagrams. arXiv:2404.07273v2, 2024. arXiv record.
- Astra Kolomatskaia and Michael Shulman. Displayed Type Theory and Semi-Simplicial Types. arXiv:2311.18781v2, 2024. arXiv record.
- Hugo Herbelin and Ramkumar Ramachandra. A Parametricity-Based Formalization of Semi-Simplicial and Semi-Cubical Sets. arXiv:2401.00512v2, 2025. arXiv record.
- Hugo Herbelin and Ramkumar Ramachandra. The Very Dependent Recursive Structure of Iterated Parametricity in Indexed Form. arXiv:2602.12689v1, 2026. arXiv record.
- Sebastian Posur. A Constructive Approach to Freyd Categories. Reviewed preprint arXiv:1712.03492v1, 2017. Pinned arXiv record.
- Mohamed Barakat and Daniel Robertz. homalg: A Meta-Package for Homological Algebra. Reviewed preprint arXiv:math/0701146v2, 2007; Journal of Algebra and Its Applications 7 (2008), 299–317. Pinned arXiv record.
- Mohamed Barakat and Markus Lange-Hegermann. An Axiomatic Setup for Algorithmic Homological Algebra and an Alternative Approach to Localization. Journal of Algebra and Its Applications 10 (2011), 269–293; reviewed preprint arXiv:1003.1943v5, 2017. Pinned arXiv record.
- Sebastian Posur. Methods of Constructive Category Theory. arXiv:1908.04132v1, 2019. Pinned arXiv record.
- Sebastian Posur. Closing the Category of Finitely Presented Functors under Images Made Constructive. arXiv:1911.11469v3, 2020. Pinned arXiv record.
- Sebastian Posur. On Free Abelian Categories for Theorem Proving. arXiv:2103.08379v1, 2021. Pinned arXiv record.
- The CAP contributors. Categories, Algorithms, and Programming, including CompilerForCAP. Source repository, reviewed at revision
d21dc5f5f420. - The homalg contributors. The homalg Project. Source repository, reviewed at revision
802993da0095. - The emdash and endash contributors. Functorial Type Theory: Univalent Foundations for Mathematics (Volume 0). Ongoing monograph series, 2026. Book DOI 10.5281/zenodo.21544186. Code and source repository.
- Jacob Lurie. Higher Algebra. Revised monograph draft, 2017. Author page.
- Jacob Lurie. Kerodon: An Online Resource for Homotopy-Coherent Mathematics. Online tag database.
- Denis-Charles Cisinski, Bastiaan Cnossen, Hoang Kim Nguyen, and Tashi Walde. Synthetic Category Theory. Ongoing monograph on higher category theory in homotopy-coherent foundations, 2024–2026.
- The Stacks Project Authors. The Stacks Project. Open-source algebraic geometry and category theory reference. Online tag database.
- The mathlib Community. The Lean Mathematical Library (
mathlib4). Formalized mathematics library in Lean 4, 2020–2026. Source repository. - Marc Bezem, Ulrik Buchholtz, Pierre Cagne, Bjørn Ian Dundas, and Daniel R. Grayson. Symmetry. Univalent Foundations monograph on group theory and homotopy-coherent symmetry, 2025. Source repository.
Items 6–7 identify active and archival proof infrastructure. Item 23 is this volume's self-reference; Items 24–29 are the primary six-source reference targets across Volume 0 (1.3.0-endash) and Volume I: Synthetic & Computational Higher Algebra.
Credits And Third-Party Attribution
This development edition is prepared by the emdash contributors. Individual authorship and editorial credits will be made explicit before a public edition is released.
Homotopy Type Theory book
The organization and adapted passages of this book are inspired by:
The Univalent Foundations Program, Homotopy Type Theory: Univalent Foundations of Mathematics, Institute for Advanced Study, 2013.
The reviewed source is the HoTT Book repository at revision 578b85cc8d586b1677ec4335148adeb443057d24 (2026-05-12). That work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
Any adapted material in this book is modified for a directed, category-theoretic setting. In particular, the circle/integer calculation is not reproduced as the WalkingEnd/Nat calculation: invertible paths are replaced by genuinely directed arrows, integer powers by natural powers, and the hard inverse by a directed normalization cell followed by one-dimensionality. Chapter 26 then returns to the Circle itself and adapts the universal-cover encode–decode architecture to the checked emdash Circle/Integer construction, including its distinct computational and categorical boundaries.
The exact source map and adaptation ledger live in references/third-party-sources.json. They were established before the corresponding prose was drafted. The Chapter 8 vertical slice records structural and conceptual adaptations from the pinned source, while Chapters 10–15 adapt all nine sections of categories.tex, Chapter 26 records the Circle HIT and universal-cover source map, and Appendix G adapts all four parts of formal.tex. The resulting prose is newly written for the directed categorical setting; the ledger records the source labels, adaptation kind, and target under this attribution and ShareAlike notice.
Max Zeuner's constructive algebraic geometry
The local-to-global geometry spiral takes mathematical and expository inspiration from:
Max Zeuner, Univalent Foundations of Constructive Algebraic Geometry, arXiv:2407.17362v1, 2024.
The reviewed arXiv version is licensed under the Creative Commons Attribution 4.0 International License. Chapter 18 adapts the locally ringed lattice's largest compact-open invertibility support into a comparison with the sieve of all invertibility probes. This is a change of organizing viewpoint: the compact open remains the appropriate representative in Zeuner's coherent or qcqs setting when it exists, while the sieve is defined on a general site before representability is known. Chapter 22 structurally adapts the Zariski-lattice, coverage, compact-open, and functor-of-points narrative to this sieve-first organization: a supplied localization represents pointwise, and the big-site topology is generated from selected finite localization charts. Neither chapter imports Zeuner's qcqs comparison theorem or general scheme theorem as an emdash result. Chapter 23 comparatively adapts the finite affine-cover architecture, but reverses the direction of construction: its global ringed object is supplied first, two charts constructively generate one retained covering sieve, and restrictions and a selected intersection are inherited from that single object. It does not import Zeuner's gluing theorem, compact-open classifier, or equivalence between functorial and locally ringed-lattice qcqs schemes. Chapter 24 carries that finite-cover rhythm and comparison boundary into a supplied projective-line presentation, but its Laurent calculation and explicit Proj horizon are an emdash synthesis rather than a construction drawn from Zeuner's thesis. The source sections, targets, adaptation kinds, and mathematical changes are recorded in references/third-party-sources.json.
Pierre-Marie Pédrot's computational sheafification
The return/glue/silent presentation in Chapter 20 takes conceptual and structural inspiration from:
Pierre-Marie Pédrot, “Pursuing Shtuck,” preprint, 2023.
The reviewed HAL version is licensed under the Creative Commons Attribution 4.0 International License. Pédrot presents free sheaves by a return constructor, a branching glue constructor, and an equation that erases a branch whose result is ignored, then explains the last as a silent transition. Emdash adapts that computational picture to actual varying cover questions in categorical semantics: the branches are matching objects of Cat-valued presheaves, and the checked endpoint is a whole Hom-category universal property and reflector. The book does not import the paper's internal type theory, metatheory, universe claims, or dependent-elimination results. Exact source sections and adaptation boundaries are recorded in references/third-party-sources.json.
Došen's cut-elimination perspective
The four-level cut calculus in Chapter 9 and the monad/product/adjunction rectangles in Chapters 12 and 30 take conceptual inspiration from Kosta Došen's Cut Elimination in Categories (Kluwer, 1999). The cited work is not licensed for textual adaptation here. It is used only as a bibliographic and conceptual reference: the exposition, notation, examples, and emdash correspondence in this book are newly written, and no passage from Došen's text is copied or closely paraphrased.
Hadzihasanovic's higher-categorical diagrams
Chapter 28 uses the Gray-product and oriented-cube discussion in Amar Hadzihasanovic's Combinatorics of Higher-Categorical Diagrams, arXiv:2404.07273v2, as comparative mathematical orientation. The source is cited rather than textually adapted: no passage is copied or closely paraphrased. In particular, the chapter distinguishes Hadzihasanovic's combinatorially constructed higher-dimensional products from emdash's checked and deliberately narrower experiment—one profiled right closure and its walking-square interchanger. The exact sections and reference-only boundary are recorded in references/third-party-sources.json.
Constructive categories and homological algorithms
Chapter 31 uses Posur's constructive Freyd-category development as mathematical and algorithmic orientation for presentations, explicit agreement witnesses and the two-weak-pullback kernel construction. The homalg meta-package paper and axiomatic algorithmic setup inform the separation between ring algorithms and categorical universal operations. The CAP and homalg source reviews also inform the method/prerequisite architecture and the independent computational comparisons. They are references, not runtime dependencies of emdash's native implementation.
The chapter's later research boundary distinguishes the constructions in Posur's methods, image-completion, and free-Abelian theorem-proving papers. It does not claim that a universal-diagram prover, generalized-morphism compiler, or comparison between these category constructors has been implemented. The exposition is newly written from the emdash construction; no source prose or software code is reproduced. The reference versions and uses are recorded in references/third-party-sources.json.
License For The Book
Except where a source or quotation is identified separately, the textual contents of books/vol0-foundations/, books/vol1-higher-algebra/, and the generated dist/books/ monograph reader artifacts are licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License, abbreviated CC BY-SA 3.0.
You may share and adapt this material under the terms of that license, including attribution and ShareAlike. Third-party material remains subject to its identified license and attribution requirements.
This notice applies only to the book text and its generated monograph form. It does not assign or change a license for endash TypeScript/.en kernel and library sources, renderer code, reports, or other repository content outside the book artifacts.