← Blueprint & Series Index Volume 0 · FoundationsVolume I · Higher AlgebraVolume II · Algebraic Geometry
Edition 1.3.0-endash · 0-Axiom Verified Browser Prover →
Functorial Type Theory: Univalent Foundations for Mathematics
The emdash and endash contributors
Volume 0 · endash direct-kernel foundations edition / version 1.3.0-endash / 2026-12-01

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:

  1. a first spiral (Chapters 1–8) develops endash's direct Q-free normalization-by-evaluation (NbE) kernel, bunched contexts , / ;, bitstream dualities { diff, tail }, directed families, univalence, induction, and the WalkingEnd calculation;
  2. 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 Idem(C)\mathrm{Idem}(\mathcal{C}), the Structure Identity Principle (SIP), Rezk completion, semantic end/coend weighted limits and colimits, Grothendieck fibrations ∫CP\int_{\mathcal{C}} P with straightening–unstraightening, computational directed join A⋆BA \star B, and the Cone–Coslice adjunction;
  3. a third spiral (Chapters 18–24) follows Yoneda's probes through presheaves, sieves, effective descent cocycles, and 0-axiom Sheafify cover completion into constructive algebraic geometry, proving Γ(PR1,O)≃R\Gamma(\mathbb{P}^1_R, \mathcal{O}) \simeq R, non-affineness Γ(PF21)≄Γ(AF21)\Gamma(\mathbb{P}^1_{\mathbb{F}_2}) \not\simeq \Gamma(\mathbb{A}^1_{\mathbb{F}_2}), and LCF-certified twisting-sheaf Čech cohomology Hi(Pk1,O(n))H^i(\mathbb{P}^1_k, \mathcal{O}(n));
  4. a fourth spiral (Chapters 25–28) returns from directed motion to its groupoidal realization via the Circle (π1(S1)≃Z\pi_1(S^1) \simeq \mathbb{Z}), source-functorial Groupoidify with the full Groupoidify ⊣ Path adjunction, and GrayCat lax interchangers;
  5. a fifth spiral (Chapter 29) constructs variable-dimensional dependent simplices, simplicial/cubical codegeneracies, mixed-variance homdc, and groupoidal Kan box fillers;
  6. a sixth spiral (Chapter 30) develops monads, Cartesian products, Σu⊣u∗⊣Πu\Sigma_u \dashv u^* \dashv \Pi_u, Frobenius reciprocity, and HoTT Pushout / Trunc0 higher inductive types;
  7. a seventh spiral (Chapter 31) constructs AbelianCat homology, the general 6-Term Snake Lemma, the Long Exact Sequence, and LCF-certified BigInt Smith Normal Form / Gröbner / syzygy computations;
  8. an eighth spiral (Chapter 32) establishes classical Lean 4 Init.Data.List subsumption via ListCat(C) together with exploratory directed cone spectra (L1:Cat+→Cat⟨→⟩⊣R1L_1 : \mathsf{Cat}_+ \to \mathsf{Cat}^{\langle\to\rangle} \dashv R_1 and relative cone-pair cohomology H1(Cone(Bool),Bool;Z)≃ZH^1(\mathrm{Cone}(\mathrm{Bool}), \mathrm{Bool}; \mathbb{Z}) \simeq \mathbb{Z}); and
  9. a ninth spiral (Chapter 33) develops constructive finite combinatorics (Fintype1, Pigeonhole, finite cardinalities, Pascal binomials, commutative finFold), permutations with intrinsic homomorphic sign sgn\mathrm{sgn} and alternating groups AnA_n, and Bezem–Buchholtz–Cagne–Dundas–Grayson univalent loop groups (BG,shG)(BG, \mathrm{sh}_G) paired with small directed deloopings BMBM, principal GG-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 Catcart\mathsf{Cat}_{\mathrm{cart}} 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 checked claim in evidence.json resolves to an axiom-free (0-axiom) endash declaration and an executable test suite. Global metatheorems (confluence, strong normalization, and semantic soundness of arbitrary future extensions) remain explicitly labeled research-boundary in 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 E:K→CatcartE : K \to \mathsf{Cat}_{\mathrm{cart}} 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 W=WalkingEndW = \mathsf{WalkingEnd} generated by a base object ∗* and one directed endomorphism ℓ:∗→∗\ell : * \to *. Its endomorphisms look like

id,ℓ,ℓ2,ℓ3,….\mathrm{id},\quad \ell,\quad \ell^2,\quad \ell^3,\quad\ldots .

The calculation proves that this list is exhaustive with 0 axioms:

Hom⁡W(∗,∗)≃N,¬ IsIso(ℓ).\operatorname{Hom}_{W}(*,*) \simeq \mathbb{N}, \qquad \neg\,\mathsf{IsIso}(\ell).

The proof is not obtained by defining the hom to be a datatype of words. Instead it constructs a Catcart\mathsf{Cat}_{\mathrm{cart}}-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 Ω(S1)≃Z\Omega(S^1) \simeq \mathbb{Z} 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 Groupoidify(WalkingEnd)≃S1\mathsf{Groupoidify}(\mathsf{WalkingEnd}) \simeq S^1.

The exposition follows nine concentric spirals:

  1. First spiral (Prologue, Chapters 1–8): endash's direct Q-free NbE judgments, bunched contexts , / ;, bitstream dualities { diff, tail }, directed families, 2-periodic Sigma(±), logic, equivalence and univalence, PathOut induction, directed HITs, truncation height, and the complete WalkingEnd encode–decode proof plus monoid addition compatibility (WE-COMPOSITION-ADDITION).
  2. 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 (BZ2 separation) and dagger categories (SIP.DaggerCat1), the Structure Identity Principle (SIP.sip_univalent_cat1 and CommRing univalence (R≅S)≃(R=S)(R \cong S) \simeq (R = S)) and Rezk completion, weighted limits (RAPL), computational directed join A⋆BA \star B (β+η\beta+\eta by NbE refl, whole mapping equivalence, opposite swap), and the Cone–Coslice adjunction (1⋆−,north)⊣(north↓−)(\mathbf{1} \star -, \mathrm{north}) \dashv (\mathrm{north} \downarrow -).
  3. Third spiral (Chapters 18–24): Presheaves, sieves, Grothendieck topologies, and 0-axiom Sheafify cover completion (Sheaf.sheafify_is_sheaf, reflector aJ⊣ιa_J \dashv \iota, idempotence, and binary-product / exponential sheaf preservation), followed by universal-property commutative algebra, Zariski principal sieves DR(f)D_R(f), binary site-relative schemes, Laurent overlaps, global sections Γ(PR1,O)≃R\Gamma(\mathbb{P}^1_R, \mathcal{O}) \simeq R, constructive non-affineness Γ(PF21,O)≄Γ(AF21,O)\Gamma(\mathbb{P}^1_{\mathbb{F}_2}, \mathcal{O}) \not\simeq \Gamma(\mathbb{A}^1_{\mathbb{F}_2}, \mathcal{O}), and LCF-certified twisting-sheaf Čech cohomology H0,H1(Pk1,O(n))H^0, H^1(\mathbb{P}^1_k, \mathcal{O}(n)) for n=−2..2n = -2..2 over F2\mathbb{F}_2 and Q\mathbb{Q}.
  4. Fourth spiral (Chapters 25–28): Groupoidal product paths and transport, the higher inductive Circle and π1(S1)≃Z\pi_1(S^1) \simeq \mathbb{Z}, category-indexed Groupoidify(C) with checked source functoriality (Groupoidify.map) and the full reflection adjunction Groupoidify ⊣ Path, and GrayCat lax interchangers (GrayInterchanger.whiskering_ne).
  5. Fifth spiral (Chapter 29): Variable-dimensional dependent simplices via iterated PathOut, simplicial and cubical face/codegeneracy categories, mixed-variance homdc, and groupoidal Kan box fillers (hcomp2) contrasted with directed horn non-filling.
  6. Sixth spiral (Chapter 30): Triangular binary products, terminal contraction, slice base change Σu⊣u∗⊣Πu\Sigma_u \dashv u^* \dashv \Pi_u, Frobenius reciprocity (LCCC.frobenius_equiv), and HoTT Pushout(f, g) and set-truncation Trunc0(X) higher inductive types.
  7. Seventh spiral (Chapter 31): Preadditive, additive, and AbelianCat categories, functorial homology, the general 0-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-certified BigInt Smith Normal Form, Gröbner basis, and syzygy homological certificates (Algebra.CAS).
  8. Eighth spiral (Chapter 32): Two-act classical Lean 4 subsumption (Init.Data.List + Cat.ListBridge) and exploratory directed cone spectra (Cat.DirectedSpectra: L1:Cat+→Cat⟨→⟩⊣R1L_1 : \mathsf{Cat}_+ \to \mathsf{Cat}^{\langle\to\rangle} \dashv R_1, bare-cone groupoidification collapse vs. relative cone-pair cohomology H1(Cone(Bool),Bool;Z)≃ZH^1(\mathrm{Cone}(\mathrm{Bool}), \mathrm{Bool}; \mathbb{Z}) \simeq \mathbb{Z}).
  9. Ninth spiral (Chapter 33): Constructive finite combinatorics (Fintype1, Pigeonhole, finite cardinalities, Pascal binomials, finFold), permutations with intrinsic homomorphic sign sgn\mathrm{sgn} and alternating groups AnA_n, and univalent concrete loop groups (BG,shG)(BG, \mathrm{sh}_G) paired with small directed deloopings BMBM, principal GG-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-verified 0-axiom link in evidence.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 ∞\infty-categories, triangulated homotopy categories hCh\mathcal{C}, t-structure Abelian hearts C♡\mathcal{C}^\heartsuit, 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, computational JoinCat, and the Cone–Coslice adjunction.
  • The local-to-global geometry spiral runs through Chapters 18–24, culminating in 0-axiom Sheafify, global sections Γ(PR1,O)≃R\Gamma(\mathbb{P}^1_R, \mathcal{O}) \simeq R, non-affineness over F2\mathbb{F}_2, and certified O(n)\mathcal{O}(n) Č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, AbelianCat Snake/LES + LCF CAS, Lean List subsumption, and exploratory directed cone spectra.

Five reading paths make the dependencies explicit:

ReaderMain pathConsult when needed
type theoristPrologue; Chapters 1, 3–8, 10, 12, 15, 25–27, 29, 30, and 32Chapters 2, 9, and 28 for directed action and laxity; Appendix G for the Q-free NbE kernel
category theoristPrologue; Chapters 2, 5, and 8–32Chapters 1, 3, 4, and 7 for equality, propositions, univalence, and height
algebraic geometerChapters 13, 16, 18–24, 30, and 31Chapters 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–32Volume I, Chapters 1–5 for Sp\mathsf{Sp}, stable categories, C♡\mathcal{C}^\heartsuit, AHSS/UCSS, and Ext algebras
implementer / external reviewerChapters 1, 2, 8, 14, 15, 20, 24, 27, 31, and 32; Appendices A, B, E, F, and Gendash/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:

g∘f:x⟶zg\circ f : x\longrightarrow z

means “first ff, then gg.” Public functors in StrictCat(u) preserve identities and composition strictly; default transformations in Transf(±) are conventional lax. Admitted directed families E:K→CatcartE : K \to \mathsf{Cat}_{\mathrm{cart}} 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 (TT), dimension-two co (C2C_2), above-one coAbove2 (RR), and all-positive totalOp (OO).

Evidence Status

Every theorem-like assertion carries one of four statuses in evidence.json:

  • Checked. An active 0-axiom endash declaration (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:

id∗,ℓ,ℓ∘ℓ,ℓ∘ℓ∘ℓ,….\mathrm{id}_*,\qquad \ell,\qquad \ell\circ\ell,\qquad \ell\circ\ell\circ\ell,\qquad\ldots .

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:

  1. the syntactic description of a journey as a finite word in one generator;
  2. 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.

Evidence: WE-SIGNATURE [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]
Evidence: WE-ONE-DIMENSIONAL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-SIGNATURE and WE-ONE-DIMENSIONAL. One-dimensionality says that each hom-category is discrete; it neither makes W a discrete category nor makes ell invertible.

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

W⟶BNatW\longrightarrow BNat

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.

Evidence: WE-BNAT-MODEL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-BNAT-MODEL. BNat is 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.

Evidence: WE-HOM-NAT-CARRIER [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Theorem preview. There is an equivalence of underlying carriers

Hom⁡W(∗,∗)≃N.\operatorname{Hom}_{W}(*,*)\simeq\mathbb{N}.

Formal status — checked. Evidence WE-HOM-NAT-CARRIER. The current package is a TypeEquiv, 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

Code:W⟶Catcart\mathsf{Code}:W\longrightarrow\mathsf{Cat}_{\mathrm{cart}}

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 p:∗→xp:* \to x, define

encodex(p)  =  Code[p](0).\mathsf{encode}_x(p)\;=\;\mathsf{Code}[p](0).

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:

ℓ0=id∗,ℓn+1=ℓ∘ℓn.\ell^0=\mathrm{id}_*, \qquad \ell^{n+1}=\ell\circ\ell^n.

At first this decoder exists only over the base. The decisive move is to generalize it over every endpoint. The based representable family

Rep∗(x)=Hom⁡W(∗,x)\mathsf{Rep}_*(x)=\operatorname{Hom}_W(*,x)

acts on a base arrow by postcomposition. A displayed transformation

decoded:Code⟹Rep∗\mathsf{decode}^{d}:\mathsf{Code}\Longrightarrow\mathsf{Rep}_*

must therefore reconcile successor in Code with postcomposition by ell in the representable. Its coherence winds forward through the natural levels:

ℓ∘ℓn⟶ℓn+1.\ell\circ\ell^n\longrightarrow\ell^{n+1}.

This family of higher arrows is the directed spiral.

Normalize Before Comparing

Applying the displayed decoder’s arrow action to p:∗→xp:* \to x at zero produces

νp:p⟶decodex(encodex(p))\nu_p: p\longrightarrow \mathsf{decode}_x(\mathsf{encode}_x(p))

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.

Evidence: WE-NORMALIZATION-CELL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

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:

p=decodex(encodex(p)).p = \mathsf{decode}_x(\mathsf{encode}_x(p)).

At the base, decode computes to power. Reversing the displayed equality gives

ℓencode(p)=p.\ell^{\mathsf{encode}(p)}=p.

The other composite is arithmetic. The generator-prefix equation and natural number induction give

encode(ℓn)=n.\mathsf{encode}(\ell^n)=n.

These two equations package the carrier equivalence.

Evidence: WE-NORMALIZATION-PATH [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]
Evidence: WE-POWER-ENCODE [checked · WalkingEnd.power_encode, WalkingEnd.encode_power, WalkingEnd.power_add]
Evidence: WE-ENCODE-POWER [checked · WalkingEnd.power_encode, WalkingEnd.encode_power, WalkingEnd.power_add]

Formal status — checked. Evidence WE-NORMALIZATION-PATH, WE-POWER-ENCODE, and WE-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 ℓ∘r=id\ell\circ r=\mathrm{id} would force a successor to equal zero. Hence no right inverse exists, and in particular ell carries no native omega-equivalence evidence.

Evidence: WE-LOOP-NOT-IDENTITY [checked · WalkingEnd.loop, WalkingEnd.loop_not_isIso]
Evidence: WE-LOOP-NO-RIGHT-INVERSE [checked · WalkingEnd.loop, WalkingEnd.loop_not_isIso]
Evidence: WE-LOOP-NONINVERTIBLE [checked · WalkingEnd.loop, WalkingEnd.loop_not_isIso]

Formal status — checked. Evidence WE-LOOP-NOT-IDENTITY, WE-LOOP-NO-RIGHT-INVERSE, and WE-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 Sn+1=PathOut⁡Sn(sn)S_{n+1}=\operatorname{PathOut}_{S_n}(s_n). 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 Σu⊣u∗⊣Πu\Sigma_u\dashv u^*\dashv\Pi_u. 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

Γ⊢A  type,Γ⊢a:A,Γ⊢a≡b:A.\Gamma\vdash A\;\mathsf{type},\qquad \Gamma\vdash a:A,\qquad \Gamma\vdash a\equiv b:A.

The last display uses ≡\equiv 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 p:x=Ayp : x =_A y 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 u=0,1,2,…u = 0, 1, 2, \ldots:

  • Grpd(u) classifies groupoids (nn-types and homotopy types, written Type u in .en surface syntax when working in the groupoidal layer);
  • StrictCat(u) classifies directed categories with strict public functors and iterated hom-categories; and
  • GrayCat(u) classifies higher categories retaining lax transformation interchangers.

Every groupoid A:Grpd(u)A : \mathsf{Grpd}(u) embeds directly into StrictCat(u)\mathsf{StrictCat}(u) via the equality-path category Path(A)\mathsf{Path}(A), whose object classifier evaluates judgmentally back to AA (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:

x:A,y:B(x),z:C(x,y)  ⊢  t:D(x,y,z).x:A,\quad y:B(x),\quad z:C(x,y)\;\vdash\;t:D(x,y,z).

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

∏x:AB(x)and∑x:AB(x).\prod_{x:A}B(x) \qquad\text{and}\qquad \sum_{x:A}B(x).

Lambda abstraction fun x => b introduces a dependent function, and application f a computes by β\beta-reduction during NbE evaluation, along with η\eta-conversion for functions and pairs. A dependent pair (x, u) has projections fst and snd satisfying judgmental β/η\beta/\eta conversion.

Equality of dependent pairs consists of a base path p:x=Ax′p : x =_A x' together with a dependent fibre path over pp. 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.

Evidence: TT-SIGMA-PI-PATHS [checked · Subtype.ext, Prod.ext]

Formal status — checked. Evidence TT-SIGMA-PI-PATHS covers dependent pair and product classifiers (Prod.ext, Subtype.ext), dependent path transport, and function extensionality in Init.Prelude and Init.Nat.

1.2 Three Ways Expressions Agree

The word “equal” hides three operationally distinct relations in endash.

First, judgmental NbE conversion (t≡ut \equiv u) evaluates both sides into semantic semantic-domain values (Value), executing β\beta-reductions, structural recursors (natElim, listElim, J, circleElim, pushoutElim), bitstream duality involutions (composeDuality), strict functor laws on Path, computational JoinCat β+η\beta+\eta, 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

p:x=Ayp : x =_A y

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):

Emptyno constructorUnitttBoolfalse,trueN0,succ(n)List(α)nil,cons(x,xs).\begin{array}{c|c} \mathsf{Empty} & \text{no constructor}\\ \mathsf{Unit} & \mathsf{tt}\\ \mathsf{Bool} & \mathsf{false},\mathsf{true}\\ \mathbb{N} & 0,\mathsf{succ}(n)\\ \mathsf{List}(\alpha) & \mathsf{nil},\mathsf{cons}(x, xs). \end{array}

For N\mathbb{N}, a motive P:N→Grpd(u)P : \mathbb{N} \to \mathsf{Grpd}(u), base value z:P(0)z : P(0), and step s:∏n:NP(n)→P(n+1)s : \prod_{n:\mathbb{N}} P(n) \to P(n+1) determine natElim(P,z,s,n):P(n)\mathsf{natElim}(P, z, s, n) : P(n) with judgmental β\beta-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.

Evidence: TT-ELEMENTARY-INDUCTION [checked · Empty.isProp, Bool.decEq, Nat.add_assoc]

Formal status — checked. Evidence TT-ELEMENTARY-INDUCTION covers the elementary inductive classifiers, eliminators, constructor discrimination, arithmetic laws, and decidable equality in Init.Prelude and Init.Nat.

1.4 Identity And Path Induction

For x,y:Ax, y : A in Grpd(u), Eq(A, x, y) classifies identity paths, introduced by reflx:x=Ax\mathsf{refl}_x : x =_A x. Elimination via path induction (J) computes judgmentally on literal reflexivity:

J(A,x,P,d,x,reflx)≡d.\mathsf{J}(A, x, P, d, x, \mathsf{refl}_x) \equiv d.

Symmetry (p−1p^{-1}), transitivity (p⋅qp \cdot q), nondependent action on paths (eqApf(p):f(x)=f(y)\mathsf{eqAp}_f(p) : f(x) = f(y)), covariant transport (coe\mathsf{coe}), and dependent action on paths (eqApdf(p)\mathsf{eqApd}_f(p)) are derived and checked once and for all without equality reflection or Axiom K.

Evidence: TT-EQUALITY-INDUCTION [checked · congrArg, Circle.coe_Code_loop]

Formal status — checked. Evidence TT-EQUALITY-INDUCTION covers reflexivity, dependent path elimination, transport, congrArg / eqAp, and dependent path action in Init.Prelude and HoTT.Circle.

1.5 Propositions, Sets, And LCF-Certified Algebra

Under propositions-as-types, negation is ¬A:=A→Empty\neg A := A \to \mathsf{Empty}, 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 Z\mathbb{Z} and k[x]k[x], 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 (PAQ=DP A Q = D, d∘d=0d \circ d = 0, 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 K:StrictCat(u)K : \mathsf{StrictCat}(u) and acts along directed arrows p:k→Klp : k \to_K l 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 A:StrictCat(u)A : \mathsf{StrictCat}(u) (or GrayCat(u)\mathsf{GrayCat}(u)), write Obj⁡(A):Grpd(u)\operatorname{Obj}(A) : \mathsf{Grpd}(u) for its classifier of objects. For x,y:Obj⁡(A)x, y : \operatorname{Obj}(A), the hom-classifier

Hom⁡A(x,y):StrictCat(u)\operatorname{Hom}_A(x,y) : \mathsf{StrictCat}(u)

is itself a category, not merely a set: its objects are 1-arrows f:x→yf : x \to y, its 1-arrows are directed 2-cells α:f⇒g\alpha : f \Rightarrow g, and iterating Hom⁡\operatorname{Hom} exposes nn-cells at arbitrary finite depth. Composition is written g∘f:x→zg \circ f : x \to z (“first ff, then gg”).

An ω\omega-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):

d={diff:bigint,  tail:0∣1}.d = \{ \mathsf{diff} : \mathsf{bigint},\; \mathsf{tail} : 0 \mid 1 \}.

Bit k≥0k \ge 0 of dd specifies whether dimension k+1k + 1 is reversed (1) or preserved (0), with tail giving the periodic bit for all sufficiently high dimensions:

Mathematical symbolReversed dimensionsBitstream { diff, tail }Kernel constructor
id\mathrm{id}none{ diff: 0n, tail: 0 }ID_DUALITY
T(C)=CopT(C) = C^{\mathrm{op}}dimension 11 only{ diff: 1n, tail: 0 }OP_DUALITY (op)
C2(C)=CcoC_2(C) = C^{\mathrm{co}}dimension 22 only{ diff: 2n, tail: 0 }CO_DUALITY (co)
R(C)=CoAbove2(C)R(C) = \mathsf{CoAbove2}(C)dimensions 2,3,…2, 3, \ldots{ diff: 1n, tail: 1 }CO_ABOVE2_DUALITY
O(C)=TotalOp(C)O(C) = \mathsf{TotalOp}(C)all dimensions ≥1\ge 1{ diff: 0n, tail: 1 }TOTAL_OP_DUALITY (totalOp)

Duality composition is exact bitwise XOR (composeDuality(d1, d2)), so every involution (T(T(C))≡CT(T(C)) \equiv C, O(O(C))≡CO(O(C)) \equiv C, R(T(C))≡O(C)R(T(C)) \equiv O(C)) holds judgmentally by refl in O(1)O(1) time, and shifting into Hom⁡d(C)(x,y)\operatorname{Hom}_{d(C)}(x, y) simply right-shifts the bitstream (shiftDuality(d)) while swapping (x,y)(x, y) iff bit 00 is set!

Evidence: CAT-ITERATED-HOMS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-ITERATED-HOMS covers 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 A:Grpd(u)A : \mathsf{Grpd}(u) embeds into StrictCat(u)\mathsf{StrictCat}(u) via its path category Path(A)\mathsf{Path}(A), with

Obj⁡(Path(A))≡A,Hom⁡Path(A)(x,y)≡Path(x=Ay).\operatorname{Obj}(\mathsf{Path}(A)) \equiv A, \qquad \operatorname{Hom}_{\mathsf{Path}(A)}(x, y) \equiv \mathsf{Path}(x =_A y).

Identity is reflx\mathsf{refl}_x and composition is path concatenation. Every ordinary function f:A→Bf : A \to B lifts functorially to Path(f):Path(A)→Path(B)\mathsf{Path}(f) : \mathsf{Path}(A) \to \mathsf{Path}(B) via eqAp. Crucially, this inclusion never collapses direction: in WalkingEnd, WalkingEnd.loop_not_isIso proves ¬ IsIso(ℓ)\neg\,\mathsf{IsIso}(\ell), and in WalkingArrow, Hom⁡(1,0)≃Empty\operatorname{Hom}(1, 0) \simeq \mathsf{Empty} while Hom⁡(0,1)≃Unit\operatorname{Hom}(0, 1) \simeq \mathsf{Unit}.

Evidence: CAT-PATH-CATEGORY [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-PATH-CATEGORY covers Path embedding, 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 λfx:A. t\lambda^f x : A.\, t inside bunched modal contexts (src/context.ts):

  • a comma (Γ,x:A\Gamma, x : A) adds an independent Cartesian sibling in the same variance zone, permitting exchange, weakening, and diagonal contraction;
  • a semicolon (Γ;x:fA\Gamma ; x :^f A) advances across a directed dependency or variance boundary, enforcing variance discipline automatically during type checking!

A functor F:A→BF : A \to B in StrictCat(u) acts on objects (F[x]F[x]) and on whole hom-categories (F1[x,y]:Hom⁡A(x,y)→Hom⁡B(F[x],F[y])F_1[x, y] : \operatorname{Hom}_A(x, y) \to \operatorname{Hom}_B(F[x], F[y])), satisfying the strict functor laws

F[idx]≡idF[x],F[g∘f]≡F[g]∘F[f]F[\mathrm{id}_x] \equiv \mathrm{id}_{F[x]}, \qquad F[g \circ f] \equiv F[g] \circ F[f]

natively in the NbE evaluator via generic functorial spine normalization.

Evidence: CAT-FUNCTOR-CALCULUS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-FUNCTOR-CALCULUS covers 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 F,G:A→BF, G : A \to B, endash provides polarity-indexed transformation categories Transf+(F,G)\mathsf{Transf}^+(F, G) (conventional lax) and Transf−(F,G)\mathsf{Transf}^-(F, G) (oplax), alongside strict Cartesian transformations in Cart(A,B)\mathsf{Cart}(A, B). An inhabitant η:Transf+(F,G)\eta : \mathsf{Transf}^+(F, G) exposes:

  1. its diagonal point component ηx:F[x]→BG[x]\eta_x : F[x] \to_B G[x] (tapp0); and
  2. its Došen off-diagonal arrow action η[f]:F[x]→BG[y]\eta[f] : F[x] \to_B G[y] (tapp1) for f:x→Ayf : x \to_A y, together with retained naturality cells comparing G[f]∘ηx⇒ηy∘F[f]G[f] \circ \eta_x \Rightarrow \eta_y \circ F[f].

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).

Evidence: CAT-TRANSFOR-CALCULUS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-TRANSFOR-CALCULUS covers point components, Došen off-diagonal tapp1 cuts, strict naturality in Cart, and retained lax naturality in GrayCat (Adjunction.dosen_cut_right, GrayInterchanger.whiskering_ne).

2.5 Directed Families Over Catcart\mathsf{Cat}_{\mathrm{cart}}

Public functor categories Hom⁡Cat(A,B)=Functor(A,B)\operatorname{Hom}_{\mathsf{Cat}}(A, B) = \mathsf{Functor}(A, B) have strict functors as objects and lax transformations as 1-arrows. Admitted directed families over KK instead target the Cartesian coefficient category Catcart\mathsf{Cat}_{\mathrm{cart}}, whose mapping homs Cart(A,B)\mathsf{Cart}(A, B) select strict transformations:

E:K⟶Catcart.E : K \longrightarrow \mathsf{Cat}_{\mathrm{cart}}.

Each object k:Kk : K determines a fibre category E[k]E[k], and each directed base arrow p:k→Klp : k \to_K l induces a covariant reindexing functor

E[p]:E[k]⟶E[l]E[p] : E[k] \longrightarrow E[l]

without requiring pp to be invertible. A displayed map Φ:E⇒D\Phi : E \Rightarrow D supplies fibre functors Φ[k]:E[k]→D[k]\Phi[k] : E[k] \to D[k] and directed transport comparison cells D[p](Φ[k](u))→Φ[l](E[p](u))D[p](\Phi[k](u)) \to \Phi[l](E[p](u)).

Evidence: CAT-DIRECTED-FAMILIES [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-DIRECTED-FAMILIES covers Catcart\mathsf{Cat}_{\mathrm{cart}}-valued families, fibre evaluation, covariant arrow transport, and displayed functoriality (LCCC.Fam, WalkingEnd.encode).

2.6 2-Periodic Totals Sigma(±) And Sections Pi

Given E:K→CatcartE : K \to \mathsf{Cat}_{\mathrm{cart}}, endash forms 2-periodic Grothendieck totals ΣK+E\Sigma^+_K E (covariant/lax total) and ΣK−E\Sigma^-_K E (contravariant/oplax total), as well as the coherent section category ΠKE\Pi_K E. An object of ΣK+E\Sigma^+_K E is a pair (k,u)(k, u) with u:E[k]u : E[k], and a 1-arrow (k,u)→(l,v)(k, u) \to (l, v) is a pair (p,α)(p, \alpha) with p:k→Klp : k \to_K l and α:E[p](u)→E[l]v\alpha : E[p](u) \to_{E[l]} v, including the canonical directed transport arrow (p,idE[p](u)):(k,u)→(l,E[p](u))(p, \mathrm{id}_{E[p](u)}) : (k, u) \to (l, E[p](u)).

Evidence: CAT-SIGMA-PI [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-SIGMA-PI covers 2-periodic Sigma(±) totals, canonical transport arrows, and Pi section evaluation (LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv).

2.6.1 Fibrewise Contexts

Independent sibling declarations k:K;b:B[k],c:C[k]k : K ; b : B[k], c : C[k] separated by , in a bunched context lower transparently through the fibrewise product family P(B,C)[k]:=B[k]×C[k]P(B, C)[k] := B[k] \times C[k] with componentwise projections, pairing, exchange, and diagonal contraction—while forbidding ill-typed exchange across a ; dependency edge.

Evidence: CAT-FIBREWISE-CONTEXT [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-FIBREWISE-CONTEXT covers 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 D:K→CatcartD : K \to \mathsf{Cat}_{\mathrm{cart}} back along F:A→KF : A \to K yields (F∗D)[a]≡D[F[a]](F^* D)[a] \equiv D[F[a]] by direct functorial substitution, together with totalization Tot(F,D):ΣA(F∗D)→ΣKD\mathsf{Tot}(F, D) : \Sigma_A (F^* D) \to \Sigma_K D and constant-domain displayed evaluation Evald\mathsf{Eval}_d.

Evidence: CAT-BASE-CHANGE-TOTALIZATION [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]
Evidence: CAT-DISPLAYED-EVALUATION [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-BASE-CHANGE-TOTALIZATION and CAT-DISPLAYED-EVALUATION cover pullback base change, totalization, and Cartesian evaluation (LCCC.sigma_pullback_equiv, LCCC.frobenius_equiv).

2.7 Representables And Variance

Fixing x:Kx : K, the covariant representable family Repx[k]:=Hom⁡K(x,k)\mathsf{Rep}_x[k] := \operatorname{Hom}_K(x, k) acts on p:k→lp : k \to l by postcomposition (q↦p∘qq \mapsto p \circ q), while varying the source along r:x→yr : x \to y acts contravariantly by precomposition (q↦q∘rq \mapsto q \circ r). In endash, bunched variance tracking and bitstream dualities keep covariant lower-star (p∗p_*) and contravariant upper-star (r∗r^*) distinct throughout elaboration and NbE evaluation.

Evidence: CAT-REPRESENTABLE [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-REPRESENTABLE covers 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 E:K→CatcartE : K \to \mathsf{Cat}_{\mathrm{cart}}, and fix (x,u)(x, u) and (y,v)(y, v) in ΣK+E\Sigma^+_K E. Over a base arrow f:x→Kyf : x \to_K y, the directed dependent hom has fibre value

Hom⁡Ed(u,v)[f]:=Hom⁡E[y](E[f](u),v).\operatorname{Hom}^d_E(u, v)[f] := \operatorname{Hom}_{E[y]}(E[f](u), v).

As ff varies across 2-cells in Hom⁡K(x,y)\operatorname{Hom}_K(x, y), E[f](u)E[f](u) sits in the contravariant domain slot of Hom⁡E[y](−,v)\operatorname{Hom}_{E[y]}(-, v), so Hom⁡Ed(u,v)\operatorname{Hom}^d_E(u, v) is a contravariant family on dimension 1 of I=Hom⁡K(x,y)I = \operatorname{Hom}_K(x, y):

Hom⁡Ed(u,v):T(I)⟶Catcart.\operatorname{Hom}^d_E(u, v) : T(I) \longrightarrow \mathsf{Cat}_{\mathrm{cart}}.

In the archival v3.2 rewrite prototype, making this construction vary simultaneously in x,u,y,v,fx, u, y, v, f required introducing an auxiliary presheaf coefficient category QQ (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 T=opT = \mathsf{op}, R=coAbove2R = \mathsf{coAbove2}, and O=totalOpO = \mathsf{totalOp}:

Hom⁡ΣK+E((x,u),(y,v))≡O ⁣(∑f:O(I)−Ofib(Hom⁡Ed(u,v))[f]).\operatorname{Hom}_{\Sigma^+_K E}((x, u), (y, v)) \equiv O\!\left(\sum^-_{f : O(I)} O_{\mathrm{fib}}\bigl(\operatorname{Hom}^d_E(u, v)\bigr)[f]\right).

Because 2-periodic Σ±\Sigma^{\pm} and bitstream dualities alternate signs cleanly at every hom iteration, NbE evaluates Hom⁡ΣK+E\operatorname{Hom}_{\Sigma^+_K E} at arbitrary finite cell depth with zero Q-wrapper overhead, recovering (f,α:E[f](u)→v)(f, \alpha : E[f](u) \to v) on 1-arrows while preserving exact higher-cell directions over general ω\omega-categories!

Evidence: CAT-DEPENDENT-HOM [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]
Evidence: CAT-SIGMA-HOM [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-DEPENDENT-HOM and CAT-SIGMA-HOM cover endash's direct Q-free homd / homdc operations and 2-periodic Sigma(±) 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:

  1. Code : W -> Cat_cart transports 0 : Nat forward along any based arrow p:∗→xp : * \to x via successor;
  2. Rep_* transports based arrows forward by postcomposition;
  3. power : Path(Nat) -> Hom_W(*, *) embeds natural numbers functorially as loop powers ℓn\ell^n;
  4. the contextual decoder decode:Code⇒Rep∗\mathsf{decode} : \mathsf{Code} \Rightarrow \mathsf{Rep}_* produces the directed normalization 2-cell p⇒ℓencode(p)p \Rightarrow \ell^{\mathsf{encode}(p)}; and
  5. 1-categorical discreteness of Hom⁡W(∗,∗)\operatorname{Hom}_W(*, *) turns that directed 2-cell into propositional equality, establishing Hom⁡W(∗,∗)≃N\operatorname{Hom}_W(*, *) \simeq \mathbb{N} with 0 axioms.

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:

statementclassifierP and QP×QP implies QP⟶Qfor every x:A, P(x)∏x:AP(x)there is x:A with P(x)∑x:AP(x)falsehoodEmpty.\begin{array}{c|c} \text{statement} & \text{classifier}\\ \hline P\text{ and }Q & P\times Q\\ P\text{ implies }Q & P\longrightarrow Q\\ \text{for every }x:A,\ P(x) & \prod_{x:A}P(x)\\ \text{there is }x:A\text{ with }P(x) & \sum_{x:A}P(x)\\ \text{falsehood} & \mathsf{Empty}. \end{array}

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

¬P:=P⟶Empty.\neg P:=P\longrightarrow\mathsf{Empty}.

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:

isContr(A):=∑a0:A∏a:A(a0=a).\mathsf{isContr}(A) :=\sum_{a_0:A}\prod_{a:A}(a_0=a).

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.

Evidence: LOGIC-TRUNCATION-PREDICATE [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence LOGIC-TRUNCATION-PREDICATE covers IsContr and the recursive truncation predicate whose -1 and 0 specializations 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

−2:contractible classifiers,−1:proposition-valued classifiers,0:set-valued classifiers,1:groupoid-valued classifiers,⋮\begin{array}{ccl} -2 &:& \text{contractible classifiers},\\ -1 &:& \text{proposition-valued classifiers},\\ 0 &:& \text{set-valued classifiers},\\ 1 &:& \text{groupoid-valued classifiers},\\ &\vdots& \end{array}

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.

Evidence: LOGIC-NAT-SETHOOD [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence LOGIC-NAT-SETHOOD supplies 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 internal IsSetGrpd(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

isTruncn(A)\mathsf{isTrunc}_n(A)

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.

Evidence: LOGIC-TRUNCATION-EVIDENCE-PROP [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence LOGIC-TRUNCATION-EVIDENCE-PROP establishes 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

fibf(b):=∑a:A(f(a)=b).\mathsf{fib}_f(b) :=\sum_{a:A}(f(a)=b).

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

f(f−1(b))=b.f(f^{-1}(b))=b.

Contractibility of the fibre also yields the other law

f−1(f(a))=a.f^{-1}(f(a))=a.

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.

Evidence: EQUIV-TYPE [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence EQUIV-TYPE covers 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:

idA:A≃A,e−1:B≃A,eBC∘eAB:A≃C.\begin{aligned} \mathsf{id}_A &: A\simeq A,\\ e^{-1} &: B\simeq A,\\ e_{BC}\circ e_{AB} &: A\simeq C. \end{aligned}

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.

Evidence: EQUIV-TYPE-ALGEBRA [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence EQUIV-TYPE-ALGEBRA covers 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:

idtoequiv(p):A≃B.\mathsf{idtoequiv}(p):A\simeq B.

Univalence supplies the converse in a coherent way. In the groupoid universe, emdash has an operational decoder

ua(e):A=B\mathsf{ua}(e):A=B

and named round trips

ua(idtoequiv(p))=p,idtoequiv(ua(e))=e.\mathsf{ua}(\mathsf{idtoequiv}(p))=p, \qquad \mathsf{idtoequiv}(\mathsf{ua}(e))=e.

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.

Evidence: UNIV-GROUPOID [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence UNIV-GROUPOID covers 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:

TruncUn:=∑A:GrpdisTruncn(A).\mathsf{TruncU}_n :=\sum_{A:\mathsf{Grpd}}\mathsf{isTrunc}_n(A).

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

(A,hA)=(B,hB)≃A≃B.(A,h_A)=(B,h_B) \simeq A\simeq B.

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.

Evidence: UNIV-TRUNCATED [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence UNIV-TRUNCATED covers 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:

f:x→y,g:y→x,g∘f=idx,f∘g=idy.f:x\to y,\qquad g:y\to x,\qquad g\circ f=\mathrm{id}_x,\qquad f\circ g=\mathrm{id}_y.

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.

Evidence: EQUIV-OMEGA [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]
Evidence: EQUIV-ORDINARY-ISO-LIFT [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence EQUIV-OMEGA covers the fixed-arrow and packaged equality-valued interfaces and the transparent package built from an object path. Evidence EQUIV-ORDINARY-ISO-LIFT covers 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.

Evidence: UNIV-FULL-OBJECT-ISO [research-boundary]

Formal status — research boundary. Evidence UNIV-FULL-OBJECT-ISO records 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,

OmegaEquivAlong(f)\mathsf{OmegaEquivAlong}(f)

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.

Evidence: EQUIV-EVIDENCE-PROP [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence EQUIV-EVIDENCE-PROP is 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 D:C→CatD:C\to\mathsf{Cat}, coherent groupoidality of CC supplies equivalence of transport along a base arrow:

D[f]:D[x]≃D[y].D[f]:D[x]\simeq D[y].

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.

Evidence: EQUIV-HOM-ACTION [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence EQUIV-HOM-ACTION covers 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:

Code:W⟶Catcart.\mathsf{Code}:W\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

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

z:P(0),z:P(0),

and a step operation

sn:P(n)⟶P(n+1),s_n:P(n)\longrightarrow P(n+1),

there is a section

indN(z,s):∏n:NP(n)\mathsf{ind}_{\mathbb N}(z,s):\prod_{n:\mathbb N}P(n)

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:

  1. what data an eliminator accepts; and
  2. 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

C(x,p)(x:A,  p:x=y)C(x,p)\qquad(x:A,\;p:x=y)

is determined by its value at (y,refl_y). In one conventional orientation,

d:C(y,refly)J(d,x,p):C(x,p).\frac{d:C(y,\mathsf{refl}_y)} {\mathsf J(d,x,p):C(x,p)}.

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.

Evidence: TT-EQUALITY-INDUCTION [checked · congrArg, Circle.coe_Code_loop]

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

PathOutZ(x):=∑y: ZHom⁡Z(x,y).\mathsf{PathOut}_Z(x) :=\sum_{y:\,Z}\operatorname{Hom}_Z(x,y).

Its objects are pairs (y,p) with p:x→yp:x\to y. It has a distinguished reflexive object

refloutx:=(x,idx).\mathsf{reflout}_x:=(x,\mathrm{id}_x).

For every outgoing arrow p:x→yp:x\to y, functorial action of the representable family supplies a canonical total arrow

ρx,y,p:(x,idx)⟶(y,p)in PathOutZ(x).\rho_{x,y,p}: (x,\mathrm{id}_x)\longrightarrow(y,p) \quad\text{in }\mathsf{PathOut}_Z(x).

Its base component is p; its fibre endpoint reduces by the unit law p∘idx=pp\circ\mathrm{id}_x=p. 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.

Evidence: IND-PATHOUT [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

Formal status — checked. Evidence IND-PATHOUT. PathOut_cat is the Sigma total of the fixed-source representable, pathout_refl_obj is its distinguished object, and pathout_refl_arrow is the canonical Sigma transport arrow rho.

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 r:x→yr:x\to y induces a functor

PathOutZ(y)⟶PathOutZ(x),(z,q)⟼(z,q∘r).\mathsf{PathOut}_Z(y)\longrightarrow\mathsf{PathOut}_Z(x), \qquad (z,q)\longmapsto(z,q\circ r).

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

E:PathOutZ(x)⟶CatcartE:\mathsf{PathOut}_Z(x)\longrightarrow\mathsf{Cat}_{\mathrm{cart}}

be a directed family. An element

u∈E[refloutx]u\in E[\mathsf{reflout}_x]

can be transported along every canonical arrow rho. This produces a section

path_ind(x,E,u):∏q: PathOutZ(x)E[q],\mathsf{path\_ind}(x,E,u): \prod_{q:\,\mathsf{PathOut}_Z(x)}E[q],

whose readable value is

path_ind(x,E,u)(y,p)=E[ρx,y,p](u).\mathsf{path\_ind}(x,E,u)(y,p) = E[\rho_{x,y,p}](u).

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.

Evidence: IND-ARROW [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

Formal status — checked. Evidence IND-ARROW. The fixed-source section is path_ind_sec; PathInd_func packages its action in the motive and base datum, and PathInd_transfd internalizes the theorem while the source object varies.

For a motive pulled back from ZZ, 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 (y,p)(y,p); it is not silently retyped as a displayed map over ZZ. 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_sec is the readable theorem at a fixed source;
  • PathInd_func says that this theorem acts functorially on motives and their data;
  • PathInd_transfd records 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

E(y,p):=(Rep⁡Z(y)⟶Rep⁡Z(x)).E(y,p):= \bigl(\operatorname{Rep}_Z(y)\longrightarrow \operatorname{Rep}_Z(x)\bigr).

At the reflexive arrow, the identity transformation supplies the base datum. Arrow induction then extends it to every p:x→yp:x\to y. Evaluating the result at q:y→zq:y\to z gives

q∘p:x⟶z.q\circ p:x\longrightarrow z.

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.

Evidence: IND-COMPOSITION [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

Formal status — checked. Evidence IND-COMPOSITION. CompMotive_catd is the represented motive, path_comp_sec is the induced section, and path_comp_func exposes 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 qq. 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:

  1. use the functorial action of D on the arrow p; or
  2. 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:

transportDstructured(p,u)=transportDJ(p,u).\mathsf{transport}^{\mathrm{structured}}_D(p,u) = \mathsf{transport}^{\mathsf J}_D(p,u).
Evidence: IND-PATH-COMPARISON [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

Formal status — checked. Evidence IND-PATH-COMPARISON. path_cat_structured_transport_agrees_ind_eqr compares 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 R,D:K→CatcartR,D:K\to\mathsf{Cat}_{\mathrm{cart}}. At each base object it should provide a functor

Tk:R[k]⟶D[k],T_k:R[k]\longrightarrow D[k],

and for each base arrow f:k→k′f:k\to k' a directed comparison

D[f]∘Tk⟹Tk′∘R[f].D[f]\circ T_k \Longrightarrow T_{k'}\circ R[f].

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.

Evidence: IND-GENERAL-INITIALITY [research-boundary]

Formal status — research boundary. Evidence IND-GENERAL-INITIALITY. The current calculus packages Nat and equality induction, generic PathOut arrow 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 ℓ:b→b\ell:b\to b;
  • 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

ℓ:b⟶b,\ell:b\longrightarrow b,

then it generates forward composites idb,ℓ,ℓ∘ℓ,…\mathrm{id}_b,\ell,\ell\circ\ell,\ldots; 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

∗:Obj⁡(W),ℓ:Hom⁡W(∗,∗).*:\operatorname{Obj}(W), \qquad \ell:\operatorname{Hom}_W(*,*).

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.

Evidence: WE-SIGNATURE [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-SIGNATURE. WalkingEnd_cat, walking_base, and walking_loop are opaque declarations. walking_end_is_one_cat is 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

R,D:W⟶CatcartR,D:W\longrightarrow\mathsf{Cat}_{\mathrm{cart}}

be directed Cat-valued families. At the base, suppose we are given a functor

u:R[∗]⟶D[∗].u:R[*]\longrightarrow D[*].

There are two ways to move an element of R[*] once around the generator and then apply u:

D[ℓ]∘u,u∘R[ℓ].D[\ell]\circ u, \qquad u\circ R[\ell].

The selected lax orientation asks for a transformation

σ:D[ℓ]∘u⟹u∘R[ℓ].\sigma: D[\ell]\circ u \Longrightarrow u\circ R[\ell].

These data form the contextual algebra of the walking endomorphism. Its eliminator produces a displayed functor

indd(R,D,u,σ):R⟹D\mathsf{ind}^{d}(R,D,u,\sigma):R\Longrightarrow D

over the whole of W.

Evidence: WE-CONTEXTUAL-ELIMINATOR [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-CONTEXTUAL-ELIMINATOR. The owner is walking_end_ind_funcd. Its base component computes to u, and its displayed action on the literal generator computes to the component of sigma at 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 R[∗]→D[∗]R[*]\to D[*] is determined by an object d of the base fibre. The generator coherence reduces to an arrow

ℓˉ:D[ℓ](d)⟶d.\bar\ell:D[\ell](d)\longrightarrow d.

Contextual elimination then yields a dependent section

ind(D,d,ℓˉ):∏x: WD[x].\mathsf{ind}(D,d,\bar\ell): \prod_{x:\,W}D[x].

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 f:c→cf:c\to c. The resulting section is an ordinary functor

rec(C,c,f):W⟶C\mathsf{rec}(C,c,f):W\longrightarrow C

with the expected observations

rec(∗)=c,rec[ℓ]=f.\mathsf{rec}(*)=c, \qquad \mathsf{rec}[\ell]=f.
Evidence: DHIT-DERIVED-ELIMINATORS [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence DHIT-DERIVED-ELIMINATORS. walking_end_ind_sec is 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:

  1. a runtime reduction may expose the supplied constructor datum;
  2. a typed equality may state that two stable observations agree;
  3. 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:

Code,Rep∗:W⟶Catcart.\mathsf{Code},\mathsf{Rep}_*:W\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

At the base, natural-number powers give a carrier function

n⟼ℓn.n\longmapsto\ell^n.

Because the source is the path category of Nat, equality action lifts this function to a functor

power:Path(N)⟶Hom⁡W(∗,∗).\mathsf{power}:\mathsf{Path}(\mathbb N) \longrightarrow\operatorname{Hom}_W(*,*).

The contextual algebra still needs a transformation

Rep∗[ℓ]∘power⟹power∘Code[ℓ].\mathsf{Rep}_*[\ell]\circ\mathsf{power} \Longrightarrow \mathsf{power}\circ\mathsf{Code}[\ell].

Pointwise, the endpoints are ℓ∘ℓn\ell\circ\ell^n and ℓn+1\ell^{n+1}. 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

ℓ∘ℓn⟶ℓn+1.\ell\circ\ell^n\longrightarrow\ell^{n+1}.
Evidence: WE-SPIRAL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-SPIRAL. The selected walking_power_spiral is the explicit restricted-core-inclusion construction, and walking_power_spiral_cell exposes 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

R=Code,D=Rep∗,u=power,σ=spiralR=\mathsf{Code},\qquad D=\mathsf{Rep}_*,\qquad u=\mathsf{power},\qquad \sigma=\mathsf{spiral}

into contextual elimination yields

decoded:Code⟹Rep∗.\mathsf{decode}^{d}:\mathsf{Code}\Longrightarrow\mathsf{Rep}_*.

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.

Evidence: DHIT-GENERAL-SCHEMA [research-boundary]

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

isTrunc−2(A):=isContr(A),isTruncn+1(A):=∏x,y:AisTruncn(x=y).\begin{aligned} \mathsf{isTrunc}_{-2}(A) &:=\mathsf{isContr}(A),\\ \mathsf{isTrunc}_{n+1}(A) &:=\prod_{x,y:A}\mathsf{isTrunc}_{n}(x=y). \end{aligned}

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.

Evidence: LOGIC-TRUNCATION-PREDICATE [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence LOGIC-TRUNCATION-PREDICATE. IsTruncGrpd implements this recursion, with IsPropGrpd and IsSetGrpd as 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:

isProp(isTruncn(A)).\mathsf{isProp}\bigl(\mathsf{isTrunc}_n(A)\bigr).

Consequently any two truncation witnesses are equal. Packages may retain the witness for later use without turning it into observable structure.

Evidence: LOGIC-TRUNCATION-EVIDENCE-PROP [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

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:

isTruncn(A)⟶isTruncn+1(A).\mathsf{isTrunc}_n(A) \longrightarrow \mathsf{isTrunc}_{n+1}(A).

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

∏x:AB(x)\prod_{x:A}B(x)

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

∑x:AB(x)\sum_{x:A}B(x)

is n-truncated. The successor proof analyzes equality of dependent pairs as a base path together with a path over it.

Evidence: TRUNC-CLOSURE [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence TRUNC-CLOSURE. The active operations are is_trunc_grpd_succ, is_trunc_pi, and is_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

Y→sX→rYY\xrightarrow{s}X\xrightarrow{r}Y

with r∘sr\circ s equal to the identity on Y. Any truncation bound on X descends to Y.

Evidence: TRUNC-RETRACT [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence TRUNC-RETRACT. is_trunc_retract works 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

TruncGrpdU(n):=∑A:GrpdisTruncn(A)\mathsf{TruncGrpdU}(n) :=\sum_{A:\mathsf{Grpd}}\mathsf{isTrunc}_n(A)

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:

(X=Y)≃TypeEquiv(carrier(X),carrier(Y)).(X=Y) \simeq \mathsf{TypeEquiv} (\mathsf{carrier}(X),\mathsf{carrier}(Y)).

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.

Evidence: UNIV-TRUNCATED [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence UNIV-TRUNCATED. The package is TruncGrpdU; trunc_grpd_univalence_type_equiv supplies the carrier equivalence between package identity and TypeEquiv.

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

0catandsucccat(n).0_{\mathsf{cat}} \qquad\text{and}\qquad \mathsf{succ}_{\mathsf{cat}}(n).

Their classifier is recursive:

isNCat(0,C):=isDiscreteCat(C),isNCat(n+1,C):=∏x,y:Obj⁡(C)isNCat(n,Hom⁡C(x,y)).\begin{aligned} \mathsf{isNCat}(0,C) &:=\mathsf{isDiscreteCat}(C),\\ \mathsf{isNCat}(n+1,C) &:=\prod_{x,y:\operatorname{Obj}(C)} \mathsf{isNCat} \bigl(n,\operatorname{Hom}_C(x,y)\bigr). \end{aligned}

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:

catLevel(0)=0,catLevel(n+1)=catLevel(n)+1.\begin{aligned} \mathsf{catLevel}(0)&=0,\\ \mathsf{catLevel}(n+1)&=\mathsf{catLevel}(n)+1. \end{aligned}

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.

Evidence: CAT-DIMENSION [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-DIMENSION. IsNCat owns the homwise recursion, cat_dim_trunc_level computes the corresponding groupoidal level, and ncat_obj_trunc proves 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

isNCat(1,W).\mathsf{isNCat}(1,W).

Unfolding the successor clause gives, for every x,y:Obj(W),

isDiscreteCat(Hom⁡W(x,y)).\mathsf{isDiscreteCat} \bigl(\operatorname{Hom}_W(x,y)\bigr).

In particular the based hom

Hx:=Hom⁡W(∗,x)H_x:=\operatorname{Hom}_W(*,x)

is discrete. Given two based arrows p,q:∗→xp,q:*\to x, a directed 2-cell

α:p⟶qin Hx\alpha:p\longrightarrow q \quad\text{in }H_x

can therefore be converted to an equality p=q of objects of the hom-category.

Evidence: WE-ONE-DIMENSIONAL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-ONE-DIMENSIONAL. walking_end_hom_discrete specializes the dimension witness, and walking_end_based_cell_to_path converts a based 2-cell to equality.

This operation is local to the next hom. It does not produce an arrow q→pq\to p, 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 p:∗→xp:*\to x, a directed normalization cell

νp:p⟶decodex(encodex(p))\nu_p: p\longrightarrow \mathsf{decode}_x(\mathsf{encode}_x(p))

inside H_x. Only then does hom-discreteness give

p=decodex(encodex(p)).p= \mathsf{decode}_x(\mathsf{encode}_x(p)).

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,

encode∗(ℓn)=n,\mathsf{encode}_*(\ell^n)=n,

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:

  1. build a cell using functorial or contextual action;
  2. invoke a dimension hypothesis at the exact hom level where the cell lives;
  3. 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 AA a new classifier ∥A∥n\lVert A\rVert_n, together with a universal map and elimination into nn-truncated targets. The active groupoidal layer now realizes this idea in a classified form. The category NType(n)\mathsf{NType}(n) contains retained nn-truncated classifiers, and

Truncn(A):NType(n)\mathsf{Trunc}_n(A):\mathsf{NType}(n)

is the primary result. Decoding its carrier gives the ambient classifier ∥A∥n\lVert A\rVert_n. The point constructor computes, while dependent elimination is restricted to motives that themselves land in NType(n)\mathsf{NType}(n). 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.

Evidence: TRUNC-REFLECTOR [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

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 ℓ:∗→∗\ell:*\to * for its generating arrow. Composition is in categorical order, so g∘fg\circ f means first f and then g. For any object x of W, abbreviate the based hom-category by

Hx  :=  Hom⁡W(∗,x).H_x \;:=\; \operatorname{Hom}_W(*,x).

An object of H_x is a directed arrow ∗→x*\to x. 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 type A;
  • functor action F[f] on arrows and its higher action on cells;
  • a directed Cat-valued family E:K→CatcartE:K\to\mathsf{Cat}_{\mathrm{cart}} 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

Evidence: WE-HOM-NAT-CARRIER [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

The target statement is:

Theorem 8.1 (the walking-endomorphism calculation). There is an equivalence of underlying carriers

Obj⁡(H∗)=Hom⁡W(∗,∗)  ≃  N.\operatorname{Obj}(H_*) = \operatorname{Hom}_W(*,*) \;\simeq\; \mathbb{N}.

Formal status — checked. Evidence WE-HOM-NAT-CARRIER. The active package is walking_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:

ℓ0:=id∗,ℓn+1:=ℓ∘ℓn.\begin{aligned} \ell^0 &:= \mathrm{id}_*,\\ \ell^{n+1} &:= \ell\circ\ell^n. \end{aligned}

The recursion prefixes one copy of ell at each successor. Thus ℓ2\ell^2 is ℓ∘ℓ\ell\circ\ell and no inverse power is present. The definition is an ordinary Nat eliminator whose motive is the object carrier of H_*.

Evidence: WE-POWER [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-POWER. The object map is walking_power, and walking_power_func :Path(N)→H∗:\mathsf{Path}(\mathbb{N})\to H_* supplies its equality-local higher action.

To prove that these powers exhaust the endomorphisms, we seek a measurement

encode∗:Obj⁡(H∗)⟶N\mathsf{encode}_*:\operatorname{Obj}(H_*)\longrightarrow\mathbb{N}

such that

encode∗(ℓn)=nandℓencode∗(p)=p.\mathsf{encode}_*(\ell^n)=n \quad\text{and}\quad \ell^{\mathsf{encode}_*(p)}=p.

The first equation is approachable by Nat induction. The second quantifies over an arbitrary opaque arrow p:∗→∗p:*\to *. 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

encodex:Obj⁡(Hx)⟶Obj⁡(Code[x]),decodex:Obj⁡(Code[x])⟶Obj⁡(Hx),\begin{aligned} \mathsf{encode}_x &: \operatorname{Obj}(H_x) \longrightarrow \operatorname{Obj}(\mathsf{Code}[x]),\\ \mathsf{decode}_x &: \operatorname{Obj}(\mathsf{Code}[x]) \longrightarrow \operatorname{Obj}(H_x), \end{aligned}

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,

encodex(p):=Code[p](0).\mathsf{encode}_x(p):=\mathsf{Code}[p](0).
Evidence: WE-ENCODE [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-ENCODE. walking_encode is defined for every endpoint and every based arrow, not only for endomorphisms at the base.

At the base, the computations we want are

encode∗(id∗)=0\mathsf{encode}_*(\mathrm{id}_*)=0

and

encode∗(ℓ∘p)=succ(encode∗(p)).\mathsf{encode}_*(\ell\circ p) = \mathsf{succ}(\mathsf{encode}_*(p)).

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.

Evidence: WE-ENCODE-PREFIX [checked · WalkingEnd.power_encode, WalkingEnd.encode_power, WalkingEnd.power_add]

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

Obj⁡(BNat)=1,Hom⁡BNat(∙,∙)=Path(N).\operatorname{Obj}(BNat)=\mathbf{1}, \qquad \operatorname{Hom}_{BNat}(\bullet,\bullet)=\mathsf{Path}(\mathbb{N}).

Its identity is zero. With our composition convention,

m∘n:=m+n,m\circ n := m+n,

where addition recurses in its left input:

0+n=n,(m+1)+n=(m+n)+1.0+n=n, \qquad (m+1)+n=(m+n)+1.

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

J:W⟶BNat,J(∗)=∙,J[ℓ]=1.J:W\longrightarrow BNat, \qquad J(*)=\bullet, \qquad J[\ell]=1.

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.

Evidence: WE-BNAT-MODEL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-BNAT-MODEL. The identity and recursive composition of BNat, their propositional agreement with Nat addition, its one-dimensionality, and walking_bnat_model_func are 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.

Evidence: WE-FULL-CATEGORICAL-COMPARISON [research-boundary]

Formal status — research boundary. Evidence WE-FULL-CATEGORICAL-COMPARISON records what is absent: a reverse BNat→W\mathsf{BNat}\to W 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

Code:W⟶Catcart\mathsf{Code}:W\longrightarrow\mathsf{Cat}_{\mathrm{cart}}

with constructor computations

Code[∗]=Path(N),Code[ℓ]=Succ.\mathsf{Code}[*]=\mathsf{Path}(\mathbb{N}), \qquad \mathsf{Code}[\ell]=\mathsf{Succ}.
Evidence: WE-CODE [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

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

0⟶1⟶2⟶3⟶⋯0\longrightarrow 1\longrightarrow 2\longrightarrow 3\longrightarrow\cdots

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 p:∗→xp:*\to x, functor action gives

Code[p]:Code[∗]⟶Code[x].\mathsf{Code}[p]: \mathsf{Code}[*]\longrightarrow\mathsf{Code}[x].

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:

encode∗(ℓ∘p)=Code[ℓ∘p](0)=Code[ℓ](Code[p](0))=succ(encode∗(p)).\begin{aligned} \mathsf{encode}_*(\ell\circ p) &=\mathsf{Code}[\ell\circ p](0)\\ &=\mathsf{Code}[\ell](\mathsf{Code}[p](0))\\ &=\mathsf{succ}(\mathsf{encode}_*(p)). \end{aligned}

The target of the decoder is the based representable family

Rep∗:W⟶Catcart,Rep∗[x]=Hx.\mathsf{Rep}_*:W\longrightarrow\mathsf{Cat}_{\mathrm{cart}}, \qquad \mathsf{Rep}_*[x]=H_x.

For f:x→yf:x\to y, its action is postcomposition:

Rep∗[f](q)=f∘q.\mathsf{Rep}_*[f](q)=f\circ q.

Thus a decoder varying over x should be a displayed functor

decoded:Code⟹Rep∗.\mathsf{decode}^{d}: \mathsf{Code}\Longrightarrow\mathsf{Rep}_*.

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

power:Path(N)⟶H∗.\mathsf{power}: \mathsf{Path}(\mathbb{N})\longrightarrow H_*.

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

Rep∗[ℓ]∘power⟹power∘Code[ℓ].\mathsf{Rep}_*[\ell]\circ\mathsf{power} \Longrightarrow \mathsf{power}\circ\mathsf{Code}[\ell].

At a natural number n, its readable component is

σn:ℓ∘ℓn⟶ℓn+1\sigma_n: \ell\circ\ell^n\longrightarrow\ell^{n+1}

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.

Evidence: WE-SPIRAL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

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 R,D:W→CatcartR,D:W\to\mathsf{Cat}_{\mathrm{cart}}, a base functor

u:R[∗]⟶D[∗],u:R[*]\longrightarrow D[*],

and a transformation

D[ℓ]∘u⟹u∘R[ℓ],D[\ell]\circ u\Longrightarrow u\circ R[\ell],

it produces a displayed functor R⇒DR\Rightarrow D. Substituting R=Code, D=Rep_*, u=power, and sigma equal to the spiral yields the desired contextual decoder.

Evidence: WE-CONTEXTUAL-ELIMINATOR [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]
Evidence: WE-CONTEXTUAL-DECODER [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-CONTEXTUAL-ELIMINATOR and WE-CONTEXTUAL-DECODER. The displayed decoder is walking_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

power:Path(N)⟶H∗.\mathsf{power}:\mathsf{Path}(\mathbb{N})\longrightarrow H_*.

At zero and successor,

power(0)=id∗,power(n+1)=ℓ∘power(n).\mathsf{power}(0)=\mathrm{id}_*, \qquad \mathsf{power}(n+1)=\ell\circ\mathsf{power}(n).

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

σ:Rep∗[ℓ]∘power⟹power∘Code[ℓ].\sigma: \mathsf{Rep}_*[\ell]\circ\mathsf{power} \Longrightarrow \mathsf{power}\circ\mathsf{Code}[\ell].

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

decoded:Code⟹Rep∗.\mathsf{decode}^{d}: \mathsf{Code}\Longrightarrow\mathsf{Rep}_*.

Projecting to a fibre gives, for every x,

decoded[x]:Code[x]⟶Hx.\mathsf{decode}^{d}[x]: \mathsf{Code}[x]\longrightarrow H_x.

Write decode_x(c) for its object action. At the base this functor is judgmentally the power functor, so

decode∗(n)=ℓn.\mathsf{decode}_*(n)=\ell^n.

Step 4: the directed normalization cell

Let p:∗→xp:*\to x 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

Rep∗[p](power(0))=p∘id∗=p.\mathsf{Rep}_*[p](\mathsf{power}(0)) =p\circ\mathrm{id}_* =p.

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

νp:p⟶decodex(encodex(p))\nu_p: p\longrightarrow \mathsf{decode}_x(\mathsf{encode}_x(p))

in H_x.

Evidence: WE-NORMALIZATION-CELL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-NORMALIZATION-CELL. The term is the displayed hom-action of the contextual decoder at p and 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

νˉp:p=decodex(encodex(p)).\bar{\nu}_p: p= \mathsf{decode}_x(\mathsf{encode}_x(p)).
Evidence: WE-NORMALIZATION-PATH [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-NORMALIZATION-PATH. The implementation explicitly constructs walking_directed_normalization_cell before applying hom-discreteness in walking_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

p=ℓencode∗(p).p=\ell^{\mathsf{encode}_*(p)}.

The inverse law for the desired equivalence is conventionally oriented the other way, so we take symmetry:

ℓencode∗(p)=p.\ell^{\mathsf{encode}_*(p)}=p.
Evidence: WE-POWER-ENCODE [checked · WalkingEnd.power_encode, WalkingEnd.encode_power, WalkingEnd.power_add]

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

encode∗(ℓn)=n\mathsf{encode}_*(\ell^n)=n

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,

encode∗(ℓn+1)=encode∗(ℓ∘ℓn)=succ(encode∗(ℓn))=succ(n).\begin{aligned} \mathsf{encode}_*(\ell^{n+1}) &=\mathsf{encode}_*(\ell\circ\ell^n)\\ &=\mathsf{succ}(\mathsf{encode}_*(\ell^n))\\ &=\mathsf{succ}(n). \end{aligned}

The middle equality is the generator-prefix encoding formula; the last is the induction hypothesis acted on by successor. No negative case is required.

Evidence: WE-ENCODE-POWER [checked · WalkingEnd.power_encode, WalkingEnd.encode_power, WalkingEnd.power_add]

Formal status — checked. Evidence WE-ENCODE-POWER. The theorem walking_encode_power_roundtrip is 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

Hom⁡W(∗,∗)≃N.\operatorname{Hom}_W(*,*)\simeq\mathbb{N}.

The encoder is also packaged as a functor

H∗⟶Path(N),H_*\longrightarrow\mathsf{Path}(\mathbb{N}),

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.

Evidence: WE-STRUCTURED-ENCODER [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]
Evidence: WE-HOM-NAT-CARRIER [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

Formal status — checked. Evidence WE-STRUCTURED-ENCODER and WE-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:

p↓  νpdecode(encode(p))⟹discretenessp=ℓencode(p),\begin{array}{c} p\\[2pt] \downarrow\;\nu_p\\[2pt] \mathsf{decode}(\mathsf{encode}(p)) \end{array} \quad\Longrightarrow_{\text{discreteness}}\quad p=\ell^{\mathsf{encode}(p)},

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.

  1. By dimension. One-dimensionality makes H_* discrete, and discreteness includes sethood of its object carrier.
  2. By comparison. Natural numbers form a set, and truncation is invariant under the carrier equivalence.
Evidence: WE-HOM-SETHOOD [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]

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

encode∗(ℓ)=1,encode∗(id∗)=0.\mathsf{encode}_*(\ell)=1, \qquad \mathsf{encode}_*(\mathrm{id}_*)=0.

If ell=id_*, functorial action of encode on that equality would yield 1=0, whose Nat equality classifier is empty.

Evidence: WE-LOOP-NOT-IDENTITY [checked · WalkingEnd.loop, WalkingEnd.loop_not_isIso]

Formal status — checked. Evidence WE-LOOP-NOT-IDENTITY.

The generator has no right inverse

Suppose r:∗→∗r:*\to * and

ℓ∘r=id∗.\ell\circ r=\mathrm{id}_*.

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.

Evidence: WE-LOOP-NO-RIGHT-INVERSE [checked · WalkingEnd.loop, WalkingEnd.loop_not_isIso]

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.

Evidence: WE-LOOP-NONINVERTIBLE [checked · WalkingEnd.loop, WalkingEnd.loop_not_isIso]

Formal status — checked. Evidence WE-LOOP-NONINVERTIBLE.

Composition and addition

The carrier theorem strongly suggests the monoid formula

encode∗(q∘p)=encode∗(q)+encode∗(p).\mathsf{encode}_*(q\circ p) = \mathsf{encode}_*(q)+\mathsf{encode}_*(p).

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

ℓm+n=ℓm∘ℓn.\ell^{m+n}=\ell^m\circ\ell^n.

Then replace q and p by their normalized powers and use encode(power(k))=k. In endash, Cat.ListBridge packages both WalkingEnd.power_add (ℓm+n=ℓm∘ℓn\ell^{m+n} = \ell^m \circ \ell^n), WalkingEnd.encode_comp (encode(q∘p)=encode(q)+encode(p)\mathsf{encode}(q \circ p) = \mathsf{encode}(q) + \mathsf{encode}(p)), and the monoid-preserving list equivalence WalkingEnd.toListUnit_comp with 0 axioms (see Chapter 32).

Evidence: WE-COMPOSITION-ADDITION [checked · WalkingEnd.power_add, WalkingEnd.encode_comp, WalkingEnd.toListUnit_comp]

Formal status — checked. Evidence WE-COMPOSITION-ADDITION (WalkingEnd.power_add, WalkingEnd.encode_comp, and WalkingEnd.toListUnit_comp in Cat.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

0↦1↦2↦⋯0\mapsto1\mapsto2\mapsto\cdots

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

W⟶Path⁡(S1)W\longrightarrow\operatorname{Path}(S^1)

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 N→Z\mathbb N\to\mathbb Z. More strongly, restriction along this functor is a whole mapping equivalence against every groupoidal target. The theorem does not make ℓ\ell invertible inside WW; it characterizes the separate groupoidal object obtained by freely allowing inverse motion.

Evidence: WE-GROUP-COMPLETION [checked · Groupoidify.walkingEndToCircle, Groupoidify.walking_end_equiv_circle]

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 reverse BNat functor 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

2End⁡B(x):=Hom⁡Hom⁡B(x,x)(idx,idx).\operatorname{2End}_B(x) := \operatorname{Hom}_{\operatorname{Hom}_B(x,x)} (\mathrm{id}_x,\mathrm{id}_x).

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:

β⋅α=α⋅β.\beta\cdot\alpha=\alpha\cdot\beta.
Evidence: EH-COMMUTATIVITY [checked · EckmannHilton.omega2_comm, EckmannHilton.strictCat_middle_four]

Formal status — checked. Evidence EH-COMMUTATIVITY. The active term EH_comm derives 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.

  1. An arrow cut composes one chosen arrow on the left or right. Its owners are the lower-star postcomposition and upper-star precomposition actions.
  2. A family cut composes next to an arrow that varies naturally. Its owner is the off-diagonal action of a transfor.
  3. A structural cut eliminates data introduced by a product, dependent total, curry, or related type former. Its owner is the corresponding projection or eliminator.
  4. 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 ⇝\rightsquigarrow 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 g∘fg\circ f: first ff, then gg. The two star actions record which side of a represented hom is moving.

If g:w→xg:w\to x and u:x→yu:x\to y, then

u∗(g):=u∘g:w→yu_*(g):=u\circ g:w\to y

is postcomposition by uu. If u:x→yu:x\to y and h:y→zh:y\to z, then

u∗(h):=h∘u:x→zu^*(h):=h\circ u:x\to z

is precomposition by uu. 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 K:A→BK:A\to B and p:x→yp:x\to y in AA, postcomposition uses K[p]K[p] on a hom ending at KxKx, while precomposition uses K[p]K[p] on a hom beginning at KyKy. Retaining KK is what lets the action iterate on higher cells.

9.2.1 Example 1: Postcomposition Accumulates

Let

g:w→x,u:x→y,v:y→z.g:w\to x,\qquad u:x\to y,\qquad v:y\to z.

Two consecutive lower-star cuts reduce to one:

v∗(u∗(g))⇝(v∘u)∗(g).v_*(u_*(g))\rightsquigarrow(v\circ u)_*(g).

Both sides are arrows w→zw\to z. The selected normal form retains a single postcomposition action whose moving arrow is v∘uv\circ u; 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 gg, hom_postcomp_func remains a functor between hom-categories, so its action on 2-cells between possible values of gg is still available.

For a general public functor KK, the strict functor law likewise identifies consecutive action by K[p]K[p] and K[q]K[q] with action by K[q∘p]K[q\circ p]. 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

u:w→x,v:x→y,h:y→z.u:w\to x,\qquad v:x\to y,\qquad h:y\to z.

The corresponding upper-star reduction is

u∗(v∗(h))⇝(v∘u)∗(h).u^*(v^*(h))\rightsquigarrow(v\circ u)^*(h).

Both sides are arrows w→zw\to z. The selected normal form is one precomposition action along v∘uv\circ u. 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 hh, we first precompose by vv and then by uu, but the accumulated base arrow is v∘uv\circ u. Thus

u∗∘v∗=(v∘u)∗.u^*\circ v^*=(v\circ u)^*.

That reversal is contravariance, not a special exception to associativity.

Evidence: CAT-HOM-CUTS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

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 F,G:A→BF,G:A\to B and let η:F⇒G\eta:F\Rightarrow G. A point component ηx:Fx→Gx\eta_x:Fx\to Gx is only the diagonal of a more useful operation. For every x,y:Ax,y:A there is an off-diagonal functor

ηx,y:Hom⁡A(x,y)⟶Hom⁡B(Fx,Gy).\eta_{x,y}:\operatorname{Hom}_A(x,y)\longrightarrow \operatorname{Hom}_B(Fx,Gy).

For f:x→yf:x\to y, write its value as η[f]:Fx→Gy\eta[f]:Fx\to Gy. Setting f=idxf=\mathrm{id}_x recovers ηx\eta_x; retaining the whole functor retains its action on 2-cells between arrows ff.

Evidence: TRANSF-POINT-OFFDIAGONAL [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence TRANSF-POINT-OFFDIAGONAL. tapp0_fapp0 observes the point component, while tapp1_func and tapp1_fapp0 expose the iterable and capped off-diagonal actions.

9.3.1 Example 3: The Two Naturality Cuts

Take arrows

h:w→x,f:x→y,g:y→z.h:w\to x,\qquad f:x\to y,\qquad g:y\to z.

For the stable view of a classified strict transfor η\eta, there are two neighboring cuts, one on each side of the varying arrow:

G[g]∘η[f]⇝η[g∘f],η[f]∘F[h]⇝η[f∘h].\begin{aligned} G[g]\circ\eta[f]&\rightsquigarrow\eta[g\circ f],\\ \eta[f]\circ F[h]&\rightsquigarrow\eta[f\circ h]. \end{aligned}

The first source and target are Fx→GzFx\to Gz; the second are Fw→GyFw\to Gy. 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 ff and f′f' is carried to a 2-cell between η[f]\eta[f] and η[f′]\eta[f'] after the cut has normalized.

Evidence: TRANSF-STRICT-NATURALITY [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence TRANSF-STRICT-NATURALITY. Both full-functor and capped-arrow forms reuse the generic tapp* 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 f:x→yf:x\to y, the expressions G[f]∘ηxG[f]\circ\eta_x and ηy∘F[f]\eta_y\circ F[f] both normalize through the common interior η[f]\eta[f]. 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 KK be a category equipped with chosen binary products. Take objects

A0,A1,B0,B1,C:Obj⁡(K)A_0,A_1,B_0,B_1,C:\operatorname{Obj}(K)

and arrows

h:A0→A1,k:B0→B1,g:A1→C.h:A_0\to A_1,\qquad k:B_0\to B_1,\qquad g:A_1\to C.

Write h×k:A0×B0→A1×B1h\times k:A_0\times B_0\to A_1\times B_1 for the induced product arrow, and distinguish the two projections by

π11:A1×B1→A1,π10:A0×B0→A0.\pi_1^1:A_1\times B_1\to A_1, \qquad \pi_1^0:A_0\times B_0\to A_0.

Upper-star precomposition in KK gives

(π11)∗(g):A1×B1→C.(\pi_1^1)^*(g):A_1\times B_1\to C.

The Došen-style product cut is the equation

(π11)∗(g)∘(h×k)=(π10)∗(g∘h),(\pi_1^1)^*(g)\circ(h\times k) = (\pi_1^0)^*(g\circ h),

with both sides in Hom⁡K(A0×B0,C)\operatorname{Hom}_K(A_0\times B_0,C). Its intended computational orientation is left to right. The calculation combines two controlled steps:

π11∘(h×k)=h∘π10\pi_1^1\circ(h\times k)=h\circ\pi_1^0

by product projection, followed by upper-star accumulation. The arrow kk disappears because the first projection observes only the first component.

The source is a composite out of A0×B0A_0\times B_0 and the target is a single upper-star cut with the same source and codomain. The selected normal form is (π10)∗(g∘h)(\pi_1^0)^*(g\circ h). 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 P[h,k]P[h,k] 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.

Evidence: TRIANGULAR-BINARY-PRODUCTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence TRIANGULAR-BINARY-PRODUCTS. For a supplied BinaryProducts(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 K=CatK=\mathsf{Cat}. Then Ai,Bi,CA_i,B_i,C are categories and h,k,gh,k,g are functors. The active product-valued-functor representation exposes projection by a Sigma observation. Its checked structural reduction is

fst(h×k)⇝h∘π10.\mathsf{fst}(h\times k)\rightsquigarrow h\circ\pi_1^0.

The checked, owner-aligned upper-star cut is

(π10)∗(h∗(g))⇝(h∘π10)∗(g),(\pi_1^0)^*(h^*(g)) \rightsquigarrow (h\circ\pi_1^0)^*(g),

and h∗(g)h^*(g) is proof-time comparable with the readable composite g∘hg\circ h. Both owner-aligned sides retain the upper-star precomposition head and therefore its higher action on transfors between possible functors gg.

The literal Cat\mathsf{Cat} 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 π11∘(h×k)\pi_1^1\circ(h\times k) directly to the selected observation fst(h×k)\mathsf{fst}(h\times k). Packaging that narrow projection/composition comparison would suffice. Installing a broad product eta rewrite would be a much stronger and unsafe response.

Evidence: CUT-PRODUCT-PROJECTION [checked · CategoryTheory.cut_product_projection_fst_eq, CategoryTheory.prodMapFunctor1, CategoryTheory.pi1Functor1, CartesianAdj.binary_product_hom_equiv]

Formal status — checked (Cat.Adjunction, CategoryTheory.IdempotentsWeightedEnds). Evidence CUT-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_eq packages the literal raw functor-composite equality (G∘π1)∘(H×K)=(G∘H)∘π1′(G \circ \pi_1) \circ (H \times K) = (G \circ H) \circ \pi_1' with 0 axioms without installing an unsafe global product-η\eta rewrite.

9.4.3 Example 5: Product Beta Is Elimination After Introduction

In a category KK with selected BinaryProducts(K,P), arrows p:X→Ap:X\to A and q:X→Bq:X\to B have a pairing ⟨p,q⟩:X→A×B\langle p,q\rangle:X\to A\times B. The characteristic structural cuts are

π1∘⟨p,q⟩=p,π2∘⟨p,q⟩=q.\pi_1\circ\langle p,q\rangle=p, \qquad \pi_2\circ\langle p,q\rangle=q.

The source and target of the first equation lie in Hom⁡K(X,A)\operatorname{Hom}_K(X,A), and those of the second lie in Hom⁡K(X,B)\operatorname{Hom}_K(X,B). Their selected normal forms are pp and qq. More generally, postcomposing either projection with hh gives the checked triangular beta rules from (30.7), and pairing distributes through precomposition. The whole pairing functor retains arrows between possible legs.

Evidence: TRIANGULAR-BINARY-PRODUCTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

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 p:a→a′p:a\to a' in AA and q:b→b′q:b\to b' in BB, the pair (p,q)(p,q) is an arrow (a,b)→(a′,b′)(a,b)\to(a',b') in the product category. The projection functors compute:

π1[p,q]⇝p,π2[p,q]⇝q.\pi_1[p,q]\rightsquigarrow p, \qquad \pi_2[p,q]\rightsquigarrow q.

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.

Evidence: CAT-PRODUCT-CALCULUS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

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 KK are already implemented.

9.4.4 Fibred Structural Cuts

The same introduction/elimination pattern appears in a dependent categorical context. Let B,C:K⊢CatcartB,C:K\vdash\mathsf{Cat}_{\mathrm{cart}} be independent families over one base, and let P(B,C)P(B,C) be their fibrewise product. For displayed functors

Φ:E⟹B,Ψ:E⟹C,\Phi:E\Longrightarrow B, \qquad \Psi:E\Longrightarrow C,

pairing introduces a map paird(Φ,Ψ):E⟹P(B,C)\mathsf{pair}_d(\Phi,\Psi):E\Longrightarrow P(B,C), while the two displayed projections eliminate it. Their structural cuts are whole displayed-functor reductions:

projLd∘paird(Φ,Ψ)⇝Φ,projRd∘paird(Φ,Ψ)⇝Ψ.\mathsf{projL}_d\circ\mathsf{pair}_d(\Phi,\Psi) \rightsquigarrow\Phi, \qquad \mathsf{projR}_d\circ\mathsf{pair}_d(\Phi,\Psi) \rightsquigarrow\Psi.

These equations say more than pointwise product beta. At an object k:Kk:K, pairing is the ordinary product pairing in the fibre. Over a base arrow p:k→lp:k\to l, its action is the pair of the two displayed actions over the same pp. Its canonical internalized cell at a fibre object uu is likewise componentwise:

cell(paird(Φ,Ψ),p,u)=(cell(Φ,p,u),cell(Ψ,p,u)).\mathsf{cell}\bigl(\mathsf{pair}_d(\Phi,\Psi),p,u\bigr) = \bigl( \mathsf{cell}(\Phi,p,u), \mathsf{cell}(\Psi,p,u) \bigr).

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 k:K,b:B[k],c:C[k]k:K,b:B[k],c:C[k]; it does not exchange a variable with another whose classifier depends on it.

Evidence: CAT-FIBREWISE-CONTEXT [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-FIBREWISE-CONTEXT covers 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-KK 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 F:R→LF:R\to L be left adjoint to G:L→RG:L\to R, with unit η:idR⇒GF\eta:\mathrm{id}_R\Rightarrow GF and counit ε:FG⇒idL\varepsilon:FG\Rightarrow\mathrm{id}_L.

For g:X→X′g:X\to X' in RR and f:FX′→Yf:FX'\to Y in LL, the left triangle cut is

ε[f]∘F[η[g]]⇝f∘F[g].\varepsilon[f]\circ F[\eta[g]] \rightsquigarrow f\circ F[g].

Both sides have source FXFX and target YY. The selected normal form removes the adjacent unit-counit detour while preserving the ordinary functor action F[g]F[g].

Dually, for f:X→GY′f:X\to GY' in RR and g:Y′→Yg:Y'\to Y in LL, the right triangle cut is

G[ε[g]]∘η[f]⇝G[g]∘f.G[\varepsilon[g]]\circ\eta[f] \rightsquigarrow G[g]\circ f.

Both sides have source XX and target GYGY. 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 ff and gg remains part of the surrounding functorial calculus.

Evidence: ADJ-TRIANGLE-CUTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence ADJ-TRIANGLE-CUTS. unit_adj_transf and counit_adj_transf are 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 P:A⇝BP:A\rightsquigarrow B, the right and left unit maps have the forms

P⊗BUB⟹P,UA⊗AP⟹P.P\otimes_B U_B\Longrightarrow P, \qquad U_A\otimes_A P\Longrightarrow P.

If pp is a shaped element and id\mathrm{id} is the matching identity-shaped hom element, their component cuts reduce as

εPR(p⊗id)⇝p,εPL(id⊗p)⇝p.\varepsilon^R_P(p\otimes\mathrm{id})\rightsquigarrow p, \qquad \varepsilon^L_P(\mathrm{id}\otimes p)\rightsquigarrow p.

The source is a shaped element of the corresponding tensor and the target is the original shaped element of PP. The normal form is pp; 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 P→P′P\to P', so this beta law is not merely a capped set-level equation.

Evidence: PROF-COYONEDA [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

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 M:I→BM:I\to B, it supplies operations

push(r):R⟹Hom⁡(M,L),pull(s):R⟹Cone⁡W(M,F).\mathsf{push}(r):R\Longrightarrow\operatorname{Hom}(M,L), \qquad \mathsf{pull}(s):R\Longrightarrow\operatorname{Cone}_W(M,F).

Their universal cuts reduce in both directions:

pull(push(r))⇝r,push(pull(s))⇝s.\mathsf{pull}(\mathsf{push}(r))\rightsquigarrow r, \qquad \mathsf{push}(\mathsf{pull}(s))\rightsquigarrow s.

The source and target are profunctor maps of the displayed kinds, and the normal forms are the original maps rr and ss. 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.

Evidence: PROF-COMPARISON-BETA-ETA [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

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 L ⁣a:A→BL_{\!a}:A\to B is left adjoint to R ⁣a:B→AR_{\!a}:B\to A, and a comparison certifies L:J′→BL:J'\to B as the WW-weighted limit of F:J→BF:J\to B. 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 R ⁣aLR_{\!a}L as the weighted limit of R ⁣aFR_{\!a}F.

The source is the supplied weighted-limit comparison together with the adjunction; the target is the transported comparison in AA. 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.

Evidence: WEIGHTED-LIMIT-PRESERVATION [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

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 WW-weighted colimit in BB is represented by the corresponding weighted limit in BopB^{\mathrm{op}}. 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.

Evidence: WEIGHTED-COLIMIT-PRESERVATION [checked · JoinSpectra.JoinCat, JoinSpectra.join_universal_equiv, JoinSpectra.left_adjoint_preserves_weighted_colimits]

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:

introduction or action+matching elimination⟶one semantic owner.\text{introduction or action} \quad+\quad \text{matching elimination} \quad\longrightarrow\quad \text{one semantic owner}.

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 E,D:K→CatcartE,D:K\to\mathsf{Cat}_{\mathrm{cart}} be directed families and let

Φ:E⟹D\Phi:E\Longrightarrow D

be a natural family morphism. At each k:Kk:K it has a fibre functor Φk:E[k]→D[k]\Phi_k:E[k]\to D[k]. A transfor ϵ:Φ⇒Ψ\epsilon:\Phi\Rightarrow\Psi has a fibrewise transfor and point components at objects of each fibre.

Evidence: TRANSFD-FIBRE-COMPONENTS [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence TRANSFD-FIBRE-COMPONENTS. The stable displayed presentations are Transfd_cat and Transfd; Fibre_transf and Fibre_transf_app expose their fibre and object projections.

When the base moves along p:x→yp:x\to y, the two relevant transports do not have to be equal. Starting with u:E[x]u:E[x], the internal displayed hom action gives a directed cell

χp,uΦ:D[p](Φxu)⟶Φy(E[p]u)\chi^\Phi_{p,u}: D[p](\Phi_xu)\longrightarrow\Phi_y(E[p]u)

in D[y]D[y]. 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.

Evidence: FUNCTORD-DISPLAYED-LAXITY [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence FUNCTORD-DISPLAYED-LAXITY. The endpoint functors are functord_transport_lhs_func and functord_transport_rhs_func; the active component is fdapp1_int_cell.

For a fibre arrow α:E[p](u)→v\alpha:E[p](u)\to v, the capped displayed action has the readable form

Φy[α]∘χp,uΦ:D[p](Φxu)⟶Φyv.\Phi_y[\alpha]\circ\chi^\Phi_{p,u}: D[p](\Phi_xu)\longrightarrow\Phi_yv.

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,

ΣΦ:∑k:KE[k]⟶∑k:KD[k].\Sigma\Phi:\sum_{k:K}E[k]\longrightarrow\sum_{k:K}D[k].

An arrow in the source has the form (p,α):(x,u)→(y,v)(p,\alpha):(x,u)\to(y,v), where α:E[p](u)→v\alpha:E[p](u)\to v. Its image is

(p,Φd[p,u,v,α]).(p,\Phi^d[p,u,v,\alpha]).

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 v=E[p](u)v=E[p](u) and α\alpha is the identity.

Evidence: FUNCTORD-SIGMA-ACTION [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence FUNCTORD-SIGMA-ACTION. sigma_map_func owns the total functor, whose arrow projection uses the capped internal displayed action rather than reconstructing a comparison composite.

For the contextual WalkingEnd decoder

decoded:Code⟹Rep∗,\mathsf{decode}^d:\mathsf{Code}\Longrightarrow\mathsf{Rep}_*,

the generator comparison is the spiral. Evaluated at a base arrow p:∗→xp:*\to x and zero, its endpoints reduce to

panddecodex(encodex(p)).p \qquad\text{and}\qquad \mathsf{decode}_x(\mathsf{encode}_x(p)).

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-KK product benchmark needs a general chosen-product interface. Its Cat\mathsf{Cat} 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.
Evidence: FUNCTORD-WHOLE-LAXITY [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

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.

LayerCharacteristic dataEquality or height conditionRole here
Native Catobjects and iterated Hom_cat classifiersno set-valued-hom premise in the definitionambient directed higher language
Equality-local Path(A)elements of AA and identity evidence between themevery arrow is induced by equalitygroupoidal specialization used for ordinary type theory
Finite IsNCat evidence, including OneCata native category plus a recursive hom-height witnessone-dimensionality makes each next hom discretebridge to ordinary category-shaped examples
HoTT precategorya type of objects and set-valued homsequality between parallel arrows is proposition-valuedordinary 1-categorical specialization
HoTT categorya HoTT precategory for which object identity agrees with isomorphismidtoiso is an equivalenceunivalent 1-category notion, not the definition of native Cat
HoTT strict categorya HoTT precategory whose object type is a setobject identity is proposition-valued, without assuming idtoiso is an equivalencea 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 A\mathcal A consists of:

  • a type Obj⁡(A)\operatorname{Obj}(\mathcal A) of objects;
  • for each a,ba,b, a set Hom⁡A(a,b)\operatorname{Hom}_{\mathcal A}(a,b);
  • identity arrows ida\mathrm{id}_a;
  • composition g∘fg\circ f, typed so that f:a→bf:a\to b and g:b→cg:b\to c;
  • 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 CC equipped with one-dimensional evidence. For every pair x,yx,y, the witness

IsNCat⁡(1,C)\operatorname{IsNCat}(1,C)

makes the next hom-category Hom⁡C(x,y)\operatorname{Hom}_{C}(x,y) discrete. Its objects are the ordinary arrows; the discreteness evidence controls their higher equality. The same witness also implies the corresponding truncation bound on Obj⁡(C)\operatorname{Obj}(C), but it still says nothing about whether every ordinary isomorphism comes from object identity.

Evidence: CAT-ITERATED-HOMS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]
Evidence: CAT-DIMENSION [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-ITERATED-HOMS and CAT-DIMENSION. Native Cat has category-valued homs, IsNCat recurses 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 a,ba,b of an ordinary precategory, an isomorphism a≅ba\cong b consists of arrows

f:a⟶b,g:b⟶af:a\longrightarrow b, \qquad g:b\longrightarrow a

with g∘f=idag\circ f=\mathrm{id}_a and f∘g=idbf\circ g=\mathrm{id}_b. Since the homs are sets, an inverse to a fixed ff 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 p:a=bp:a=b, identity induction defines

idtoiso⁡A(p):a≅b\operatorname{idtoiso}_{\mathcal A}(p):a\cong b

by sending reflexivity to the identity isomorphism. This map exists before assuming univalence. The additional assertion that A\mathcal A is a category in the HoTT sense is that

idtoiso⁡A:(a=b)⟶(a≅b)\operatorname{idtoiso}_{\mathcal A}: (a=b)\longrightarrow(a\cong b)

is an equivalence for every a,ba,b.

Evidence: UCAT-IDENTITY-ISOMORPHISM [checked · CategoryTheory.idToIso1, CategoryTheory.univalent_obj_eq_equiv_iso, SIP.IsUnivalentCat1]

Formal status — checked (CategoryTheory.YonedaFundamental, Cat.UnivalentSIP). Evidence UCAT-IDENTITY-ISOMORPHISM (Stacks 0014, Cisinski §6.1, Mathlib CategoryTheory.Iso). CategoryTheory.idToIso1 maps object equality to categorical isomorphism, and CategoryTheory.univalent_obj_eq_equiv_iso establishes the 0-axiom equivalence (a=b)≃(a≅b)(a = b) \simeq (a \cong b) under IsUnivalentCat1 (while SIP.bz2_not_univalent separates strictness from univalence in Chapter 14). It is intentionally scoped to set-valued-hom 1-categories rather than every native higher Cat.

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 p:a=a′p:a=a', q:b=b′q:b=b', and f:a→bf:a\to b, then transporting ff across both endpoint identities agrees with

idtoiso⁡(q)∘f∘idtoiso⁡(p)−1:a′⟶b′.\operatorname{idtoiso}(q) \circ f\circ \operatorname{idtoiso}(p)^{-1} :a'\longrightarrow b'.

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.

NotionTypical expressionWhat it compares
object identityp:x=yp:x=y in Obj⁡(C)\operatorname{Obj}(C)two objects in the underlying equality layer
path-generated arrowpath_to_hom⁡(p):x→y\operatorname{path\_to\_hom}(p):x\to ythe directed arrow induced by object identity
ordinary isomorphismIsoEvidence⁡C(x,y)\operatorname{IsoEvidence}_C(x,y)inverse arrows with equality-valued cancellation
carrier equivalenceA≃BA\simeq B via TypeEquivtwo decoded groupoidal carriers
native omega-equivalenceOmegaEquiv⁡C(x,y)\operatorname{OmegaEquiv}_C(x,y)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.

Evidence: EQUIV-OMEGA [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]
Evidence: EQUIV-TYPE [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence EQUIV-OMEGA and EQUIV-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 AA, the native category

Path⁡(A)\operatorname{Path}(A)

has the elements of AA as objects and identity evidence x=yx=y as the hom from xx to yy. 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.

Evidence: CAT-PATH-CATEGORY [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-PATH-CATEGORY. Path_cat, Path_cat_func, and path_map_func retain the equality-local category and its iterable functor action.

The ordinary and native readings coincide only under the appropriate height condition. If AA is a 1-type, each identity type x=yx=y is a set, so Path⁡(A)\operatorname{Path}(A) can be read as an ordinary HoTT precategory. For a general AA, 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 Path⁡(A)\operatorname{Path}(A) 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 aa to bb. Isomorphism then means a≤ba\leq b and b≤ab\leq a. 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 i:x≅yi:x\cong y, its forward arrow and inverse laws define

iso_evidence_omega_equiv⁡(i):OmegaEquiv⁡C(x,y).\operatorname{iso\_evidence\_omega\_equiv}(i): \operatorname{OmegaEquiv}_C(x,y).

The construction keeps the forward arrow selected by ii and packages its inverse evidence in the recursive native facade. It is a structural lift, not a decoder identifying isomorphism evidence with object identity.

Evidence: EQUIV-ORDINARY-ISO-LIFT [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence EQUIV-ORDINARY-ISO-LIFT. The owners are iso_evidence_omega_along and iso_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.

  1. Which equivalence classifier is compared with object identity?
  2. Does the comparison retain a selected directed arrow?
  3. How does it act on every next hom-category?
  4. 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

(x=y)≃IsoEvidence⁡C(x,y)(x=y)\simeq\operatorname{IsoEvidence}_C(x,y)

for arbitrary native CC, nor a general saturation theorem that freely adds such identities.

Evidence: UNIV-FULL-OBJECT-ISO [research-boundary]

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 A\mathcal A and B\mathcal B, a functor F:A→BF:\mathcal A\to\mathcal B consists of an object function and functions

Fa,b:Hom⁡A(a,b)⟶Hom⁡B(Fa,Fb)F_{a,b}: \operatorname{Hom}_{\mathcal A}(a,b) \longrightarrow \operatorname{Hom}_{\mathcal B}(Fa,Fb)

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

Fx,y:Hom⁡A(x,y)⟶Hom⁡B(Fx,Fy).F_{x,y}: \operatorname{Hom}_{A}(x,y) \longrightarrow \operatorname{Hom}_{B}(Fx,Fy).

Evaluating that functor at an arrow f:x→yf:x\to y gives F[f]F[f]. Keeping the full hom functor visible also keeps its action on 2-cells between arrows, and then on higher cells by iteration.

Evidence: CAT-FUNCTOR-CALCULUS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-FUNCTOR-CALCULUS. fapp0 is object action, fapp1_func is the full next-hom action, and fapp1_fapp0 is 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:

F[g]∘F[f]⇝F[g∘f].F[g]\circ F[f]\rightsquigarrow F[g\circ f].

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 F,G:A→BF,G:\mathcal A\to\mathcal B, a natural transformation η:F⇒G\eta:F\Rightarrow G is usually presented by arrows

ηx:Fx⟶Gx\eta_x:Fx\longrightarrow Gx

such that every f:x→yf:x\to y satisfies

G[f]∘ηx=ηy∘F[f].G[f]\circ\eta_x=\eta_y\circ F[f].

The native transfor retains the common interior of this square. For every pair x,yx,y it supplies an off-diagonal functor

ηx,y:Hom⁡A(x,y)⟶Hom⁡B(Fx,Gy).\eta_{x,y}: \operatorname{Hom}_{A}(x,y) \longrightarrow \operatorname{Hom}_{B}(Fx,Gy).

We write η[f]:Fx→Gy\eta[f]:Fx\to Gy for its value at ff. The point component is recovered at the identity:

η[idx]⇝ηx.\eta[\mathrm{id}_x]\rightsquigarrow\eta_x.
Evidence: TRANSF-POINT-OFFDIAGONAL [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence TRANSF-POINT-OFFDIAGONAL. The point projection is tapp0_fapp0; tapp1_func and tapp1_fapp0 expose 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:

η[f]=G[f]∘ηx=ηy∘F[f].\eta[f] =G[f]\circ\eta_x =\eta_y\circ F[f].

In the native higher setting, however, retaining ηx,y\eta_{x,y} as a functor also retains its action on cells between possible ff'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

h:w→x,f:x→y,g:y→z.h:w\to x,\qquad f:x\to y,\qquad g:y\to z.

For a stable classified strict transfor η\eta, the two naturality computations are

G[g]∘η[f]⇝η[g∘f],η[f]∘F[h]⇝η[f∘h].\begin{aligned} G[g]\circ\eta[f]&\rightsquigarrow\eta[g\circ f],\\ \eta[f]\circ F[h]&\rightsquigarrow\eta[f\circ h]. \end{aligned}

Setting ff to an identity makes the usual strict naturality square reappear. Both boundary composites normalize through the same off-diagonal interior η[f]\eta[f]. 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 f:x→yf:x\to y, this retained comparison has direction

G[f]∘ηx⟹ηy∘F[f].G[f]\circ\eta_x\Longrightarrow\eta_y\circ F[f].

The strict-transfor classifier additionally makes the post/left cut strict.

Evidence: TRANSF-STRICT-NATURALITY [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence TRANSF-STRICT-NATURALITY. Both capped equations and their uncapped hom-functor forms are runtime reductions at the stable strict_transfor view, using the existing tapp1* 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 AA and BB, the category

[A,B]:=Functor_cat⁡(A,B)[A,B]:=\operatorname{Functor\_cat}(A,B)

has strict functors A→BA\to B as objects. Its hom-category between FF and GG is

Transf_cat⁡(F,G).\operatorname{Transf\_cat}(F,G).

An identity arrow in [A,B][A,B] is the identity transfor. Composition in [A,B][A,B] is vertical composition of transfors. Iterating the hom of Transf_cat⁡(F,G)\operatorname{Transf\_cat}(F,G) yields modifications and higher transfors without changing the ambient notion of category.

The Cartesian mapping category Cart⁡(A,B)\operatorname{Cart}(A,B) has the same functor objects but requires strict transformations internally. It supports joint Cartesian evaluation and currying. The ordinary category [A,B][A,B] 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 Catcart\mathsf{Cat}_{\mathrm{cart}} uses the Cartesian Homs; the public universe uses [A,B][A,B].

Evidence: CAT-TRANSFOR-CALCULUS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-TRANSFOR-CALCULUS. Functor_cat and Transf_cat are active native categories, and Hom_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 η:F⇒G\eta:F\Rightarrow G and K:B→CK:B\to C, post-whiskering gives

Kη:KF⇒KG.K\eta:KF\Rightarrow KG.

If H:X→AH:X\to A, pre-whiskering gives

ηH:FH⇒GH.\eta H:FH\Rightarrow GH.

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

α:F⇒G:A→B,β:H⇒K:B→C.\alpha:F\Rightarrow G:A\to B, \qquad \beta:H\Rightarrow K:B\to C.

Their horizontal composite can be read at an object aa in either of the ordinary forms

βGa∘H[αa],K[αa]∘βFa.\beta_{Ga}\circ H[\alpha_a], \qquad K[\alpha_a]\circ\beta_{Fa}.

Strict naturality of β\beta identifies the two. For a general lax β\beta, 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 Cart⁡(A,B)\operatorname{Cart}(A,B) 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.

Evidence: TRANSF-HORIZONTAL-CALCULUS [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence TRANSF-HORIZONTAL-CALCULUS. The generic owner is comp_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,

(β2∘β1)∗(α2∘α1)=(β2∗α2)∘(β1∗α1).(\beta_2\circ\beta_1)\ast(\alpha_2\circ\alpha_1) = (\beta_2\ast\alpha_2)\circ(\beta_1\ast\alpha_1).

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 A\mathcal A be an ordinary precategory and B\mathcal B an ordinary univalent category. Then the functor precategory [A,B][\mathcal A,\mathcal B] is a univalent category. The reason is pointwise but not merely syntactic:

  1. an identity F=GF=G gives a natural isomorphism by identity induction;
  2. a natural isomorphism gives pointwise isomorphisms Fx≅GxFx\cong Gx;
  3. univalence of B\mathcal B turns those into pointwise identities;
  4. function extensionality assembles equality of object functions;
  5. 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.

Evidence: UCAT-FUNCTOR-CATEGORY [checked · CategoryTheory.FunctorCat1, CategoryTheory.pointwise_iso_of_natTrans_iso, CategoryTheory.natTrans_iso_of_pointwise_iso]

Formal status — checked (CategoryTheory.YonedaFundamental). Evidence UCAT-FUNCTOR-CATEGORY (Stacks 001C, Cisinski §6.2, Mathlib CategoryTheory.Functor.Category). CategoryTheory.FunctorCat1 organizes ordinary functors and natural transformations into a 0-axiom 1-category in which pointwise_iso_of_natTrans_iso and natTrans_iso_of_pointwise_iso prove that a natural transformation is invertible in [A,B][\mathcal{A}, \mathcal{B}] if and only if each component ηx:Fx→Gx\eta_x : Fx \to Gx is an isomorphism in B\mathcal{B}.

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_cat and coherent with tapp1_func at 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

F:A⟶B,G:B⟶A.F:A\longrightarrow B, \qquad G:B\longrightarrow A.

An adjunction F⊣GF\dashv G has a unit and counit

η:idA⇒GF,ε:FG⇒idB,\eta:\mathrm{id}_A\Rightarrow GF, \qquad \varepsilon:FG\Rightarrow\mathrm{id}_B,

subject to the two triangle identities. In ordinary notation these say

(εF)∘(Fη)=idF,(Gε)∘(ηG)=idG.(\varepsilon F)\circ(F\eta)=\mathrm{id}_F, \qquad (G\varepsilon)\circ(\eta G)=\mathrm{id}_G.

The active Adjunction classifier keeps FF and GG 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 FF, GG, η\eta, and ε\varepsilon—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

g:X→X′,f:FX′→Y.g:X\to X', \qquad f:FX'\to Y.

The left triangle cut is

ε[f]∘F[η[g]]⇝f∘F[g].\varepsilon[f]\circ F[\eta[g]] \rightsquigarrow f\circ F[g].

Both sides are arrows FX→YFX\to Y. The unit moves gg into the GFGF boundary, the functor FF acts on that off-diagonal component, and the counit removes the resulting FGFG detour.

Dually, for

f:X→GY′,g:Y′→Y,f:X\to GY', \qquad g:Y'\to Y,

the right triangle cut is

G[ε[g]]∘η[f]⇝G[g]∘f.G[\varepsilon[g]]\circ\eta[f] \rightsquigarrow G[g]\circ f.

Both sides are arrows X→GYX\to GY. Setting ff and gg to suitable identities recovers the familiar pointwise triangle identities. Retaining arbitrary ff and gg exhibits the naturality and higher action consumed by the cut.

Evidence: ADJ-TRIANGLE-CUTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence ADJ-TRIANGLE-CUTS. The indexed owner is Adjunction; unit_adj_transf and counit_adj_transf expose 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

Φa,b:Hom⁡B(Fa,b)≃Hom⁡A(a,Gb).\Phi_{a,b}: \operatorname{Hom}_B(Fa,b) \simeq \operatorname{Hom}_A(a,Gb).

Starting from the unit and counit, its two directions are

Φa,b(u)=G[u]∘ηa,Φa,b−1(v)=εb∘F[v].\begin{aligned} \Phi_{a,b}(u)&=G[u]\circ\eta_a,\\ \Phi^{-1}_{a,b}(v)&=\varepsilon_b\circ F[v]. \end{aligned}

The triangle identities cancel the introduced unit-counit pairs, while naturality makes the construction contravariant in aa and covariant in bb. This is why transposition is more than a family of bijections: it is a comparison of represented hom functors.

In the active interface, let M:I→AM:I\to A and H:K→BH:K\to B be arbitrary probes. The reindexed comparison has the profunctor form

Hom⁡B(FM,H)≃Hom⁡A(M,GH).\operatorname{Hom}_B(FM,H) \simeq \operatorname{Hom}_A(M,GH).

The endpoints II and KK 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.

Evidence: ADJ-HOM-PROF-COMPARISON [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence ADJ-HOM-PROF-COMPARISON. Adjunction_hom_prof_comparison is the binary representable comparison, and Adjunction_hom_prof_comparison_along reindexes it along arbitrary probes. Its push/pull beta and eta laws are inherited from ProfComparison; 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.

Evidence: ORDINARY-HOM-COMPARISON-DATA [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

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.

Evidence: ORDINARY-ADJUNCTION-INTRODUCTION [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked interface. Evidence ORDINARY-ADJUNCTION-INTRODUCTION. The constructor one_cat_adjunction_from_hom_comparison is 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.

Evidence: ORDINARY-ADJUNCTION-FAMILIES [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked interface. Evidence ORDINARY-ADJUNCTION-FAMILIES. The structural owners are one_cat_postcomp_adjunction and one_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.

Evidence: NATIVE-KERNEL-COKERNEL-UNIVERSALITY [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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 F:A→BF:A\to B left adjoint to G:B→AG:B\to A, put

T=GF:A⟶A.T=GF:A\longrightarrow A.

The adjunction unit is already a transformation

η:id⁡A⇒T.\eta:\operatorname{id}_A\Rightarrow T.

The counit supplies multiplication by applying GG on the left and FF on the right:

μ=GεF:T2⇒T.(12.1)\mu=G\varepsilon F:T^2\Rightarrow T. \tag{12.1}

Thus (T,η,μ)(T,\eta,\mu) is the monad selected by the adjunction. Equation (12.1) is not an opaque multiplication law: the whole multiplication observation computes to the transparent GεFG\varepsilon F construction.

The useful triangular operation, following the cut-elimination viewpoint of Došen, is extension. For an arrow

f:X⟶TY,f:X\longrightarrow TY,

define

f∗:TX⟶TY,f∗=μY∘T[f].(12.2)f^*:TX\longrightarrow TY, \qquad f^*=\mu_Y\circ T[f]. \tag{12.2}

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 ff's.

Let ηc(f)\eta^c(f) denote the off-diagonal unit action on f:X→Yf:X\to Y. The two ambient Došen cuts are

g∗∘ηc(f)⇝g∘f,g∗∘f∗⇝(g∗∘f)∗.(12.3)\begin{aligned} g^*\circ\eta^c(f) &\rightsquigarrow g\circ f,\\ g^*\circ f^* &\rightsquigarrow (g^*\circ f)^*. \end{aligned} \tag{12.3}

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:

μX⇝(id⁡TX)∗.(12.4)\mu_X\rightsquigarrow (\operatorname{id}_{TX})^*. \tag{12.4}

This monad calculus lives in the ambient category AA. 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 GεFG\varepsilon F, 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.

Evidence: MONAD-TRIANGULAR-COMPUTATION [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

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_monad constructs the selected instance with runtime unit and transparent GεFG\varepsilon F multiplication semantics. Free-monad syntax, a global commuting decision procedure, and an explicit Kleisli category are not claimed.

12.5 Adjoints As Representability

Fix F:A→BF:A\to B and an object b:Bb:B. The contravariant hom functor

a⟼Hom⁡B(Fa,b)a\longmapsto\operatorname{Hom}_B(Fa,b)

is represented by an object GbGb exactly when there is a natural equivalence

Hom⁡B(F−,b)≃Hom⁡A(−,Gb).\operatorname{Hom}_B(F{-},b) \simeq \operatorname{Hom}_A({-},Gb).

If such representing objects are chosen coherently as bb varies, they form a functor G:B→AG:B\to A, and the representations assemble into F⊣GF\dashv G. 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 Hom⁡B(F−,b)\operatorname{Hom}_B(F{-},b); a left adjoint is the functor whose outgoing homs are being represented.

Evidence: UCAT-ADJOINT-REPRESENTABILITY [checked · CategoryTheory.RightAdjoint1, CategoryTheory.right_adjoint_unique_iso]

Formal status — checked (CategoryTheory.YonedaFundamental). Evidence UCAT-ADJOINT-REPRESENTABILITY (Stacks 0037, Cisinski §6.1.9, Mathlib CategoryTheory.Adjunction.Basic). CategoryTheory.RightAdjoint1 packages natural Hom-representability Hom⁡B(Fa,b)≃Hom⁡A(a,Gb)\operatorname{Hom}_B(Fa, b) \simeq \operatorname{Hom}_A(a, Gb) directly in .en, complementing Cat.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 F:A→BF:A\to B has two right adjoints GG and G′G'. Their hom representations give, for every bb,

Hom⁡A(−,Gb)≃Hom⁡B(F−,b)≃Hom⁡A(−,G′b).\operatorname{Hom}_A(-,Gb) \simeq \operatorname{Hom}_B(F-,b) \simeq \operatorname{Hom}_A(-,G'b).

Yoneda turns this into a canonical isomorphism Gb≅G′bGb\cong G'b, natural in bb. If AA is an ordinary univalent category, those isomorphisms determine identity of the right-adjoint functors. Hence the type asserting that FF has a right adjoint is a mere proposition under the appropriate univalence hypothesis.

Evidence: UCAT-ADJOINT-UNIQUENESS [checked · CategoryTheory.right_adjoint_unique_iso, CategoryTheory.right_adjoint_unique_eq_of_univalent]

Formal status — checked (CategoryTheory.YonedaFundamental). Evidence UCAT-ADJOINT-UNIQUENESS (Stacks 0037, Cisinski §6.1.12, Mathlib CategoryTheory.Adjunction.Unique). right_adjoint_unique_iso constructs the canonical Yoneda isomorphism Gb≅G′bGb \cong G'b between any two right adjoints to FF, and right_adjoint_unique_eq_of_univalent upgrades those pointwise isomorphisms to propositional object equality Gb=G′bGb = G'b whenever AA is univalent (0 axioms).

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.

NotionData or propertyWhat it controls
carrier equivalencea TypeEquiv between decoded classifierselements and identity structure of two carriers
ordinary object isomorphisminverse arrows x⇄yx\rightleftarrows y inside one categorycategorical sameness of two objects at the 1-cell level
isomorphism of precategoriesa functor that is fully faithful and whose object map is a carrier equivalencestrict invertibility of the whole ordinary presentation
categorical equivalencea functor with a quasi-inverse promoted to coherent adjoint-equivalence datasameness up to natural isomorphism
weak equivalencefully faithful and merely essentially surjectiveproperty-level ordinary categorical equivalence criterion
native omega-equivalencea selected arrow with recursively usable inverse evidenceequivalence 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 F:A→BF:\mathcal A\to\mathcal B:

  • FF is fully faithful if every hom map from Hom⁡A(a,a′)\operatorname{Hom}_{\mathcal A}(a,a') to Hom⁡B(Fa,Fa′)\operatorname{Hom}_{\mathcal B}(Fa,Fa') is an equivalence;
  • FF is split essentially surjective if each b:Bb:\mathcal B comes with a chosen a:Aa:\mathcal A and a chosen isomorphism Fa≅bFa\cong b;
  • FF is essentially surjective if the existence of such aa 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.

Evidence: UCAT-EQUIVALENCE-CRITERIA [checked · CategoryTheory.ff_and_splitEssSurj_to_catEquiv, CategoryTheory.catEquiv_is_faithful, CategoryTheory.inclBoolToPoset_not_catEquiv]

Formal status — checked (CategoryTheory.YonedaFundamental). Evidence UCAT-EQUIVALENCE-CRITERIA (Stacks 001J, Cisinski §6.3, Mathlib CategoryTheory.Equivalence). The Fundamental Theorem of Category Theory is proved with 0 axioms in ff_and_splitEssSurj_to_catEquiv (with converse faithfulness in catEquiv_is_faithful), while soundness control NC-15a Part 1a (inclBoolToPoset_not_full, inclBoolToPoset_not_catEquiv) proves that the faithful, split essentially surjective inclusion Discrete(Bool)→(0≤1)\mathrm{Discrete}(\mathrm{Bool}) \to (0 \le 1) fails fullness and therefore refutes CatEquiv1 into Empty.

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 FF, a proposed inverse GG, and natural isomorphisms

GF≅idA,FG≅idBGF\cong\mathrm{id}_A, \qquad FG\cong\mathrm{id}_B

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 Adjunction relation 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,

(A=B)≃(A≅B)≃(A≃catB),(\mathcal A=\mathcal B) \simeq (\mathcal A\cong\mathcal B) \simeq (\mathcal A\simeq_{\mathrm{cat}}\mathcal B),

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.

Evidence: UCAT-CATEGORY-IDENTITY [checked · CategoryTheory.ff_and_splitEssSurj_to_catEquiv, CategoryTheory.univalent_obj_eq_equiv_iso, SIP.sip_univalent_cat1]

Formal status — checked (CategoryTheory.YonedaFundamental, Cat.UnivalentSIP). Evidence UCAT-CATEGORY-IDENTITY (Cisinski §6.3, Mathlib CategoryTheory.Equivalence). ff_and_splitEssSurj_to_catEquiv, univalent_obj_eq_equiv_iso, and Chapter 15's SIP.sip_univalent_cat1 align isomorphism and categorical equivalence across univalent 1-categories (0 axioms), while native (∞,ω)(\infty, \omega)-saturation of StrictCat stays 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.

Evidence: EQUIV-ORDINARY-ISO-LIFT [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]

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 CC and groupoid GG, restriction along the groupoidification unit gives

Hom⁡Grpd(Groupoidify(C),G)≃Functor⁡(C,Path⁡(G)).\operatorname{Hom}_{\mathsf{Grpd}}(\mathsf{Groupoidify}(C),G) \simeq \operatorname{Functor}(C,\operatorname{Path}(G)).

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).

Evidence: GENERIC-GROUPOIDIFICATION-MAPPING [checked · Groupoidify.Carrier, Groupoidify.universal_equiv, Groupoidify.walking_arrow_equiv_unit, Groupoidify.walking_arrow_map_equiv]

Formal status — checked. Evidence GENERIC-GROUPOIDIFICATION-MAPPING. Chapter 27 constructs the unit, recursor, concrete WalkingEnd/Circle and WalkingArrow/Interval comparisons, source functoriality Groupoidify.map, and the packaged Groupoidify ⊣ Path adjunction (0 axioms).

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 A\mathcal A be an ordinary precategory. A presheaf is a functor

P:Aop⟶Set.P:\mathcal A^{\mathrm{op}}\longrightarrow\mathsf{Set}.

For a:Aa:\mathcal A, the contravariant representable presheaf is

y(a):=Hom⁡A(−,a).y(a):=\operatorname{Hom}_{\mathcal A}(-,a).

An arrow u:a→bu:a\to b induces a natural transformation y(u):y(a)⇒y(b)y(u):y(a)\Rightarrow y(b) by postcomposition:

y(u)x(f)=u∘f=u∗(f).y(u)_x(f)=u\circ f=u_*(f).

This defines the Yoneda embedding

y:A⟶[Aop,Set].y:\mathcal A\longrightarrow [\mathcal A^{\mathrm{op}},\mathsf{Set}].

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 aa produces the restriction-oriented total

Into⁡A−(a):=∑x:AopHom⁡A(x,a)\operatorname{Into}^{-}_{\mathcal A}(a) :=\sum_{x:\mathcal A^{\mathrm{op}}} \operatorname{Hom}_{\mathcal A}(x,a)

whose opposite is the conventional slice A/a\mathcal A/a. 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

ya:=Hom⁡A(a,−):A⟶Set.y^{a}:=\operatorname{Hom}_{\mathcal A}(a,-): \mathcal A\longrightarrow\mathsf{Set}.

It is contravariant in the represented object aa: an arrow u:a→bu:a\to b induces precomposition

u∗:Hom⁡A(b,−)⟹Hom⁡A(a,−).u^*:\operatorname{Hom}_{\mathcal A}(b,-) \Longrightarrow \operatorname{Hom}_{\mathcal A}(a,-).

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 P:Aop→SetP:\mathcal A^{\mathrm{op}}\to\mathsf{Set}, the Yoneda equivalence is

Nat⁡(y(a),P)≃P(a).\operatorname{Nat}(y(a),P)\simeq P(a).

Its forward map evaluates a natural transformation at the identity:

encode⁡(α):=αa(ida).\operatorname{encode}(\alpha) :=\alpha_a(\mathrm{id}_a).

For p:P(a)p:P(a), the reverse map defines a natural transformation by

decode⁡(p)x(f):=P[f](p),f:x→a.\operatorname{decode}(p)_x(f) :=P[f](p), \qquad f:x\to a.

The first composite is immediate from preservation of identity:

encode⁡(decode⁡(p))=P[ida](p)=p.\operatorname{encode}(\operatorname{decode}(p)) =P[\mathrm{id}_a](p) =p.

For the other composite, naturality of α\alpha at f:x→af:x\to a gives

P[f](αa(ida))=αx(f).P[f]\bigl(\alpha_a(\mathrm{id}_a)\bigr) =\alpha_x(f).

Thus decode⁡(encode⁡(α))=α\operatorname{decode}(\operatorname{encode}(\alpha))=\alpha 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 Q:A→SetQ:\mathcal A\to\mathsf{Set},

Nat⁡(Hom⁡A(a,−),Q)≃Q(a),\operatorname{Nat} \bigl(\operatorname{Hom}_{\mathcal A}(a,-),Q\bigr) \simeq Q(a),

and the inverse sends q:Q(a)q:Q(a) to the family f:a→x↦Q[f](q)f:a\to x\mapsto Q[f](q).

Evidence: UCAT-YONEDA [checked · CategoryTheory.yoneda_lemma_equiv, CategoryTheory.yoneda_embedding_fully_faithful]

Formal status — checked (CategoryTheory.YonedaFundamental). Evidence UCAT-YONEDA (Stacks 001P, Cisinski §9.3, Mathlib CategoryTheory.Yoneda). CategoryTheory.yoneda_lemma_equiv proves the 0-axiom TypeEquiv Nat⁡(A(−,a),P)≃P(a)\operatorname{Nat}(\mathcal{A}(-, a), P) \simeq P(a) via evaluation at ida\mathrm{id}_a and functorial decoding, paired with the Twisted Arrow Category TwistedArrowCat1 (Cisinski §9.2).

13.3 Full Faithfulness And Uniqueness Of Representation

Apply Yoneda with P=y(b)P=y(b). One obtains

Nat⁡(y(a),y(b))≃Hom⁡A(a,b).\operatorname{Nat}(y(a),y(b)) \simeq \operatorname{Hom}_{\mathcal A}(a,b).

Under this equivalence, an arrow u:a→bu:a\to b corresponds to postcomposition by uu. Hence the Yoneda embedding is fully faithful: it recovers every hom from the natural maps between representables.

More generally, a representation of PP consists of an object aa and a natural isomorphism y(a)≅Py(a)\cong P. If aa and bb both represent PP, full faithfulness produces a canonical isomorphism a≅ba\cong b. When A\mathcal A 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 with 0 axioms in yoneda_embedding_fully_faithful and right_adjoint_unique_eq_of_univalent under UCAT-YONEDA and YONEDA-FULLY-FAITHFUL.

13.4 Native Representable Families

For a native category ZZ and an object xx, emdash has the Cat-valued fixed-source representable

Rep⁡Z(x)[y]:=Hom⁡Z(x,y).\operatorname{Rep}_Z(x)[y] :=\operatorname{Hom}_Z(x,y).

Its target action is postcomposition. Its dependence on the represented source is contravariant: for p:x→yp:x\to y, the transport

Rep⁡Z(y)⟶Rep⁡Z(x)\operatorname{Rep}_Z(y)\longrightarrow\operatorname{Rep}_Z(x)

acts by

q⟼q∘p=p∗(q).q\longmapsto q\circ p=p^*(q).

The full operation is a functor between directed families, so it retains action on cells between possible qq's.

Evidence: CAT-REPRESENTABLE [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-REPRESENTABLE. Rep_catd owns the fixed-source family and Rep_transport_func owns its upper-star source action.

The outgoing-arrow category from Chapter 5 is the total category

PathOut⁡Z(x)=∑y:ZHom⁡Z(x,y).\operatorname{PathOut}_Z(x) =\sum_{y:Z}\operatorname{Hom}_Z(x,y).

Its distinguished object (x,idx)(x,\mathrm{id}_x) and its canonical arrow to every (y,p)(y,p) 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

A×B⟶C\mathcal A\times\mathcal B\longrightarrow\mathcal C

with functors

A⟶[B,C].\mathcal A\longrightarrow[\mathcal B,\mathcal C].

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 TT, reversal of dimension 1. The two representable variances combine in the hom bifunctor

Hom⁡X(−,−):Xop×X⟶Catcart.\operatorname{Hom}_{X}(-,-): X^{\mathrm{op}}\times X\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

Reindexing its two endpoints along functors F:A→XF:A\to X and G:B→XG:B\to X gives

Hom⁡X(F−,G−):Aop×B⟶Catcart.\operatorname{Hom}_{X}(F{-},G{-}): A^{\mathrm{op}}\times B\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

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

P:Aop×B⟶Catcart.P:A^{\mathrm{op}}\times B\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

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 p:a′→ap:a'\to a acts contravariantly in the first endpoint;
  • an arrow q:b→b′q:b\to b' acts covariantly in the second endpoint.

Profunctors with fixed endpoints form a category. A vertical map

r:P⟹Qr:P\Longrightarrow Q

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.

Evidence: PROF-CATEGORY [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-CATEGORY. Prof_base(A,B)=A^op times B; Prof_cat is the fixed-endpoint category and ProfMap its vertical-map classifier.

The Homd coefficient QQ of Chapter 2 is a separate curried construction with its specific index category P(I)P(I). 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

UX:Xop×X⟶Catcart,UX(x,y):=Hom⁡X(x,y).U_X:X^{\mathrm{op}}\times X\longrightarrow\mathsf{Cat}_{\mathrm{cart}}, \qquad U_X(x,y):=\operatorname{Hom}_X(x,y).

On an arrow pair

p:x′→x,q:y→y′,p:x'\to x, \qquad q:y\to y',

it acts by cutting on both sides:

h⟼q∘h∘p.h\longmapsto q\circ h\circ p.

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

F:A⟶X,G:B⟶X,F:A\longrightarrow X, \qquad G:B\longrightarrow X,

reindex the unit to obtain the binary representable

Hom⁡X(F−,G−):A⇝B\operatorname{Hom}_X(F{-},G{-}):A\rightsquigarrow B

with fibres

Hom⁡X(Fa,Gb)\operatorname{Hom}_X(Fa,Gb)

and action

h⟼G(q)∘h∘F(p).h\longmapsto G(q)\circ h\circ F(p).
Evidence: PROF-REPRESENTABLE [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-REPRESENTABLE. Unit_prof owns the hom profunctor, and Hom_prof_along(F,G) is its endpoint-reindexed presentation with the two-sided Hom_fapp0 action.

Two specializations are useful. The companion of F:A→BF:A\to B 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, F:A′→AF:A'\to A, and G:B′→BG:B'\to B. Endpoint reindexing is

(F,G)∗P:A′⇝B′,((F,G)∗P)(a′,b′):=P(Fa′,Gb′).(F,G)^*P:A'\rightsquigarrow B', \qquad ((F,G)^*P)(a',b'):=P(Fa',Gb').

Semantically this is pullback along

Fop×G:(A′)op×B′⟶Aop×B.F^{\mathrm{op}}\times G: (A')^{\mathrm{op}}\times B' \longrightarrow A^{\mathrm{op}}\times B.

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

(F′,G′)∗Hom⁡X(F−,G−)=Hom⁡X((F∘F′)−,(G∘G′)−).(F',G')^*\operatorname{Hom}_X(F{-},G{-}) = \operatorname{Hom}_X((F\circ F'){-},(G\circ G'){-}).
Evidence: PROF-REINDEXING [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-REINDEXING. Prof_reindex is the stable object owner and Prof_reindex_func provides 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 L:J→BL:J\to B when it is isomorphic, in the fixed-endpoint profunctor category, to the conjoint of L:

P≅Hom⁡B(−,L−).P\cong\operatorname{Hom}_B(-,L{-}).

A representation package retains both the chosen functor and its isomorphism evidence:

∑L:J→BIsoEvidence(P,Hom⁡B(−,L−)).\sum_{L:J\to B} \mathsf{IsoEvidence} \bigl(P,\operatorname{Hom}_B(-,L{-})\bigr).
Evidence: PROF-REPRESENTATION-PACKAGE [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-REPRESENTATION-PACKAGE. The classifiers are IsRepresentedBy_iso and Representation_iso; the current comparison is ordinary isomorphism evidence in Prof_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

R′:A′⇝B′,R:A⇝B,F:A′→A,G:B′→B,R':A'\rightsquigarrow B', \quad R:A\rightsquigarrow B, \quad F:A'\to A, \quad G:B'\to B,

a cell over F,G is a natural family morphism

c:R′⟹(F,G)∗R.c:R'\Longrightarrow(F,G)^*R.

If the source profunctor is the unit U_I, such a cell is a shaped element of R with endpoint functors I→AI\to A and I→BI\to B. The narrow application operation sends a shaped element of R' through c to the corresponding shaped element of R.

Evidence: PROF-SHAPED-CELLS [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-SHAPED-CELLS. Prof_transf_cat is the endpoint-changing cell category, Prof_hom is its unit-source specialization, and Prof_cell_apply is 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

P:A⇝B,Q:B⇝X,P:A\rightsquigarrow B, \qquad Q:B\rightsquigarrow X,

write

P⊗BQ:A⇝XP\otimes_B Q:A\rightsquigarrow X

for their selected profunctor tensor. In ordinary enriched category theory one expects a coend-like formula

(P⊗BQ)(a,x)≃∫b:BP(a,b)×Q(b,x).(P\otimes_B Q)(a,x) \simeq \int^{b:B}P(a,b)\times Q(b,x).

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.
Evidence: PROF-TENSOR [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-TENSOR. The fixed-middle object is Prof_tensor; Prof_tensor_func owns fixed-endpoint bifunctoriality and Prof_tensor_hom_hom composes 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:

εPR:P⊗BUB⟹P,εPL:UA⊗AP⟹P.\begin{aligned} \varepsilon^R_P &: P\otimes_B U_B\Longrightarrow P,\\ \varepsilon^L_P &: U_A\otimes_A P\Longrightarrow P. \end{aligned}

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 M:I→BM:I\to B. 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:

εPR(p⊗idM)=p.\varepsilon^R_P \bigl(p\otimes\mathrm{id}_M\bigr) =p.

Dually, for an A-shaped endpoint F,

εPL(idF⊗p)=p.\varepsilon^L_P \bigl(\mathrm{id}_F\otimes p\bigr) =p.
Evidence: PROF-COYONEDA [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-COYONEDA. Prof_coyoneda_cov_transf and Prof_coyoneda_con_transf are 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 r:P→P′r:P\to P'. Applying the naturality component of co-Yoneda to p⊗idp\otimes\mathrm{id} reduces to applying r directly to p:

εP′((r⊗id)(p⊗id))=r(p),\varepsilon_{P'} \bigl((r\otimes\mathrm{id})(p\otimes\mathrm{id})\bigr) =r(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 G:B→AG:B\to A to F:A→BF:A\to B by representations

Hom⁡B(F−,b)≃Hom⁡A(−,Gb).\operatorname{Hom}_B(F{-},b) \simeq \operatorname{Hom}_A({-},Gb).

Yoneda explains both the representing object and its uniqueness. The profunctor formulation adds simultaneous naturality in the source probe and in bb. For arbitrary M:I→AM:I\to A and H:K→BH:K\to B, the active comparison is

Hom⁡B(FM,H)≃Hom⁡A(M,GH).\operatorname{Hom}_B(FM,H) \simeq \operatorname{Hom}_A(M,GH).
Evidence: ADJ-HOM-PROF-COMPARISON [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence ADJ-HOM-PROF-COMPARISON. The adjunction supplies this reindexable ProfComparison; 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 bb. 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.

Evidence: UCAT-ADJOINT-REPRESENTABILITY [checked · CategoryTheory.RightAdjoint1, CategoryTheory.right_adjoint_unique_iso]

Formal status — checked (CategoryTheory.YonedaFundamental). Evidence UCAT-ADJOINT-REPRESENTABILITY provides RightAdjoint1 and Yoneda comparison right_adjoint_unique_iso, while PROF-REPRESENTATION-PACKAGE, checked in Section 13.9, supplies the native Cat-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.

Evidence: YONEDA-FULLY-FAITHFUL [checked · CategoryTheory.TwistedArrowCat1, CategoryTheory.yoneda_lemma_equiv, CategoryTheory.yoneda_embedding_fully_faithful]

Formal status — checked (CategoryTheory.YonedaFundamental). Evidence YONEDA-FULLY-FAITHFUL (Stacks 001P, Cisinski §9.3, Mathlib CategoryTheory.Yoneda). In the set-valued 1-category layer, TwistedArrowCat1, yoneda_lemma_equiv, and yoneda_embedding_fully_faithful establish the complete 0-axiom Yoneda equivalence and fully faithful Yoneda embedding, complementing the native Cat-valued shaped co-Yoneda beta cuts above.

✓ Kernel-verified .en (0 axioms)Open in Playground →
import CategoryTheory.YonedaFundamental

#check CategoryTheory.TwistedArrowCat1
#check CategoryTheory.yoneda_lemma_equiv
#check CategoryTheory.yoneda_embedding_fully_faithful
#print axioms CategoryTheory.yoneda_embedding_fully_faithful
✓ Negative control verified (rejected by kernel)Open in Playground →
-- 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 := rfl

The 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.

Evidence: PROF-GENERAL-COEND [checked · CategoryTheory.CoequalizerSet, CategoryTheory.coeq_set_universal_equiv, CategoryTheory.CoendSet, CategoryTheory.coend_universal_equiv]

Formal status — checked (CategoryTheory.CoendsKan). Evidence PROF-GENERAL-COEND (Stacks 0020, Cisinski §9.4, Mathlib CategoryTheory.Limits.Shapes.End). In the synthetic set-valued layer, CoequalizerSet and CoendSet construct general coends ∫c:CP(c,c)\int^{c:\mathcal{C}} P(c, c) directly from HoTT Pushout and Trunc0 higher inductive types, proving the 0-axiom dinatural universal property coend_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 notionMeaningDoes not imply
HoTT strict categoryan ordinary precategory whose object type is a setcategory univalence
HoTT categoryan ordinary precategory for which idtoiso is an equivalencethat the object type is a set
gaunt categorya HoTT category that is also strictruntime strictness
native IsNCat(n,C)recursive finite height of the hom-categoriesobject identity agrees with isomorphism
strict naturality cuta selected tapp1 composite reduces to one off-diagonal actionall coherence is judgmental
strict public functorpreserves identities and composition through the native action rules; IsStrictFunctor(F) records a derived property of its existing compositorthat transformations between functors are strict
runtime strictnessan oriented kernel reduction chooses a normal formobject truncation or invertibility
dagger categoryidentity agrees with unitary isomorphismidentity 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.

Evidence: GRAY-WALKING-INTERCHANGER [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence GRAY-WALKING-INTERCHANGER includes 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 A\mathcal A be an ordinary precategory. It is strict when Obj⁡(A)\operatorname{Obj}(\mathcal A) is a set:

∏x,y:Obj⁡(A)isProp⁡(x=y).\prod_{x,y:\operatorname{Obj}(\mathcal A)} \operatorname{isProp}(x=y).

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.

Evidence: UCAT-STRICT-CATEGORY [checked · SIP.IsStrictObjCat1, SIP.IsGauntCat1, SIP.bz2_is_strict_obj, SIP.bz2_not_univalent]

Formal status — checked. Evidence UCAT-STRICT-CATEGORY. In endash (Cat.UnivalentSIP), SIP.IsStrictObjCat1, SIP.IsGauntCat1, SIP.gaunt_cat1_iso_is_prop, SIP.discrete_poset_is_gaunt, and the strict-yet-non-univalent countermodel SIP.BZ2 (SIP.bz2_is_strict_obj, SIP.bz2_not_univalent, negative control NC-12a) are proved with 0 axioms. They apply to 1-categorical specializations and do not redefine native StrictCat(u).

14.3 Three Native Notions That Strict Categories Do Not Control

Finite directed height is the first separate notion. A witness

IsNCat⁡(n,C)\operatorname{IsNCat}(n,C)

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 η:F⇒G\eta:F\Rightarrow G, the off-diagonal action has two reductions

G[g]∘η[f]⇝η[g∘f],η[f]∘F[h]⇝η[f∘h].\begin{aligned} G[g]\circ\eta[f]&\rightsquigarrow\eta[g\circ f],\\ \eta[f]\circ F[h]&\rightsquigarrow\eta[f\circ h]. \end{aligned}

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 t⇝ut\rightsquigarrow u records a chosen normal form in the endash NbE evaluator. An internal equality t=ut=u, 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.

Evidence: CAT-DIMENSION [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]
Evidence: TRANSF-STRICT-NATURALITY [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence CAT-DIMENSION and TRANSF-STRICT-NATURALITY. The active theory separately checks recursive dimension/object truncation and the two profiled tapp1 naturality reductions. No checked theorem identifies these interfaces.

14.4 Dualities At Different Dimensions

An opposite operation must specify which dimensions it reverses. Write

T(C)=Op(C),R(C)=CoAbove2(C),O(C)=R(T(C)).T(C)=\mathsf{Op}(C),\qquad R(C)=\mathsf{CoAbove2}(C),\qquad O(C)=R(T(C)).
OperationReversed dimensionsNative owner
TTdimension 1 onlyOp_cat
RRdimensions 2, 3, …CoAbove2_cat
OOevery positive dimensionTotalOp_cat
C2C_2dimension 2 onlyCoAt2_cat

All preserve the object carrier. Their Hom projections explain the difference:

Hom⁡T(C)(x,y)=Hom⁡C(y,x),Hom⁡R(C)(x,y)=O(Hom⁡C(x,y)),Hom⁡O(C)(x,y)=O(Hom⁡C(y,x)).\begin{aligned} \operatorname{Hom}_{T(C)}(x,y)&=\operatorname{Hom}_C(y,x),\\ \operatorname{Hom}_{R(C)}(x,y)&=O(\operatorname{Hom}_C(x,y)),\\ \operatorname{Hom}_{O(C)}(x,y)&=O(\operatorname{Hom}_C(y,x)). \end{aligned}

Thus ordinary Hom uses T(C)T(C) in its contravariant object slot. Replacing it by O(C)O(C) 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 η:F⇒G\eta:F\Rightarrow G, total duality gives

O(η):O(G)⇒O(F):O(A)→O(B).O(\eta):O(G)\Rightarrow O(F):O(A)\to O(B).

The reversal includes the higher naturality cell. It is not obtained by reversing component arrows while leaving that cell untouched.

For a family E:K→CatcartE:K\to\mathsf{Cat}_{\mathrm{cart}}, the corresponding whole fibre operations also change the base:

Tfib(E):C2(K)→Catcart,Ofib(E):R(K)→Catcart.T_{\mathrm{fib}}(E):C_2(K)\to\mathsf{Cat}_{\mathrm{cart}},\qquad O_{\mathrm{fib}}(E):R(K)\to\mathsf{Cat}_{\mathrm{cart}}.

Their fibres are respectively T(E[x])T(E[x]) and O(E[x])O(E[x]). 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

F⊣G:A⇄BtoO(G)⊣O(F):O(B)⇄O(A).F\dashv G:A\rightleftarrows B \qquad\text{to}\qquad O(G)\dashv O(F):O(B)\rightleftarrows O(A).

The new unit is the total opposite of the old counit, and conversely. Applying the operation twice computes back to the original package.

Evidence: OP-DUALITY [checked · JoinSpectra.opCat1, JoinSpectra.opFunctor1, JoinSpectra.join_op_iso_swap]

Formal status — checked. Evidence OP-DUALITY. Op_transf uses the Cartesian transformation profile; TotalOp_transf acts on ordinary transfors. Despite its retained name, Op_adjunction uses TotalOp_cat, TotalOp_func, and TotalOp_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 A\mathcal A equipped with an operation

(−)†:Hom⁡A(x,y)⟶Hom⁡A(y,x)(-)^\dagger: \operatorname{Hom}_{\mathcal A}(x,y) \longrightarrow \operatorname{Hom}_{\mathcal A}(y,x)

satisfying

(idx)†=idx,(g∘f)†=f†∘g†,(f†)†=f.\begin{aligned} (\mathrm{id}_x)^\dagger&=\mathrm{id}_x,\\ (g\circ f)^\dagger&=f^\dagger\circ g^\dagger,\\ (f^\dagger)^\dagger&=f. \end{aligned}

Equivalently, it is an identity-on-objects functor-like map

D:Aop⟶AD:\mathcal A^{\mathrm{op}}\longrightarrow\mathcal A

with a chosen involution law. The word chosen is essential. The opposite construction gives Aop\mathcal A^{\mathrm{op}} for every A\mathcal A; it does not give a functor from that opposite back to A\mathcal A, much less one that fixes objects and squares to the identity.

14.6 Unitary Arrows And Dagger Univalence

An arrow f:x→yf:x\to y is unitary when its dagger is its two-sided inverse:

f†∘f=idx,f∘f†=idy.f^\dagger\circ f=\mathrm{id}_x, \qquad f\circ f^\dagger=\mathrm{id}_y.

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

idtoUnitary⁡A:(x=y)⟶(x≅†y).\operatorname{idtoUnitary}_{\mathcal A}: (x=y)\longrightarrow(x\cong_\dagger y).

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 f†=f−1f^\dagger=f^{-1}; 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.

Evidence: UCAT-DAGGER-CATEGORY [checked · SIP.DaggerCat1, SIP.unitaryToIso1, SIP.IsUnivalentDaggerCat1, SIP.path_dagger_cat1_is_univalent]

Formal status — checked. Evidence UCAT-DAGGER-CATEGORY. Cat.UnivalentSIP formalizes 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) with 0 axioms.

14.7 Opposite, Duality, And Dagger Compared

The three reversal notions have different input data.

ConstructionData suppliedResult
oppositeany category CCa category CopC^{\mathrm{op}} with arrows reversed
categorical dualitya chosen equivalence Cop≃DC^{\mathrm{op}}\simeq Da comparison between two categories
daggera chosen identity-on-objects involutive map Cop→CC^{\mathrm{op}}\to Ca unitary notion internal to CC

A native dagger must first specify which duality is intended. The following list uses T(C)T(C) as the object-direction opposite; a total dagger would use O(C)O(C) instead and require the corresponding higher action. At minimum it would require:

  1. a functor D:Cop→CD:C^{\mathrm{op}}\to C;
  2. identity-on-objects data, with an explicit decision about whether it computes or is witnessed coherently;
  3. an involution comparison between D∘DopD\circ D^{\mathrm{op}} and idC\mathrm{id}_C;
  4. compatibility of that comparison with off-diagonal and higher action;
  5. a unitary-arrow classifier whose evidence is stable under identity, composition, and the next hom action;
  6. 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 CC. Neither operation is a native dagger by itself.

Evidence: NATIVE-DAGGER-INTERFACE [research-boundary]

Formal status — research boundary. Evidence NATIVE-DAGGER-INTERFACE. While ordinary 1-categorical dagger categories and dagger univalence are checked in Cat.UnivalentSIP, a higher ω\omega-categorical involutive dagger signature over arbitrary StrictCat(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:

right adjoint⟷left adjoint,weighted limit⟷weighted colimit,unit⟷counit,upper-star source action⟷lower-star target action.\begin{aligned} \text{right adjoint}&\longleftrightarrow\text{left adjoint},\\ \text{weighted limit}&\longleftrightarrow\text{weighted colimit},\\ \text{unit}&\longleftrightarrow\text{counit},\\ \text{upper-star source action}&\longleftrightarrow \text{lower-star target action}. \end{aligned}

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 Idem(C)\mathrm{Idem}(\mathcal{C})

Just as Rezk completion (Chapter 15) freely saturates categorical isomorphisms into object equalities, Karoubi completion (or the idempotent envelope Idem(C)\mathrm{Idem}(\mathcal{C}), Cisinski §13.4, Stacks 09SF, Mathlib CategoryTheory.Idempotents.Karoubi) freely splits every idempotent endomorphism e:X→Xe : X \to X (e∘e=ee \circ e = e) into a retract (A,s:A→X,r:X→A)(A, s : A \to X, r : X \to A) with r∘s=idAr \circ s = \mathrm{id}_A and s∘r=es \circ r = e.

Alignment Box 14.1 — Multi-Source Synthesis: Retracts & Karoubi Completion Idem(C)\mathrm{Idem}(\mathcal{C}) (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 Idem\mathrm{Idem} and ω\omega-indexed sequential colimits.
  • Constructive Functorial Realization in endash (CategoryTheory.IdempotentsWeightedEnds, 0 axioms): Objects of KaroubiCat1 C are triples (X,e,e∘e=e)(X, e, e \circ e = e) and morphisms (X,e)→(Y,e′)(X, e) \to (Y, e') are maps f:X→Yf : X \to Y absorbed on both sides (e′∘f=fe' \circ f = f and f∘e=ff \circ e = f), with karoubiId1(X, e) := e. Every functor preserves idempotents and retracts, any two splittings of ee are canonically isomorphic (splitting_unique_iso), the canonical inclusion ι:C↪Idem(C)\iota : \mathcal{C} \hookrightarrow \mathrm{Idem}(\mathcal{C}) is fully faithful (karoubi_incl_fully_faithful), every (X,e)(X, e) splits canonically as a retract of ι(X)\iota(X) (karoubi_canonical_splitting), and every idempotent inside Idem(C)\mathrm{Idem}(\mathcal{C}) splits (karoubi_idempotent_splits)—which in Volume I underpins finitely generated projective ↔\leftrightarrow dualizable RR-modules!
  • Anti-Collapse Soundness Guard (NC-16a Part 1b): Boolean negation ¬:Bool→Bool\neg : \mathrm{Bool} \to \mathrm{Bool} is proved non-idempotent (endoBool_boolNot_not_idempotent), and the constant-true projector on the parity-restricted subcategory {Bool} is proved to have no splitting prior to Karoubi completion (endoBool_constTrue_no_splitting) while splitting canonically inside KaroubiCat1 (karoubi_endoBool_constTrue_splits)!
✓ Kernel-verified .en (0 axioms)Open in Playground →
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_splits

15. 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.

ConditionWhat it controlsWhat it does not supply
object truncationthe height of x=yx=ya comparison with categorical equivalence
finite IsNCat evidencerecursive height of hom-categoriescategory univalence
ordinary category saturation(x=y)≃(x≅y)(x=y)\simeq(x\cong y)proposition-valued object identity
dagger saturation(x=y)≃(x≅†y)(x=y)\simeq(x\cong_\dagger y)identity with every ordinary isomorphism
prospective native saturationidentity agrees with one specified higher equivalence classifiera 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 X\mathcal X be an ordinary precategory. A notion of structure (P,H)(P,H) over X\mathcal X consists of:

  1. a type P(x)P(x) of structures on each object xx;
  2. for f:x→yf:x\to y, α:P(x)\alpha:P(x), and β:P(y)\beta:P(y), a proposition Hα,β(f)H_{\alpha,\beta}(f) saying that ff preserves the structures;
  3. evidence that identity arrows preserve structure;
  4. evidence that composites of structure-preserving arrows preserve structure.

For structures α,β:P(x)\alpha,\beta:P(x) on the same carrier, define

α≤xβ: ⁣ ⁣≡Hα,β(idx).\alpha\leq_x\beta :\!\!\equiv H_{\alpha,\beta}(\mathrm{id}_x).

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 P(x)P(x) is then a set.

The associated precategory StrP,H(X)\mathsf{Str}_{P,H}(\mathcal X) has objects

(x,α):∑x:Obj⁡(X)P(x)(x,\alpha):\sum_{x:\operatorname{Obj}(\mathcal X)}P(x)

and arrows

(x,α)⟶(y,β):=∑f:x→yHα,β(f).(x,\alpha)\longrightarrow(y,\beta) \quad:=\quad \sum_{f:x\to y}H_{\alpha,\beta}(f).

Because HH is proposition-valued, it adds a preservation condition without adding competing arrow data. Identities and composition come from X\mathcal X and the two closure laws.

15.3 The Ordinary Structure Identity Theorem

Structure identity principle. If X\mathcal X is an ordinary univalent category and (P,H)(P,H) is a standard notion of structure over it, then StrP,H(X)\mathsf{Str}_{P,H}(\mathcal X) is an ordinary univalent category.

The proof isolates the two uses of uniqueness. An identity

(x,α)=(y,β)(x,\alpha)=(y,\beta)

is a carrier identity p:x=yp:x=y together with

transport⁡P(p,α)=β.\operatorname{transport}_{P}(p,\alpha)=\beta.

Since the structure fibres are sets, the second clause is a proposition. An isomorphism of structured objects is a carrier isomorphism f:x≅yf:x\cong y together with preservation by ff and by f−1f^{-1}; those clauses are also propositions.

Univalence of X\mathcal X converts ff into a carrier identity pp. By identity induction, it remains to consider p≡reflxp\equiv\mathrm{refl}_x. The two preservation clauses then say

α≤xβandβ≤xα.\alpha\leq_x\beta \qquad\text{and}\qquad \beta\leq_x\alpha.

Antisymmetry gives α=β\alpha=\beta. This constructs the inverse to idtoiso for structured objects; proposition-valuedness supplies the remaining coherence.

Evidence: UCAT-STRUCTURE-IDENTITY [checked · SIP.StructuredCat1, SIP.sip_univalent_cat1, SIP.CommRingCat1, SIP.comm_ring_iso_equiv_eq]

Formal status — checked. Evidence UCAT-STRUCTURE-IDENTITY. In endash (Cat.UnivalentSIP), SIP.antisym_gives_standard_structure, SIP.StructuredCat1, and Theorem 15.3 (SIP.sip_univalent_cat1) are proved with 0 axioms, together with the concrete algebraic instantiation on commutative rings (SIP.CommRingCat1, SIP.comm_ring_cat1_is_univalent, and SIP.comm_ring_iso_equiv_eq proving (R≅S)≃(R=S)(R \cong S) \simeq (R = S)).

15.4 Examples And The Role Of Standardness

Functor structure is a representative example. Begin with object functions F0:Obj⁡(A)→Obj⁡(B)F_0:\operatorname{Obj}(\mathcal A)\to\operatorname{Obj}(\mathcal B). The additional structure assigns arrow actions preserving identities and composition. A pointwise family of arrows is a homomorphism exactly when it is natural. If B\mathcal B 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 HH 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.

Evidence: LOGIC-TRUNCATION-EVIDENCE-PROP [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]
Evidence: EQUIV-EVIDENCE-PROP [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]
Evidence: UNIV-TRUNCATED [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]
Evidence: EQUIV-ORDINARY-ISO-LIFT [checked · IsProp, IsSetGrpd, SIP.idToIso1, SIP.IsUnivalentCat1, Spectra.trunc0_universal_equiv]
Evidence: CAT-DIMENSION [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence LOGIC-TRUNCATION-EVIDENCE-PROP, EQUIV-EVIDENCE-PROP, UNIV-TRUNCATED, EQUIV-ORDINARY-ISO-LIFT, and CAT-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 (P,H)(P,H) schema suppresses the higher cells of preservation evidence. A directed native version should expose them. One plausible architecture begins with:

  • a native carrier category KK;
  • an admitted directed family S:K→CatcartS:K\to\mathsf{Cat}_{\mathrm{cart}} of structures;
  • for each base arrow f:x→yf:x\to y and structures α:S(x)\alpha:S(x), β:S(y)\beta:S(y), a category Hf(α,β)H_f(\alpha,\beta) of structure-preserving lifts;
  • identity, composition, and higher action for those lifts;
  • a selected classifier StructuredEquiv⁡((x,α),(y,β))\operatorname{StructuredEquiv}((x,\alpha),(y,\beta)).

The total category of structures is Sigma-shaped, but a general Hf(α,β)H_f(\alpha,\beta) 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

idtoStructuredEquiv⁡:((x,α)=(y,β))⟶StructuredEquiv⁡((x,α),(y,β)).\operatorname{idtoStructuredEquiv}: \bigl((x,\alpha)=(y,\beta)\bigr) \longrightarrow \operatorname{StructuredEquiv} \bigl((x,\alpha),(y,\beta)\bigr).

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.

Evidence: NATIVE-STRUCTURE-IDENTITY [research-boundary]

Formal status — research boundary. Evidence NATIVE-STRUCTURE-IDENTITY. While Theorem 15.3 and CommRing univalence are checked for univalent 1-categories in Cat.UnivalentSIP, a generic higher directed structure identity principle over arbitrary ω\omega-categories remains an open research boundary.

15.7 Weak Equivalences And The Universal Property Of Completion

Return to ordinary precategories. A functor

I:A⟶A^I:\mathcal A\longrightarrow\widehat{\mathcal A}

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 A\mathcal A consists of such an II with A^\widehat{\mathcal A} an ordinary univalent category.

The construction is characterized by what saturated targets see. For every ordinary univalent category C\mathcal C, precomposition induces

I∗:CA^⟶CA,G⟼G∘I,I^*: \mathcal C^{\widehat{\mathcal A}} \longrightarrow \mathcal C^{\mathcal A}, \qquad G\longmapsto G\circ I,

and I∗I^* is an isomorphism of ordinary precategories. Equivalently, every functor A→C\mathcal A\to\mathcal C extends essentially uniquely across II, and every natural transformation between extensions is determined by its restriction.

The word universal belongs here, not merely in the statement that A^\widehat{\mathcal A} 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 II is essentially surjective, a natural transformation out of A^\widehat{\mathcal A} is determined by its components on the image of II; this makes precomposition faithful. Fullness of II, 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 A^\widehat{\mathcal A} 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 C\mathcal C: uniqueness up to unique isomorphism becomes uniqueness by identity, which is enough to define a function. This proves essential surjectivity of I∗I^* and hence the mapping property.

In short, saturated targets turn weak equivalences into equivalences of functor categories.

The converse detects saturation. An ordinary precategory C\mathcal C is univalent exactly when every weak equivalence H:A→BH:\mathcal A\to\mathcal B makes

H∗:CB⟶CAH^*:\mathcal C^{\mathcal B}\longrightarrow\mathcal C^{\mathcal A}

an isomorphism. For the reverse implication, apply the assumption to a Rezk completion I:C→C^I:\mathcal C\to\widehat{\mathcal C}. Precomposition then constructs an inverse to II, making C\mathcal C isomorphic to the univalent category C^\widehat{\mathcal C} 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

PSh(A):=SetAop.\mathsf{PSh}(\mathcal A) :=\mathsf{Set}^{\mathcal A^{\mathrm{op}}}.

Define A^\widehat{\mathcal A} to be the full subcategory whose objects are presheaves PP for which there merely exists an a:Aa:\mathcal A and an isomorphism

y(a)≅P.y(a)\cong P.

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

y:A⟶A^y:\mathcal A\longrightarrow\widehat{\mathcal A}

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 A\mathcal A.

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 Obj⁡(A^)\operatorname{Obj}(\widehat{\mathcal A}) is generated by:

  • i(a)i(a) for every object a:Aa:\mathcal A;
  • a path j(e):i(a)=i(b)j(e):i(a)=i(b) for every isomorphism e:a≅be:a\cong b;
  • coherences j(ida)=refli(a)j(\mathrm{id}_a)=\mathrm{refl}_{i(a)} and j(g∘f)=j(f)⋅j(g)j(g\circ f)=j(f)\mathbin{\cdot}j(g);
  • 1-truncation, so parallel 2-paths agree.

The hom family is then defined by double induction on the new object type, starting with

Hom⁡A^(i(a),i(b)):=Hom⁡A(a,b).\operatorname{Hom}_{\widehat{\mathcal A}}(i(a),i(b)) :=\operatorname{Hom}_{\mathcal A}(a,b).

Transport along j(e)j(e) is postcomposition or precomposition by ee and its inverse. The identity and composition laws of A\mathcal A discharge the HIT coherences, after which identities and composition on the new hom family are defined by induction.

To show saturation, use encode-decode:

encode⁡x,y:(x=y)⟶(x≅y),encode⁡=idtoiso⁡,decode⁡x,y:(x≅y)⟶(x=y),decode⁡(e)=j(e) on generators.\begin{aligned} \operatorname{encode}_{x,y}&: (x=y)\longrightarrow(x\cong y), &&\operatorname{encode}=\operatorname{idtoiso},\\ \operatorname{decode}_{x,y}&: (x\cong y)\longrightarrow(x=y), &&\operatorname{decode}(e)=j(e) \text{ on generators}. \end{aligned}

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, I(a):=i(a)I(a):=i(a) is fully faithful by construction and essentially surjective by HIT induction.

Evidence: UCAT-REZK-COMPLETION [checked · SIP.rezk_completion_iso_equiv_obj_eq, SIP.indiscrete_bool_not_univalent, SIP.indiscrete_bool_rezk_completion]

Formal status — checked. Evidence UCAT-REZK-COMPLETION. Cat.UnivalentSIP proves 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) with 0 axioms.

15.11 The Encode-Decode Analogy With WalkingEnd

The HIT proof deliberately echoes Chapter 8, but the two constructions solve different problems.

FeatureWalkingEndRezk-completion HIT
generatorsone object and one directed loopold objects and paths for old isomorphisms
codenatural powers of the loopisomorphisms between completed objects
decodecontextual directed normalizationa path constructor j(e)j(e)
invertibilitythe loop is checked noninvertibleevery added generator is a path and hence invertible
purposecompute the free directed endomorphism monoidsaturate 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.

Evidence: WE-LOOP-NONINVERTIBLE [checked · WalkingEnd.loop, WalkingEnd.loop_not_isIso]

Formal status — checked comparison. Evidence WE-LOOP-NONINVERTIBLE verifies 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:

  1. a classifier EqvC(x,y)\mathsf{Eqv}_C(x,y) of the selected categorical sameness;
  2. a coherent map (x=y)→EqvC(x,y)(x=y)\to\mathsf{Eqv}_C(x,y);
  3. the saturation predicate asserting that this map is an equivalence;
  4. a category Rezk⁡(C)\operatorname{Rezk}(C) and unit functor ηC:C→Rezk⁡(C)\eta_C:C\to\operatorname{Rezk}(C);
  5. local full faithfulness at every retained hom dimension and essential surjectivity relative to Eqv\mathsf{Eqv};
  6. for every saturated DD, an equivalence between the iterable functor categories out of Rezk⁡(C)\operatorname{Rezk}(C) and out of CC;
  7. naturality of that mapping equivalence in DD, together with its transformation and higher-cell action.

Ordinary isomorphism, adjoint equivalence, and native omega-equivalence are different candidates for Eqv\mathsf{Eqv}. 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.

Evidence: NATIVE-REZK-COMPLETION [research-boundary]

Formal status — research boundary. Evidence NATIVE-REZK-COMPLETION. While 1-categorical Rezk completion and weak equivalence saturation are checked in Cat.UnivalentSIP, an all-dimensional (∞,ω)(\infty, \omega) 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:

weight and diagram⟶cone classifier⟶representing comparison.\text{weight and diagram} \longrightarrow \text{cone classifier} \longrightarrow \text{representing comparison}.

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

F:J⟶BF:J\longrightarrow B

be a diagram. A parameterized covariant weight has the form

W:J′⇝J,W:(J′)op×J⟶Catcart.W:J'\rightsquigarrow J, \qquad W:(J')^{\mathrm{op}}\times J\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

For each j′:J′j':J', the partial functor W(j′,−)W(j',-) is a Cat-valued weight on JJ. The first endpoint is contravariant, so an arrow j0′→j1′j'_0\to j'_1 acts from the weight at j1′j'_1 to the weight at j0′j'_0. This is exactly the variance needed for the resulting representing objects to assemble into a functor

L:J′⟶B.L:J'\longrightarrow B.

The familiar unparameterized definition is the special case J′=1J'=\mathbf 1. Retaining J′J' 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 W:J→SetW:J\to\mathsf{Set}. The set W(j)W(j) describes how many copies, positions, or generalized inputs the object FjFj contributes. In the Cat-valued case those positions themselves have arrows, so a weighted cone carries coherence along both JJ and the internal categories W(j′,j)W(j',j).

16.2 The Profunctor Of Weighted Cones

For a probe object b:Bb:B and a parameter j′:J′j':J', the expected category of weighted cones is

Cone⁡W(b,F;j′)≃[J,Cat](W(j′,−),Hom⁡B(b,F−)).\operatorname{Cone}_{W}(b,F;j') \simeq [J,\mathsf{Cat}] \bigl(W(j',-),\operatorname{Hom}_{B}(b,F-)\bigr).

An object of this category is a natural family of arrows from bb into the diagram, indexed by the weight. Its arrows are the corresponding higher transformations. Varying bb acts by precomposition, while varying j′j' acts through the contravariant endpoint of WW. Thus the cone construction has the profunctorial type

Cone⁡W(F):B⇝J′.\operatorname{Cone}_{W}(F):B\rightsquigarrow J'.

The active definition does not unfold the functor-category expression above. It uses the covariant profunctor implication:

Cone⁡W(F):=ProfImply⁡cov(Hom⁡B(−,F−),W).\operatorname{Cone}_{W}(F) := \operatorname{ProfImply}_{\mathrm{cov}} \bigl(\operatorname{Hom}_{B}(-,F-),W\bigr).

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

P:A⇝B,Q:B⇝X,O:A⇝X.P:A\rightsquigarrow B, \qquad Q:B\rightsquigarrow X, \qquad O:A\rightsquigarrow X.

Tensor makes the middle endpoint into a cut:

P⊗BQ:A⇝X.P\otimes_B Q:A\rightsquigarrow X.

There are two ways to solve a mapping problem against this composite. Holding QQ fixed gives a right residual with type A⇝BA\rightsquigarrow B; holding PP fixed gives a left residual with type B⇝XB\rightsquigarrow X. The active interfaces are characterized by inverse operations

ProfMap⁡(P,ProfImply⁡cov(O,Q))≃ProfMap⁡(P⊗BQ,O),ProfMap⁡(Q,ProfImply⁡con(P,O))≃ProfMap⁡(P⊗BQ,O).\begin{aligned} \operatorname{ProfMap} \bigl(P,\operatorname{ProfImply}_{\mathrm{cov}}(O,Q)\bigr) &\simeq \operatorname{ProfMap}(P\otimes_B Q,O),\\ \operatorname{ProfMap} \bigl(Q,\operatorname{ProfImply}_{\mathrm{con}}(P,O)\bigr) &\simeq \operatorname{ProfMap}(P\otimes_B Q,O). \end{aligned}

Evaluation introduces the tensor cut; lambda abstraction removes it. In both orientations the selected composites reduce:

λ(eval⁡(t))⇝t,eval⁡(λ(u))⇝u.\begin{aligned} \lambda(\operatorname{eval}(t))&\rightsquigarrow t,\\ \operatorname{eval}(\lambda(u))&\rightsquigarrow u. \end{aligned}

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.

Evidence: PROF-CLOSED-CALCULUS [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-CLOSED-CALCULUS. Prof_imply_cov and Prof_imply_con are the two opaque residual objects. Prof_eval_cov_map, Prof_lambda_cov_map, Prof_eval_con_map, and Prof_lambda_con_map expose 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 P:B⇝J′P:B\rightsquigarrow J',

ProfMap⁡(P,Cone⁡W(F))≃ProfMap⁡(P⊗J′W,Hom⁡B(−,F−)).\operatorname{ProfMap} \bigl(P,\operatorname{Cone}_{W}(F)\bigr) \simeq \operatorname{ProfMap} \bigl(P\otimes_{J'}W,\operatorname{Hom}_{B}(-,F-)\bigr).

A map on the right is precisely a PP-shaped family of WW-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.

Evidence: PROF-TENSOR [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]
Evidence: PROF-GENERAL-COEND [checked · CategoryTheory.CoequalizerSet, CategoryTheory.coeq_set_universal_equiv, CategoryTheory.CoendSet, CategoryTheory.coend_universal_equiv]

Formal status — checked (Cat.WeightedLimits, CategoryTheory.CoendsKan). Evidence PROF-TENSOR covers the native Cat-valued tensor interface, while PROF-GENERAL-COEND (CategoryTheory.CoendSet, coend_universal_equiv) constructs general synthetic Set-valued coends ∫c:CP(c,c)\int^{c:\mathcal{C}} P(c, c) via Pushout + Trunc0 with 0 axioms.

16.4 A Weighted Limit Is A Representation

A WW-weighted limit of FF is a functor

L:J′⟶BL:J'\longrightarrow B

together with a representation of the cone profunctor:

Φ:Cone⁡W(F)≃Hom⁡B(−,L−).\Phi: \operatorname{Cone}_{W}(F) \simeq \operatorname{Hom}_{B}(-,L-).

At a pair (b,j′)(b,j'), this says

Cone⁡W(b,F;j′)≃Hom⁡B(b,Lj′).\operatorname{Cone}_{W}(b,F;j') \simeq \operatorname{Hom}_{B}(b,Lj').

The direction of the hom is worth checking. A limit receives a cone from the probe bb, so maps from bb to the limit classify cones from bb. 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.

Evidence: WEIGHTED-LIMIT-REPRESENTABILITY [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence WEIGHTED-LIMIT-REPRESENTABILITY. WeightedCone_prof constructs the cone profunctor, while IsWeightedLimit_cov_iso and IsWeightedLimit_cov_comp give 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 FF, WW, and the proposed representing functor LL; 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 FF, WW, and LL 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

M:I⟶BM:I\longrightarrow B

be a shaped family of probe objects, and let

R:I⇝J′R:I\rightsquigarrow J'

index a family of test data. Reindexing Φ\Phi along MM gives inverse operations

push:ProfMap⁡(R,Cone⁡W(M,F))⟶ProfMap⁡(R,Hom⁡B(M,L)),pull:ProfMap⁡(R,Hom⁡B(M,L))⟶ProfMap⁡(R,Cone⁡W(M,F)).\begin{aligned} \mathsf{push}:& \operatorname{ProfMap} \bigl(R,\operatorname{Cone}_{W}(M,F)\bigr) \longrightarrow \operatorname{ProfMap} \bigl(R,\operatorname{Hom}_{B}(M,L)\bigr),\\ \mathsf{pull}:& \operatorname{ProfMap} \bigl(R,\operatorname{Hom}_{B}(M,L)\bigr) \longrightarrow \operatorname{ProfMap} \bigl(R,\operatorname{Cone}_{W}(M,F)\bigr). \end{aligned}

Here

Cone⁡W(M,F):=ProfImply⁡cov(Hom⁡B(M−,F−),W).\operatorname{Cone}_{W}(M,F) := \operatorname{ProfImply}_{\mathrm{cov}} \bigl(\operatorname{Hom}_{B}(M-,F-),W\bigr).

The operation push eliminates a supplied cone through the universal comparison and obtains its mediating map into LL. The operation pull introduces a cone by composing a map into LL with the universal cone. Their cuts reduce in both directions:

pull(push(r))⇝r,push(pull(s))⇝s.\begin{aligned} \mathsf{pull}(\mathsf{push}(r))&\rightsquigarrow r,\\ \mathsf{push}(\mathsf{pull}(s))&\rightsquigarrow s. \end{aligned}
Evidence: PROF-COMPARISON-BETA-ETA [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked. Evidence PROF-COMPARISON-BETA-ETA. The weighted operations weighted_limit_cov_push and weighted_limit_cov_pull are typed specializations of the generic prof_comparison_push and prof_comparison_pull owners. The beta/eta rules belong to the generic comparison, so no new cancellation rule is attached to each kind of limit.

The role of RR 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 J′=1J'=\mathbf 1 and take the terminal weight

1J:1⇝J.\mathbf 1_{J}:\mathbf 1\rightsquigarrow J.

Its only fibre is the terminal category. In the usual semantic interpretation,

Cone⁡1J(b,F;∗)≃[J,Cat](1,Hom⁡B(b,F−))≃Cone⁡(b,F).\begin{aligned} \operatorname{Cone}_{\mathbf 1_J}(b,F;*) &\simeq [J,\mathsf{Cat}] \bigl(\mathbf 1,\operatorname{Hom}_{B}(b,F-)\bigr)\\ &\simeq \operatorname{Cone}(b,F). \end{aligned}

A functor ℓ:1→B\ell:\mathbf 1\to B selects a vertex. The weighted representation becomes the familiar conical universal property

Cone⁡(b,F)≃Hom⁡B(b,ℓ).\operatorname{Cone}(b,F) \simeq \operatorname{Hom}_{B}(b,\ell).

Products, terminal objects, pullbacks, and equalizers arise by choosing their usual indexing categories JJ. 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 Σu⊣u∗⊣Πu\Sigma_u\dashv u^*\dashv\Pi_u. 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:

IsWeightedLimit⁡(F,TerminalProf⁡(1,J),ℓ)\operatorname{IsWeightedLimit} \bigl(F,\operatorname{TerminalProf}(\mathbf 1,J),\ell\bigr)

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.

Evidence: WEIGHTED-LIMIT-SPECIALIZATIONS [checked · CategoryTheory.WeightedLimitSet, CategoryTheory.weighted_limit_as_end_equiv, CategoryTheory.terminal_weight_limit_equiv_conical, WeightedLimits.right_adjoint_preserves_weighted_limits]

Formal status — checked (Cat.WeightedLimits, CategoryTheory.IdempotentsWeightedEnds). Evidence WEIGHTED-LIMIT-SPECIALIZATIONS (Stacks 002D, Cisinski §9.3, Mathlib CategoryTheory.Limits.Weighted). CategoryTheory.WeightedLimitSet proves both the semantic end identification lim⁡WF≃∫c:C[W(c),F(c)]\lim^W F \simeq \int_{c:\mathcal{C}} [W(c), F(c)] (weighted_limit_as_end_equiv) and the terminal-weight conical specialization lim⁡1F≃Cone(1,F)\lim^{\mathbf{1}} F \simeq \mathrm{Cone}(\mathbf{1}, F) (terminal_weight_limit_equiv_conical) with 0 axioms, complementing the native Terminal_prof / IsWeightedLimit_cov_comp preservation interface.

16.7 Right Kan Extensions As Conjoint-Weighted Limits

Let

K:J⟶J′K:J\longrightarrow J'

and retain the diagram F:J→BF:J\to B. The conjoint of KK is the profunctor

K∗:J′⇝J,K∗(j′,j)=Hom⁡J′(j′,Kj).K^{\ast}:J'\rightsquigarrow J, \qquad K^{\ast}(j',j) =\operatorname{Hom}_{J'}(j',Kj).

It has exactly the variance of a limit weight. Define a selected right Kan-extension comparison along KK to be the weighted-limit comparison

IsWeightedLimit⁡(F,K∗,Ran⁡KF).\operatorname{IsWeightedLimit} \bigl(F,K^{\ast},\operatorname{Ran}_{K}F\bigr).

When the residual has its expected end semantics, the fibrewise formula is

Hom⁡B(b,(Ran⁡KF)(j′))≃Nat⁡(Hom⁡J′(j′,K−),Hom⁡B(b,F−)).\operatorname{Hom}_{B} \bigl(b,(\operatorname{Ran}_{K}F)(j')\bigr) \simeq \operatorname{Nat} \left( \operatorname{Hom}_{J'}(j',K-), \operatorname{Hom}_{B}(b,F-) \right).

This is the standard pointwise right Kan-extension formula. It says that maps into the value at j′j' are cones whose shape is the representable weight out of j′j'.

The use of a conjoint is not a mnemonic guess. Conjoint_prof K has type J′⇝JJ'\rightsquigarrow J, so the expression

IsWeightedLimit⁡(F,Conjoint⁡(K),R)\operatorname{IsWeightedLimit} \bigl(F,\operatorname{Conjoint}(K),R\bigr)

is a well-formed active classifier for every R:J′→BR:J'\to B. The focused variance audit checks precisely this substitution.

The following two claims must nevertheless remain separate:

  1. Interface specialization: conjoint weight yields an instance of the selected weighted comparison. This is a formal consequence of the active types.
  2. 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.
Evidence: WEIGHTED-END-KAN-SEMANTICS [checked · CategoryTheory.EndSet, CategoryTheory.end_universal_equiv, CategoryTheory.LanObj, CategoryTheory.lan_pointwise_universal_equiv, CategoryTheory.lanExtend_unit_beta, CategoryTheory.ran_kan_adjunction_equiv, CategoryTheory.cofinal_colim_map_equiv]

Formal status — checked (CategoryTheory.CoendsKan). Evidence WEIGHTED-END-KAN-SEMANTICS (Stacks 05R8, Cisinski §9.5, Cisinski §8.1, Mathlib CategoryTheory.Functor.KanExtension). CategoryTheory.CoendsKan constructs EndSet (end_universal_equiv), CoendSet (coend_universal_equiv), pointwise Left Kan extensions LanObj (lan_pointwise_universal_equiv, lanExtend_unit_beta), the Right Kan adjunction K∗⊣Ran⁡KK^* \dashv \operatorname{Ran}_K (ran_kan_adjunction_equiv), and cofinal colimit invariance (cofinal_colim_map_equiv, paired with NC-15a Part 1b inclFalse_not_cofinal) with 0 axioms!

✓ Kernel-verified .en (0 axioms)Open in Playground →
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_equiv

16.8 Adjunction Mates Transport Representables

Let

S:A⟶B,R:B⟶A,S⊣R.S:A\longrightarrow B, \qquad R:B\longrightarrow A, \qquad S\dashv R.

For arbitrary shaped functors M:I→AM:I\to A and D:J→BD:J\to B, the adjunction supplies the representable comparison

Hom⁡B(SM,D)≃Hom⁡A(M,RD).\operatorname{Hom}_{B}(SM,D) \simeq \operatorname{Hom}_{A}(M,RD).

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.

Evidence: ADJ-HOM-PROF-COMPARISON [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence ADJ-HOM-PROF-COMPARISON. Adjunction_hom_prof_comparison_along is 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

ℓ:J′⟶B\ell:J'\longrightarrow B

is supplied with a computational comparison certifying it as the WW-weighted limit of D:J→BD:J\to B. We prove that

Rℓ:J′⟶AR\ell:J'\longrightarrow A

is the WW-weighted limit of RD:J→ARD:J\to A.

Test the proposed representation at an arbitrary M:I→AM:I\to A. There are three comparisons:

Cone⁡W(M,RD)≃Cone⁡W(SM,D)by the inverse mate under the residual,≃Hom⁡B(SM,ℓ)by the supplied limit comparison,≃Hom⁡A(M,Rℓ)by the mate at the candidate limit.\begin{aligned} \operatorname{Cone}_{W}(M,RD) &\simeq \operatorname{Cone}_{W}(SM,D) &&\text{by the inverse mate under the residual},\\ &\simeq \operatorname{Hom}_{B}(SM,\ell) &&\text{by the supplied limit comparison},\\ &\simeq \operatorname{Hom}_{A}(M,R\ell) &&\text{by the mate at the candidate limit}. \end{aligned}

The middle comparison is the original representation reindexed along SS. The first and third are the same hom adjunction used in opposite directions and at different diagrams. Composing them yields

Cone⁡W(RD)≃Hom⁡A(−,Rℓ−),\operatorname{Cone}_{W}(RD) \simeq \operatorname{Hom}_{A}(-,R\ell-),

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:

  1. right_adjoint_weighted_limit_comp_step1, the inverse mate mapped through the fixed-weight implication;
  2. right_adjoint_weighted_limit_comp_step2, the supplied comparison reindexed along the left adjoint;
  3. right_adjoint_weighted_limit_comp_step3, the mate at ℓ\ell.

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.

Evidence: WEIGHTED-LIMIT-PRESERVATION [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]

Theorem 16.1 — Right adjoints preserve selected weighted limits. Given a computational WW-weighted-limit comparison for DD and an adjunction S⊣RS\dashv R, the active construction returns a computational WW-weighted-limit comparison for RDRD represented by RℓR\ell.

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 WW, so the two audited specializations immediately give interface-level corollaries.

For the terminal weight:

If ℓ\ell carries the selected conical-limit comparison for DD, then RℓR\ell carries the corresponding comparison for RDRD.

For the conjoint of K:J→J′K:J\to J':

If Ran⁡KD\operatorname{Ran}_{K}D carries the selected right-Kan comparison, then RRan⁡KDR\operatorname{Ran}_{K}D carries the corresponding comparison for Ran⁡K(RD)\operatorname{Ran}_{K}(RD).

These are not new preservation algorithms. They are the same right_adjoint_preserves_weighted_limit_cov_comp term with W=TerminalProf⁡(1,J)W=\operatorname{TerminalProf}(\mathbf 1,J) or W=Conjoint⁡(K)W=\operatorname{Conjoint}(K). 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

Cone⁡W(b,F;j′)≃∫j:J[W(j′,j),Hom⁡B(b,Fj)],\operatorname{Cone}_{W}(b,F;j') \simeq \int_{j:J} \left[ W(j',j), \operatorname{Hom}_{B}(b,Fj) \right],

and tensor by a coend

(P⊗BQ)(a,x)≃∫b:BP(a,b)×Q(b,x).(P\otimes_B Q)(a,x) \simeq \int^{b:B}P(a,b)\times Q(b,x).

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 f:X→Yf:X\to Y, one expects suitable change-of-base functors and adjunctions

Σf⊣f∗⊣Πf,\Sigma_f\dashv f^{*}\dashv\Pi_f,

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.

Evidence: DEPENDENT-ADJUNCTIONS [checked · CategoryTheory.GrothendieckElementsCat1, CategoryTheory.grothendieckElements_all_coCartesian, CategoryTheory.straighten_unstraighten_hom_equiv, CategoryTheory.dep_sigma_pullback_adj_equiv, CategoryTheory.dep_pullback_pi_adj_equiv, CategoryTheory.dep_beck_chevalley_sigma_equiv, CategoryTheory.effective_descent_trivialization_equiv]

Formal status — checked (CategoryTheory.GrothendieckFibrationsDescent). Evidence DEPENDENT-ADJUNCTIONS (Cisinski §5.6, Cisinski §7.7, Stacks 02XJ, Mathlib CategoryTheory.Grothendieck). CategoryTheory.GrothendieckFibrationsDescent constructs the covariant and contravariant Grothendieck categories of elements ∫CP\int_{\mathcal{C}} P (GrothendieckElementsCat1, ContravariantElementsCat1), proves every total-space morphism is coCartesian (grothendieckElements_all_coCartesian, paired with NC-16a Part 2a nonIsoFiberArrow_not_coCartesian), establishes split-fibration straightening–unstraightening (straighten_unstraighten_hom_equiv, straighten_unstraighten_fiber_equiv), and proves the dependent family base-change triple Σu⊣u∗⊣Πu\Sigma_u \dashv u^* \dashv \Pi_u (dep_sigma_pullback_adj_equiv, dep_pullback_pi_adj_equiv) together with exact Beck–Chevalley pullback naturality (dep_beck_chevalley_sigma_equiv) with 0 axioms!

✓ Kernel-verified .en (0 axioms)Open in Playground →
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_equiv

Chapter 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 A⋆BA\star B 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

F:J⟶BF:J\longrightarrow B

be a diagram and let

W:J⇝J′W:J\rightsquigarrow J'

be a contravariant weight, meaning a Cat-valued profunctor

W:Jop×J′⟶Catcart.W:J^{\mathrm{op}}\times J'\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

For fixed j′:J′j':J', the weight W(−,j′)W(-,j') is contravariant in JJ. At a candidate target b:Bb:B, its expected cocone category is

Cocone⁡W(F;j′,b)≃[Jop,Cat](W(−,j′),Hom⁡B(F−,b)).\operatorname{Cocone}_{W}(F;j',b) \simeq [J^{\mathrm{op}},\mathsf{Cat}] \bigl(W(-,j'),\operatorname{Hom}_{B}(F-,b)\bigr).

A WW-weighted colimit is a functor

C:J′⟶BC:J'\longrightarrow B

with a representation

Cocone⁡W(F;j′,b)≃Hom⁡B(Cj′,b)\operatorname{Cocone}_{W}(F;j',b) \simeq \operatorname{Hom}_{B}(Cj',b)

natural in j′j' and bb. Compare this with the limit equation

Cone⁡W(b,F;j′)≃Hom⁡B(b,Lj′).\operatorname{Cone}_{W}(b,F;j') \simeq \operatorname{Hom}_{B}(b,Lj').

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 op\mathrm{op} means the dimension-one transpose TT of Chapter 14. Profunctor duality swaps product endpoints and preserves the coefficient fibre. It does not apply total opposite to that fibre.

For

F:J→B,W:J⇝J′,C:J′→B,F:J\to B, \qquad W:J\rightsquigarrow J', \qquad C:J'\to B,

the active definition is

IsWeightedColimit⁡B(F,W,C):=IsWeightedLimit⁡Bop(Fop,Wop,Cop).\operatorname{IsWeightedColimit}_{B}(F,W,C) := \operatorname{IsWeightedLimit}_{B^{\mathrm{op}}} \bigl(F^{\mathrm{op}},W^{\mathrm{op}},C^{\mathrm{op}}\bigr).

Reversing the profunctor endpoints gives

Wop:(J′)op⇝Jop,W^{\mathrm{op}}:(J')^{\mathrm{op}}\rightsquigarrow J^{\mathrm{op}},

which is exactly the variance expected by the limit classifier in the opposite categories. The representing equation there is

Hom⁡Bop(b,Cj′)=Hom⁡B(Cj′,b),\operatorname{Hom}_{B^{\mathrm{op}}}(b,Cj') = \operatorname{Hom}_{B}(Cj',b),

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.

Evidence: OP-DUALITY [checked · JoinSpectra.opCat1, JoinSpectra.opFunctor1, JoinSpectra.join_op_iso_swap]

Formal status — checked. Evidence OP-DUALITY. The involutive category and functor transpose, together with product-swap Op_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:

1J:J⇝1.\mathbf 1^{J}:J\rightsquigarrow\mathbf 1.

For a vertex c:1→Bc:\mathbf 1\to B, the active classifier

IsWeightedColimit⁡(F,TerminalProf⁡(J,1),c)\operatorname{IsWeightedColimit} \bigl(F,\operatorname{TerminalProf}(J,\mathbf 1),c\bigr)

is well formed. Under the standard semantic interpretation its fibres become ordinary cocone categories, and the representation reads

Cocone⁡(F,b)≃Hom⁡B(c,b).\operatorname{Cocone}(F,b) \simeq \operatorname{Hom}_{B}(c,b).

Thus initial objects, coproducts, pushouts, and coequalizers are terminal weight specializations on their usual indexing categories.

For a functor

K:J⟶J′,K:J\longrightarrow J',

the companion has the required colimit variance:

K∗:J⇝J′,K∗(j,j′)=Hom⁡J′(Kj,j′).K_{\ast}:J\rightsquigarrow J', \qquad K_{\ast}(j,j') =\operatorname{Hom}_{J'}(Kj,j').

A selected left Kan-extension comparison is therefore

IsWeightedColimit⁡(F,K∗,Lan⁡KF).\operatorname{IsWeightedColimit} \bigl(F,K_{\ast},\operatorname{Lan}_{K}F\bigr).

With the expected coend or cocone semantics, it gives the pointwise formula

Hom⁡B((Lan⁡KF)(j′),b)≃Nat⁡(Hom⁡J′(K−,j′),Hom⁡B(F−,b)).\operatorname{Hom}_{B} \bigl((\operatorname{Lan}_{K}F)(j'),b\bigr) \simeq \operatorname{Nat} \left( \operatorname{Hom}_{J'}(K-,j'), \operatorname{Hom}_{B}(F-,b) \right).

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.

Evidence: WEIGHTED-COLIMIT-SPECIALIZATIONS [checked · CategoryTheory.WeightedColimitSet, CategoryTheory.terminal_weight_colimit_equiv_cocone, CategoryTheory.coYoneda_representable_colimit_equiv, CategoryTheory.KaroubiCat1, CategoryTheory.karoubi_idempotent_splits, JoinSpectra.left_adjoint_preserves_weighted_colimits]

Formal status — checked (Cat.JoinSpectra, CategoryTheory.IdempotentsWeightedEnds). Evidence WEIGHTED-COLIMIT-SPECIALIZATIONS (Stacks 002P, Cisinski §9.5, Mathlib CategoryTheory.Limits.Shapes.End). CategoryTheory.IdempotentsWeightedEnds constructs WeightedColimitSet via CoendSet, proves the terminal-weight specialization colim1F≃Cocone(F)\mathrm{colim}^{\mathbf{1}} F \simeq \mathrm{Cocone}(F) (terminal_weight_colimit_equiv_cocone) and the co-Yoneda representable density formula ∫c:CC(c,X)×F(c)≃F(X)\int^{c:\mathcal{C}} \mathcal{C}(c, X) \times F(c) \simeq F(X) (coYoneda_representable_colimit_equiv) with 0 axioms, complementing WEIGHTED-END-KAN-SEMANTICS (LanObj, cofinal_colim_map_equiv) and native WeightedColimit_con preservation.

The companion/conjoint distinction is now visible in one table:

Construction along K:J→J′K:J\to J'WeightFibre
right Kan extensionconjoint K∗:J′⇝JK^{\ast}:J'\rightsquigarrow JHom⁡J′(j′,Kj)\operatorname{Hom}_{J'}(j',Kj)
left Kan extensioncompanion K∗:J⇝J′K_{\ast}:J\rightsquigarrow J'Hom⁡J′(Kj,j′)\operatorname{Hom}_{J'}(Kj,j')

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

S:A⟶B,R:B⟶A,S⊣R,S:A\longrightarrow B, \qquad R:B\longrightarrow A, \qquad S\dashv R,

and suppose

C:J′⟶AC:J'\longrightarrow A

carries a comparison certifying it as the WW-weighted colimit of F:J→AF:J\to A. The definition first reads this as a weighted-limit comparison in T(A)T(A). 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

SopCop=(SC)op.S^{\mathrm{op}}C^{\mathrm{op}} =(SC)^{\mathrm{op}}.

Turning the result back around gives a WW-weighted-colimit comparison for SFSF represented by SCSC.

At the level of cocones, the three-comparison proof is the familiar chain

Cocone⁡W(SF;b)≃Cocone⁡W(F;Rb),≃Hom⁡A(C,Rb),≃Hom⁡B(SC,b).\begin{aligned} \operatorname{Cocone}_{W}(SF;b) &\simeq \operatorname{Cocone}_{W}(F;Rb),\\ &\simeq \operatorname{Hom}_{A}(C,Rb),\\ &\simeq \operatorname{Hom}_{B}(SC,b). \end{aligned}

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.

Evidence: WEIGHTED-COLIMIT-PRESERVATION [checked · JoinSpectra.JoinCat, JoinSpectra.join_universal_equiv, JoinSpectra.left_adjoint_preserves_weighted_colimits]

Theorem 17.1 — Left adjoints preserve selected weighted colimits. Given a computational WW-weighted-colimit comparison for FF and an adjunction S⊣RS\dashv R, the active construction returns a computational comparison for SFSF represented by SCSC.

Formal status — checked. Evidence WEIGHTED-COLIMIT-PRESERVATION. The owner left_adjoint_preserves_weighted_colimit_con uses 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:

FeatureWeighted limitWeighted colimit
weightJ′⇝JJ'\rightsquigarrow JJ⇝J′J\rightsquigarrow J'
universal dataarrows b→Fjb\to Fjarrows Fj→bFj\to b
represented homHom⁡B(b,Lj′)\operatorname{Hom}_{B}(b,Lj')Hom⁡B(Cj′,b)\operatorname{Hom}_{B}(Cj',b)
Kan weightconjointcompanion
preserving adjointrightleft
proofdirect three-comparison chainthe 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 AA and BB, the primitive join is a category

A⋆BA\star B

with inclusion functors

ιA:A⟶A⋆B,ιB:B⟶A⋆B.\iota_A:A\longrightarrow A\star B, \qquad \iota_B:B\longrightarrow A\star B.

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:

χ:1A,B⟹Hom⁡A⋆B(ιA−,ιB−),\chi: \mathbf 1_{A,B} \Longrightarrow \operatorname{Hom}_{A\star B}(\iota_A- ,\iota_B-),

where

1A,B:A⇝B\mathbf 1_{A,B}:A\rightsquigarrow B

is the terminal profunctor. At objects, χ\chi supplies

χa,b:ιA(a)⟶ιB(b).\chi_{a,b}:\iota_A(a)\longrightarrow\iota_B(b).

Because χ\chi is a profunctor cell, naturality in both aa and bb is part of one internal datum. It is not an externally quantified family followed by a separately asserted equation. For shaped functors a:I→Aa:I\to A and b:I→Bb:I\to B, join_cross_hom evaluates the same cell to the corresponding shaped cross arrow and retains its higher action.

There is no reverse constructor ιB(b)→ιA(a)\iota_B(b)\to\iota_A(a). The join is directed even when AA and BB individually happen to be groupoidal.

17.7 Recursion And Its Three Beta Observations

To define a functor

H:A⋆B⟶E,H:A\star B\longrightarrow E,

the active nondependent recursor accepts:

  1. a functor F:A→EF:A\to E;
  2. a functor G:B→EG:B\to E;
  3. an internally natural cross cell

    γ:1A,B⟹Hom⁡E(F−,G−).\gamma: \mathbf 1_{A,B} \Longrightarrow \operatorname{Hom}_{E}(F-,G-).

It returns join_elim_func F G gamma. The two restrictions compute:

H∘ιA⇝F,H∘ιB⇝G.\begin{aligned} H\circ\iota_A&\rightsquigarrow F,\\ H\circ\iota_B&\rightsquigarrow G. \end{aligned}

The selected observation of the image of the universal cross cell also computes:

H(χ)⇝γ.H(\chi)\rightsquigarrow\gamma.

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.

Evidence: JOIN-RECURSOR [checked · JoinSpectra.JoinCat, JoinSpectra.join_universal_equiv, JoinSpectra.left_adjoint_preserves_weighted_colimits]

Formal status — checked. Evidence JOIN-RECURSOR. The active owners are Join_cat, join_fst_func, join_snd_func, join_cross_transf, join_cross_hom, join_elim_func, and join_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

1⋆J⟶B\mathbf 1\star J\longrightarrow B

can be constructed from:

  • an object b:Bb:B;
  • a diagram F:J→BF:J\to B;
  • a natural family of cross arrows b→Fjb\to Fj.

That is precisely the data of a cone from bb to FF. Reversing the two parts, a functor

J⋆1⟶BJ\star\mathbf 1\longrightarrow B

can be constructed from FF, an object cc, and arrows Fj→cFj\to c: 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 P:A⇝BP:A\rightsquigarrow B 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 AA and BB;
  • 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

P:A⇝B,P:A\rightsquigarrow B,

its expected collage Coll⁡(P)\operatorname{Coll}(P) contains AA and BB as two parts and uses P(a,b)P(a,b) as the category of arrows from the left object aa to the right object bb. Its universal mapping property has the schematic form

Fun⁡(Coll⁡(P),E)≃∑F:A→E∑G:B→EProfCell⁡(P,Hom⁡E(F−,G−)).\operatorname{Fun}\bigl(\operatorname{Coll}(P),E\bigr) \simeq \sum_{F:A\to E} \sum_{G:B\to E} \operatorname{ProfCell} \bigl(P,\operatorname{Hom}_{E}(F-,G-)\bigr).

Taking P=1A,BP=\mathbf 1_{A,B} gives exactly the input shape of the active join recursor. This is strong design evidence for reading A⋆BA\star B as the prospective collage of the terminal profunctor.

It is not yet a proof of that reading. A checked collage theorem would need:

  1. an object decomposition into the left and right strata;
  2. left-left and right-right hom comparisons recovering AA and BB;
  3. a left-right hom comparison recovering PP;
  4. a right-left hom description, normally initial in the free collage;
  5. composition and higher action compatible with those four regions;
  6. full faithfulness of the inclusions;
  7. an equivalence of mapping categories, including uniqueness and higher transformations;
  8. a dependent eliminator with beta behavior on the cross cells.

In endash (Cat.JoinSpectra), the terminal-profunctor join A⋆BA \star B (JoinSpectra.JoinCat) goes substantially beyond a forward-only recursor:

  1. its object and four-region hom decompositions (left-left≡Hom⁡A\mathrm{left}\text{-}\mathrm{left} \equiv \operatorname{Hom}_A, right-right≡Hom⁡B\mathrm{right}\text{-}\mathrm{right} \equiv \operatorname{Hom}_B, left-right≡1\mathrm{left}\text{-}\mathrm{right} \equiv \mathbf{1}, right-left≡Empty\mathrm{right}\text{-}\mathrm{left} \equiv \mathsf{Empty}) compute by NbE refl (JoinSpectra.join_groupoid_no_backward, JoinSpectra.join_cross_not_iso);
  2. the full universal mapping equivalence out of A⋆BA \star B is proved with both β\beta and η\eta laws (JoinSpectra.join_universal_equiv);
  3. the opposite-duality swap (A⋆B)op≅Bop⋆Aop(A \star B)^{\mathrm{op}} \cong B^{\mathrm{op}} \star A^{\mathrm{op}} is proved (JoinSpectra.join_op_iso_swap); and
  4. for cones 1⋆X\mathbf{1} \star X, the Cone–Coslice adjunction (1⋆−,north)⊣(north↓−)(\mathbf{1} \star -, \mathrm{north}) \dashv (\mathrm{north} \downarrow -) is proved with 0 axioms (JoinSpectra.CosliceCat1, JoinSpectra.join_cone_apex_equiv, JoinSpectra.cone_coslice_adj_equiv)!
Evidence: JOIN-UNIVERSAL-AND-CONE-COSLICE [checked · JoinSpectra.JoinCat, JoinSpectra.join_universal_equiv, JoinSpectra.join_op_iso_swap, 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 Coll⁡(P)\operatorname{Coll}(P) of an arbitrary non-terminal profunctor P:A⇝BP : A \rightsquigarrow B and contextual dependent elimination over arbitrary ω\omega-categories.

Evidence: JOIN-COLLAGE-BOUNDARY [research-boundary]

Formal status — research boundary. Evidence JOIN-COLLAGE-BOUNDARY. While terminal-profunctor JoinCat, opposite swap, and the Cone–Coslice adjunction are checked with 0 axioms, general non-terminal profunctor collages Coll⁡(P)\operatorname{Coll}(P) 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:

weighted representationdirected join recursionclassifies maps into or out of a vertexinternalizes a family of cross arrowsbeta/eta from a profunctor comparisonbeta from introduction/recursionarbitrary weightcurrently the terminal profunctorright/left adjoint preservationprospective collage and dependent elimination\begin{array}{c|c} \text{weighted representation} & \text{directed join recursion}\\ \hline \text{classifies maps into or out of a vertex} & \text{internalizes a family of cross arrows}\\ \text{beta/eta from a profunctor comparison} & \text{beta from introduction/recursion}\\ \text{arbitrary weight} & \text{currently the terminal profunctor}\\ \text{right/left adjoint preservation} & \text{prospective collage and dependent elimination} \end{array}

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 UU of a category K\mathcal K, the probes are simply the arrows

p:V⟶U.p:V\longrightarrow U.

The domain VV is a stage of observation. A further arrow q:W→Vq:W\to V refines the observation, and the composite p∘q:W→Up\circ q:W\to U 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 DU(s)D_U(s) of a section ss over UU.

18.1 A Coherent Field Of Views

Let K\mathcal K be a category. A set-valued presheaf is a functor

X:Kop⟶Set.X:\mathcal K^{\mathrm{op}}\longrightarrow\mathsf{Set}.

Thus every object UU has a set X(U)X(U) of observations, and every arrow p:V→Up:V\to U has a restriction map

p∗=X(p):X(U)⟶X(V).p^*=X(p):X(U)\longrightarrow X(V).

Restriction along an identity does nothing, and restriction along a composite is successive restriction:

(idU)∗=idX(U),(p∘q)∗=q∗∘p∗.(\mathrm{id}_U)^*=\mathrm{id}_{X(U)}, \qquad (p\circ q)^*=q^*\circ p^*.

These equations say more than “data vary with UU.” 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 UU the continuous real-valued functions on UU. An inclusion V⊆UV\subseteq U restricts a function on UU to one on VV. On the opposite of a category of commutative rings, the functor of points of a ring RR assigns to a test ring SS the maps R→SR\to S. 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 X(U)X(U) to be a category rather than merely a set:

X:T(K)⟶Catcart.X:T(\mathcal K)\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

Here TT 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 F:A→BF:\mathcal A\to\mathcal B and a presheaf XX on B\mathcal B, precomposition produces a presheaf on A\mathcal A:

F∗X:=X∘Fop.F^*X:=X\circ F^{\mathrm{op}}.

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 UU supplies a canonical presheaf

yU:=Hom⁡K(−,U).yU:=\operatorname{Hom}_{\mathcal K}(-,U).

At a stage VV, its objects are precisely the probes p:V→Up:V\to U. If q:W→Vq:W\to V, restriction sends pp to p∘qp\circ q. Nothing has been added to the category: the presheaf merely organizes all arrows into UU 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 idU:U→U\mathrm{id}_U:U\to U.

The total category of the family yUyU has objects (V,p)(V,p) with p:V→Up:V\to U. 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 K/U\mathcal K/U. 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 UU 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 p:V→Up:V\to U it assigns a category S(p)S(p), and a refinement q:W→Vq:W\to V induces a functor

S(p)⟶S(p∘q).S(p)\longrightarrow S(p\circ q).

The category S(p)S(p) 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 V→UV\to U is changed, the entire coefficient system pulls back by postcomposing probes, and the maximal higher sieve remains maximal.

Evidence: PSH-YONEDA-HIGHER-SIEVE [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]

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 Hom⁡K(V,U)\operatorname{Hom}_{\mathcal K}(V,U), 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 RR on UU is a collection of arrows into UU such that

p∈R,q:W⟶V⟹p∘q∈R.p\in R, q:W\longrightarrow V \quad\Longrightarrow\quad p\circ q\in R.

The presheaf formulation replaces the collection by a subterminal value at every probe. Write R(p)R(p) for the coefficient at p:V→Up:V\to U. Its object classifier is the proposition

p∈R.p\in R.

The action of the underlying higher sieve carries a witness of p∈Rp\in R to a witness of p∘q∈Rp\circ q\in R. 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.

  1. The maximal sieve contains every arrow into UU. Its membership proposition is always inhabited.
  2. If a monomorphism j:W→Uj:W\to U is regarded as a subobject, it determines the sieve of arrows p:V→Up:V\to U that factor through jj. 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 RR is a sieve on UU and p:V→Up:V\to U. To ask the same question over VV, test every q:W→Vq:W\to V after postcomposition with pp:

q∈p∗R: ⁣ ⁣⟺p∘q∈R.q\in p^*R \quad:\!\!\Longleftrightarrow\quad p\circ q\in R.

This defines a sieve p∗Rp^*R on VV. Indeed, if qq belongs and r:Z→Wr:Z\to W, then

p∘(q∘r)=(p∘q)∘rp\circ(q\circ r)=(p\circ q)\circ r

belongs by closure of RR. More conceptually, the higher-sieve action already postcomposes every probe with pp. 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 RR on UU and arrow p:V→Up:V\to U, there is an ordinary sieve p∗Rp^*R on VV. Its underlying higher sieve is the higher pullback of the underlying higher sieve of RR, and membership at q:W→Vq:W\to V is old membership at p∘q:W→Up\circ q:W\to U.

Evidence: ORDINARY-SIEVE-PULLBACK [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]

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 UU 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 RR is represented by a monomorphism j:A→Uj:A\to U, and suppose the pullback square

A×UV⟶A↓↓jV→pU\begin{array}{ccc} A\times_U V & \longrightarrow & A\\ \downarrow & & \downarrow j\\ V & \xrightarrow{p} & U \end{array}

exists. A probe q:W→Vq:W\to V belongs to p∗Rp^*R exactly when p∘qp\circ q factors through jj. By the universal property of the pullback, this is exactly when qq factors through A×UV→VA\times_U V\to V. Hence p∗Rp^*R 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 O\mathcal O be a presheaf of commutative rings on K\mathcal K, let UU be a stage, and let s∈O(U)s\in\mathcal O(U) be a section. For a probe p:V→Up:V\to U, restriction produces

p∗s∈O(V).p^*s\in\mathcal O(V).

Define the invertibility sieve of ss by

DU(s)(p)  :=  “p∗s is a unit in O(V).”D_U(s)(p) \;:=\; \text{“$p^*s$ is a unit in $\mathcal O(V)$.”}

This is a sieve because ring homomorphisms preserve units. If p∗sp^*s has an inverse and q:W→Vq:W\to V, applying the restriction homomorphism along qq gives an inverse for (p∘q)∗s(p\circ q)^*s. Thus invertibility propagates toward finer probes.

Evidence: COMM-RING-INVERTIBILITY-SIEVE [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 p:V→Up:V\to U computes to unit evidence for the restricted section p∗sp^*s.

The notation DU(s)D_U(s) 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 ss is invertible.” The sieve formulation separates two claims hidden in that phrase:

  1. invertibility is stable under change of stage, so it defines DU(s)D_U(s); and
  2. the sieve DU(s)D_U(s) is represented by a suitable open object over UU.

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 UU on which that section is invertible. In a posetal site, such a largest open represents the sieve DU(s)D_U(s): a probe lies in the sieve exactly when it factors through that open. Conversely, a compact open representing DU(s)D_U(s) 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 DU(s)D_U(s) 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 UU as a category, with one arrow V→WV\to W when V≤WV\leq W. If an open A≤UA\leq U represents DU(s)D_U(s), then for every V≤UV\leq U,

s∣V is invertible⟺V≤A.s|_V\text{ is invertible} \quad\Longleftrightarrow\quad V\leq A.

Taking V=AV=A shows that s∣As|_A is invertible. Taking any VV on which ss is invertible shows V≤AV\leq A. Thus AA is the largest invertibility open. Conversely, if a largest such AA exists, invertibility is preserved by restriction, so precisely the opens below AA belong to DU(s)D_U(s). 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 DU(s)D_U(s), 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 UU. 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 UU? 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:

  1. a family or sieve proposed as a cover;
  2. a topology generated by chosen proposals; and
  3. 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 UU:

ui:Ui⟶U.u_i:U_i\longrightarrow U.

It generates a sieve by admitting every probe that factors through one of the uiu_i. 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 p:V→Up:V\to U belongs when there are an index ii and an arrow h:V→Uih:V\to U_i such that

p=ui∘h.p=u_i\circ h.

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 Ui↪UU_i\hookrightarrow U is covering when their union is UU. The associated sieve contains every open V↪UV\hookrightarrow U that lies inside some UiU_i, 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 ⊤U\top_U. Every arrow into UU belongs to it. It is generated by the identity probe idU:U→U\mathrm{id}_U:U\to U, since every p:V→Up:V\to U factors through the identity. Any reasonable notion of locality must regard this as a cover: observing all of UU at once is sufficient to observe UU.

19.2 The Three Laws Of A Site

Let J(U,R)J(U,R) be the proposition that the sieve RR covers UU. To make JJ a Grothendieck topology, require three laws.

Maximality. The maximal sieve covers:

J(U,⊤U).J(U,\top_U).

Pullback stability. If RR covers UU and p:V→Up:V\to U, then the pulled-back sieve covers VV:

J(U,R)⟹J(V,p∗R).J(U,R)\quad\Longrightarrow\quad J(V,p^*R).

This is the formal expression of “covers remain covers after changing the stage of observation.” If RR is represented by an open A→UA\to U, then under the hypotheses of Chapter 18 the new cover is represented by A×UV→VA\times_U V\to V.

Local character. Suppose RR covers UU. Let SS be another sieve on UU. If, for every p:V→Up:V\to U belonging to RR, the pullback p∗Sp^*S covers VV, then SS covers UU:

J(U,R)and∏p∈RJ(V,p∗S)⟹J(U,S).J(U,R) \quad\text{and}\quad \prod_{p\in R}J(V,p^*S) \quad\Longrightarrow\quad J(U,S).

Local character is the transitivity of coverage. The sieve RR says that its probes see all of UU. Each of those probes says that SS sees all of its domain. Together they say that SS sees all of UU. 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 ui:Ui→Uu_i:U_i\to U cover and, for every ii, the arrows vij:Vij→Uiv_{ij}:V_{ij}\to U_i cover UiU_i. The composites ui∘vij:Vij→Uu_i\circ v_{ij}:V_{ij}\to U should cover UU. Let RR be the sieve generated by the uiu_i and SS the sieve generated by the composites. The pullback of SS to UiU_i contains the locally covering vijv_{ij}, while RR covers UU. 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 K\mathcal K. 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 DU(s)D_U(s) 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.

Evidence: GROTH-TOPOLOGY-SIEVE-LAWS [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]

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:

  1. every proposed cover is covering; and
  2. 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

G(U,R)G(U,R)

be the type of witnesses that RR is one of the proposed generating sieves on UU. 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 TT accepts GG when every witness in G(U,R)G(U,R) produces evidence that RR covers in TT. Now define RR to cover in the generated topology when it covers in every topology accepting GG:

JG(U,R):=∏T:GrothTopology⁡(K)(T accepts G)⟶T(U,R).J_G(U,R) :=\prod_{T:\operatorname{GrothTopology}(\mathcal K)} \bigl(T\text{ accepts }G\bigr)\longrightarrow T(U,R).

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 TT accepts the generators, then JGJ_G is below TT: a JGJ_G-cover is, by definition, a cover in TT.

The order here is an order of consequences. Write J≤TJ\leq T when every JJ-cover is a TT-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 G(U,R)G(U,R) may explain the same proposed cover in different ways. Acceptance must handle each explanation. Once RR belongs to JGJ_G, 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 JGJ_G. The topology accepts every retained generator and is contained in every Grothendieck topology that accepts them.

Evidence: GENERATED-GROTH-TOPOLOGY [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]

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 RR be a sieve on UU. The representable presheaf yUyU contains every probe into UU. 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

R^(V):=∑p:V→UR(p).\widehat R(V) :=\sum_{p:V\to U} R(p).

An object of R^(V)\widehat R(V) is a probe p:V→Up:V\to U together with evidence that it belongs to RR. Forgetting the evidence gives a whole presheaf map

iR:R^⟶yU.i_R:\widehat R\longrightarrow yU.

For a Cat-valued presheaf XX, define the category of sections over UU in representable form as

Sect⁡X(U):=Hom⁡Psh⁡(K)(yU,X).\operatorname{Sect}_X(U) :=\operatorname{Hom}_{\operatorname{Psh}(\mathcal K)}(yU,X).

The ordinary Yoneda lemma identifies this with X(U)X(U). 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 RR is

Match⁡X(R):=Hom⁡Psh⁡(K)(R^,X).\operatorname{Match}_X(R) :=\operatorname{Hom}_{\operatorname{Psh}(\mathcal K)}(\widehat R,X).

Concretely, a matching family assigns an observation in X(V)X(V) to every member p:V→Up:V\to U 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 ui:Ui→Uu_i:U_i\to U, this recovers the usual picture. A matching family begins with local elements

xi∈X(Ui).x_i\in X(U_i).

If the pullbacks Ui×UUjU_i\times_U U_j exist, the two restrictions of xix_i and xjx_j 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 R^→X\widehat R\to X 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 iRi_R restricts a global section to its matching family:

ρR,X:Sect⁡X(U)⟶Match⁡X(R),ρR,X(x)=x∘iR.\rho_{R,X}: \operatorname{Sect}_X(U) \longrightarrow \operatorname{Match}_X(R), \qquad \rho_{R,X}(x)=x\circ i_R.

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 XX is local at RR when the restriction functor ρR,X\rho_{R,X} 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 JJ, say that XX is topology-local when it is local at every JJ-covering sieve. This is the sheaf condition in the form used by the current categorical development:

∏U∏R∏c:J(U,R)IsEquiv⁡(ρR,X).\prod_{U}\prod_{R}\prod_{c:J(U,R)} \operatorname{IsEquiv}(\rho_{R,X}).

The cover witness cc indexes the condition but does not become computational data: coverhood is a proposition. What matters computationally is the fixed forward map ρR,X\rho_{R,X} 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.

Evidence: SIEVE-MATCHING-LOCALITY [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]

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

q=(U,R,c),q=(U,R,c),

where RR is a sieve on UU and cc says that RR covers. These questions themselves form a category. For a fixed presheaf XX, 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 p:V→Up:V\to U and the pulled-back covering question over VV. 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 ρR,X\rho_{R,X} 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 PP and construct a new one aPaP together with a unit

ηP:P⟶aP\eta_P:P\longrightarrow aP

that is universal among maps from PP to local presheaves. Merely restating the sheaf condition does not build aPaP. Nor does choosing an inverse to ρR,X\rho_{R,X} for an already-local XX explain how to add missing amalgamations coherently.

Universality asks for more than a local output. For every topology-local XX, precomposition with the unit should give an equivalence

Hom⁡(aP,X)≃Hom⁡(P,X).\operatorname{Hom}(aP,X) \simeq \operatorname{Hom}(P,X).

Thus a map out of PP 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:

sieve⟶covering sieve⟶matching family⟶amalgamation⟶sheafification.\text{sieve} \longrightarrow \text{covering sieve} \longrightarrow \text{matching family} \longrightarrow \text{amalgamation} \longrightarrow \text{sheafification}.

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 (Ei,φij)(E_i, \varphi_{ij}) satisfying the triple-overlap cocycle φij∘φjk=φik\varphi_{ij} \circ \varphi_{jk} = \varphi_{ik} (Stacks 0238). In CategoryTheory.GrothendieckFibrationsDescent, endash proves with 0 axioms that:

  1. 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;
  2. Effective Descent Along Split Covers (canonicalDescentDatum, effective_descent_trivialization_equiv): pulling back any global family F:B→TypeF : B \to \mathsf{Type} along a cover p:U→Bp : U \to B produces a canonical cocycle-satisfying descent datum, and whenever pp admits a section s:B→Us : B \to U (p∘s=idBp \circ s = \mathrm{id}_B), every descent datum (E,φ)(E, \varphi) reconstructs an effective global family x↦E(s(x))x \mapsto E(s(x)) trivializing (E,φ)(E, \varphi); and
  3. Cocycle Soundness Guard (NC-16a Part 2b): twisting the Boolean fiber over U=Bool→1U = \mathrm{Bool} \to \mathbf{1} by negation φfalse,true=¬\varphi_{\mathrm{false},\mathrm{true}} = \neg while keeping diagonal transitions equal to id\mathrm{id} concretely violates the triple overlap (φ01∘φ11≠φ01\varphi_{01} \circ \varphi_{11} \neq \varphi_{01} or φ01∘φ10=id\varphi_{01} \circ \varphi_{10} = \mathrm{id} vs. non-trivial twist) and is proved twistedBoolGlue_fails_descent_cocycle!
✓ Kernel-verified .en (0 axioms)Open in Playground →
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_equiv

20. 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,glue,silent.\text{return},\qquad \text{glue},\qquad \text{silent}.

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 K\mathcal K, a Grothendieck topology JJ, and a Cat-valued presheaf PP. Write aJPa_JP, or simply aPaP, for the presheaf to be completed. There must first be a whole presheaf map

ηP:P⟶aP.\eta_P:P\longrightarrow aP.

This is return. It does not assert that PP was already local. It embeds the observations we began with among the observations generated by the completion.

Now take an eligible covering question q=(U,R,c)q=(U,R,c). Recall the categories

Match⁡aP(R)=Hom⁡(R^,aP),Sect⁡aP(U)=Hom⁡(yU,aP).\operatorname{Match}_{aP}(R) =\operatorname{Hom}(\widehat R,aP), \qquad \operatorname{Sect}_{aP}(U) =\operatorname{Hom}(yU,aP).

The second constructor is a functor

glue⁡q:Match⁡aP(R)⟶Sect⁡aP(U).\operatorname{glue}_q: \operatorname{Match}_{aP}(R) \longrightarrow \operatorname{Sect}_{aP}(U).

It turns compatible local data into a global section. Notice the recursion: the matching family already takes values in aPaP, not merely in PP. 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

ρq:Sect⁡aP(U)⟶Match⁡aP(R)\rho_q: \operatorname{Sect}_{aP}(U) \longrightarrow \operatorname{Match}_{aP}(R)

be restriction. The silent constructor is the path

glue⁡q∘ρq=id⁡Sect⁡aP(U).(20.1)\operatorname{glue}_q\circ\rho_q =\operatorname{id}_{\operatorname{Sect}_{aP}(U)}. \tag{20.1}

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 R^→aP\widehat R\to aP, and its output is a whole section yU→aPyU\to aP.

For a concrete picture, suppose a cover of UU is presented by two probes

u0:U0⟶U,u1:U1⟶U.u_0:U_0\longrightarrow U, \qquad u_1:U_1\longrightarrow U.

A matching family contains local observations x0x_0 and x1x_1 whose restrictions agree wherever the two probes meet, together with compatibility under every further refinement in the generated sieve. Glue adjoins a section xx over UU with those local observations. If x0x_0 or x1x_1 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 xx, silent identifies the newly adjoined amalgamation with xx.

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 glue⁡q\operatorname{glue}_q separately for each cover is useful on paper, but it hides the hardest coherence. A cover can be pulled back along a probe p:V→Up:V\to U. The matching family moves to the pulled-back sieve, the proposed amalgamation moves to VV, and the two orders of those operations must agree.

Chapter 19 packaged all eligible questions into a category QJ\mathcal Q_J. Over it, matching categories and section categories form two Cat-valued families,

Match⁡aP,Sect⁡aP:QJ⟶Catcart.\operatorname{Match}_{aP},\operatorname{Sect}_{aP}: \mathcal Q_J\longrightarrow\mathsf{Cat}_{\mathrm{cart}}.

The collection of glue operations is retained as one displayed functor

glue⁡all:Match⁡aP⟶Sect⁡aPover QJ.\operatorname{glue}_{\mathrm{all}}: \operatorname{Match}_{aP}\longrightarrow \operatorname{Sect}_{aP} \quad\text{over }\mathcal Q_J.

Its component at qq is glue⁡q\operatorname{glue}_q. Its action along arrows of QJ\mathcal Q_J is precisely the compatibility of glue with change of cover question. For the canonical pullback of qq along pp, naturality gives the square summarized by

Sect⁡[p]∘glue⁡q=glue⁡p∗q∘Match⁡[p].(20.2)\operatorname{Sect}[p]\circ\operatorname{glue}_q = \operatorname{glue}_{p^*q}\circ\operatorname{Match}[p]. \tag{20.2}

Likewise, silent is not stored as an unrelated equation for every UU, RR, and cover witness. It is one path of displayed endofunctors:

glue⁡all∘ρall=id⁡Sect⁡aP.(20.3)\operatorname{glue}_{\mathrm{all}} \circ\rho_{\mathrm{all}} =\operatorname{id}_{\operatorname{Sect}_{aP}}. \tag{20.3}

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.

Evidence: DIRECT-COVER-COMPLETION-HIT [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]

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 aPaP is a sheaf, fix a covering sieve RR on UU. Equation (20.1) already gives

glue⁡R∘ρR=id⁡Sect⁡aP(U).\operatorname{glue}_R\circ\rho_R =\operatorname{id}_{\operatorname{Sect}_{aP}(U)}.

The missing law is

ρR∘glue⁡R=id⁡Match⁡aP(R).(20.4)\rho_R\circ\operatorname{glue}_R =\operatorname{id}_{\operatorname{Match}_{aP}(R)}. \tag{20.4}

Take a matching family m:R^→aPm:\widehat R\to aP and inspect it at a member p:V→Up:V\to U of RR. Because RR is a sieve, every refinement of pp still belongs to RR. Consequently the pullback p∗Rp^*R is maximal on VV: its identity belongs, and then so does every probe into VV.

The glue operation is natural under this pullback. Thus the restriction to VV of the global section glue⁡R(m)\operatorname{glue}_R(m) agrees with gluing the matching data transported to p∗Rp^*R. But a matching family on the maximal sieve is already the restriction of the section visible at VV. The silent law on that pulled-back question removes the redundant glue. At the retained member pp, the result is exactly the original component of mm.

This calculation works at every member of the sieve and respects every arrow between members. The pointwise paths therefore assemble into a whole transformation

ρR∘glue⁡R⟹id⁡Match⁡aP(R),\rho_R\circ\operatorname{glue}_R \Longrightarrow \operatorname{id}_{\operatorname{Match}_{aP}(R)},

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 PP on the site (K,J)(\mathcal K,J), the direct cover completion aPaP is local at every JJ-covering sieve. Hence aPaP is a Cat-valued sheaf.

Evidence: DIRECT-COVER-COMPLETION-LOCALITY [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]

Formal status — checked. Evidence DIRECT-COVER-COMPLETION-LOCALITY. In endash (Topos.Sheaf), Sheaf.member_pullback_is_maximal, Sheaf.sheafify_locality_pointwise, and Theorem 20.1 (Sheaf.sheafify_is_sheaf) are proved with 0 axioms 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 aPaP lands in the right class of objects. Freeness asks whether it lands there in the right way.

First consider a Cat-valued presheaf YY equipped with its own coherent glue and silent operations. Given a seed map

f:P⟶Y,f:P\longrightarrow Y,

the recursor produces

rec⁡Y(f):aP⟶Y.\operatorname{rec}_Y(f):aP\longrightarrow Y.

It is determined by three clauses. On returned data it extends the seed:

rec⁡Y(f)∘ηP=f.(20.5)\operatorname{rec}_Y(f)\circ\eta_P=f. \tag{20.5}

On a recursive glue, it first maps the local family into YY and then uses YY's glue. On the silent path, those two ways of passing through glue agree with the silent path already carried by YY. 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 YY 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 YY, precomposition with the unit is a functor

ηP∗:Hom⁡(aP,Y)⟶Hom⁡(P,Y),h⟼h∘ηP.\eta_P^*: \operatorname{Hom}(aP,Y) \longrightarrow \operatorname{Hom}(P,Y), \qquad h\longmapsto h\circ\eta_P.

Recursion varies functorially in the seed and gives a functor in the opposite direction. Equation (20.5) is the beta law

ηP∗∘rec⁡Y=id⁡Hom⁡(P,Y).\eta_P^*\circ\operatorname{rec}_Y =\operatorname{id}_{\operatorname{Hom}(P,Y)}.

The categorical-HIT uniqueness law gives the eta law

rec⁡Y∘ηP∗=id⁡Hom⁡(aP,Y).\operatorname{rec}_Y\circ\eta_P^* =\operatorname{id}_{\operatorname{Hom}(aP,Y)}.

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 YY is topology-local, then precomposition with ηP\eta_P is an omega-equivalence

Hom⁡(aP,Y)≃Hom⁡(P,Y).(20.6)\operatorname{Hom}(aP,Y) \simeq \operatorname{Hom}(P,Y). \tag{20.6}
Evidence: DIRECT-COVER-COMPLETION-UNIVERSALITY [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]

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 Sh⁡Cat(K,J)\operatorname{Sh}_{\mathbf{Cat}}(\mathcal K,J) 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

i:Sh⁡Cat(K,J)⟶Psh⁡Cat(K).i:\operatorname{Sh}_{\mathbf{Cat}}(\mathcal K,J) \longrightarrow \operatorname{Psh}_{\mathbf{Cat}}(\mathcal K).

Theorem 20.1 lets P↦aPP\mapsto aP land in the sheaf category. The recursor makes this assignment functorial on presheaf maps: given f:P→Qf:P\to Q, compose it with ηQ\eta_Q and extend the resulting seed P→aQP\to aQ across aPaP. Thus there is a functor

a:Psh⁡Cat(K)⟶Sh⁡Cat(K,J).a:\operatorname{Psh}_{\mathbf{Cat}}(\mathcal K) \longrightarrow \operatorname{Sh}_{\mathbf{Cat}}(\mathcal K,J).

The Hom equivalence (20.6), now read with Y=iSY=iS for a sheaf SS, is exactly the adjunction

a⊣i.a\dashv i.

Its unit at PP is the return map ηP\eta_P. Its counit at a sheaf SS is the recursor from the identity seed on the underlying presheaf:

εS:a(iS)⟶S.\varepsilon_S:a(iS)\longrightarrow S.

The return beta law shows

εS∘ηiS=id⁡iS,\varepsilon_S\circ\eta_{iS}=\operatorname{id}_{iS},

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 aa to an arbitrary PP produces a local object. Applying aa again therefore meets an object already in the reflective subcategory, and the counit compares a(aP)a(aP) back to aPaP 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 (K,J)(\mathcal K,J), 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.

Evidence: CAT-VALUED-SHEAFIFICATION-REFLECTOR [checked · Sheaf.Sieve, Sheaf.pullback_sieve_comp, Sheaf.member_pullback_is_maximal, Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv]
Evidence: SHEAFIFY-IDEMPOTENT-CCC [checked · Sheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv, Sheaf.sheafify_idempotent_equiv, Sheaf.sheafify_preserves_binary_prod, Sheaf.psh_exp_is_sheaf]

Formal status — checked. Evidence CAT-VALUED-SHEAFIFICATION-REFLECTOR and SHEAFIFY-IDEMPOTENT-CCC. Topos.Sheaf proves the universal reflector equivalence aJ⊣ιa_J \dashv \iota (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) with 0 axioms.

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, R^\widehat R, yUyU, 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 DU(s)D_U(s) 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:

probe⟶sieve⟶cover⟶matching family⟶free glue⟶reflective sheaf.\text{probe} \longrightarrow \text{sieve} \longrightarrow \text{cover} \longrightarrow \text{matching family} \longrightarrow \text{free glue} \longrightarrow \text{reflective sheaf}.

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 RR consists first of a set ∣R∣|R|, with operations

0R,1R:∣R∣,+R,⋅R:∣R∣×∣R∣⟶∣R∣,−R:∣R∣⟶∣R∣,0_R,1_R:|R|, \qquad +_R,\cdot_R:|R|\times |R|\longrightarrow |R|, \qquad -_R:|R|\longrightarrow |R|,

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 0R≠1R0_R\ne1_R. 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 h:R→Sh:R\to S is more than a function of carriers. It comes with the five preservation laws

h(0)=0,h(1)=1,h(x+y)=h(x)+h(y),h(−x)=−h(x),h(xy)=h(x)h(y).h(0)=0, \quad h(1)=1, \quad h(x+y)=h(x)+h(y), \quad h(-x)=-h(x), \quad h(xy)=h(x)h(y).

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 CRing\mathbf{CRing}.

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 CRing\mathbf{CRing}.

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.

Evidence: COMM-RING-STRUCTURED-CATEGORY [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 CRing\mathbf{CRing}. No inequality 0≠10\ne1, 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 F2\mathbb F_2 computes on the booleans, with exclusive-or as addition and conjunction as multiplication. If RR and SS are rings, their cartesian carrier ∣R∣×∣S∣|R|\times|S| has componentwise operations and hence a ring structure R×SR\times S. 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 CRing\mathbf{CRing}. 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 f1,…,fnf_1,\ldots,f_n be elements of a ring RR. They are unimodular when one retains coefficients a1,…,ana_1,\ldots,a_n and an equality

a1f1+⋯+anfn=1.(21.1)a_1f_1+\cdots+a_nf_n=1. \tag{21.1}

The coefficients are important. The bare proposition that the fif_i 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 af+bg=1af+bg=1, any map out of RR that makes both ff and gg vanish would also make 11 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 h:R→Sh:R\to S transports such a presentation. Preservation of finite sums and products turns (21.1) into

h(a1)h(f1)+⋯+h(an)h(fn)=1h(a_1)h(f_1)+\cdots+h(a_n)h(f_n)=1

in SS. Thus a certificate does not merely remain true after base change; its chosen witnesses move pointwise with the generators. The singleton family [1][1] has the canonical certificate 1⋅1=11\cdot1=1, and a two-element helper packages the familiar equation af+bg=1af+bg=1.

Why call this cover data? In ordinary affine geometry, (21.1) says that the basic opens D(fi)D(f_i) 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.

Evidence: FINITE-UNIMODULAR-COVER-DATA [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 [1][1] and binary af+bg=1af+bg=1 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 RR and a set or groupoid XX of variable names. A polynomial algebra on XX should contain a base map

ι:R⟶P\iota:R\longrightarrow P

and a valuation v:X→∣P∣v:X\to |P|. Its meaning is determined by what happens when the variables are interpreted elsewhere. Given a ring SS, a base map h:R→Sh:R\to S, and a valuation u:X→∣S∣u:X\to|S|, consider structured maps k:P→Sk:P\to S satisfying

k∘ι=h,k(v(x))=u(x)(x:X).(21.2)k\circ\iota=h, \qquad k(v(x))=u(x)\quad(x:X). \tag{21.2}

Both equations are retained pointwise, and the complete factor consists of kk together with those agreements. The universal property says that the classifier of such factors is contractible for every SS, hh, and uu. 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 RR and has the prescribed values on variables.

This is the familiar freeness of R[X]R[X], 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 x2+2x+1x^2+2x+1. 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 tt, this says that a map out of a supplied R[t]R[t] is determined by two observations: what it does to coefficients and where it sends tt. Familiar evaluation is recovered by choosing the target value of tt. For many variables the same sentence is indexed by XX, 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 XX is empty, there is no variable data to choose. The ring RR itself, with the identity base map, satisfies the polynomial universal property: every h:R→Sh:R\to S 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 (R,X)(R,X) classifies extensions of every base map and valuation by a contractible factor space. For the empty variable classifier, the identity extension on RR supplies a checked model.

Evidence: COMM-RING-POLYNOMIAL-UNIVERSALITY [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 RR and XX, concrete monomial syntax, quotient presentation, normalization theorem, runtime rule, or package uniqueness theorem is claimed.

21.4 Making One Element Invertible

Let f∈Rf\in R. A localization of RR at ff begins with a ring LL and a map

ℓ:R⟶L\ell:R\longrightarrow L

for which ℓ(f)\ell(f) is a unit. Unit evidence is explicit: it consists of an inverse yy and an equality ℓ(f)y=1\ell(f)y=1. 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 yy and zz are both inverses to xx, then

y=y⋅1=y(xz)=(yx)z=(xy)z=1⋅z=z.y=y\cdot1=y(xz)=(yx)z=(xy)z=1\cdot z=z.

Associativity and commutativity do the algebraic work; sethood then says that the displayed equality has no further choices. The predicate “xx 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 h:R→Sh:R\to S for which h(f)h(f) is a unit. A factor is a structured map k:L→Sk:L\to S together with the pointwise triangle

k(ℓ(x))=h(x)(x∈R).(21.3)k(\ell(x))=h(x)\qquad(x\in R). \tag{21.3}

The localization property says that this factor space is contractible. We may write the selected target suggestively as R[1/f]R[1/f], while remembering that the notation names the role of LL, not a fraction grammar inside its carrier. Then (21.3) is the invariant content of the usual substitution

xfn⟼h(x)h(f)−n.\frac{x}{f^n}\longmapsto h(x)h(f)^{-n}.

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 hh. The localization package does not choose, for every ring in the universe, whether the image of ff 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 R[1/f]→SR[1/f]\to S. 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 LL, 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 (R,f)(R,f). 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.

Evidence: COMM-RING-LOCALIZATION-UNIVERSALITY [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 (R,f)(R,f), 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 ff is already a unit in RR. The identity map R→RR\to R is a localization at ff. Every admissible map h:R→Sh:R\to S factors through the identity by hh itself, and extensionality makes that factor unique. In particular, every ring has a canonical identity localization at 11.

At the opposite extreme, localize at 00. If h:R→Sh:R\to S sends zero to a unit, then 0S0_S is invertible. Since a ring map preserves zero, one obtains 0S=1S0_S=1_S, and hence every element of SS equals zero. The target is contractible as a carrier. It follows that the unique map from RR to the zero ring has the localization property at 00. 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 e∈Re\in R be idempotent, so e2=ee^2=e. Consider the fixed-image carrier

eR={x∈R∣ex=x}.eR=\{x\in R\mid ex=x\}.

It is closed under the inherited additive operations and multiplication. Its zero is 0R0_R, while its multiplicative unit is ee. Scaling defines a ring map

R⟶eR,x⟼ex.(21.4)R\longrightarrow eR, \qquad x\longmapsto ex. \tag{21.4}

The image of ee under (21.4) is the unit of eReR, and any map that makes ee invertible factors contractibly through this fixed image. Thus eReR is a localization at ee, constructed without a quotient and without fractions.

The factor has a simple formula. If h:R→Sh:R\to S makes the idempotent ee invertible, then idempotence of h(e)h(e) and cancellation by its inverse force h(e)=1h(e)=1. On an element xx fixed by multiplication by ee, the factor sends xx to h(x)h(x). Conversely, the original element rr reaches the fixed image as erer, and then

h(er)=h(e)h(r)=h(r),h(er)=h(e)h(r)=h(r),

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 R=F2×F2R=\mathbb F_2\times\mathbb F_2 and e=(1,0)e=(1,0). Componentwise multiplication makes ee idempotent, yet boolean discrimination proves e≠(0,0)e\ne(0,0) and e≠(1,1)e\ne(1,1). 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.

Evidence: COMM-RING-LOCALIZATION-MODELS [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

Formal status — checked models. Evidence COMM-RING-LOCALIZATION-MODELS. The identity ring localizes at any supplied unit and canonically at 11; the zero ring localizes every ring at 00; and the fixed image eReR localizes at an idempotent ee. The product ring F2×F2\mathbb F_2\times\mathbb F_2 supplies a checked idempotent (1,0)(1,0) 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 RR at ff, and then localize its target at the image of gg. Also choose a localization of RR at the product fgfg. In customary notation the two targets are

R[1/f][1/g]andR[1/(fg)].R[1/f][1/g] \qquad\text{and}\qquad R[1/(fg)].

No fraction calculation is needed to compare them. In the iterated target, the images of both ff and gg are units, so their product is a unit. The universal property of R[1/(fg)]R[1/(fg)] therefore gives a forward map

Φ:R[1/(fg)]⟶R[1/f][1/g].\Phi:R[1/(fg)]\longrightarrow R[1/f][1/g].

Conversely, if fgfg is invertible in a commutative ring, then both ff and gg are invertible: an inverse to ff is g(fg)−1g(fg)^{-1}, and symmetrically for gg. The product localization consequently admits first a factor through R[1/f]R[1/f] and then a factor through the localization at the image of gg. This gives

Ψ:R[1/f][1/g]⟶R[1/(fg)].\Psi:R[1/f][1/g]\longrightarrow R[1/(fg)].

This elementary implication is the hinge of the comparison. If ww is an inverse to fgfg, then

f(gw)=(fg)w=1,g(fw)=(fg)w=1.f(gw)=(fg)w=1, \qquad g(fw)=(fg)w=1.

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, ΨΦ\Psi\Phi 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 ΦΨ\Phi\Psi 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 CRing\mathbf{CRing},

R[1/(fg)]≃R[1/f][1/g].(21.5)R[1/(fg)]\simeq R[1/f][1/g]. \tag{21.5}
Evidence: COMM-RING-ITERATED-LOCALIZATION-EQUIV [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 CRing\mathbf{CRing}. 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 D(f)D(f)

Localization answers a transformational question: what is the universal ring under RR in which ff has become invertible? The sieve of Chapter 18 answers a relational question: along which probes is the image of ff already invertible? These are two faces of the same algebraic event.

Given a ring map u:R→Su:R\to S, membership in the sieve DR(f)D_R(f) is unit evidence for u(f)u(f). Whenever a localization R→R[1/f]R\to R[1/f] has been supplied, the factorization theorem turns that membership into a structured map

R[1/f]⟶SR[1/f]\longrightarrow S

over RR, and contractibility makes all choices of such a factor coherently unique. Conversely, any map over RR carries the selected inverse of the localized image of ff to an inverse of u(f)u(f). 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 DR(f)D_R(f) 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 D(f)D(f) 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 D(f)D(f)

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

DR(f)={h:R⟶S∣h(f) is invertible in S}.D_R(f)=\{h:R\longrightarrow S\mid h(f)\text{ is invertible in }S\}.

This sieve is the geometric form of localization. A chosen localization R→R[1/f]R\to R[1/f] represents its points: maps out of R[1/f]R[1/f] are exactly maps out of RR along which ff is a unit. Products encode intersections, DR(fg)=DR(f)∩DR(g)D_R(fg)=D_R(f)\cap D_R(g), 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 Aff=CRingop\mathbf{Aff}=\mathbf{CRing}^{\mathrm{op}}. A ring map h:R→Sh:R\to S is read geometrically in the opposite direction,

Sp⁡(S)⟶Sp⁡(R).\operatorname{Sp}(S)\longrightarrow\operatorname{Sp}(R).

The notation Sp⁡(R)\operatorname{Sp}(R) is deliberately functorial. At a test ring SS, define

Sp⁡(R)(S)=Hom⁡CRing(R,S).(22.1)\operatorname{Sp}(R)(S) =\operatorname{Hom}_{\mathbf{CRing}}(R,S). \tag{22.1}

If α:S→T\alpha:S\to T, composition sends a point h:R→Sh:R\to S to α∘h:R→T\alpha\circ h:R\to T. Thus (22.1) is not a disconnected family of sets. It is the representable presheaf on Aff\mathbf{Aff}, 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 SS 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 R→S→TR\to S\to T is a commuting triangle of ring maps. The corresponding geometric arrows compose in the reverse order, and evaluating Sp⁡(R)\operatorname{Sp}(R) 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 Spec⁡(R)\operatorname{Spec}(R). 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 f∈Rf\in R. For every test ring SS, let

DR(f)(S)=∑h:R→SUnitS(h(f)),(22.2)D_R(f)(S) =\sum_{h:R\to S}\mathsf{Unit}_S(h(f)), \tag{22.2}

where UnitS(x)\mathsf{Unit}_S(x) is the proposition that xx has a multiplicative inverse. An element of (22.2) is therefore a point hh together with actual evidence that the image of ff is invertible.

The construction is stable under refinement of the test. If α:S→T\alpha:S\to T, a unit witness for h(f)h(f) is carried by α\alpha to a unit witness for α(h(f))=(α∘h)(f)\alpha(h(f))=(\alpha\circ h)(f). Hence every further probe of a DR(f)D_R(f)-point is again a DR(f)D_R(f)-point. In the geometric category Aff\mathbf{Aff}, this downward closure says precisely that DR(f)D_R(f) is a sieve on Sp⁡(R)\operatorname{Sp}(R).

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 DR(f)D_R(f) therefore does not classify probes on which ff merely survives; it classifies probes on which ff 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 DR(1)D_R(1) is the maximal sieve. By contrast, membership in DR(0)D_R(0) 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 V≤UV\le U consists of precisely the probes that factor through VV. 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 DU(s)D_U(s) 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 DU(s)D_U(s) 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,

ιf:R⟶R[1/f].\iota_f:R\longrightarrow R[1/f].

The notation again names a universal role rather than a fraction syntax. By definition, ιf(f)\iota_f(f) is a unit, and every map h:R→Sh:R\to S for which h(f)h(f) is a unit factors contractibly through ιf\iota_f.

There are two immediate constructions at every test ring SS. A map k:R[1/f]→Sk:R[1/f]\to S gives

ΦS(k)=(k∘ιf,k(ιf(f)) is a unit)∈DR(f)(S).(22.3)\Phi_S(k) =\bigl(k\circ\iota_f, \text{$k(\iota_f(f))$ is a unit}\bigr) \in D_R(f)(S). \tag{22.3}

Conversely, a point (h,u)∈DR(f)(S)(h,u)\in D_R(f)(S) is exactly an admissible target for the localization property. The center of its contractible factor space gives a structured map

ΨS(h,u):R[1/f]⟶SwithΨS(h,u)∘ιf=h.(22.4)\Psi_S(h,u):R[1/f]\longrightarrow S \quad\text{with}\quad \Psi_S(h,u)\circ\iota_f=h. \tag{22.4}

The inverse laws require no calculation with fractions. Starting with kk, the map kk itself is a competitor in the factor space used to select ΨSΦS(k)\Psi_S\Phi_S(k). Contractibility identifies the selected factor with kk as a whole structured map. Starting with (h,u)(h,u), the factor triangle identifies the map component of ΦSΨS(h,u)\Phi_S\Psi_S(h,u) with hh; 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 SS and every supplied localization of RR at ff, the maps (22.3) and (22.4) form an explicit equivalence

Hom⁡CRing(R[1/f],S)≃DR(f)(S).(22.5)\operatorname{Hom}_{\mathbf{CRing}}(R[1/f],S) \simeq D_R(f)(S). \tag{22.5}
Evidence: AFFINE-BASIC-OPEN-POINT-REPRESENTATION [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 R[1/f]R[1/f] 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 D(f)D(f)” 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 D(f)D(f) 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 f=1f=1 recovers the whole affine: the identity localization at an already invertible element represents the maximal invertibility question. The case f=0f=0 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 h:R→Sh:R\to S, if h(fg)h(fg) is invertible with inverse ww, then

h(f)(h(g)w)=1,h(g)(h(f)w)=1.h(f)\bigl(h(g)w\bigr)=1, \qquad h(g)\bigl(h(f)w\bigr)=1.

Thus h(f)h(f) and h(g)h(g) 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 h(fg)h(fg) and paired unit evidence for h(f)h(f) and h(g)h(g).

Holding the underlying point hh fixed and summing over all points yields

DR(fg)(S)≃∑h:R→S(UnitS(h(f))×UnitS(h(g))).(22.6)D_R(fg)(S) \simeq \sum_{h:R\to S} \bigl(\mathsf{Unit}_S(h(f))\times \mathsf{Unit}_S(h(g))\bigr). \tag{22.6}

The right side is the explicit pointwise intersection of DR(f)D_R(f) and DR(g)D_R(g): one point of the whole affine carrying membership in both sieves. No equality of chosen localization packages is needed. If a localization at fgfg is supplied, Theorem 22.1 represents the left side, and composition with (22.6) represents the intersection by maps out of R[1/(fg)]R[1/(fg)].

This is the geometric face of Theorem 21.2. The algebraic equivalence

R[1/(fg)]≃R[1/f][1/g]R[1/(fg)]\simeq R[1/f][1/g]

says that entering D(f)D(f) and then D(g)D(g) 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.

Evidence: AFFINE-BASIC-OPEN-INTERSECTION [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

Formal status — checked, pointwise. Evidence AFFINE-BASIC-OPEN-INTERSECTION. The active maps give the equivalence (22.6), and a supplied localization at fgfg 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 D(fg)=D(f)∧D(g)D(fg)=D(f)\wedge D(g). 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 a1f1+⋯+anfn=1a_1f_1+\cdots+a_nf_n=1 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 RR and consider every ring map h:R→Sh:R\to S. Geometrically it is a chart

Sp⁡(S)⟶Sp⁡(R).\operatorname{Sp}(S)\longrightarrow\operatorname{Sp}(R).

These charts form the big affine slice over Sp⁡(R)\operatorname{Sp}(R). A morphism from the chart R→TR\to T to the chart R→SR\to S is a ring map β:S→T\beta:S\to T whose triangle over RR commutes. Its geometric direction is

Sp⁡(T)⟶Sp⁡(S),\operatorname{Sp}(T)\longrightarrow\operatorname{Sp}(S),

and it carries the whole structured restriction map S→TS\to T that coordinates must follow.

There is consequently a tautological commutative-ring-valued coordinate presheaf Ocoord\mathcal O_{\mathrm{coord}}. It sends the chart R→SR\to S to SS and the geometric arrow represented by β:S→T\beta:S\to T to the same structured ring map β\beta. At the whole chart R→RR\to R its value is RR. At the basic-open chart R→R[1/f]R\to R[1/f] 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

Sp⁡(R[1/f])⟶Sp⁡(R)\operatorname{Sp}(R[1/f])\longrightarrow\operatorname{Sp}(R)

has, at every test ring SS, exactly the points of the sieve DR(f)D_R(f). 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 R[1/(fg)]R[1/(fg)] and R[1/f][1/g]R[1/f][1/g] become chart arrows in opposite geometric directions. Applying Ocoord\mathcal O_{\mathrm{coord}} 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 Sp⁡(R)\operatorname{Sp}(R)? The big slice accepts every RR-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.

Evidence: AFFINE-BIG-SLICE-COORDINATES [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 h:R→Sh:R\to S be an object of the big affine slice, and choose a finite family f1,…,fn∈Sf_1,\ldots,f_n\in S together with coefficients satisfying

∑iaifi=1.(22.7)\sum_i a_if_i=1. \tag{22.7}

For each fif_i, also choose a universal-property localization of SS at fif_i. It determines a whole chart arrow

Sp⁡(S[1/fi])⟶Sp⁡(S)⟶Sp⁡(R).(22.8)\operatorname{Sp}(S[1/f_i]) \longrightarrow\operatorname{Sp}(S) \longrightarrow\operatorname{Sp}(R). \tag{22.8}

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 JZarbig(R)J_{\mathrm{Zar}}^{\mathrm{big}}(R). Every selected finite family covers in it by construction, and it is least in the precise sense that

JZarbig(R)≤JJ_{\mathrm{Zar}}^{\mathrm{big}}(R)\le J

for every other Grothendieck topology JJ 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.

Evidence: AFFINE-BIG-ZARISKI-TOPOLOGY [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 R=F2×F2R=\mathbb F_2\times\mathbb F_2. The complementary idempotents e=(1,0)e=(1,0) and 1−e=(0,1)1-e=(0,1) satisfy e+(1−e)=1e+(1-e)=1. Their fixed-image localizations therefore give two selected basic charts in a finite Zariski cover. Since e(1−e)=0e(1-e)=0, 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 Ocoord\mathcal O_{\mathrm{coord}} 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 JZarbig(R)J_{\mathrm{Zar}}^{\mathrm{big}}(R). It then selects a sheaf object O\mathcal O and a whole computational isomorphism from its included presheaf to Ocoord\mathcal O_{\mathrm{coord}}.

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 O(U)\mathcal O(U) 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.

Evidence: AFFINE-STRUCTURE-SHEAF-PRESENTATION [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 UU be a chart, let s∈Ocoord(U)s\in\mathcal O_{\mathrm{coord}}(U), and choose a localization of the chart ring at ss. Restricting a localization element along every member of the sieve DU(s)D_U(s) 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 DU(s)D_U(s) need not cover UU. 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 UU and asks whether compatible data on that cover have a unique global amalgamation. Cartier locality starts with an arbitrary section ss and studies the possibly noncovering region where ss is invertible. Its global object is not a section over all of UU 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 RR, an affine-scheme presentation consists of

AffPres(R)=(structure-sheaf presentation on JZarbig(R),coordinate localization locality).(22.9)\begin{aligned} \mathsf{AffPres}(R)=\bigl(&\text{structure-sheaf presentation on } J_{\mathrm{Zar}}^{\mathrm{big}}(R),\\ &\text{coordinate localization locality}\bigr). \end{aligned} \tag{22.9}

The ring RR 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.

Evidence: AFFINE-THIN-SCHEME-PRESENTATION [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 F2×F2\mathbb F_2\times\mathbb F_2 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 D(s)D(s). 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:

ring map⟶affine probe⟶D(f)⟶R[1/f]⟶basic chart⟶JZarbig.\text{ring map} \longrightarrow \text{affine probe} \longrightarrow D(f) \longrightarrow R[1/f] \longrightarrow \text{basic chart} \longrightarrow J_{\mathrm{Zar}}^{\mathrm{big}}.

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 XX is already present in a ringed site, with one structure presheaf O\mathcal O and one covering sieve R\mathcal R on XX. Two selected members u0:U0→Xu_0:U_0\to X and u1:U1→Xu_1:U_1\to X 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 XX. The result is a binary, site-relative computational scheme presentation.

Starting globally pays a coherence dividend. Restriction maps already belong to O\mathcal O; their identity and composition laws are already functor laws. An intersection, once selected as an actual product in the slice over XX, 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 XX 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 U0U_0 and U1U_1 have been given, along with a candidate overlap U01U_{01}, maps to the charts, and a transition between coordinate descriptions. The atlas-first problem is to construct an object XX for which the diagram is effective: U0U_0 and U1U_1 should cover XX, U01U_{01} 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 XX already be an object of a category K\mathcal K, and let ui:Ui→Xu_i:U_i\to X be actual arrows. Their intersection, if the needed product exists in the slice K/X\mathcal K/X, is no longer an invented compatibility object. It is the categorical object

U01=U0×XU1.(23.1)U_{01}=U_0\times_X U_1. \tag{23.1}

If a single presheaf O\mathcal O is already defined on K\mathcal K, then its values O(Ui)\mathcal O(U_i) and O(U01)\mathcal O(U_{01}) and its two restriction maps are forced by (23.1). Repeated restriction agrees because O\mathcal O is a functor. Global-first geometry therefore shifts the hard question. We no longer ask whether chart data can be glued to create XX; we ask whether selected regions of XX 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 DU(s)D_U(s) 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 A\mathcal A be a reflective commutative-ringed site with base category K\mathcal K. Its included structure presheaf will be written

O:Kop⟶CRing.\mathcal O:\mathcal K^{\mathrm{op}}\longrightarrow\mathbf{CRing}.

Choose an object X∈KX\in\mathcal K, an ordinary sieve R\mathcal R on XX, and evidence that R\mathcal R covers XX in the selected Grothendieck topology. This is already global geometric data. Every arrow q:V→Xq:V\to X in R\mathcal R is a region of XX, and every further restriction of qq remains in R\mathcal R. Grothendieck stability also says that pulling R\mathcal R back along any arrow into XX produces a covering sieve on its domain.

A selected chart is initially nothing more than a selected member of this sieve. Thus an arrow u:U→Xu:U\to X becomes a chart when accompanied by u∈Ru\in\mathcal R. The name does not make UU affine. It records that uu is one of the regions accepted by the global cover; affineness requires the separate comparison developed in Section 23.5.

Select two such members u0:U0→Xu_0:U_0\to X and u1:U1→Xu_1:U_1\to X. 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 q:V→Xq:V\to X in R\mathcal R, it returns a Boolean side bb, a map h:V→Ubh:V\to U_b, and the triangle

q=ub∘h.(23.2)q=u_b\circ h. \tag{23.2}

In dependent notation, the content is

∏q:V→X(q∈R)⟶∑b:2∑h:V→Ub(q=ubh).(23.3)\prod_{q:V\to X} \bigl(q\in\mathcal R\bigr)\longrightarrow \sum_{b:\mathbf 2}\sum_{h:V\to U_b}(q=u_bh). \tag{23.3}

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 u0u_0 and u1u_1 are themselves members and a sieve is closed under precomposition, every arrow factoring through either chart belongs to R\mathcal R. 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 R\mathcal R. Its coverhood comes from the global package, not from the unsupported observation that two arrows have been named. Second, a general member qq 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.

Evidence: GLOBAL-RINGED-COVER-BINARY-GENERATION [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 R\mathcal R, and Grothendieck stability makes it covering. When an explicit generator is needed, (23.3) still computes a factor through U0U_0 or U1U_1. 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 TT be a Grothendieck topology on a category and let O\mathcal O be a commutative-ring-valued presheaf. For s∈O(U)s\in\mathcal O(U), recall the ordinary sieve DU(s)D_U(s) of arrows q:V→Uq:V\to U along which s∣qs|_q 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

DU(1)=⊤,DU(st)=DU(s)∩DU(t).(23.4)\begin{aligned} D_U(1)&=\top,\\ D_U(st)&=D_U(s)\cap D_U(t). \end{aligned} \tag{23.4}

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 UU, then UU is locally void: the literal empty sieve must cover UU. And if s+ts+t is invertible, there must be a covering sieve S\mathcal S such that every q:V→Uq:V\to U in S\mathcal S comes with a selected alternative

s∣q is invertibleort∣q is invertible.(23.5)s|_q\text{ is invertible} \quad\text{or}\quad t|_q\text{ is invertible}. \tag{23.5}

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

DU(0)=⊥,DU(s+t)≤DU(s)∨DU(t).(23.6)D_U(0)=\bot, \qquad D_U(s+t)\le D_U(s)\vee D_U(t). \tag{23.6}

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.

Evidence: TOPOLOGY-LOCAL-RING-CERTIFICATE [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 K\mathcal K, whereas the local geometry of XX lives on the slice K/X\mathcal K/X. 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 XX rather than of an unrelated family of rings.

23.4 Restricting The Whole Structure

For any U∈KU\in\mathcal K, the conventional slice K/U\mathcal K/U has a domain functor

dom⁡U:K/U⟶K,(q:V→U)⟼V.(23.7)\operatorname{dom}_U:\mathcal K/U\longrightarrow\mathcal K, \qquad (q:V\to U)\longmapsto V. \tag{23.7}

Precomposition with its opposite constructs the ambient restriction

O∣U=O∘dom⁡Uop:(K/U)op⟶CRing.(23.8)\mathcal O|_U =\mathcal O\circ\operatorname{dom}_U^{\mathrm{op}} :(\mathcal K/U)^{\mathrm{op}}\longrightarrow\mathbf{CRing}. \tag{23.8}

At a slice object q:V→Uq:V\to U, formula (23.8) computes to O(V)\mathcal O(V). At a triangle over UU, 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 K/U\mathcal K/U. The active interface asks for a reflective commutative-ringed site on that actual slice and a whole isomorphism

ιUOU  ≅  O∣U(23.9)\iota_U\mathcal O_U\;\cong\;\mathcal O|_U \tag{23.9}

in the commutative-ring presheaf category. Here OU\mathcal O_U is the selected structure sheaf of the supplied slice site and ιU\iota_U 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 XX, the topology-local ring certificate of Section 23.3 is attached to the computing presheaf O∣X\mathcal O|_X using the topology of the supplied slice site. The resulting local presentation combines supplied reflective semantics on K/X\mathcal K/X, 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 u:U→Xu:U\to X. To call it affine, it is not enough to attach a ring name RR to UU. We must compare the actual global structure restricted over UU with the affine coordinates developed in Chapter 22.

Begin with the supplied reflective slice presentation (23.9). Choose a ring RR and a thin affine-scheme presentation for RR. Its big affine slice has the generated Zariski topology and coordinate presheaf Ocoord,R\mathcal O_{\mathrm{coord},R}. Next choose a whole basis functor

i:Aff/Sp⁡(R)⟶K/U.(23.10)i:\mathbf{Aff}/\operatorname{Sp}(R)\longrightarrow\mathcal K/U. \tag{23.10}

The direction of (23.10) says that affine coordinate probes are realized as actual regions over UU. It is accompanied by two supplied comparisons. The first is a sheaf-basis equivalence along ii: 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

i∗(O∣U)  ≅  ιRORaff  ≅  Ocoord,R.(23.11)i^*(\mathcal O|_U) \;\cong\;\iota_R\mathcal O_R^{\mathrm{aff}} \;\cong\;\mathcal O_{\mathrm{coord},R}. \tag{23.11}

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 uu retains exactly these inputs: the supplied reflective site on K/U\mathcal K/U, the coordinate ring RR, its thin affine presentation, the basis functor (23.10), and the whole basis realization. The region uu is now affine in the precise, site-relative sense that its actual restricted structure is realized by affine coordinates along the selected basis.

Evidence: WHOLE-SLICE-AFFINE-REALIZATION [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 u0u_0 and u1u_1, 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 q∈Rq\in\mathcal R, 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 qq 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:

SchemeK(2)=∑(A,X,R)(whole-slice local presentation of X,u0,u1∈R,constructive generation as in (23.3),whole affine realizations of u0,u1).(23.12)\begin{aligned} \mathsf{Scheme}_{\mathcal K}^{(2)}=\sum_{(\mathcal A,X,\mathcal R)} \bigl(&\text{whole-slice local presentation of }X,\\ &u_0,u_1\in\mathcal R,\\ &\text{constructive generation as in (23.3)},\\ &\text{whole affine realizations of }u_0,u_1\bigr). \end{aligned} \tag{23.12}

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.

Evidence: BINARY-SITE-RELATIVE-SCHEME [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 XX to U0U_0, from U0U_0 to an overlap region, and perhaps farther to another refinement. These maps are all values of the same contravariant functor O\mathcal O. 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 u0,u1∈K/Xu_0,u_1\in\mathcal K/X, supply a selected binary product with its whole universal property,

u01=u0×u1in K/X.(23.13)u_{01}=u_0\times u_1 \quad\text{in }\mathcal K/X. \tag{23.13}

Its domain in K\mathcal K is an actual object U01U_{01} equipped with arrows pi:U01→Uip_i:U_{01}\to U_i whose composites to XX 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:

O(U0)→ p0∗ O(U01)← p1∗ O(U1).(23.14)\mathcal O(U_0) \xrightarrow{\,p_0^*\,} \mathcal O(U_{01}) \xleftarrow{\,p_1^*\,} \mathcal O(U_1). \tag{23.14}

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 O\mathcal O on the selected categorical intersection.

Evidence: ACTUAL-BINARY-CHART-OVERLAP [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 W→U01W\to U_{01} is introduced, the maps from the chart rings to O(W)\mathcal O(W) agree with the composites through O(U01)\mathcal O(U_{01}) 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 U0U_0 and U1U_1 have affine realizations, U01U_{01} 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:

global ringed object⟶covering sieve⟶two constructive generators⟶whole affine realizations⟶site-relative scheme total⟶inherited intersection.(23.15)\begin{aligned} \text{global ringed object} &\longrightarrow \text{covering sieve}\\ &\longrightarrow \text{two constructive generators}\\ &\longrightarrow \text{whole affine realizations}\\ &\longrightarrow \text{site-relative scheme total}\\ &\longrightarrow \text{inherited intersection}. \end{aligned} \tag{23.15}

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 Proj⁡\operatorname{Proj} 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 AA be a commutative ring. The familiar projective-line atlas has two charts

U0≃Spec⁡A[t],U1≃Spec⁡A[u].(24.1)U_0\simeq \operatorname{Spec} A[t], \qquad U_1\simeq \operatorname{Spec} A[u]. \tag{24.1}

In homogeneous coordinates [x0:x1][x_0:x_1], the first coordinate is t=x1/x0t=x_1/x_0 where x0x_0 is invertible, and the second is u=x0/x1u=x_0/x_1 where x1x_1 is invertible. Both descriptions apply precisely where neither homogeneous coordinate vanishes. Thus the expected intersection has the two coordinate presentations

U01≃D(t)⊆U0,U01≃D(u)⊆U1,u=t−1.(24.2)U_{01}\simeq D(t)\subseteq U_0, \qquad U_{01}\simeq D(u)\subseteq U_1, \qquad u=t^{-1}. \tag{24.2}

In ordinary algebraic notation its ring is therefore written

A[t,t−1]≃A[u,u−1].(24.3)A[t,t^{-1}]\simeq A[u,u^{-1}]. \tag{24.3}

These formulas are a specification, not yet a construction. The symbols D(t)D(t) and D(u)D(u) 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 U0∪U1U_0\cup U_1.

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 PA1\mathbf P^1_A, 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 AA. Write them conventionally as A[t]A[t] and A[u]A[u], 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:

ιt:A[t]⟶Lt,ιu:A[u]⟶Lu.(24.4)\iota_t:A[t]\longrightarrow L_t, \qquad \iota_u:A[u]\longrightarrow L_u. \tag{24.4}

The element ιu(u)\iota_u(u) is a unit in LuL_u. Its chosen inverse therefore defines a valuation of the one-variable family in LuL_u. Polynomial universality selects the unique structured map

φtu:A[t]⟶Lu,φtu(t)=ιu(u)−1,(24.5)\varphi_{tu}:A[t]\longrightarrow L_u, \qquad \varphi_{tu}(t)=\iota_u(u)^{-1}, \tag{24.5}

with the prescribed action on AA. The image of tt is again a unit. The localization universal property now extends (24.5) to a whole ring map

Φtu:Lt⟶Lu.(24.6)\Phi_{tu}:L_t\longrightarrow L_u. \tag{24.6}

Reversing the two polynomial and localization presentations constructs Φut:Lu→Lt\Phi_{ut}:L_u\to L_t. 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 A[t]A[t], that the extension after ιt\iota_t agrees with φtu\varphi_{tu}.

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 t↦u−1t\mapsto u^{-1} 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 AA 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.

Evidence: LAURENT-TRANSITIONS-BY-UNIVERSALITY [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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, LtL_t and LuL_u. A global scheme supplies something stronger. Let U0U_0 and U1U_1 be its selected charts, let U01U_{01} be their selected actual intersection, and evaluate the single global structure presheaf:

R0=O(U0),R1=O(U1),L=O(U01).(24.7)R_0=\mathcal O(U_0), \qquad R_1=\mathcal O(U_1), \qquad L=\mathcal O(U_{01}). \tag{24.7}

Contravariance gives the two inherited restrictions

ρ0:R0⟶L,ρ1:R1⟶L.(24.8)\rho_0:R_0\longrightarrow L, \qquad \rho_1:R_1\longrightarrow L. \tag{24.8}

Suppose now that R0R_0 and R1R_1 are supplied as one-variable polynomial algebras over the same base ring AA, with coordinates tt and uu, and that the literal maps ρ0\rho_0 and ρ1\rho_1 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 LL. It constructs two endomorphisms

Θtu:L⟶L,Θut:L⟶L,(24.9)\Theta_{tu}:L\longrightarrow L, \qquad \Theta_{ut}:L\longrightarrow L, \tag{24.9}

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

Θtu=id⁡L,Θut=id⁡L.(24.10)\Theta_{tu}=\operatorname{id}_L, \qquad \Theta_{ut}=\operatorname{id}_L. \tag{24.10}

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.

Evidence: LAURENT-COMMON-OVERLAP [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 D(t)D(t) 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 U0U_0, the sieve DU0(t)D_{U_0}(t) asks of a probe v:V→U0v:V\to U_0 whether the restricted coordinate t∣Vt|_V 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 A[t,t−1]A[t,t^{-1}] is the same data as a map out of A[t]A[t] for which tt becomes invertible. Thus the selected restriction ρ0:R0→L\rho_0:R_0\to L, when supplied as localization at tt, gives the overlap ring the universal property expected of the region D(t)D(t). The second restriction gives the same actual ring the universal property expected of D(u)D(u).

This is the projective-line instance of the sieve-first insight:

invertibility question⟶ordinary sieve⟶represented principal region.(24.11)\begin{aligned} \text{invertibility question} &\longrightarrow \text{ordinary sieve}\\ &\longrightarrow \text{represented principal region}. \end{aligned} \tag{24.11}

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 SS. 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 Ω\Omega, the ring LL and both maps (24.8) are derived by evaluating that single presheaf. The Laurent adapter adds only a common base ring AA and a coordinate presentation of those exact endpoints:

Laurent(S,Ω)=∑A:CommRingLaurentOverlap(A,R0,R1,L,ρ0,ρ1).(24.12)\mathsf{Laurent}(S,\Omega) = \sum_{A:\mathsf{CommRing}} \mathsf{LaurentOverlap} \bigl(A,R_0,R_1,L,\rho_0,\rho_1\bigr). \tag{24.12}

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 SS and Ω\Omega. 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.

Evidence: ACTUAL-SCHEME-LAURENT-OVERLAP [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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 K\mathcal K, define the supplied projective-line presentation by the dependent total

PLinesup(K)=∑S:SchemeK(2)(∑Ω:Overlap(S)Laurent(S,Ω)).(24.13)\mathsf{PLine}_{\mathrm{sup}}(\mathcal K) = \sum_{S:\mathsf{Scheme}^{(2)}_{\mathcal K}} \left( \sum_{\Omega:\mathsf{Overlap}(S)} \mathsf{Laurent}(S,\Omega) \right). \tag{24.13}

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.

Evidence: SUPPLIED-P1 [checked · Geometry.CommRing1, Geometry.zariskiPrincipalSieve, Geometry.laurent_universal_swap_equiv, Geometry.laurent_formal_equiv, Geometry.p1_global_sections_equiv_base]

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.

supplied global scheme⟶actual chart intersection⟶two localization presentations⟶Laurent coordinate identities.(24.14)\begin{aligned} \text{supplied global scheme} &\longrightarrow \text{actual chart intersection}\\ &\longrightarrow \text{two localization presentations}\\ &\longrightarrow \text{Laurent coordinate identities}. \end{aligned} \tag{24.14}

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 P1\mathbb{P}^1

Over the two-chart Laurent gluing presentation (A[t],A[u],A[t,t−1],u=t−1)(A[t], A[u], A[t, t^{-1}], u = t^{-1}), endash (Algebra.Geometry) carries the calculation all the way to global invariants and constructive scheme separation with 0 axioms:

  1. Global Sections (Γ(PR1,O)≃R\Gamma(\mathbb{P}^1_R, \mathcal{O}) \simeq R): A pair of polynomials (p(t),q(u))(p(t), q(u)) agreeing in R[t,t−1]R[t, t^{-1}] under u=t−1u = t^{-1} must vanish in all positive degrees of tt and t−1t^{-1}, forcing both to equal the same constant in RR (Geometry.P1GlobalSections, Geometry.p1_global_sections_equiv_base).
  2. Constructive Non-Affineness (PF21≄AF21\mathbb{P}^1_{\mathbb{F}_2} \not\simeq \mathbb{A}^1_{\mathbb{F}_2}): Over F2\mathbb{F}_2, Γ(PF21,O)≃F2\Gamma(\mathbb{P}^1_{\mathbb{F}_2}, \mathcal{O}) \simeq \mathbb{F}_2 has two elements whereas F2[t]\mathbb{F}_2[t] is infinite (Geometry.affine_line_f2_not_equiv_base), proving constructively with 0 axioms that the projective line is not isomorphic to the affine line (Geometry.p1_not_affine_line_f2)!
  3. LCF-Certified Twisting-Sheaf Čech Cohomology Hi(Pk1,O(n))H^i(\mathbb{P}^1_k, \mathcal{O}(n)): Transition multiplication by t−nt^{-n} defines the two-chart Čech differential dn0:k[t]⊕k[u]→k[t,t−1]d^0_n : k[t] \oplus k[u] \to k[t, t^{-1}] (with varying-ring d2=0d^2 = 0), and by cas_cech certifies the exact Smith Normal Form ranks for n∈{−2,−1,0,1,2}n \in \{-2, -1, 0, 1, 2\} over both F2\mathbb{F}_2 and Q\mathbb{Q} (Geometry.P1_Om2_D_F2, Geometry.P1_O0_D_F2, Geometry.P1_O2_D_F2, Geometry.P1_Om2_D_Q), verifying Serre duality dim⁡H0(O(n))=dim⁡H1(O(−n−2))\dim H^0(\mathcal{O}(n)) = \dim H^1(\mathcal{O}(-n-2)) and Riemann–Roch χ(O(n))=n+1\chi(\mathcal{O}(n)) = n + 1 inside the kernel!
Evidence: P1-GLOBAL-NONAFFINE-COHOMOLOGY [checked · Geometry.p1_global_sections_equiv_base, Geometry.p1_not_affine_line_f2, Geometry.P1_Om2_D_F2, Geometry.P1_O0_D_F2, Geometry.P1_O2_D_F2, Geometry.P1_Om2_D_Q]

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 witnesses Geometry.P1_Om2_D_F2, Geometry.P1_O0_D_F2, Geometry.P1_O2_D_F2, and Geometry.P1_Om2_D_Q are verified with 0 axioms.

24.8 Graded Proj And Higher Projective Space Pn\mathbb{P}^n

With global sections, non-affineness, and twisting cohomology of P1\mathbb{P}^1 established on the two-chart Laurent presentation, the remaining geometric extension is the general graded Proj construction:

PA1=Proj⁡A[x0,x1],PAn=Proj⁡A[x0,…,xn].(24.15)\mathbf P^1_A=\operatorname{Proj} A[x_0,x_1], \qquad \mathbf P^n_A=\operatorname{Proj} A[x_0,\ldots,x_n]. \tag{24.15}

For each homogeneous coordinate xix_i, homogeneous localization followed by the degree-zero functor recovers the standard affine charts

D+(x0)≃Spec⁡A[x1/x0],D+(x1)≃Spec⁡A[x0/x1],(24.16)D_+(x_0)\simeq \operatorname{Spec} A[x_1/x_0], \qquad D_+(x_1)\simeq \operatorname{Spec} A[x_0/x_1], \tag{24.16}

whose pairwise intersections invert xj/xix_j / x_i. Packaging arbitrary graded commutative rings, homogeneous localization, irrelevant-ideal covers, and atlas-first qcqs gluing for all n≥2n \ge 2 remains a clean next layer built atop the checked P1\mathbb{P}^1 theory above.

Formal status — mathematical development and research boundary. While Γ(PR1,O)≃R\Gamma(\mathbb{P}^1_R, \mathcal{O}) \simeq R, non-affineness over F2\mathbb{F}_2, and twisting Čech cohomology Hi(Pk1,O(n))H^i(\mathbb{P}^1_k, \mathcal{O}(n)) are checked in Algebra.Geometry, general graded Proj and PAn\mathbb{P}^n_A for arbitrary nn 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 u=t−1u=t^{-1} 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 AA, the category Path⁡(A)\operatorname{Path}(A) has elements of AA as objects and equality evidence as arrows:

Obj⁡(Path⁡(A))=A,Hom⁡Path⁡(A)(x,y)=(x=y).(25.1)\operatorname{Obj}(\operatorname{Path}(A))=A, \qquad \operatorname{Hom}_{\operatorname{Path}(A)}(x,y)=(x=y). \tag{25.1}

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 Path⁡(A)\operatorname{Path}(A) 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 f:A→Bf:A\to B be an ordinary function between groupoidal classifiers. Its action on equality is familiar:

p:x=y⟼ap⁡f(p):f(x)=f(y).(25.2)p:x=y \quad\longmapsto\quad \operatorname{ap}_f(p):f(x)=f(y). \tag{25.2}

In the categorical presentation, (25.2) is the arrow action of a whole functor

Path⁡(f):Path⁡(A)⟶Path⁡(B).(25.3)\operatorname{Path}(f):\operatorname{Path}(A) \longrightarrow \operatorname{Path}(B). \tag{25.3}

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 x:Ax:A. The objects of the outgoing-path category are pairs (y,p)(y,p) with p:x=yp:x=y. Its distinguished object (x,refl⁡x)(x,\operatorname{refl}_x) is initial in the groupoidal sense: a family over outgoing paths is determined by what it does there, and its value at (y,p)(y,p) is obtained by transport along pp. In the directed presentation this is the PathOut principle of Chapter 5. In the equality presentation it is the usual eliminator JJ. They are two views of one operation, not competing eliminators.

The computational boundary is precise. Primitive right-based JJ 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 JJ. 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 AA and BB. There are two evident ways to form a category of paths of pairs:

Path⁡(A×B)andPath⁡(A)×Path⁡(B).(25.4)\operatorname{Path}(A\times B) \qquad\text{and}\qquad \operatorname{Path}(A)\times\operatorname{Path}(B). \tag{25.4}

Their objects are the same pairs. Their category heads, however, are not declared definitionally equal. The comparison is instead carried by a canonical functor

χA,B:Path⁡(A×B)⟶Path⁡(A)×Path⁡(B),(25.5)\chi_{A,B}:\operatorname{Path}(A\times B) \longrightarrow \operatorname{Path}(A)\times\operatorname{Path}(B), \tag{25.5}

which is judgmentally the identity on objects. For s=(a0,b0)s=(a_0,b_0) and t=(a1,b1)t=(a_1,b_1), its action on homs reads

(s=t)⟶(a0=a1)×(b0=b1).(25.6)(s=t) \longrightarrow (a_0=a_1)\times(b_0=b_1). \tag{25.6}

The forward map splits a path of pairs by projecting it to the two coordinates. Conversely, a pair

p:a0=a1,q:b0=b1(25.7)p:a_0=a_1, \qquad q:b_0=b_1 \tag{25.7}

can be joined to a path

⟨p,q⟩:(a0,b0)=(a1,b1).(25.8)\langle p,q\rangle:(a_0,b_0)=(a_1,b_1). \tag{25.8}

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:

((a0,b0)=(a1,b1))≃((a0=a1)×(b0=b1)).(25.9)\bigl((a_0,b_0)=(a_1,b_1)\bigr) \simeq \bigl((a_0=a_1)\times(b_0=b_1)\bigr). \tag{25.9}
Evidence: GROUPOIDAL-PRODUCT-CLOSURE [checked · SIP.PathCat1, Cubical.cartesian_square_commutes, Prod.ext]

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

P:A×B⟶U(25.10)P:A\times B\longrightarrow\mathcal U \tag{25.10}

be a groupoidal family, let p:a0=a1p:a_0=a_1 and q:b0=b1q:b_0=b_1, and take u:P(a0,b0)u:P(a_0,b_0). Joining pp and qq gives the simultaneous path (25.8), so primitive equality transport gives a direct route

Tdir(p,q,u):P(a1,b1).(25.11)T_{\mathrm{dir}}(p,q,u) : P(a_1,b_1). \tag{25.11}

There are also two broken-line routes through the square of indices. The base-first route moves from (a0,b0)(a_0,b_0) to (a1,b0)(a_1,b_0) along pp, then from (a1,b0)(a_1,b_0) to (a1,b1)(a_1,b_1) along qq. The fibre-first route changes the BB-coordinate before the AA-coordinate:

TA;B(p,q,u):P(a0,b0)⟶P(a1,b0)⟶P(a1,b1),TB;A(p,q,u):P(a0,b0)⟶P(a0,b1)⟶P(a1,b1).(25.12)\begin{aligned} T_{A;B}(p,q,u)&: P(a_0,b_0)\longrightarrow P(a_1,b_0) \longrightarrow P(a_1,b_1),\\ T_{B;A}(p,q,u)&: P(a_0,b_0)\longrightarrow P(a_0,b_1) \longrightarrow P(a_1,b_1). \end{aligned} \tag{25.12}

All three expressions have the same endpoint, but they are not selected as one judgmental normal form. Equality induction on pp and qq instead proves two comparisons

Tdir(p,q,u)=TA;B(p,q,u),Tdir(p,q,u)=TB;A(p,q,u).(25.13)T_{\mathrm{dir}}(p,q,u)=T_{A;B}(p,q,u), \qquad T_{\mathrm{dir}}(p,q,u)=T_{B;A}(p,q,u). \tag{25.13}

At reflexivity, direct transport and both sequential routes reduce to the original uu. The general comparisons are then generated by the same JJ principle. Reversing the first path in (25.13) and following the second gives the coherence edge between the broken-line routes:

TA;B(p,q,u)=TB;A(p,q,u).(25.14)T_{A;B}(p,q,u)=T_{B;A}(p,q,u). \tag{25.14}

Equations (25.11)–(25.14) form the transport diamond

Tdir(p,q,u)↙↘TA;B(p,q,u)TB;A(p,q,u),(25.15)\begin{array}{ccc} &T_{\mathrm{dir}}(p,q,u)&\\[-2mm] \swarrow&&\searrow\\[-1mm] T_{A;B}(p,q,u)&&T_{B;A}(p,q,u), \end{array} \tag{25.15}

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-AA-then-BB, nor that it is first-BB-then-AA. 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.

Evidence: GROUPOIDAL-PRODUCT-TRANSPORT [checked · SIP.PathCat1, Cubical.cartesian_square_commutes, Prod.ext]

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 PP 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 Path⁡(A×B)\operatorname{Path}(A\times B). A path r:s=tr:s=t in the base then acts on a fibre object u:P(s)u:P(s) by displayed functorial transport. In symbols, the three readings are

TJ(r,u)=primitive equality transport,Tdisp(r,u)=displayed categorical action,Tout(r,u)=structured induction over outgoing paths.(25.16)\begin{aligned} T_J(r,u)&=\text{primitive equality transport},\\ T_{\mathrm{disp}}(r,u)&=\text{displayed categorical action},\\ T_{\mathrm{out}}(r,u)&=\text{structured induction over outgoing paths}. \end{aligned} \tag{25.16}

The second line sees rr as an arrow of the path category. The third sees (t,r)(t,r) as an object of the outgoing-path category based at ss. These descriptions organize transport differently, but both compare to the first:

Tdisp(r,u)=TJ(r,u),Tout(r,u)=TJ(r,u).(25.17)T_{\mathrm{disp}}(r,u)=T_J(r,u), \qquad T_{\mathrm{out}}(r,u)=T_J(r,u). \tag{25.17}

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 JJ 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 JJ 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 JJ, 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 p:x=yp:x=y and q:y=zq:y=z, specialize that generic compositor to Path⁡(f)\operatorname{Path}(f). Its source and target have the familiar readings

ap⁡f(p)⋅ap⁡f(q)andap⁡f(p⋅q),(25.18)\operatorname{ap}_f(p)\mathbin{\cdot}\operatorname{ap}_f(q) \qquad\text{and}\qquad \operatorname{ap}_f(p\mathbin{\cdot}q), \tag{25.18}

where ⋅\cdot 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 ap⁡\operatorname{ap}/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

Hom⁡Path⁡(B)(f(x),f(z))=(f(x)=f(z)).(25.19)\operatorname{Hom}_{\operatorname{Path}(B)}(f(x),f(z)) =(f(x)=f(z)). \tag{25.19}

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:

general lax transfor:the post/left cell may be noninvertible,path target:every such cell is invertible by symmetry,public functor compositor:strict by the default functor laws.(25.20)\begin{array}{rcl} \text{general lax transfor}&:&\text{the post/left cell may be noninvertible},\\ \text{path target}&:&\text{every such cell is invertible by symmetry},\\ \text{public functor compositor}&:&\text{strict by the default functor laws}. \end{array} \tag{25.20}

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 pp. 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.

Evidence: PATH-PSEUDO-LAXITY [checked · SIP.PathCat1, Cubical.cartesian_square_commutes, Prod.ext]

Formal status — checked. Theorem 25.3 (path-realized pseudo-laxity). Evidence PATH-PSEUDO-LAXITY. The generic compositor of Path⁡(f)\operatorname{Path}(f) 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 ω\omega-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 00-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 ω\omega-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 XX should therefore amount to choosing a point of XX and a loop at that point. When XX 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

N→succN→succN→succ⋯(26.1)\mathbb N\xrightarrow{\mathsf{succ}} \mathbb N\xrightarrow{\mathsf{succ}} \mathbb N\xrightarrow{\mathsf{succ}}\cdots \tag{26.1}

by the set-truncated telescope-localization construction of Chapter 7. Write

Integer=Tel⁡(N,succ).(26.2)\mathsf{Integer}=\operatorname{Tel}(\mathbb N,\mathsf{succ}). \tag{26.2}

A representative at stage nn with value xx will be denoted [n,x][n,x] and has the intended reading x−nx-n. The telescope constructor identifies the diagonal step

[n+1,x+1]=[n,x].(26.3)[n+1,x+1]=[n,x]. \tag{26.3}

Thus [0,0][0,0] represents zero, [0,x][0,x] represents the nonnegative integer xx, and [1,0][1,0] represents negative one. No subtraction operation is needed to define the carrier. The notation x−nx-n 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: nn applications of the inverse shift and a current natural value xx. 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:

succ,pred:Integer⟶Integer,succ pred≃id⁡,pred succ≃id⁡.(26.4)\mathsf{succ},\mathsf{pred}:\mathsf{Integer}\longrightarrow \mathsf{Integer}, \qquad \mathsf{succ}\,\mathsf{pred}\simeq\operatorname{id}, \quad \mathsf{pred}\,\mathsf{succ}\simeq\operatorname{id}. \tag{26.4}

Consequently successor is retained as a type equivalence. Univalence turns that equivalence into a path

ua(succ):Integer=Integer,(26.5)\mathsf{ua}(\mathsf{succ}): \mathsf{Integer}=\mathsf{Integer}, \tag{26.5}

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 [n,x][n,x], 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.

Evidence: INTEGER-LOCALIZATION-LINE [checked · Int.succEquiv, Int.isSet, Circle.loopSpaceEquivInt, Spectra.trunc0_circle_equiv_unit]

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

Circle:U,base:Circle,loop:base=base.(26.6)\mathsf{Circle}:\mathcal U, \qquad \mathsf{base}:\mathsf{Circle}, \qquad \mathsf{loop}:\mathsf{base}=\mathsf{base}. \tag{26.6}

Its inverse loop is simply loop−1\mathsf{loop}^{-1}, 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 D:Circle→UD:\mathsf{Circle}\to\mathcal U, an element b:D(base)b:D(\mathsf{base}), and a dependent path

ℓ:PathOver⁡D(loop;b,b),(26.7)\ell: \operatorname{PathOver}_D(\mathsf{loop};b,b), \tag{26.7}

it produces a section

circle_ind(D,b,ℓ):∏x:CircleD(x).(26.8)\mathsf{circle\_ind}(D,b,\ell): \prod_{x:\mathsf{Circle}}D(x). \tag{26.8}

The section computes judgmentally at the point constructor. More significantly, its canonical dependent action computes judgmentally at the path constructor:

circle_ind(D,b,ℓ)(base)≡b,apd⁡(circle_ind(D,b,ℓ),loop)≡ℓ.(26.9)\begin{aligned} \mathsf{circle\_ind}(D,b,\ell)(\mathsf{base}) &\equiv b,\\ \operatorname{apd}(\mathsf{circle\_ind}(D,b,\ell),\mathsf{loop}) &\equiv \ell. \end{aligned} \tag{26.9}

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 loop\mathsf{loop}.

Ordinary recursion is the constant-family case of (26.8). For a point b:Bb:B and loop ℓ:b=b\ell:b=b, it gives a function

circle_rec(B,b,ℓ):Circle→B.(26.10)\mathsf{circle\_rec}(B,b,\ell):\mathsf{Circle}\to B. \tag{26.10}

Its dependent action inherits the second reduction in (26.9), represented as the constant-family path-over built from ℓ\ell. The familiar ordinary equation

ap⁡(circle_rec(B,b,ℓ),loop)=ℓ(26.11)\operatorname{ap}(\mathsf{circle\_rec}(B,b,\ell),\mathsf{loop})=\ell \tag{26.11}

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 bb 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 BB. 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.

Evidence: CIRCLE-HIT-COMPUTATION [checked · Int.succEquiv, Int.isSet, Circle.loopSpaceEquivInt, Spectra.trunc0_circle_equiv_unit]

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 ordinary ap equation 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

Code:Circle⟶U(26.12)\mathsf{Code}:\mathsf{Circle}\longrightarrow\mathcal U \tag{26.12}

by

Code(base)≡Integer,ap⁡(Code,loop)=ua(succ).(26.13)\mathsf{Code}(\mathsf{base})\equiv\mathsf{Integer}, \qquad \operatorname{ap}(\mathsf{Code},\mathsf{loop}) =\mathsf{ua}(\mathsf{succ}). \tag{26.13}

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:

transport⁡Code(loop,z)=succ(z),transport⁡Code(loop−1,z)=pred(z).(26.14)\begin{aligned} \operatorname{transport}^{\mathsf{Code}}(\mathsf{loop},z) &=\mathsf{succ}(z),\\ \operatorname{transport}^{\mathsf{Code}}(\mathsf{loop}^{-1},z) &=\mathsf{pred}(z). \end{aligned} \tag{26.14}

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 x:Circlex:\mathsf{Circle}, a path p:base=xp:\mathsf{base}=x can now be lifted into the code family. Start at integer zero and transport it along pp:

encodex(p):=transport⁡Code(p,0):Code(x).(26.15)\mathsf{encode}_x(p) :=\operatorname{transport}^{\mathsf{Code}}(p,0) :\mathsf{Code}(x). \tag{26.15}

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 pp and then follows qq, transport in the code family first lifts zero along pp and then acts along qq. Each occurrence of loop\mathsf{loop} contributes successor, and each occurrence of loop−1\mathsf{loop}^{-1} contributes predecessor. Adjacent inverse pairs cancel through (26.4). Thus a composite such as

loop⋅loop−1⋅loop⋅loop\mathsf{loop}\cdot\mathsf{loop}^{-1}\cdot \mathsf{loop}\cdot\mathsf{loop}

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

(base=base)⟶Integer.(26.16)(\mathsf{base}=\mathsf{base})\longrightarrow\mathsf{Integer}. \tag{26.16}

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 xx 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 loop\mathsf{loop}; inverse powers repeatedly append loop−1\mathsf{loop}^{-1}:

loop0=reflbase,loopn+1=loopn⋅loop,loop−(n+1)=loop−n⋅loop−1.(26.17)\begin{aligned} \mathsf{loop}^{0} &=\mathsf{refl}_{\mathsf{base}},\\ \mathsf{loop}^{n+1} &=\mathsf{loop}^{n}\cdot\mathsf{loop},\\ \mathsf{loop}^{-(n+1)} &=\mathsf{loop}^{-n}\cdot\mathsf{loop}^{-1}. \end{aligned} \tag{26.17}

The telescope presentation asks for a slightly subtler definition. A stage representative [n,x][n,x] should decode to the loop power corresponding to x−nx-n. Rather than first choosing a signed normal form, the construction recurses simultaneously on nn and xx. Along the diagonal it cancels one positive and one negative step, so that

power(n+1,x+1)≡power(n,x).(26.18)\mathsf{power}(n+1,x+1)\equiv\mathsf{power}(n,x). \tag{26.18}

The coherence required by the telescope relation (26.3) is therefore literal reflexivity. Integer elimination then gives the based decoder

decodebase:Integer⟶(base=base),(26.19)\mathsf{decode}_{\mathsf{base}}: \mathsf{Integer}\longrightarrow (\mathsf{base}=\mathsf{base}), \tag{26.19}

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, [0,x][0,x] decodes to the xxth positive power. At value zero, [n,0][n,0] decodes to the nnth 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

M(x):=Code(x)⟶(base=x).(26.20)M(x):=\mathsf{Code}(x)\longrightarrow(\mathsf{base}=x). \tag{26.20}

At the base, the desired inhabitant is (26.19). To apply Circle induction one must show that this function returns to itself over loop\mathsf{loop}. 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

loopz−1⋅loop=loopz.(26.21)\mathsf{loop}^{z-1}\cdot\mathsf{loop}=\mathsf{loop}^{z}. \tag{26.21}

Positive and negative cases are proved from path composition, reversal, and inverse cancellation. The resulting dependent loop datum feeds the Circle eliminator and produces

decodex:Code(x)⟶(base=x)(26.22)\mathsf{decode}_x: \mathsf{Code}(x)\longrightarrow(\mathsf{base}=x) \tag{26.22}

for every xx. 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 x↦(base=x)x\mapsto(\mathsf{base}=x) and the code family x↦Code(x)x\mapsto\mathsf{Code}(x). 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 p:base=xp:\mathsf{base}=x, ordinary endpoint path induction reduces pp to reflexivity. Encoding reflexivity is zero and decoding zero is reflexivity, so

decodex(encodex(p))=p.(26.23)\mathsf{decode}_x(\mathsf{encode}_x(p))=p. \tag{26.23}

The reverse composite begins at the base. One proves by natural and telescope induction that positive loop powers encode to [0,n][0,n], inverse powers encode to [n,0][n,0], and the general simultaneous power encodes to its own representative [n,x][n,x]. Integer induction then gives

encodebase(decodebase(z))=z.(26.24)\mathsf{encode}_{\mathsf{base}} (\mathsf{decode}_{\mathsf{base}}(z))=z. \tag{26.24}

To extend (26.24) from the base fibre to every xx, observe that every Code(x)\mathsf{Code}(x) 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

encodex(decodex(c))=c(26.25)\mathsf{encode}_x(\mathsf{decode}_x(c))=c \tag{26.25}

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

(base=base)≃Integer.(26.26)(\mathsf{base}=\mathsf{base})\simeq\mathsf{Integer}. \tag{26.26}

Now form the categorical realization Circlecat:=Path⁡(Circle)\mathsf{Circle}_{\mathrm{cat}}:=\operatorname{Path}(\mathsf{Circle}). Its based hom carrier is definitionally the same loop space, so there is also

Hom⁡Circlecat(base,base)≃Integer.(26.27)\operatorname{Hom}_{\mathsf{Circle}_{\mathrm{cat}}} (\mathsf{base},\mathsf{base}) \simeq\mathsf{Integer}. \tag{26.27}

This is the precise meaning of the shorthand “Hom⁡(Circle)=Z\operatorname{Hom}(\mathsf{Circle})=\mathbb Z.” 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

Hom⁡cat(base,base)≃ωPath⁡(Integer),(26.28)\operatorname{Hom}_{\mathrm{cat}} (\mathsf{base},\mathsf{base}) \simeq_{\omega} \operatorname{Path}(\mathsf{Integer}), \tag{26.28}

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 Integer\mathsf{Integer} 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.

Evidence: CIRCLE-LOOP-INTEGER [checked · Int.succEquiv, Int.isSet, Circle.loopSpaceEquivInt, Spectra.trunc0_circle_equiv_unit]

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 explicit TypeEquiv between 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 AA be a groupoidal classifier and let e:A≃Ae:A\simeq A be a self-equivalence. Univalence turns ee into a universe path, and Circle recursion constructs a family

Mone:Circle⟶U,Mone(base)=A,ap⁡(Mone,loop)=ua(e).(26.29)\begin{aligned} \mathsf{Mon}_e &: \mathsf{Circle}\longrightarrow\mathcal U, &\mathsf{Mon}_e(\mathsf{base})&=A,\\ \operatorname{ap}(\mathsf{Mon}_e,\mathsf{loop}) &=\mathsf{ua}(e).&& \end{aligned} \tag{26.29}

Transport around the actual loop agrees with the forward map of ee. Taking A=IntegerA=\mathsf{Integer} and e=succe=\mathsf{succ} 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 AA at its point and the univalence path of ee 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.

Evidence: CIRCLE-MONODROMY [checked · Int.succEquiv, Int.isSet, Circle.loopSpaceEquivInt, Spectra.trunc0_circle_equiv_unit]

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 base=x\mathsf{base}=x for every xx would say too much: it would contract the Circle and destroy its nontrivial loop space. The correct statement is mere connectedness:

∏x:Circle∥base=x∥−1.(26.30)\prod_{x:\mathsf{Circle}} \left\|\mathsf{base}=x\right\|_{-1}. \tag{26.30}

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 ∥Circle∥0\|\mathsf{Circle}\|_0 be the classified set truncation and take the image of base\mathsf{base} 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:

isContr⁡(∥Circle∥0).(26.31)\operatorname{isContr}\bigl(\|\mathsf{Circle}\|_0\bigr). \tag{26.31}

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.

Evidence: CIRCLE-CONNECTED-TRUNCATION [checked · Int.succEquiv, Int.isSet, Circle.loopSpaceEquivInt, Spectra.trunc0_circle_equiv_unit]

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:

shapegeneratorbased hom classifierwalking endomorphismdirected arrowNCircleinvertible pathInteger.(26.32)\begin{array}{c|c|c} \text{shape}&\text{generator}&\text{based hom classifier}\\ \hline \text{walking endomorphism}&\text{directed arrow}&\mathbb N\\ \text{Circle}&\text{invertible path}&\mathsf{Integer}. \end{array} \tag{26.32}

The change from N\mathbb N 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 nnth directed power maps to the nonnegative integer [0,n][0,n] and to the nnth positive Circle loop. Nothing in the directed source names [n,0][n,0] or loop−n\mathsf{loop}^{-n}: 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 CC, it produces a groupoidal classifier Groupoidify(C)\mathsf{Groupoidify}(C) and a whole functor

ηC:C⟶Path⁡(Groupoidify(C)).(27.1)\eta_C:C\longrightarrow \operatorname{Path}(\mathsf{Groupoidify}(C)). \tag{27.1}

The functor ηC\eta_C 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 GG. A map h:Groupoidify(C)→Gh:\mathsf{Groupoidify}(C)\to G restricts along (27.1) to a path-valued functor on CC. Conversely, any F:C→Path⁡(G)F:C\to\operatorname{Path}(G) extends to a map from the groupoidification. The checked theorem says that restriction and extension are inverse at the level of whole mapping categories:

Map⁡Grpd(Groupoidify(C),G)≃ωFun⁡(C,Path⁡(G)).(27.2)\operatorname{Map}_{\mathsf{Grpd}} (\mathsf{Groupoidify}(C),G) \simeq_{\omega} \operatorname{Fun} (C,\operatorname{Path}(G)). \tag{27.2}

Before studying the arbitrary category CC, 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

w:WalkingEnd⟶Circlecat(27.3)w:\mathsf{WalkingEnd}\longrightarrow\mathsf{Circle}_{\mathrm{cat}} \tag{27.3}

sending the unique point to base\mathsf{base} and the directed generator to loop\mathsf{loop}. Its action on the nnth directed power is the nnth positive Circle power. Following this action by the Circle encoder gives the canonical inclusion of natural numbers into the localized Integer line:

encode⁡(w(genn))=[0,n].(27.4)\operatorname{encode}\bigl(w(\mathsf{gen}^{n})\bigr)=[0,n]. \tag{27.4}

The comparison is retained not only for each nn 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 GG be any groupoidal target. Precomposition with ww restricts a function h:Circle→Gh:\mathsf{Circle}\to G to a functor

RG(h):WalkingEnd⟶Path⁡(G).(27.5)R_G(h):\mathsf{WalkingEnd}\longrightarrow\operatorname{Path}(G). \tag{27.5}

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 h(base)h(\mathsf{base}). 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 ap⁡h(loop)\operatorname{ap}_h(\mathsf{loop}).

The inverse construction reads a path-valued WalkingEnd representation FF. It extracts the image of the walking point and the image path of the generator, then applies Circle recursion:

EG(F)(x):=circle_rec(G,F(pt),F(gen),x).(27.6)E_G(F)(x):= \mathsf{circle\_rec} \bigl(G,F(\mathsf{pt}),F(\mathsf{gen}),x\bigr). \tag{27.6}

The object action in (27.6) is only the first layer. The extension varies as a whole functor in FF. A transformation between two representations in Path⁡(G)\operatorname{Path}(G) 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

RGEG=id⁡,EGRG=id⁡(27.7)R_G E_G=\operatorname{id}, \qquad E_G R_G=\operatorname{id} \tag{27.7}

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

Map⁡Grpd(Circle,G)≃ωFun⁡(WalkingEnd,Path⁡(G)).(27.8)\operatorname{Map}_{\mathsf{Grpd}}(\mathsf{Circle},G) \simeq_{\omega} \operatorname{Fun} (\mathsf{WalkingEnd},\operatorname{Path}(G)). \tag{27.8}

It is important that (27.8) holds for every groupoidal GG, not only for the Circle itself or for the Integer classifier used in Chapter 26. A path-valued WalkingEnd representation in GG consists of an object a:Ga:G and a loop p:a=ap:a=a, 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 p−1p^{-1} exists in GG, 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.

Evidence: WE-GROUP-COMPLETION [checked · Groupoidify.walkingEndToCircle, Groupoidify.walking_end_equiv_circle]

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 GG, 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

src→edgetgt,(27.9)\mathsf{src}\xrightarrow{\mathsf{edge}}\mathsf{tgt}, \tag{27.9}

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:

Interval:U,i0,i1:Interval,seg:i0=i1.(27.10)\mathsf{Interval}:\mathcal U, \qquad i_0,i_1:\mathsf{Interval}, \qquad \mathsf{seg}:i_0=i_1. \tag{27.10}

For a family D:Interval→UD:\mathsf{Interval}\to\mathcal U, the eliminator takes b0:D(i0)b_0:D(i_0), b1:D(i1)b_1:D(i_1), and a dependent path over seg\mathsf{seg}. 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

j:WalkingArrow⟶Path⁡(Interval)(27.11)j:\mathsf{WalkingArrow}\longrightarrow \operatorname{Path}(\mathsf{Interval}) \tag{27.11}

sends source to i0i_0, target to i1i_1, and edge to seg\mathsf{seg}. For any groupoidal GG, restricting along jj 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

Map⁡Grpd(Interval,G)≃ωFun⁡(WalkingArrow,Path⁡(G)).(27.12)\operatorname{Map}_{\mathsf{Grpd}}(\mathsf{Interval},G) \simeq_{\omega} \operatorname{Fun} (\mathsf{WalkingArrow},\operatorname{Path}(G)). \tag{27.12}

The right side of (27.12) has a particularly direct reading. A functor from the walking arrow chooses two objects a0,a1:Ga_0,a_1:G and one path p:a0=a1p:a_0=a_1. 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.

Evidence: WALKING-INTERVAL-GROUPOIDIFICATION [checked · Groupoidify.Carrier, Groupoidify.universal_equiv, Groupoidify.walking_arrow_equiv_unit, Groupoidify.walking_arrow_map_equiv]

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 CC, there is a primitive groupoidal HIT Groupoidify(C)\mathsf{Groupoidify}(C) 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

x∈Obj⁡(C)⟼ηC(x):Groupoidify(C),f:x→y⟼ηC(f):ηC(x)=ηC(y).(27.13)\begin{aligned} x\in\operatorname{Obj}(C) &\longmapsto \eta_C(x):\mathsf{Groupoidify}(C),\\ f:x\to y &\longmapsto \eta_C(f):\eta_C(x)=\eta_C(y). \end{aligned} \tag{27.13}

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 CC; it does not mean that only the object set of CC 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 Groupoidifyn\mathsf{Groupoidify}_n at every dimension. The first hom action of ηC\eta_C 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 F:C→Path⁡(G)F:C\to\operatorname{Path}(G), the recursor produces

rec⁡F:Groupoidify(C)⟶G.(27.14)\operatorname{rec}_F: \mathsf{Groupoidify}(C)\longrightarrow G. \tag{27.14}

It computes judgmentally on every represented source object, and its canonical dependent action on every represented source arrow computes to the corresponding arrow of FF embedded in the constant motive:

rec⁡F(ηC(x))≡F(x),apd⁡(rec⁡F,ηC(f))≡constPathOver⁡(F(f)).(27.15)\begin{aligned} \operatorname{rec}_F(\eta_C(x)) &\equiv F(x),\\ \operatorname{apd}(\operatorname{rec}_F,\eta_C(f)) &\equiv \operatorname{constPathOver}(F(f)). \end{aligned} \tag{27.15}

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

EC,G:Fun⁡(C,Path⁡(G))⟶Map⁡Grpd(Groupoidify(C),G).(27.16)E_{C,G}: \operatorname{Fun}(C,\operatorname{Path}(G)) \longrightarrow \operatorname{Map}_{\mathsf{Grpd}} (\mathsf{Groupoidify}(C),G). \tag{27.16}

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 FF would not express how extension behaves on proofs between representations.

The requirement that GG be groupoidal is doing real work. Each directed arrow F(f)F(f) 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 ff 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 C→GC\to G; it is the category of functors into the path realization of a groupoidal target.

At the same time, nothing forces the original arrows of CC 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 f:x→yf:x\to y and g:y→zg:y\to z are composable arrows in CC. Since ηC\eta_C is a whole functor, its internal action supplies a compositor

ϕg,f:ηC(g)⋅ηC(f)⟹ηC(g∘f).(27.17)\phi_{g,f}: \eta_C(g)\cdot\eta_C(f) \Longrightarrow \eta_C(g\circ f). \tag{27.17}

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 CC, 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 FF carries the corresponding compositor, so extending FF respects the same boundary. The generic theorem is sensitive to the categorical structure of CC, 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 ω\omega-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 h:Groupoidify(C)→Gh:\mathsf{Groupoidify}(C)\to G and precomposing with ηC\eta_C:

RC,G(h)=Path⁡(h)∘ηC.(27.18)R_{C,G}(h)=\operatorname{Path}(h)\circ\eta_C. \tag{27.18}

Like extension, RC,GR_{C,G} is a whole functor. The categorical-HIT beta and eta clauses are whole paths

RC,GEC,G=id⁡,EC,GRC,G=id⁡.(27.19)R_{C,G}E_{C,G}=\operatorname{id}, \qquad E_{C,G}R_{C,G}=\operatorname{id}. \tag{27.19}

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:

RC,G:Map⁡Grpd(Groupoidify(C),G)≃ωFun⁡(C,Path⁡(G)).(27.20)R_{C,G}: \operatorname{Map}_{\mathsf{Grpd}} (\mathsf{Groupoidify}(C),G) \simeq_{\omega} \operatorname{Fun}(C,\operatorname{Path}(G)). \tag{27.20}
Evidence: GENERIC-GROUPOIDIFICATION-MAPPING [checked · Groupoidify.Carrier, Groupoidify.universal_equiv, Groupoidify.walking_arrow_equiv_unit, Groupoidify.walking_arrow_map_equiv]

Formal status — checked. Theorem 27.1 (generic free inversion). Evidence GENERIC-GROUPOIDIFICATION-MAPPING. In endash (HoTT.Groupoidify), formation (Groupoidify.Carrier), unit (Groupoidify.unitFun), groupoid target universal property (Groupoidify.universal_equiv), and Groupoidify(WalkingEnd) ≃ Circle (Groupoidify.walking_end_equiv_circle) are proved with 0 axioms, and Section 27.7 completes covariant source functoriality and the full Groupoidify ⊣ Path adjunction.

The forward direction in (27.20) is specifically restriction along ηC\eta_C, with inverse given by the Groupoidify HIT eliminator. Moreover, because every F:C→DF : C \to D composes with ηD:D→Path⁡(Groupoidify(D))\eta_D : D \to \operatorname{Path}(\mathsf{Groupoidify}(D)), the universal property extends ηD∘F\eta_D \circ F uniquely across Groupoidify(C)\mathsf{Groupoidify}(C), making Groupoidify\mathsf{Groupoidify} functorial in CC 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 Groupoidify\mathsf{Groupoidify} to WalkingArrow\mathsf{WalkingArrow}. Extending the concrete unit (27.11) through the generic recursor gives

u:Groupoidify(WalkingArrow)⟶Interval.(27.21)u:\mathsf{Groupoidify}(\mathsf{WalkingArrow}) \longrightarrow\mathsf{Interval}. \tag{27.21}

In the other direction, extend the generic unit through the concrete Interval recursor:

v:Interval⟶Groupoidify(WalkingArrow).(27.22)v:\mathsf{Interval} \longrightarrow\mathsf{Groupoidify}(\mathsf{WalkingArrow}). \tag{27.22}

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

v∘u=id⁡,u∘v=id⁡.(27.23)v\circ u=\operatorname{id}, \qquad u\circ v=\operatorname{id}. \tag{27.23}

Hence

Groupoidify(WalkingArrow)≃Interval.(27.24)\mathsf{Groupoidify}(\mathsf{WalkingArrow}) \simeq\mathsf{Interval}. \tag{27.24}
Evidence: GROUPOIDIFICATION-INTERVAL-RECOVERY [checked · Groupoidify.Carrier, Groupoidify.universal_equiv, Groupoidify.walking_arrow_equiv_unit, Groupoidify.walking_arrow_map_equiv]

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 a TypeEquiv. 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:

operationeffectcharacteristic mapCore⁡(C)retain invertiblesιC:Path⁡(Core⁡C)→C∥A∥nforget above n∣−∣n:A→∥A∥nGroupoidify(C)freely invertηC:C→Path⁡(GroupoidifyC).(27.25)\begin{array}{c|c|c} \text{operation}&\text{effect}&\text{characteristic map}\\ \hline \operatorname{Core}(C)& \text{retain invertibles}& \iota_C:\operatorname{Path}(\operatorname{Core}C)\to C\\ \|A\|_n& \text{forget above }n& |-|_n:A\to\|A\|_n\\ \mathsf{Groupoidify}(C)& \text{freely invert}& \eta_C:C\to\operatorname{Path}(\mathsf{Groupoidify}C). \end{array} \tag{27.25}

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 GG is classified by a path-valued representation of the original directed category. A map from an nn-truncation into an nn-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 H:C→DH : C \to D, extending ηD∘H\eta_D \circ H across Groupoidify(C)\mathsf{Groupoidify}(C) defines Groupoidify.map(H) satisfying the functor laws

Groupoidify.map(idC)=idGroupoidify(C),Groupoidify.map(K∘H)=Groupoidify.map(K)∘Groupoidify.map(H),(27.26)\mathsf{Groupoidify.map}(\mathrm{id}_C) = \mathrm{id}_{\mathsf{Groupoidify}(C)}, \qquad \mathsf{Groupoidify.map}(K \circ H) = \mathsf{Groupoidify.map}(K) \circ \mathsf{Groupoidify.map}(H), \tag{27.26}

(Groupoidify.map_id, Groupoidify.map_comp), together with the reflection equivalence Groupoidify(Path⁡(G))≃G\mathsf{Groupoidify}(\operatorname{Path}(G)) \simeq G (Groupoidify.path_reflection_equiv), two-sided naturality (Groupoidify.adjunction_naturality), and both zig-zag triangle identities (Groupoidify.left_triangle, Groupoidify.right_triangle) establishing

Groupoidify  ⊣  Path⁡.(27.27)\mathsf{Groupoidify} \;\dashv\; \operatorname{Path}. \tag{27.27}
Evidence: GROUPOIDIFY-SOURCE-FUNCTOR-ADJUNCTION [checked · Groupoidify.map, Groupoidify.map_id, Groupoidify.map_comp, Groupoidify.path_reflection_equiv, Groupoidify.adjunction_naturality, Groupoidify.left_triangle, Groupoidify.right_triangle]

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, and Groupoidify.right_triangle establish covariant functoriality and the Groupoidify ⊣ Path adjunction with 0 axioms.

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:

F(g)∘F(f)=F(g∘f).(28.1)F(g)\circ F(f)=F(g\circ f). \tag{28.1}

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 I=WalkingArrowI=\mathsf{WalkingArrow} and consider a selected tensor-shaped category I⊗RII\otimes_R I. 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 F,G:A→BF,G:A\to B be functors and let ϵ:F⇒G\epsilon:F\Rightarrow G be a transformation. The off-diagonal action of ϵ\epsilon does more than assign a component at each object. Given an arrow f:X→Yf:X\to Y, it supplies a cell

ϵ[f]:F(X)⟶G(Y)(28.2)\epsilon[f]:F(X)\longrightarrow G(Y) \tag{28.2}

in the appropriate internal hom. Now compose on the target side with an arrow g:Y→Zg:Y\to Z. There are two whole functors, varying in ff, whose readable values are

G(g)∘ϵ[f]andϵ[g∘f].(28.3)G(g)\circ\epsilon[f] \qquad\text{and}\qquad \epsilon[g\circ f]. \tag{28.3}

More explicitly, after XX, gg, and the transformation have been fixed, the two expressions in (28.3) are the object actions of functors

Hom⁡A(X,Y)⟶Hom⁡B(FX,GZ).\operatorname{Hom}_A(X,Y) \longrightarrow \operatorname{Hom}_B(FX,GZ).

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

λϵ,g,fpost:G(g)∘ϵ[f]⟹ϵ[g∘f].(28.4)\lambda^{\mathrm{post}}_{\epsilon,g,f}: G(g)\circ\epsilon[f] \Longrightarrow \epsilon[g\circ f]. \tag{28.4}

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

ϵ[f]∘F(h)⟹ϵ[f∘h].\epsilon[f]\circ F(h) \Longrightarrow \epsilon[f\circ h].

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 ff 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 f0f_0 and f1f_1 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 ϵ\epsilon to be the identity transformation of FF. At the appropriate identity component, (28.4) reads

ϕg,fF:F(g)∘F(f)⟹F(g∘f).(28.5)\phi^F_{g,f}:F(g)\circ F(f)\Longrightarrow F(g\circ f). \tag{28.5}

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.

Evidence: FUNCTORD-WHOLE-LAXITY [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

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 c:x→yc:x\to y, write

IsStrictCell(c)  ≡  ∑p:x=y(c=pathToHom⁡(p)).\mathsf{IsStrictCell}(c) \;\equiv\; \sum_{p:x=y}\bigl(c=\operatorname{pathToHom}(p)\bigr).

This is an internal property: it supplies an endpoint path and identifies the cell with its equality-induced arrow. Applied to the whole compositor ΦX,gF\Phi^F_{X,g}, it gives

IsStrictFunctor(F)  ≡  ∏X,Y,Z,gIsStrictCell(ΦX,gF).(28.6)\mathsf{IsStrictFunctor}(F) \;\equiv\; \prod_{X,Y,Z,g}\mathsf{IsStrictCell}(\Phi^F_{X,g}). \tag{28.6}

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

GrayHomlax(A,B)(28.7)\mathsf{GrayHom}_{\mathrm{lax}}(A,B) \tag{28.7}

has ordinary public functors as objects and classified conventional lax transformations as its next Hom:

Obj⁡(GrayHomlax(A,B))=Functor(A,B),Hom⁡GrayHomlax(A,B)(F,G)=LaxTransforcat(F,G).(28.8)\begin{aligned} \operatorname{Obj}(\mathsf{GrayHom}_{\mathrm{lax}}(A,B)) &=\mathsf{Functor}(A,B),\\ \operatorname{Hom}_{\mathsf{GrayHom}_{\mathrm{lax}}(A,B)}(F,G) &=\mathsf{LaxTransfor}_{\mathrm{cat}}(F,G). \end{aligned} \tag{28.8}

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 [A,B][A,B]. 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.

Evidence: GRAY-COMPUTATIONAL-PROFILE [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

Formal status — checked. Evidence GRAY-COMPUTATIONAL-PROFILE. functor_is_strict derives the property of the existing whole compositor. GrayHom_lax has public Functor objects and LaxTransfor_cat Homs; grayhom_lax_include_func retains the ambient higher action. Neither this inclusion nor the default lax convention identifies GrayHom_lax with Functor_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 A,B,CA,B,C, the right-closure boundary is

GrayHomlax(A⊗RB,C)≃ωGrayHomlax(A,GrayHomlax(B,C)).(28.9)\mathsf{GrayHom}_{\mathrm{lax}}(A\otimes_R B,C) \simeq_{\omega} \mathsf{GrayHom}_{\mathrm{lax}} \bigl(A,\mathsf{GrayHom}_{\mathrm{lax}}(B,C)\bigr). \tag{28.9}

The tensor head A⊗RBA\otimes_R B 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 AA, an inner functor B→CB\to C; 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:

coev⁡A,B:A⟶GrayHomlax(B,A⊗RB)(28.10)\operatorname{coev}_{A,B}: A\longrightarrow \mathsf{GrayHom}_{\mathrm{lax}}(B,A\otimes_R B) \tag{28.10}

is curry applied to the identity functor on A⊗RBA\otimes_R B. 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.

Evidence: GRAY-RIGHT-CLOSURE [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

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 I=WalkingArrowI=\mathsf{WalkingArrow}, the join-derived directed interval of Chapter 27, and form

SquareR:=I⊗RI.(28.11)\mathsf{Square}_R:=I\otimes_R I. \tag{28.11}

Evaluating coevaluation at the two outer endpoints produces two strict inner functors I→SquareRI\to\mathsf{Square}_R. Evaluating those functors at the two inner endpoints gives four vertices v00,v01,v10,v11v_{00},v_{01},v_{10},v_{11}. Their arrow actions on the walking generator give the horizontal edges a0,a1a_0,a_1. The outer generator acts through coevaluation as one whole transformation between the inner functors; its two components give the vertical edges b0,b1b_0,b_1:

v00→ a0 v01b0↓↓b1v10→ a1 v11.(28.12)\begin{array}{ccc} v_{00}&\xrightarrow{\ a_0\ }&v_{01}\\ {\scriptstyle b_0}\big\downarrow&&\big\downarrow{\scriptstyle b_1}\\ v_{10}&\xrightarrow{\ a_1\ }&v_{11}. \end{array} \tag{28.12}

The first index in vijv_{ij} records the outer endpoint and the second records the inner endpoint. Thus a0a_0 and a1a_1 are the inner generator evaluated in the two outer fibres. The arrows b0b_0 and b1b_1 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 I×II\times I.

The two routes around the boundary are

a1∘b0andb1∘a0.(28.13)a_1\circ b_0 \qquad\text{and}\qquad b_1\circ a_0. \tag{28.13}

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 ϵ\epsilon be the whole outer transformation generated by coevaluation, and let gg be the inner walking arrow. The post/left laxity action from Section 28.1 has readable direction

G(g)∘ϵ[−]⟹ϵ[g∘−].(28.14)G(g)\circ\epsilon[-] \Longrightarrow \epsilon[g\circ -]. \tag{28.14}

Evaluate this whole transformation at the identity of the outer source endpoint. Its component is the square's interchanger:

χ:a1∘b0⟹b1∘a0.(28.15)\chi: a_1\circ b_0 \Longrightarrow b_1\circ a_0. \tag{28.15}

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 GrayHomlax\mathsf{GrayHom}_{\mathrm{lax}}.

The cell χ\chi is not an independently declared filler. The whole post/left transformation exists first; χ\chi 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 χ\chi. 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.

Evidence: GRAY-WALKING-INTERCHANGER [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]

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 I⊗RII\otimes_R I 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.

Evidence: NATIVE-NERVE-FACE-COMPARISON [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

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 ⊗R\otimes_R 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:

target or profilebehaviour of the comparison cellarbitrary directed targetlax, possibly noninvertiblepath-valued targetpseudo, invertible by symmetrystrict property packageequal to an equality-induced cell.(28.16)\begin{array}{c|c} \text{target or profile}&\text{behaviour of the comparison cell}\\ \hline \text{arbitrary directed target}&\text{lax, possibly noninvertible}\\ \text{path-valued target}&\text{pseudo, invertible by symmetry}\\ \text{strict property package}&\text{equal to an equality-induced cell}. \end{array} \tag{28.16}

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 CC. 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 Δ[n]\Delta[n] and maps it along every functor Δ[n]→C\Delta[n]\to C.

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 Δord[n]\Delta_{\mathrm{ord}}[n] for the finite ordinal category

0⟶1⟶⋯⟶n,(29.1)0\longrightarrow 1\longrightarrow\cdots\longrightarrow n, \tag{29.1}

including the unique composite arrow i→ji\to j whenever i≤ji\leq j. A functor H:Δord[n]→CH:\Delta_{\mathrm{ord}}[n]\to C is the conventional categorical presentation of an nn-simplex in CC. At dimension two it selects three vertices, the three arrows

p01:x0→x1,p12:x1→x2,p02:x0→x2,(29.2)p_{01}:x_0\to x_1, \qquad p_{12}:x_1\to x_2, \qquad p_{02}:x_0\to x_2, \tag{29.2}

with p12∘p01=p02p_{12}\circ p_{01}=p_{02} under the ordinary ordinal interpretation: a public strict functor preserves that composite exactly. At dimension three, the four restrictions of HH 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 Δord[n]\Delta_{\mathrm{ord}}[n] is the ordinary ordinal shape.
  • The representable Hom⁡(−,[n])\operatorname{Hom}(-,[n]) 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 Δ[n]\Delta[n] for the repository's selected join-built source. Its recursion has the familiar ordinal form, but no identification of all its higher structure with Δord[n]\Delta_{\mathrm{ord}}[n] is being asserted:

Δ[0]≡1,Δ[n+1]≡Δ[n]⋆1.(29.3)\Delta[0]\equiv\mathbf 1, \qquad \Delta[n+1]\equiv\Delta[n]\star\mathbf 1. \tag{29.3}

The new terminal vertex receives one arrow from every old vertex. Thus joining with 1\mathbf 1 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 mm represents the finite ordinal with mm 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 pp-vertex ordinal to the nn-vertex ordinal can be encoded by a word of length nn: at each target position, either skip that position or keep it.

The structural constructors have the form

skip:Face(p,n)⟶Face(p,n+1),keep:Face(p,n)⟶Face(p+1,n+1).(29.4)\begin{aligned} \mathsf{skip}&:\mathsf{Face}(p,n) \longrightarrow\mathsf{Face}(p,n+1),\\ \mathsf{keep}&:\mathsf{Face}(p,n) \longrightarrow\mathsf{Face}(p+1,n+1). \end{aligned} \tag{29.4}

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 Δ+inj\Delta_+^{\mathrm{inj}}:

Obj⁡(Δ+inj)=N,Hom⁡(p,n)=Path(Face(p,n)).(29.5)\operatorname{Obj}(\Delta_+^{\mathrm{inj}})=\mathbb N, \qquad \operatorname{Hom}(p,n)=\mathsf{Path}(\mathsf{Face}(p,n)). \tag{29.5}

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 nn-simplex is now Yoneda:

Δ[n]:=Hom⁡Δ+inj(−,n+1).(29.6)\boldsymbol\Delta[n] :=\operatorname{Hom}_{\Delta_+^{\mathrm{inj}}}(-,n+1). \tag{29.6}

The shift by one converts from dimension to vertex count. Evaluating Δ[n]\boldsymbol\Delta[n] at a pp-vertex ordinal returns the code of a pp-vertex face of [n][n]. Restriction is composition of face codes. A groupoid-valued semisimplicial diagram is consequently a functor

X:(Δ+inj)op⟶Grpd,(29.7)X:(\Delta_+^{\mathrm{inj}})^{\mathrm{op}}\longrightarrow\mathbf{Grpd}, \tag{29.7}

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.

Evidence: SEMISIMPLICIAL-FACE-SUBSTRATE [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

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:

PathOut⁡C(x)=∑y:CHom⁡C(x,y).(29.8)\operatorname{PathOut}_C(x) =\sum_{y:C}\operatorname{Hom}_C(x,y). \tag{29.8}

An object is an endpoint yy and an arrow p:x→yp:x\to y. An arrow between (y,p)(y,p) and (z,q)(z,q) contains an arrow r:y→zr:y\to z together with a cell from r∘pr\circ p to qq. 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

S0(C):=C.(29.9)S_0(C):=C. \tag{29.9}

After choosing a flag sk∈Obj⁡(Sk)s_k\in\operatorname{Obj}(S_k), define

Sk+1(C;s0,…,sk):=PathOut⁡Sk(sk).(29.10)S_{k+1}(C;s_0,\ldots,s_k) :=\operatorname{PathOut}_{S_k}(s_k). \tag{29.10}

A zero-simplex is an object x0x_0 of CC. A one-simplex is an object e01=(x1,p01)e_{01}=(x_1,p_{01}) of PathOut⁡C(x0)\operatorname{PathOut}_C(x_0). A two-simplex is an object t012t_{012} of PathOut⁡PathOut⁡C(x0)(e01)\operatorname{PathOut}_{\operatorname{PathOut}_C(x_0)}(e_{01}). Unpacked readably, it contains an edge p02p_{02} and an arrow from e01e_{01} to e02e_{02}; the latter contains p12p_{12} and a two-cell

α012:p12∘p01⟹p02.(29.11)\alpha_{012}:p_{12}\circ p_{01}\Longrightarrow p_{02}. \tag{29.11}

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 E:K→CatcartE:K\to\mathsf{Cat}_{\mathrm{cart}}, fix (x,u)(x,u) and (y,v)(y,v), and put I=Hom⁡K(x,y)I=\operatorname{Hom}_K(x,y). The identity dependent-Hom presheaf H:T(I)→CatcartH:T(I)\to\mathsf{Cat}_{\mathrm{cart}} has value H[p]=Hom⁡E[y](E[p](u),v)H[p]=\operatorname{Hom}_{E[y]}(E[p](u),v). The native category formula is

Hom⁡∑E((x,u),(y,v))=O ⁣(∑O(I)Ofib(H)).(29.12)\operatorname{Hom}_{\sum E}((x,u),(y,v)) =O\!\left(\sum_{O(I)}O_{\mathrm{fib}}(H)\right). \tag{29.12}

Here TT reverses dimension 1 and OO every positive dimension, as in Chapter 14. Its objects are the familiar pairs (p,α:E[p](u)→v)(p,\alpha:E[p](u)\to v). 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 EE to the representable family Hom⁡C(x0,−)\operatorname{Hom}_C(x_0,-) 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 (p,α)(p,\alpha) to pp and, through covariant fibre action, to E[p](u)E[p]{(u)} in the already fixed fibre E(y)E(y). 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

S1=PathOut⁡C(x0),S2=PathOut⁡S1(e01).S_1=\operatorname{PathOut}_C(x_0), \qquad S_2=\operatorname{PathOut}_{S_1}(e_{01}).

For a visible e01=(x1,p01)e_{01}=(x_1,p_{01}), a triangle in S2S_2 has the nested form

t012=(e02,q012),e02=(x2,p02),q012=(p12,α012).t_{012}=(e_{02},q_{012}), \qquad e_{02}=(x_2,p_{02}), \qquad q_{012}=(p_{12},\alpha_{012}).

The outer pair remembers the target edge e02e_{02}. The inner Hom-of-Sigma pair remembers the base edge e12=(x2,p12)e_{12}=(x_2,p_{12}) and comparison α012\alpha_{012}.

Now take two triangles t012,t013∈S2t_{012},t_{013}\in S_2. An arrow

Θ:t012⟶t013(29.13)\Theta:t_{012}\longrightarrow t_{013} \tag{29.13}

is the volume of the tetrahedron 01230123. Its ordinary source and target are the faces 012012 and 013013. Two whole line projections provide the remaining faces:

d02(t01i)=e0i,d02[Θ]=t023,d12(t01i)=e1i,d12[Θ]=t123.\begin{aligned} d_{02}(t_{01i})&=e_{0i}, &d_{02}[\Theta]&=t_{023},\\ d_{12}(t_{01i})&=e_{1i}, &d_{12}[\Theta]&=t_{123}. \end{aligned}

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 F:C→DF:C\to D 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.

Evidence: DEPENDENT-SIMPLEX-INTERNAL-ACTION [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

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 recursive PathOut triangle category has whole target-line and base-line projections whose hom actions expose faces 023023 and 123123. 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 CC. Its successor stores an existing code indexed by KK and a flag x∈Obj⁡(K)x\in\operatorname{Obj}(K), and is indexed by PathOut⁡K(x)\operatorname{PathOut}_K(x). Schematically,

zeroC:Code(C,0;C),step(c,x):Code(C,n+1;PathOut⁡K(x))(c:Code(C,n;K)).(29.14)\begin{aligned} \mathsf{zero}_C &: \mathsf{Code}(C,0;C),\\ \mathsf{step}(c,x) &: \mathsf{Code}(C,n+1;\operatorname{PathOut}_K(x)) \quad(c:\mathsf{Code}(C,n;K)). \end{aligned} \tag{29.14}

The semicolon records the already-decoded category. Public code packaging may hide KK, 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.

  1. Skipping the newest vertex selects a face of the fixed flag and returns a constant whole functor.
  2. Keeping the newest vertex after skipping its predecessor selects the corresponding face through the first projection of PathOut.
  3. 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 Δ[n]\Delta[n]. The directed join equation (29.3) supplies the first step. Extend the identity of the old ordinal across Δ[n]⋆1\Delta[n]\star\mathbf 1. 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:

d,F,G:K⟶B,ϵ:F⟹G.(29.15)d,\qquad F,G:K\longrightarrow B, \qquad\epsilon:F\Longrightarrow G. \tag{29.15}

For a selected old source s∈Obj⁡(K)s\in\operatorname{Obj}(K), the new code and source are

d′:=step(d,F(s)),s′:=(G(s),ϵs).(29.16)d':=\mathsf{step}(d,F(s)), \qquad s':=(G(s),\epsilon_s). \tag{29.16}

The second expression is an object of PathOut⁡B(F(s))\operatorname{PathOut}_B(F(s)): its endpoint is G(s)G(s) and its outgoing arrow is the component of the whole transformation. For the next flag, lift ϵ\epsilon 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:

ϵ1:=identity-join outgoing-path comparison,ϵ2:=PathOutLift⁡(ϵ1,e01),ϵ3:=PathOutLift⁡(ϵ2,t012),ω01234:=(ϵ3)s0123.(29.17)\begin{aligned} \epsilon_1&:=\text{identity-join outgoing-path comparison},\\ \epsilon_2&:=\operatorname{PathOutLift}(\epsilon_1,e_{01}),\\ \epsilon_3&:=\operatorname{PathOutLift}(\epsilon_2,t_{012}),\\ \omega_{01234}&:=(\epsilon_3)_{s_{0123}}. \end{aligned} \tag{29.17}

The component ω01234\omega_{01234} 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

H:Δ[4]⟶C,(29.18)H:\Delta[4]\longrightarrow C, \tag{29.18}

the existing mapped-code action sends this single source to a dependent four-simplex in CC. The five skip-one-vertex codes expose its tetrahedral faces

0123,0124,0134,0234,1234.(29.19)0123,\qquad 0124,\qquad 0134,\qquad 0234,\qquad 1234. \tag{29.19}

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 ϵ3\epsilon_3 remains available.

Evidence: ORDINAL-DEPENDENT-FOUR-SIMPLEX [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

Formal status — checked. Evidence ORDINAL-DEPENDENT-FOUR-SIMPLEX. One canonical four-simplex is constructed from the generic join comparison and repeated whole PathOut lift. It maps under every H:Δ[4]→CH:\Delta[4]\to C, 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

Obs(C,n):=∑c:DependentSimplexCode(C,n)Obj⁡(decode⁡(c)).(29.20)\mathsf{Obs}(C,n) :=\sum_{c:\mathsf{DependentSimplexCode}(C,n)} \operatorname{Obj}(\operatorname{decode}(c)). \tag{29.20}

This is the present object package called DependentSimplexObservation. It contains both the intrinsic boundary code and one object of its native decoded category.

Evidence: ORDINAL-DEPENDENT-SIMPLEX-RECURSION [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]

Formal status — checked. Theorem 29.1 (the variable-dimensional ordinal dependent simplex). Evidence ORDINAL-DEPENDENT-SIMPLEX-RECURSION. For every natural number nn there is a canonical sn∈Obs(Δ[n],n)s_n\in\mathsf{Obs}(\Delta[n],n) computed by Nat recursion and the structural successor (29.16). Every H:Δ[n]→CH:\Delta[n]\to C induces a canonical observation H∗(sn)∈Obs(C,n)H_*(s_n)\in\mathsf{Obs}(C,n). 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 nn, 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 Δ[n]\Delta[n]. Mapping it by HH uses the generic mapped decoder; it does not reconstruct the source in CC. 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 (n+1)(n+1)-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:

Functor⁡cat(Δord[n],C)≃DependentSimplexcat(C,n).(29.21)\operatorname{Functor}_{\mathrm{cat}}(\Delta_{\mathrm{ord}}[n],C) \simeq \mathsf{DependentSimplex}_{\mathrm{cat}}(C,n). \tag{29.21}

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 M(S,C)\mathcal M(S,C) for the selected oplax mapping category Functor_oplax_cat S C. Its objects are strict functors, with the declared oplax transformation profile. Let JnJ_n be native_join_simplex_shape n and let Sn(C)\mathcal S_n(C) 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

Sn(C)⇄encodendecodenM(Jn,C),(29.22)\mathcal S_n(C) \underset{\mathrm{decode}_n}{\overset{\mathrm{encode}_n}{\rightleftarrows}} \mathcal M(J_n,C), \tag{29.22}

with internal whole-functor comparisons

decoden∘encoden=id⁡Sn(C),encoden∘decoden=id⁡M(Jn,C).(29.23)\mathrm{decode}_n\circ\mathrm{encode}_n =\operatorname{id}_{\mathcal S_n(C)}, \qquad \mathrm{encode}_n\circ\mathrm{decode}_n =\operatorname{id}_{\mathcal M(J_n,C)}. \tag{29.23}

Here nn 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 D=SemiDeltaPluscat\mathcal D=\mathsf{SemiDeltaPlus}_{\mathrm{cat}} counts vertices. At index zero the native level is terminal and the geometric shape is empty. At index n+1n+1 the native level is Sn(C)\mathcal S_n(C) and the geometric shape is JnJ_n. This is the same dimension-to-vertex offset used earlier in the chapter.

The whole native and geometric families have types

N△(C),G△(C):T(D)⟶Catcart,(29.24)N_\triangle(C),G_\triangle(C): T(\mathcal D)\longrightarrow\mathsf{Cat}_{\mathrm{cart}}, \tag{29.24}

where TT 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 Q=SemiCubePluscat\mathcal Q=\mathsf{SemiCubePlus}_{\mathrm{cat}} and let QnQ_n be nerve_geometric_shape_cat n: terminal in degree zero, and the selected fixed-bracketing tensor cube in positive degrees. The geometric level is M(Qn,C)\mathcal M(Q_n,C), 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 Q\mathcal Q in place of D\mathcal D.

The parameter CC is also internal. For either face index I\mathcal I, write

FI=Cart⁡(T(I),Catcart).(29.25)\mathcal F_{\mathcal I} =\operatorname{Cart}\bigl(T(\mathcal I), \mathsf{Cat}_{\mathrm{cart}}\bigr). \tag{29.25}

The native and geometric assignments are whole functors NI,GI:Catcart→FIN_{\mathcal I},G_{\mathcal I}:\mathsf{Cat}_{\mathrm{cart}}\to\mathcal F_{\mathcal I}. 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 CC; CC remains an arbitrary strict omega-category.

Evidence: NATIVE-NERVE-FACE-COMPARISON [checked · Simplicial.FaceCode, Simplicial.DeltaInjCat1, Simplicial.simplex2_unpack_beta, Simplicial.tetrahedron_all_four_faces, Simplicial.nerve_inner_face_composes]
Evidence: SIMPLICIAL-CUBICAL-DEGENERACY-KAN [checked · Simplicial.intervalCodegS0, Simplicial.interval_codeg_coface_triangles, Cubical.cubeCodeg2_0, Cubical.cube_codeg_coface_triangles, Cubical.homdc_representable_beta, Cubical.grpd_open_square_hcomp2, Cubical.directed_open_horn_unfillable]

Formal status — checked. Theorem 29.2 (simplicial/cubical nerves, codegeneracies, and Kan vs. directed horns). Evidence NATIVE-NERVE-FACE-COMPARISON and SIMPLICIAL-CUBICAL-DEGENERACY-KAN. In endash (Cat.Simplicial and Cat.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-variance homdc (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 with 0 axioms.

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 Δ\Delta 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 Δord[n]\Delta_{\mathrm{ord}}[n].

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 Σu⊣u∗⊣Πu\Sigma_u\dashv u^*\dashv\Pi_u.


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

Σu⊣u∗⊣Πu.(30.1)\Sigma_u \dashv u^* \dashv \Pi_u. \tag{30.1}

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 CC be a category. A chosen binary-product structure begins with a whole functor

P:C×C⟶C.(30.2)P:C\times C\longrightarrow C. \tag{30.2}

For objects A,BA,B write A×B=P(A,B)A\times B=P(A,B). The two projections are not unrelated arrows chosen afresh at every pair. They are components of whole transformations

κ1:P⇒pr⁡1,κ2:P⇒pr⁡2.(30.3)\kappa_1:P\Rightarrow\operatorname{pr}_1, \qquad \kappa_2:P\Rightarrow\operatorname{pr}_2. \tag{30.3}

Thus a change in either input already has a natural action. If f:X→Af:X\to A and g:X→Bg:X\to B, pairing supplies

⟨f,g⟩:X⟶A×B.(30.4)\langle f,g\rangle:X\longrightarrow A\times B. \tag{30.4}

In the internal presentation, pairing itself is a whole transformation between represented Hom families. Fixing X,A,BX,A,B projects it to a functor

Hom⁡C(X,A)×Hom⁡C(X,B)⟶Hom⁡C(X,A×B).(30.5)\operatorname{Hom}_C(X,A)\times\operatorname{Hom}_C(X,B) \longrightarrow \operatorname{Hom}_C(X,A\times B). \tag{30.5}

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 ProductCat(A,B)\mathsf{ProductCat}(A,B), the category whose objects and arrows are pairs. The latter exists for every AA and BB and is used to state the source of PP; it does not choose products inside an arbitrary CC.

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 hh, write

K1a(h)=h∘κ1,K2a(h)=h∘κ2.(30.6)K_1^a(h)=h\circ\kappa_1, \qquad K_2^a(h)=h\circ\kappa_2. \tag{30.6}

The basic product reductions are

K1a(h)∘⟨f,g⟩⇝h∘f,K2a(h)∘⟨f,g⟩⇝h∘g.(30.7)\begin{aligned} K_1^a(h)\circ\langle f,g\rangle &\rightsquigarrow h\circ f,\\ K_2^a(h)\circ\langle f,g\rangle &\rightsquigarrow h\circ g. \end{aligned} \tag{30.7}

The right-hand sides are smaller cuts: the product introduction has disappeared, and the unobserved component is absent. Pairing also distributes through precomposition,

⟨f,g⟩∘k⇝⟨f∘k,g∘k⟩,(30.8)\langle f,g\rangle\circ k \rightsquigarrow \langle f\circ k,g\circ k\rangle, \tag{30.8}

while projection postcomposition accumulates,

h∘Kia(f)⇝Kia(h∘f).(30.9)h\circ K_i^a(f) \rightsquigarrow K_i^a(h\circ f). \tag{30.9}

Finally, pairing the two projections removes the detour entirely:

⟨κ1,κ2⟩⇝id⁡A×B.(30.10)\langle\kappa_1,\kappa_2\rangle \rightsquigarrow \operatorname{id}_{A\times B}. \tag{30.10}

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 PP agrees at proof time with the triangular map

P[f,g]≐⟨K1a(f),K2a(g)⟩,(30.11)P[f,g] \doteq \langle K_1^a(f),K_2^a(g)\rangle, \tag{30.11}

where ≐\doteq 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.

Evidence: TRIANGULAR-BINARY-PRODUCTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence TRIANGULAR-BINARY-PRODUCTS. A selected whole product functor, whole projections, whole represented-family pairing, stable K1a/K2aK_1^a/K_2^a 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.

Evidence: ORDINARY-PRODUCT-ADJUNCTION [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked interface. Evidence ORDINARY-PRODUCT-ADJUNCTION. one_cat_binary_product_adjunction and the ordinary product-category profile are declared structural operations over the existing BinaryProducts data. Whole family pairing/unpairing and their formulas are derived operations.

30.3 The Empty Product

A chosen terminal object tt is the empty product. Its computational structure is one whole transformation

!:id⁡C⇒Const⁡t.(30.12)!:\operatorname{id}_C\Rightarrow\operatorname{Const}_t. \tag{30.12}

The component at AA is the canonical arrow

!A:A⟶t.(30.13)!_A:A\longrightarrow t. \tag{30.13}

Because (30.12) is whole, an arrow h:A→Bh:A\to B has an off-diagonal observation, and the canonical terminal cut computes:

!B∘h⇝!A.(30.14)!_B\circ h\rightsquigarrow !_A. \tag{30.14}

The unrestricted uniqueness statement

f=!A(f:A→t)(30.15)f=!_A \qquad(f:A\to t) \tag{30.15}

is not oriented as a variable-headed rewrite. Instead the object/groupoid Hom classifier Hom⁡C(A,t)\operatorname{Hom}_C(A,t) is contractible, recentered at the component !A!_A. Equation (30.15) is then a derived equality path. In particular !t=id⁡t!_t=\operatorname{id}_t is derived without forcing every visible endomorphism of a terminal object to rewrite before its context is known.

Evidence: TERMINAL-OBJECT-COMPUTATION [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

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.

Evidence: WHOLE-CATEGORICAL-CONTRACTION [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence WHOLE-CATEGORICAL-CONTRACTION. CatContraction and CatdContraction transparently specialize the existing OmegaEquivAlong interface. 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.

Evidence: PRIMARY-TERMINAL-FAMILY-UNIVERSALITY [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

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.

Evidence: ORDINARY-TERMINAL-ADJUNCTIONS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

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 DefIso\mathsf{DefIso} 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 Σu\Sigma_u

Fix an object XX of CC. The slice C/XC/X organizes arrows ending at XX. Its objects may be written

a=(A→pX).(30.16)a=(A\xrightarrow{p}X). \tag{30.16}

For u:X→Yu:X\to Y, postcomposition is always available:

Σu:C/X⟶C/Y,(A→pX)⟼(A→u∘pY).(30.17)\Sigma_u:C/X\longrightarrow C/Y, \qquad (A\xrightarrow{p}X)\longmapsto (A\xrightarrow{u\circ p}Y). \tag{30.17}

These functors are the arrow action of one whole covariant family

SliceSigma(C):C2(C)⟶Catcart.(30.18)\mathsf{SliceSigma}(C):C_2(C)\longrightarrow\mathsf{Cat}_{\mathrm{cart}}. \tag{30.18}

Here C2C_2 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 XX is exactly C/XC/X. 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

SliceBaseChange(PB):T(C)⟶Catcart,(30.19)\mathsf{SliceBaseChange}(PB):T(C) \longrightarrow\mathsf{Cat}_{\mathrm{cart}}, \tag{30.19}

again with exact fibre C/XC/X. Its action at u:X→Yu:X\to Y is

u∗:C/Y⟶C/X.(30.20)u^*:C/Y\longrightarrow C/X. \tag{30.20}

The defining universal relationship is the existing adjunction

Σu⊣u∗.(30.21)\Sigma_u\dashv u^*. \tag{30.21}

Let its unit and counit be

ηu:id⁡C/X⇒u∗Σu,εu:Σuu∗⇒id⁡C/Y.(30.22)\eta^u:\operatorname{id}_{C/X}\Rightarrow u^*\Sigma_u, \qquad \varepsilon^u:\Sigma_u u^*\Rightarrow\operatorname{id}_{C/Y}. \tag{30.22}

They are actual whole transformations. Their off-diagonal actions are the Došen operations

γuc(k)=ηu[k],φua(h)=εu[h].(30.23)\gamma_u^c(k)=\eta^u[k], \qquad \varphi_u^a(h)=\varepsilon^u[h]. \tag{30.23}

For arrows of the appropriate slice types, the full rectangular cuts compute:

φua(h)∘Σu(γuc(k))⇝h∘Σu(k),u∗(φua(h))∘γuc(k)⇝u∗(h)∘k.(30.24)\begin{aligned} \varphi_u^a(h)\circ\Sigma_u\bigl(\gamma_u^c(k)\bigr) &\rightsquigarrow h\circ\Sigma_u(k),\\ u^*\bigl(\varphi_u^a(h)\bigr)\circ\gamma_u^c(k) &\rightsquigarrow u^*(h)\circ k. \end{aligned} \tag{30.24}

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 aa in C/XC/X and gg in C/YC/Y. The adjunction gives whole mate functors

Φa,g:Hom⁡C/Y(Σua,g)⟶Hom⁡C/X(a,u∗g),Γa,g:Hom⁡C/X(a,u∗g)⟶Hom⁡C/Y(Σua,g).(30.25)\begin{aligned} \Phi_{a,g}:&\operatorname{Hom}_{C/Y}(\Sigma_u a,g) \longrightarrow\operatorname{Hom}_{C/X}(a,u^*g),\\ \Gamma_{a,g}:&\operatorname{Hom}_{C/X}(a,u^*g) \longrightarrow\operatorname{Hom}_{C/Y}(\Sigma_u a,g). \end{aligned} \tag{30.25}

Their point formulas are

Φ(h)=u∗(h)∘ηau,Γ(k)=εgu∘Σu(k).(30.26)\Phi(h)=u^*(h)\circ\eta^u_a, \qquad \Gamma(k)=\varepsilon^u_g\circ\Sigma_u(k). \tag{30.26}

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 aa and gg after opposite normalization; a wildcard-only cancellation rule would not be safe.

Now write g:Z→Yg:Z\to Y. The selected pullback object is simply the slice object

u∗(g)=(P→π1X).(30.27)u^*(g)=(P\xrightarrow{\pi_1}X). \tag{30.27}

The counit component

εgu:Σu(u∗g)⟶g(30.28)\varepsilon^u_g:\Sigma_u(u^*g)\longrightarrow g \tag{30.28}

has an underlying arrow π2:P→Z\pi_2:P\to Z and a directed cell

g∘π2⟹u∘π1.(30.29)g\circ\pi_2\Longrightarrow u\circ\pi_1. \tag{30.29}

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 aa to gg is exactly an object of

Hom⁡C/Y(Σua,g).(30.30)\operatorname{Hom}_{C/Y}(\Sigma_u a,g). \tag{30.30}

The universal lift is Φ\Phi, and cone recovery is Γ\Gamma. 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.

Evidence: PULLBACK-SLICE-BASE-CHANGE [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence PULLBACK-SLICE-BASE-CHANGE. Chosen pullbacks form one whole exact-slice base-change family with Σu⊣u∗\Sigma_u\dashv u^*, actual unit/counit transfors, full rectangular cuts, point and guarded whole mate cancellation, and derived pullback object/projection/square observations. Generic family substitution Pullback_catd remains 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

SliceDependentProduct(DP):C2(C)⟶Catcart(30.31)\mathsf{SliceDependentProduct}(DP):C_2(C)\longrightarrow\mathsf{Cat}_{\mathrm{cart}} \tag{30.31}

with exact fibre C/XC/X. Its action at u:X→Yu:X\to Y is

Πu:C/X⟶C/Y.(30.32)\Pi_u:C/X\longrightarrow C/Y. \tag{30.32}

The selected relationship is the second adjunction

u∗⊣Πu.(30.33)u^*\dashv\Pi_u. \tag{30.33}

Write its unit and counit as

ηΠ,u:id⁡C/Y⇒Πuu∗,εΠ,u:u∗Πu⇒id⁡C/X.(30.34)\eta^{\Pi,u}:\operatorname{id}_{C/Y}\Rightarrow\Pi_u u^*, \qquad \varepsilon^{\Pi,u}:u^*\Pi_u\Rightarrow\operatorname{id}_{C/X}. \tag{30.34}

Again these are the generic actual adjunction transformations. Their stable off-diagonal observations satisfy

φΠ,ua(h)∘u∗(γΠ,uc(k))⇝h∘u∗(k),Πu(φΠ,ua(h))∘γΠ,uc(k)⇝Πu(h)∘k.(30.35)\begin{aligned} \varphi_{\Pi,u}^a(h)\circ u^*\bigl(\gamma_{\Pi,u}^c(k)\bigr) &\rightsquigarrow h\circ u^*(k),\\ \Pi_u\bigl(\varphi_{\Pi,u}^a(h)\bigr)\circ \gamma_{\Pi,u}^c(k) &\rightsquigarrow\Pi_u(h)\circ k. \end{aligned} \tag{30.35}

The associated whole Hom correspondence is

Hom⁡C/X(u∗a,b)≃Hom⁡C/Y(a,Πub).(30.36)\operatorname{Hom}_{C/X}(u^*a,b) \simeq \operatorname{Hom}_{C/Y}(a,\Pi_u b). \tag{30.36}

The transparent transpose and untranspose functors have the familiar formulas

h⟼Πu(h)∘ηaΠ,u,k⟼εbΠ,u∘u∗(k),(30.37)h\longmapsto\Pi_u(h)\circ\eta^{\Pi,u}_a, \qquad k\longmapsto\varepsilon^{\Pi,u}_b\circ u^*(k), \tag{30.37}

and retain higher Hom action. The generic adjunction profunctor comparison owns the varying-endpoint whole equivalence; no parallel mate theory is introduced.

Evidence: SLICE-DEPENDENT-PRODUCTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

Formal status — checked. Evidence SLICE-DEPENDENT-PRODUCTS. A selected coherent dependent-product structure supplies the whole exact-slice family Πu\Pi_u, the existing adjunction u∗⊣Πuu^*\dashv\Pi_u, 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

Σu:C/X⟶C/Y,u∗:C/Y⟶C/X,Πu:C/X⟶C/Y,Σu⊣u∗⊣Πu.(30.38)\begin{aligned} \Sigma_u &: C/X\longrightarrow C/Y,\\ u^* &: C/Y\longrightarrow C/X,\\ \Pi_u &: C/X\longrightarrow C/Y, \end{aligned} \qquad \Sigma_u\dashv u^*\dashv\Pi_u. \tag{30.38}

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:

  1. Frobenius Reciprocity (Cat.Adjunction): Pullback along uu commutes canonically with dependent sums via Σu(a×Xu∗b)≃(Σua)×Yb\Sigma_u(a \times_{X} u^* b) \simeq (\Sigma_u a) \times_Y b (LCCC.frobenius_equiv); and
  2. HoTT Pushouts And Set Truncation (HoTT.Spectra): Dualizing pullbacks to the groupoidal homotopy layer, endash provides native higher-inductive Pushout(f, g) (Spectra.pushout_universal_equiv, Spectra.pushout_glue_ap_fusion) and 0-truncation Trunc0(X) (Spectra.trunc0_universal_equiv, Spectra.set_equiv_trunc0), which serve in Volume I as the building blocks for pointed suspensions Σ∗X\Sigma_* X, wedge/smash products X∨YX \vee Y and X∧YX \wedge Y, cofiber sequences, and π0\pi_0-valued Ext groups.
Evidence: LCCC-FROBENIUS-AND-PUSHOUT [checked · LCCC.frobenius_equiv, Spectra.pushout_universal_equiv, Spectra.trunc0_universal_equiv]

Formal status — checked. Evidence LCCC-FROBENIUS-AND-PUSHOUT. LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv, and LCCC.frobenius_equiv in Cat.Adjunction, together with Spectra.pushout_universal_equiv and Spectra.trunc0_universal_equiv in HoTT.Spectra and the dependent family base-change / exact Beck–Chevalley theorems (dep_sigma_pullback_adj_equiv, dep_pullback_pi_adj_equiv, dep_beck_chevalley_sigma_equiv) in CategoryTheory.GrothendieckFibrationsDescent, are proved with 0 axioms. General higher Beck–Chevalley squares over arbitrary non-groupoidal ω\omega-categories remain a separate layer.

30.10 The End Of The Sixth Spiral

The chapter began with the smallest structural detour:

κi∘⟨f,g⟩.\kappa_i\circ\langle f,g\rangle.

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 Hom⁡C(A,B)\operatorname{Hom}_C(A,B) for every pair of objects, and composition is bilinear. Thus parallel arrows can be added and subtracted, and

h∘(f+g)=h∘f+h∘g,(f+g)∘k=f∘k+g∘k.(31.1)h\circ(f+g)=h\circ f+h\circ g, \qquad (f+g)\circ k=f\circ k+g\circ k. \tag{31.1}

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 pA,pBp_A,p_B, define the injections by

ιA=⟨id⁡A,0⟩,ιB=⟨0,id⁡B⟩.\iota_A=\langle\operatorname{id}_A,0\rangle, \qquad \iota_B=\langle0,\operatorname{id}_B\rangle.

The product laws give the four projection–injection equations, and bilinearity gives

ιA∘pA+ιB∘pB=id⁡A⊕B.(31.2)\iota_A\circ p_A+\iota_B\circ p_B =\operatorname{id}_{A\oplus B}. \tag{31.2}

Consequently arrows out of the same object A⊕BA\oplus B are assembled by f∘pA+g∘pBf\circ p_A+g\circ p_B. 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 00.

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.

Evidence: ADDITIVE-HOM-BIPRODUCTS [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

Formal status — checked. Evidence ADDITIVE-HOM-BIPRODUCTS. PreadditiveCategory supplies the abelian Hom structures and bilinearity; AdditiveCategory combines 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.

Evidence: NATIVE-KERNEL-COKERNEL-UNIVERSALITY [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

Formal status — checked. Evidence NATIVE-KERNEL-COKERNEL-UNIVERSALITY. KernelAdjunctionStructure and CokernelAdjunctionStructure retain 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.

Evidence: ORDINARY-DIAGRAM-UNIVERSALITY [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: NATIVE-COIMAGE-IMAGE-NORMALITY [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: NATIVE-WHOLE-HOMOLOGY [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: NATIVE-COMMA-FAMILY-CLASSIFICATION [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: WHOLE-HOMOLOGY-FAMILY-COMPARISON [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: NATIVE-CANONICAL-EXACTNESS [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: NATIVE-HOMOLOGY-CONNECTING [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: NATIVE-HOMOLOGY-WINDOW-EXACTNESS [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: HOMOLOGY-BOUNDED-ITERATOR [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]

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.

Evidence: NATIVE-SNAKE-CONNECTING [checked · Snake.well_defined, Snake.six_term_exact, LES.direct_delta_and_snake_agreement]
Evidence: NATIVE-SNAKE-SIX-TERM [checked · Snake.well_defined, Snake.six_term_exact, LES.direct_delta_and_snake_agreement]

Formal status — checked. Evidence NATIVE-SNAKE-CONNECTING and NATIVE-SNAKE-SIX-TERM. In endash (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 with 0 axioms in < 1.5 s using endash's Q-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.

Evidence: NATIVE-SNAKE-LES-COMPARISON [checked · Snake.well_defined, Snake.six_term_exact, LES.direct_delta_and_snake_agreement]

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.

Evidence: NATIVE-FREYD-MODEL [checked · IntRing.SnfCert, IntRing.bockstein_nonsplit, IntRing.bockstein_delta_nonzero, LES.exact_at_HB]

Formal status — checked. Evidence NATIVE-FREYD-MODEL. FreydAdjunctionModel supplies 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:

LayerRetained dataMeaning
CAS computationMatrices, presentations, coefficient witnesses and selected outputsExecutable algebra and its checked/adopted equations
Model interpretationThe whole model, normality, row semantics and complete-arrow agreementsExplicit semantic contracts connecting the formal operations to those selections
Native proofCanonical comparison inverses and exactness certificatesResults 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.

Evidence: NATIVE-CAS-DISPLAYED-EXACTNESS [checked · IntRing.SnfCert, IntRing.bockstein_nonsplit, IntRing.bockstein_delta_nonzero, LES.exact_at_HB]

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 positionNative 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 (PAQ=DP A Q = D) over Z\mathbb{Z} and k[x]k[x], Buchberger Gröbner bases over k[x1,…,xn]k[x_1,\ldots,x_n], 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 0→Z→⋅2Z→Z/2Z→00 \to \mathbb{Z} \xrightarrow{\cdot 2} \mathbb{Z} \to \mathbb{Z}/2\mathbb{Z} \to 0 and polynomial k[x]/(x)k[x]/(x) complexes are certified end-to-end by Algebra.CAS and Cat.Homology. In Volume I, this exact AbelianCat + LCF CAS spine receives the t-structure heart C♡\mathcal{C}^\heartsuit of stable ∞\infty-categories (HA Theorem 1.2.1.11), Massey exact couples, certified UCSS/AHSS spectral sequences, and multiplicative graded Ext algebras.

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):

  1. Two-Act Classical Subsumption (Init.Data.List & Cat.ListBridge): Lean 4's core Init.Data.List algebra elaborates directly in Grpd(0) as ordinary set-level inductive mathematics, and then lifts seamlessly into the directed categorical world by identifying the free monoid List Unit with the endomorphism monoid Hom⁡WalkingEnd(∗,∗)\operatorname{Hom}_{\mathsf{WalkingEnd}}(*, *) and dependent Sigma-tuples; and
  2. Exploratory Directed Cone Spectra (Cat.DirectedSpectra): Starting from marked-arrow categories Cat⟨→⟩\mathsf{Cat}^{\langle\to\rangle}, we prove the marked Cone–Coslice adjunction L1⊣R1L_1 \dashv R_1, demonstrate why naive groupoidification of bare directed cones collapses to trivial cohomology (H1(Cone(Bool);Z)≃0H^1(\mathrm{Cone}(\mathrm{Bool}); \mathbb{Z}) \simeq 0), and prove that relative cone-pair cofibers preserve directed suspension data to yield H1(Cone(Bool),Bool;Z)≃ZH^1(\mathrm{Cone}(\mathrm{Bool}), \mathrm{Bool}; \mathbb{Z}) \simeq \mathbb{Z}.

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 W=WalkingEndW = \mathsf{WalkingEnd}. 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 (Hom⁡W(∗,∗)≃N\operatorname{Hom}_W(*, *) \simeq \mathbb{N}) yields the monoid-preserving bridge

toListUnit:Hom⁡W(∗,∗)⟶∼List(Unit),toListUnit(q∘p)=toListUnit(q)+ ⁣ ⁣+toListUnit(p),(32.1)\mathsf{toListUnit} : \operatorname{Hom}_{W}(*, *) \stackrel{\sim}{\longrightarrow} \mathsf{List}(\mathsf{Unit}), \qquad \mathsf{toListUnit}(q \circ p) = \mathsf{toListUnit}(q) \mathbin{+\!\!+} \mathsf{toListUnit}(p), \tag{32.1}

together with the dependent length-indexed equivalence List(α)≃∑n:NTuple(α,n)\mathsf{List}(\alpha) \simeq \sum_{n:\mathbb{N}} \mathsf{Tuple}(\alpha, n) (List.sigmaTupleEquiv). More generally, for any category CC, composable paths of arrows in CC organize into the free-category list bridge ListCat(C)\mathsf{ListCat}(C) without conflating free formal words with internal composition in CC.

Evidence: LEAN-LIST-SUBSUMPTION-BRIDGE [checked · List.Sublist.trans, List.unitEquivNat, WalkingEnd.homEquivListUnit, WalkingEnd.toListUnit_comp, List.sigmaTupleEquiv]

Formal status — checked. Evidence LEAN-LIST-SUBSUMPTION-BRIDGE. Init.Data.List (List.Sublist.trans, 166 0-axiom declarations) and Cat.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 (L1⊣R1L_1 \dashv R_1)

In classical pointed homotopy theory (developed systematically in Volume I, Chapter 1), reduced suspension Σ∗X\Sigma_* X and loop spaces Ω∗Y\Omega_* Y form an adjunction Σ∗⊣Ω∗\Sigma_* \dashv \Omega_* on pointed spaces Grpd∗\mathsf{Grpd}_*. What happens when we replace spaces by directed categories and topological cones by the directed join 1⋆C\mathbf{1} \star C of Chapter 17?

A crucial obstruction appears immediately if one omits markings. On bare pointed categories (C,c0)(C, c_0), the left cone (1⋆C,north)(\mathbf{1} \star C, \mathrm{north}) has a canonical meridian arrow χnorth,c:north→ιR(c)\chi_{\mathrm{north}, c} : \mathrm{north} \to \iota_R(c) for every c:Cc : C, including χnorth,c0:north→ιR(c0)\chi_{\mathrm{north}, c_0} : \mathrm{north} \to \iota_R(c_0). 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:

  • Cat+\mathsf{Cat}_+: pointed 1-categories (X,x0)(X, x_0); and
  • Cat⟨→⟩\mathsf{Cat}^{\langle\to\rangle}: marked-arrow 1-categories (Y,y0,y1,m:y0→Yy1)(Y, y_0, y_1, m : y_0 \to_Y y_1) equipped with a distinguished directed meridian arrow mm.

Define the marked directed cone functor L1:Cat+→Cat⟨→⟩L_1 : \mathsf{Cat}_+ \to \mathsf{Cat}^{\langle\to\rangle} and the marked coslice right adjoint R1:Cat⟨→⟩→Cat+R_1 : \mathsf{Cat}^{\langle\to\rangle} \to \mathsf{Cat}_+ by

L1(X,x0):=(1⋆X,  north,  ιR(x0),  χnorth,x0),R1(Y,y0,y1,m):=((y0↓Y),  (y1,m)).(32.2)L_1(X, x_0) := \bigl(\mathbf{1} \star X,\; \mathrm{north},\; \iota_R(x_0),\; \chi_{\mathrm{north}, x_0}\bigr), \qquad R_1(Y, y_0, y_1, m) := \bigl((y_0 \downarrow Y),\; (y_1, m)\bigr). \tag{32.2}

A marked morphism L1(X,x0)→(Y,y0,y1,m)L_1(X, x_0) \to (Y, y_0, y_1, m) sends north↦y0\mathrm{north} \mapsto y_0, sends x0↦y1x_0 \mapsto y_1, sends the distinguished meridian χnorth,x0\chi_{\mathrm{north}, x_0} to mm, and sends every object x:Xx : X together with χnorth,x\chi_{\mathrm{north}, x} to an object (F(x),μx:y0→F(x))(F(x), \mu_x : y_0 \to F(x)) of the coslice (y0↓Y)(y_0 \downarrow Y) respecting the basepoint (y1,m)(y_1, m). By the universal property of JoinCat, this establishes the 0-axiom adjunction equivalence

Hom⁡Cat⟨→⟩ ⁣(L1(X,x0),(Y,y0,y1,m))  ≃  Hom⁡Cat+ ⁣((X,x0),R1(Y,y0,y1,m)).(32.3)\operatorname{Hom}_{\mathsf{Cat}^{\langle\to\rangle}}\!\bigl(L_1(X, x_0), (Y, y_0, y_1, m)\bigr) \;\simeq\; \operatorname{Hom}_{\mathsf{Cat}_+}\!\bigl((X, x_0), R_1(Y, y_0, y_1, m)\bigr). \tag{32.3}

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).

Evidence: DIRECTED-MARKED-CONE-COSLICE [checked · DirectedSpectra.marked_cone_coslice_adj_equiv, DirectedSpectra.diagonal_coslice_fiber_equiv_loop, DirectedSpectra.naive_unmarked_cone_not_initial, DirectedSpectra.marked_walking_arrow_seg_not_iso]

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, and DirectedSpectra.marked_walking_arrow_seg_not_iso establish the 0-axiom marked Cone–Coslice adjunction L1⊣R1L_1 \dashv R_1 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 En(T)E^n(T) of HoTT.Spectra) from a directed cone 1⋆X\mathbf{1} \star X?

If we apply Chapter 27's free groupoidification directly to the bare cone 1⋆X\mathbf{1} \star X, every meridian χnorth,x:north→ιR(x)\chi_{\mathrm{north}, x} : \mathrm{north} \to \iota_R(x) becomes an invertible path in Groupoidify(1⋆X)\mathsf{Groupoidify}(\mathbf{1} \star X), contracting the entire space onto north\mathrm{north}:

Groupoidify(1⋆X)  ≃  1,H~1(Groupoidify(1⋆Bool);Z)  ≃  0.(32.4)\mathsf{Groupoidify}(\mathbf{1} \star X) \;\simeq\; \mathbf{1}, \qquad \widetilde{H}^1\bigl(\mathsf{Groupoidify}(\mathbf{1} \star \mathsf{Bool}); \mathbb{Z}\bigr) \;\simeq\; 0. \tag{32.4}

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 XX.

By contrast, retaining the relative cone pair—the base inclusion ιR:X↪1⋆X\iota_R : X \hookrightarrow \mathbf{1} \star X—and taking the homotopy cofiber (Pushout along X→1X \to \mathbf{1}) after groupoidification recovers the reduced suspension Σ(Groupoidify(X))\Sigma(\mathsf{Groupoidify}(X))! On the discrete two-point category X=Bool=S0X = \mathsf{Bool} = S^0, the relative cone-pair cofiber is equivalent to the Circle S1S^1, so its first integral cohomology is Z\mathbb{Z}:

Cofiber⁡ ⁣(Groupoidify(Bool)→Groupoidify(1⋆Bool))  ≃  S1,H1(Cone(Bool),Bool;Z)  ≃  Z.(32.5)\operatorname{Cofiber}\!\bigl(\mathsf{Groupoidify}(\mathsf{Bool}) \to \mathsf{Groupoidify}(\mathbf{1} \star \mathsf{Bool})\bigr) \;\simeq\; S^1, \qquad H^1(\mathrm{Cone}(\mathsf{Bool}), \mathsf{Bool}; \mathbb{Z}) \;\simeq\; \mathbb{Z}. \tag{32.5}

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.

Evidence: DIRECTED-RELATIVE-CONE-COHOMOLOGY [checked · 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, DirectedSpectra.bare_vs_relative_cone_bool_h1_neq]

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, and DirectedSpectra.bare_vs_relative_cone_bool_h1_neq verify both bare-cone collapse and non-vanishing relative cone-pair cohomology with 0 axioms. Higher Stabilization towers Ln⊣RnL_n \dashv R_n for n≥2n \ge 2 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 (π1(S1)≃Z\pi_1(S^1) \simeq \mathbb{Z}), Pushout(f, g), and set truncation Trunc0(X) underpin pointed wedge/smash products (X∨YX \vee Y, X∧YX \wedge Y, Σ∗X≃∗S1∧X\Sigma_* X \simeq_* S^1 \wedge X) and Ω\Omega-spectra Sp\mathsf{Sp} in Volume I, Chapter 1;
  • Directed Categories & Adjunctions (Chapters 2, 9–17): StrictCat(u), Došen adjunctions, pullbacks, and pushouts underpin synthetic stable ∞\infty-categories (HA 1.1.1.9), exact functors (HA 1.1.4.1), and triangulated homotopy categories hCh\mathcal{C} (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 C♡=C≥0∩C≤0\mathcal{C}^\heartsuit = \mathcal{C}_{\ge 0} \cap \mathcal{C}_{\le 0} of any t-structure on a stable category is proved to instantiate AbelianCat directly; and
  • LCF-Certified BigInt CAS (Chapter 31): SNF, Gröbner bases, and syzygies power Massey exact couples, certified UCSS/AHSS spectral sequences, and multiplicative graded Ext Yoneda-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 GG with a pointed connected 1-groupoid (BG,shG)(BG, \mathrm{sh}_G) whose loop space UG:=(shG=BGshG)UG := (\mathrm{sh}_G =_{BG} \mathrm{sh}_G) carries path composition—at the cost of raising universe levels whenever BGBG 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:

  1. Constructive Finite Enumerations (Fintype1) and BigOperators. Finite types carry explicit equivalences Fintype1 A := Σ (n : Nat), A ≃ Fin n (paired with canonical iterated coproducts FinSum n), computing cardinalities, binomial sums, and commutative monoid folds finFold directly inside the Q-free NbE evaluator;
  2. Permutations, Intrinsic Inversion Parity, and Alternating Groups. Auto-equivalences Perm A := (A ≃ A) form a 0-truncated group whenever A is a set (proved constructively via Hedberg's theorem), admitting transposition decomposition and an intrinsic homomorphic sign sgn:Perm(FinSum n)→Bool\mathrm{sgn} : \mathrm{Perm}(\mathrm{FinSum}\,n) \to \mathrm{Bool} (Symmetry §4.5, Mathlib GroupTheory.Perm.Sign) whose kernel AnA_n satisfies ∣An∣⋅2=n!|A_n| \cdot 2 = n! for n≥2n \ge 2;
  3. Univalent Concrete Groups (BG,shG)(BG, \mathrm{sh}_G) Paired with Small Directed Deloopings BMBM. Every pointed 1-groupoid loop space loopGrp1 BG shG forms a group while every small monoid MM or group GG deloops at universe level 0 to a 1-object category deloopMonoidCat1 M / deloopGrpCat1 G, bridging copresheaf actions BG→SetBG \to \mathsf{Set}, stacky action groupoids X//GX // G, set quotients X/G=∥X//G∥0X / G = \|X // G\|_0, principal GG-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

Evidence: FINITE-CARD-AND-PIGEONHOLE [checked · Combinatorics.Fintype1, Combinatorics.fin_pigeonhole, Combinatorics.fintype_card_unique, Combinatorics.binomial_sum_eq_pow2, Combinatorics.finFold_swap]

Let FinSum n:Grpd(0)\mathrm{FinSum}\,n : \mathsf{Grpd}(0) be the right-nested finite coproduct defined recursively by FinSum 0:=Empty\mathrm{FinSum}\,0 := \mathsf{Empty} and FinSum(n+1):=Unit+FinSum n\mathrm{FinSum}(n + 1) := \mathsf{Unit} + \mathrm{FinSum}\,n. In Combinatorics.FiniteSetsCard, finEquivFinSum n : Fin n ≃ FinSum n bridges bounded natural indices (i,i<n)(i, i < n) to inductive sum tags, and a constructive finite enumeration is defined as

Fintype1(A)  :=  ∑n:N(A≃Fin n).\mathrm{Fintype1}(A) \;:=\; \sum_{n : \mathbb{N}} (A \simeq \mathrm{Fin}\,n).

Because FinSum(k+1)\mathrm{FinSum}(k + 1) exposes a distinguished top element inl(∗)\mathrm{inl}(*) and boolean decidable equality finSumBeq, any injection f:FinSum(k+1)→FinSum(n+1)f : \mathrm{FinSum}(k + 1) \to \mathrm{FinSum}(n + 1) can be composed with the involutive transposition swapTopWith exchanging f(inl(∗))f(\mathrm{inl}(*)) with inl(∗)\mathrm{inl}(*), restricting constructively to an injection FinSum k→FinSum n\mathrm{FinSum}\,k \to \mathrm{FinSum}\,n. Induction on nn yields:

  • Constructive Pigeonhole Principle (fin_pigeonhole, Mathlib Data.Fintype.Pigeonhole): for every n:Nn : \mathbb{N} and every map f:Fin(n+1)→Fin nf : \mathrm{Fin}(n + 1) \to \mathrm{Fin}\,n, IsInjective1(f)→Empty\mathsf{IsInjective1}(f) \to \mathsf{Empty};
  • Finite Cantor–Bernstein & Cardinality Uniqueness (finSum_cantor_bernstein, fintype_card_unique): mutual injections between FinSum m\mathrm{FinSum}\,m and FinSum n\mathrm{FinSum}\,n force m=nm = n, so any two Fintype1 A witnesses agree propositionally on fintypeCard;
  • Algebra of Finite Types: explicit constructive equivalences witness
∣Empty∣=0,∣Unit∣=1,∣Bool∣=2,∣A+B∣=∣A∣+∣B∣,∣A×B∣=∣A∣⋅∣B∣,|\mathsf{Empty}| = 0,\quad |\mathsf{Unit}| = 1,\quad |\mathsf{Bool}| = 2,\quad |A + B| = |A| + |B|,\quad |A \times B| = |A|\cdot |B|,
∣A→B∣=∣B∣∣A∣,∣∑x:FinSum nF(x)∣=∑x∣F(x)∣,∣{x:FinSum n∣p(x)=true}∣=countPred(n,p),|A \to B| = |B|^{|A|},\qquad \left|\sum_{x : \mathrm{FinSum}\,n} F(x)\right| = \sum_{x} |F(x)|,\qquad |\{x : \mathrm{FinSum}\,n \mid p(x) = \mathrm{true}\}| = \mathrm{countPred}(n, p),

together with Pascal's recurrence (n+1k+1)=(nk)+(nk+1)\binom{n+1}{k+1} = \binom{n}{k} + \binom{n}{k+1}, the binomial theorem specialization ∑k=0n(nk)=2n\sum_{k=0}^n \binom{n}{k} = 2^n (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 sgn\mathrm{sgn}, and Alternating Groups

Evidence: PERMUTATIONS-SIGN-AND-ALTERNATING [checked · Combinatorics.hedberg_isSet, Combinatorics.disjointSupport_comm, Combinatorics.perm_transposition_decomp, Combinatorics.sgnPerm_mul, Combinatorics.altPerm_card_twice, Combinatorics.sym3_not_abelian, Combinatorics.adjSwap_not_in_altPerm]

To work with symmetries of finite types without postulating Axiom K or UIP, Combinatorics.PermutationsSign first proves Hedberg's Theorem (hedberg_isSet): any type AA 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 e1,e2:A≃Be_1, e_2 : A \simeq B into a set BB are equal if and only if their underlying forward functions agree pointwise (equiv_ext_ptwise, equiv_isSet).

For any type AA, the symmetric group carrier is the type of auto-equivalences (Symmetry §3.7, Mathlib GroupTheory.Perm.Basic):

Perm(A)  :=  (A≃A).\mathrm{Perm}(A) \;:=\; (A \simeq A).

On A=FinSum nA = \mathrm{FinSum}\,n, Perm (FinSum n) supports:

  1. Disjoint-Support Commutativity (disjointSupport_comm): if at every xx, either σ(x)=x\sigma(x) = x or τ(x)=x\tau(x) = x, then σ∘τ=τ∘σ\sigma \circ \tau = \tau \circ \sigma;
  2. Bijection-Invariant Commutative Folds (finFold_perm_invariant): for any commutative monoid MM, any σ:Perm(FinSum n)\sigma : \mathrm{Perm}(\mathrm{FinSum}\,n), and any f:FinSum n→Mf : \mathrm{FinSum}\,n \to M, ⨁xf(σ(x))=⨁xf(x)\bigoplus_{x} f(\sigma(x)) = \bigoplus_{x} f(x);
  3. Factorial Enumeration & Transposition Factorization (permFinSumCardEquiv, perm_transposition_decomp): peeling the image of inl(∗)\mathrm{inl}(*) establishes Perm(FinSum(k+1))≃FinSum(k+1)×Perm(FinSum k)\mathrm{Perm}(\mathrm{FinSum}(k+1)) \simeq \mathrm{FinSum}(k+1) \times \mathrm{Perm}(\mathrm{FinSum}\,k), proving ∣Perm(Fin n)∣=n!|\mathrm{Perm}(\mathrm{Fin}\,n)| = n! (so ∣Σ4∣=24|\Sigma_4| = 24 computes by rfl) and decomposing every permutation constructively into a product of transpositions swapFinSumPerm;
  4. Intrinsic Inversion-Parity Homomorphic Sign (sgnPerm, sgnPerm_mul, Symmetry §4.5, Mathlib GroupTheory.Perm.Sign): rather than defining sgn(σ)\mathrm{sgn}(\sigma) via non-unique word length in generators and proving well-definedness afterward, sgnPerm n σ : Bool folds boolean XOR (boolXorCommMonoid) over all ordered pairs x<yx < y in FinSum n\mathrm{FinSum}\,n testing whether σ(y)<σ(x)\sigma(y) < \sigma(x). Induction along permSuccDecompEquiv proves directly that
sgn(σ∘τ)  =  sgn(σ)⊕sgn(τ),sgn(τi,j)  =  true(i≠j),\mathrm{sgn}(\sigma \circ \tau) \;=\; \mathrm{sgn}(\sigma) \oplus \mathrm{sgn}(\tau), \qquad \mathrm{sgn}(\tau_{i,j}) \;=\; \mathrm{true}\quad (i \neq j),

and multiplying by the odd adjacent swap τ0,1\tau_{0,1} yields AltPerm(k+2)×Bool≃Perm(FinSum(k+2))\mathrm{AltPerm}(k + 2) \times \mathsf{Bool} \simeq \mathrm{Perm}(\mathrm{FinSum}(k + 2)) (altPermTimesBoolEquiv), certifying 2 ∣Ak+2∣=(k+2)!2\,|A_{k+2}| = (k+2)! (altPerm_card_twice: ∣A3∣=3|A_3| = 3, ∣A4∣=12|A_4| = 12, ∣A5∣=60|A_5| = 60), while refuting Σ3\Sigma_3 commutativity (sym3_not_abelian) and odd membership τ0,1∈Ak+2\tau_{0,1} \in A_{k+2} (adjSwap_not_in_altPerm, NC-17a Part 3).

✓ Kernel-verified .en (0 axioms)Open in Playground →
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 := rfl

33.3 Grayson Univalent Loop Groups (BG,shG)(BG, \mathrm{sh}_G), Small Directed BMBM, and Principal Torsors

Evidence: UNIVALENT-SYMMETRY-LOOP-AND-TORSORS [checked · GroupTheory.loopGrp1, GroupTheory.deloopGrpIsoEquivG, GroupTheory.familyToLoopGAction1, GroupTheory.gSetHom_equiv_deloopNatTrans, GroupTheory.orbitSet_universal_equiv, GroupTheory.principal_torsor_equiv]

In Symmetry (Symmetry §4.2, Symmetry §4.7), a concrete group is presented by its classifying groupoid (BG,shG)(BG, \mathrm{sh}_G), and a GG-set is simply a type family X:BG→SetX : BG \to \mathsf{Set} transporting elements along loops p:shG=shGp : \mathrm{sh}_G = \mathrm{sh}_G. 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):

PerspectiveObject in endashMorphisms / SymmetriesQuotient / Colimit
Univalent concrete group (Symmetry §4.2)Pointed 1-groupoid (BG,shG)(BG, \mathrm{sh}_G)Loop group loopGrp1 BG shG on shG=shG\mathrm{sh}_G = \mathrm{sh}_GDependent sum ∑z:BGX(z)\sum_{z : BG} X(z)
Small directed delooping (0 universe bump)deloopMonoidCat1 M / deloopGrpCat1 G : Cat1Endomorphisms MM (Iso ≃ G, deloopGrpIsoEquivG)Action category X//GX // G (actionGroupoidCat1)
Abstract algebraic GG-set (Symmetry §5.5)GAction1 G gG X (gaOne, gaMul)Equivariant maps GSetHom1 ≃Nat(X~,Y~)\simeq \mathrm{Nat}(\widetilde{X}, \widetilde{Y})Set orbits X/G:=Coeq(act,pr2)X / G := \mathrm{Coeq}(\mathrm{act}, \mathrm{pr}_2) (OrbitSet1)

Specifically:

  • Transport Actions & Delooped Copresheaves (familyToLoopGAction1, gSetHom_equiv_deloopNatTrans): any set-valued family P:BG→TypeP : BG \to \mathsf{Type} induces a lawful GAction1 of loopGrp1 BG shG on P(shG)P(\mathrm{sh}_G) via coe, and equivariant maps GSetHom1 G gG X Y are constructively equivalent (TypeEquiv) to natural transformations between the corresponding functors BG→Set\mathbf{B}G \to \mathsf{Set};
  • Stacky Quotient X//GX // G vs. Set Quotient X/GX / G (actionGroupoidCat1, OrbitSet1, orbitSet_universal_equiv): while the action groupoid X//GX // G retains stabilizer automorphisms HomX//G(x,x)≅StabG(x)\mathrm{Hom}_{X // G}(x, x) \cong \mathrm{Stab}_G(x), the set-level orbit quotient X/GX / G (built synthetically via Chapter 30's Pushout + Trunc0 coequalizer CoequalizerSet) satisfies the exact universal property that maps X/G→ZX / G \to Z into any set ZZ correspond equivalence-wise to GG-invariant functions f:X→Zf : X \to Z (∀g x, f(g⋅x)=f(x)\forall g\,x,\, f(g \cdot x) = f(x));
  • Principal GG-Torsor Equivalence (IsPrincipalTorsor1, principal_torsor_equiv, gSetHom_from_regular_equiv, Symmetry §7.4): by Yoneda on BG\mathbf{B}G, equivariant maps out of the left regular GG-torsor GregG_{\mathrm{reg}} satisfy HomG(Greg,X)≃X\mathrm{Hom}_G(G_{\mathrm{reg}}, X) \simeq X, and choosing a basepoint x0∈Xx_0 \in X of any inhabited, free, transitive GG-torsor produces an explicit GG-equivariant isomorphism Greg≃GXG_{\mathrm{reg}} \simeq_G X.

33.4 First Isomorphism Theorem, Orbit–Stabilizer, Lagrange, and Burnside's Lemma

Evidence: LAGRANGE-ISOMORPHISM-AND-BURNSIDE [checked · GroupTheory.first_isomorphism_thm, GroupTheory.orbit_stabilizer_card, GroupTheory.lagrange_theorem_card, GroupTheory.burnside_orbit_counting_lemma, GroupTheory.square2Coloring_burnside, GroupTheory.v4_not_iso_c4, GroupTheory.swap01_subgroup_not_normal_in_S3]

Combining Section 33.1's constructive witness search (findWitnessFinSum, implemented with linear O(n)O(n) 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):

  1. Normal Subgroups & First Isomorphism Theorem (kerNormalSubgroup1, first_isomorphism_thm, symQuotAltIsoC2): the kernel of any homomorphism φ:G→H\varphi : G \to H is normal, and any surjective homomorphism with kernel predicate KK induces a verified group isomorphism GrpIso1 between the quotient on canonical coset leaders and Im(φ)\mathrm{Im}(\varphi)—instantiated to Σk+2/Ak+2≅C2\Sigma_{k+2} / A_{k+2} \cong C_2;
  2. Orbit–Stabilizer Theorem (orbit_stabilizer_card): partitioning GG into fibers of g↦g⋅x0g \mapsto g \cdot x_0 over OrbG(x0)\mathrm{Orb}_G(x_0) proves
∣G∣  =  ∣OrbG(x0)∣⋅∣StabG(x0)∣;|G| \;=\; |\mathrm{Orb}_G(x_0)| \cdot |\mathrm{Stab}_G(x_0)|;
  1. Lagrange's Theorem (lagrange_theorem_card): every left coset gHgH has cardinality ∣H∣|H| (coset_card_eq_subgroup_card), so summing over canonical left-coset leaders proves
∣G∣  =  [G:H]⋅∣H∣;|G| \;=\; [G : H] \cdot |H|;
  1. Burnside's Orbit-Counting Lemma (Cauchy–Frobenius) (burnside_orbit_counting_lemma): applying Fubini interchange (finSumNat_swap) to the incidence indicator [g⋅x=x][g \cdot x = x] and substituting Orbit–Stabilizer on each orbit representative proves
∣X/G∣⋅∣G∣  =  ∑g∈G∣Xg∣.|X / G| \cdot |G| \;=\; \sum_{g \in G} |X^g|.

Applied to cyclic C4C_4-rotations of 2-colored 4-bead square necklaces (X=FinSum 16X = \mathrm{FinSum}\,16, square2ColoringAction), endash computes square2ColoringOrbitCount = 6 distinct necklaces and square2ColoringFixedPointSum = 24 (16+2+4+216 + 2 + 4 + 2), confirming 6⋅4=246 \cdot 4 = 24 (square2Coloring_burnside) by rfl!

Finally, NC-17b (Part 1) records two essential algebraic separations:

  • Exponent Separation V4≇C4V_4 \not\cong C_4 (v4_not_iso_c4): every element of the Klein four-group V4=C2×C2V_4 = C_2 \times C_2 satisfies v2=ev^2 = e (v4_sq_eq_one), whereas (0,1)∈C4(0, 1) \in C_4 has square (1,0)≠(0,0)(1, 0) \neq (0, 0), refuting any candidate GrpIso1 into Empty;
  • Non-Normal Subgroup Quotient Failure in Σ3\Sigma_3 (swap01_subgroup_not_normal_in_S3, swap01_coset_mul_not_welldefined): for H=⟨τ0,1⟩≤Σ3H = \langle \tau_{0,1} \rangle \le \Sigma_3, conjugating τ0,1\tau_{0,1} by τ1,2\tau_{1,2} yields the 2-cycle (0 2)∉H(0\,2) \notin H, so naïve coset representative multiplication (g1H)(g2H):=(g1g2)H(g_1 H)(g_2 H) := (g_1 g_2)H fails well-definedness on equivalent representatives e,τ0,1∈eHe, \tau_{0,1} \in eH.
✓ Kernel-verified .en (0 axioms)Open in Playground →
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_burnside
✓ Negative control verified (rejected by kernel)Open in Playground →
import 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 := rfl

Appendix 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 notationReadingActive endash witness / former
Grpd(u), StrictCat(u), GrayCat(u)groupoid, strict-functor category, and Gray-category universeskernel universes (Type u in .en for Grpd(u))
a→Cba \to_C bhom-category / 1-arrow classifier from aa to bb in CCHom(C, a, b)
F:A⊢BF : A \vdash B or [A,B][A, B]strict public functor category with lax transformationsFunctor(A, B) / StrictCat.toCat1
Cart⁡(A,B)\operatorname{Cart}(A, B), Catcart\mathsf{Cat}_{\mathrm{cart}}Cartesian functor category (strict transformations) and family coefficientCatCart / LCCC.Fam
T(C),C2(C),R(C),O(C)T(C), C_2(C), R(C), O(C)bitstream dualities { diff, tail }: op, co, coAbove2, totalOpOP_DUALITY, CO_DUALITY, CO_ABOVE2_DUALITY, TOTAL_OP_DUALITY
Γ,x:A\Gamma, x : A vs. Γ;x:fA\Gamma ; x :^f Abunched context: Cartesian sibling vs. directed functorial stepsrc/context.ts bunched context
F[x]F[x], F[f]F[f]functor object action and hom-functor / arrow actionfapp0, fapp1
η:F⇒G\eta : F \Rightarrow G, ηx\eta_x, η[f]\eta[f]coinductive Transf(±) transformation, point & Došen off-diagonal actiontapp0, tapp1, Adjunction.dosen_cut_right
ΣK±E\Sigma^{\pm}_K E, ΠKE\Pi_K E2-periodic Grothendieck total category and coherent section categorySigma(+/-), Pi, LCCC.sigma_pullback_equiv
Hom⁡Ed(u,v)[f]\operatorname{Hom}^d_E(u, v)[f]direct Q-free dependent hom & mixed-variance cubical dependent homhomd, homdc, Cubical.homdc_representable_beta
Path(A)\mathsf{Path}(A)equality-path category of a groupoid A:Grpd(u)A : \mathsf{Grpd}(u)Path(A), SIP.PathCat1
W,∗,ℓW, *, \ellWalkingEnd, its base object, and its non-invertible loopWalkingEnd.Cat, WalkingEnd.base, WalkingEnd.loop
encode,power\mathsf{encode}, \mathsf{power}WalkingEnd encoder, loop powers, and carrier equivalence with N\mathbb{N}WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat
S1,base,loop,ZS^1, \mathsf{base}, \mathsf{loop}, \mathbb{Z}higher inductive Circle and signed integers with Ω(S1)≃Z\Omega(S^1) \simeq \mathbb{Z}Circle.base, Circle.loop, Circle.loopSpaceEquivInt
Groupoidify(C)⊣Path\mathsf{Groupoidify}(C) \dashv \mathsf{Path}free groupoidal localization HIT and reflection adjunctionGroupoidify.Carrier, Groupoidify.map, Groupoidify.path_reflection_equiv
A⋆BA \star B, 1⋆X\mathbf{1} \star Xcomputational directed join and left directed coneJoinSpectra.JoinCat, JoinSpectra.cone_coslice_adj_equiv
Σu⊣u∗⊣Πu\Sigma_u \dashv u^* \dashv \Pi_uslice postcomposition, pullback base change, dependent product & FrobeniusLCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv, LCCC.frobenius_equiv
Pushout(f,g)\mathrm{Pushout}(f, g), ∣X∣0|X|_0homotopy pushout and 0-truncation HITsSpectra.pushout_universal_equiv, Spectra.trunc0_universal_equiv
StrP,H(X)\mathsf{Str}_{P,H}(\mathcal{X}), Rezk⁡(A)\operatorname{Rezk}(\mathcal{A})structured univalent 1-categories (SIP) and Rezk completionSIP.sip_univalent_cat1, SIP.comm_ring_iso_equiv_eq, SIP.indiscrete_bool_rezk_completion
aJPa_J P, ηP:P→aJP\eta_P : P \to a_J P0-axiom cover-completion sheafification reflector aJ⊣ιa_J \dashv \iotaSheaf.sheafify_is_sheaf, Sheaf.sheafify_universal_equiv
DR(f)D_R(f), Γ(PR1,O)\Gamma(\mathbb{P}^1_R, \mathcal{O}), Hi(Pk1,O(n))H^i(\mathbb{P}^1_k, \mathcal{O}(n))Zariski principal sieve, P1\mathbb{P}^1 global sections, & Čech cohomologyGeometry.zariskiPrincipalSieve, Geometry.p1_global_sections_equiv_base, Geometry.P1_Om2_D_F2
ListCat(C), L1⊣R1L_1 \dashv R_1Lean List monoid bridge and marked directed Cone–Coslice adjunctionWalkingEnd.toListUnit_comp, DirectedSpectra.marked_cone_coslice_adj_equiv

Homological And Certified-CAS Notation

Book notationReadingActive endash witness
A⊕B,0A \oplus B, 0additive biproduct and zero objectPreadditiveCat, AdditiveCat, Biproduct.eta
J⊣KJ \dashv K, Q⊣IQ \dashv I, Coim⁡(f)→∼Im⁡(f)\operatorname{Coim}(f) \stackrel{\sim}{\to} \operatorname{Im}(f)kernel/cokernel adjunctions and Abelian normalityKernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat
Hn(C∙)H_n(C_\bullet), δn\delta_n, ∂\partialfunctorial homology, direct LES connecting map, and general 6-term snakeHomology.map_comp, LES.exact_at_HB, Snake.six_term_exact
PAQ=DP A Q = D (SnfCert)LCF-certified Smith Normal Form witness over Z\mathbb{Z} or k[x]k[x]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 endash codebase remains the proof authority, and endash book check validates every row before generating the table below.

Claim IDStatusStatement0-Axiom endash OwnersReviewer
TT-EQUALITY-INDUCTIONcheckedThe 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_looptests/phase_c1_hott_kernel_and_axioms.test.ts
TT-ELEMENTARY-INDUCTIONcheckedEmpty, 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_assoctests/phase_l1_globals_and_adts.test.ts
TT-SIGMA-PI-PATHScheckedThe groupoid layer provides dependent pair and product classifiers, extensional pair/subtype equality, and function extensionality.Init.Prelude:Subtype.ext, Init.Nat:Prod.exttests/phase_c1_hott_kernel_and_axioms.test.ts
CAT-ITERATED-HOMScheckedA 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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-PATH-CATEGORYcheckedPath(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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-FUNCTOR-CALCULUScheckedPublic 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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-PRODUCT-CALCULUScheckedBinary 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_betatests/phase2_dependent_sigma_yoneda.test.ts
TRIANGULAR-BINARY-PRODUCTScheckedA 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
TERMINAL-OBJECT-COMPUTATIONcheckedA 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
PULLBACK-SLICE-BASE-CHANGEcheckedChosen 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
SLICE-DEPENDENT-PRODUCTScheckedA 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
CUT-PRODUCT-PROJECTIONcheckedIn 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_equivtests/phase_d1_ensnap_pack_and_karoubi_weighted_ends.test.ts
CAT-HOM-CUTScheckedRepresented-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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-TRANSFOR-CALCULUScheckedDefault 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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-DIRECTED-FAMILIEScheckedAn 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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-SIGMA-PIcheckedDirected 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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-FIBREWISE-CONTEXTcheckedFixed-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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-BASE-CHANGE-TOTALIZATIONcheckedPullback 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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-DISPLAYED-EVALUATIONcheckedConstant-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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-REPRESENTABLEcheckedThe 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_betatests/phase2_dependent_sigma_yoneda.test.ts
LOGIC-TRUNCATION-PREDICATEcheckedContractibility 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
LOGIC-NAT-SETHOODcheckedUnit 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
LOGIC-TRUNCATION-EVIDENCE-PROPcheckedFor 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
EQUIV-TYPEcheckedTypeEquiv 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
EQUIV-TYPE-ALGEBRAcheckedType 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
UNIV-GROUPOIDcheckedThe 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
UNIV-TRUNCATEDcheckedFor 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
EQUIV-OMEGAcheckedOmegaEquivAlong 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
EQUIV-EVIDENCE-PROPcheckedFor 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
EQUIV-HOM-ACTIONcheckedEquality-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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
EQUIV-ORDINARY-ISO-LIFTcheckedOrdinary 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
UNIV-FULL-OBJECT-ISOresearch-boundaryA full native equivalence between arbitrary categorical object equality and ordinary isomorphism evidence is not part of the selected API.none (open boundary)—
IND-PATHOUTcheckedPathOut_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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
IND-ARROWcheckedFixed-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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
IND-COMPOSITIONcheckedApplying 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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
IND-PATH-COMPARISONcheckedFor 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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
IND-GENERAL-INITIALITYresearch-boundaryA general theorem identifying all selected categorical induction interfaces with homotopy-initial algebras has not been packaged.none (open boundary)—
DHIT-DERIVED-ELIMINATORScheckedThe 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
DHIT-GENERAL-SCHEMAresearch-boundaryThe selected WalkingEnd interface does not yet constitute a reusable schema for arbitrary directed higher-inductive categories, pushouts, or cell complexes.none (open boundary)—
TRUNC-CLOSUREcheckedRecursive 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
TRUNC-RETRACTcheckedEvery 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
CAT-DIMENSIONcheckedIsNCat 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_betatests/phase2_dependent_sigma_yoneda.test.ts
TRUNC-REFLECTORcheckedThe 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_equivtests/phase_p2_univalent_sip_and_dagger.test.ts
WE-SIGNATUREcheckedWalkingEnd 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-ONE-DIMENSIONALcheckedEvery 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-CONTEXTUAL-ELIMINATORcheckedThe 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-BNAT-MODELcheckedBNat 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-CODEcheckedCode 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-ENCODEcheckedEncode 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-POWERcheckedNatural 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-SPIRALcheckedThe 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-CONTEXTUAL-DECODERcheckedThe 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-NORMALIZATION-CELLcheckedEvery 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-NORMALIZATION-PATHcheckedHom-discreteness converts the directed normalization cell into equality.Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-POWER-ENCODEcheckedFor a based endomorphism p, power(encode(p)) equals p.Cat.ListBridge:WalkingEnd.power_encode, Cat.ListBridge:WalkingEnd.encode_power, Cat.ListBridge:WalkingEnd.power_addtests/phase_l6_functorial_list_bridge.test.ts
WE-ENCODE-POWERcheckedFor every natural n, encode(power(n)) equals n.Cat.ListBridge:WalkingEnd.power_encode, Cat.ListBridge:WalkingEnd.encode_power, Cat.ListBridge:WalkingEnd.power_addtests/phase_l6_functorial_list_bridge.test.ts
WE-HOM-NAT-CARRIERcheckedThe underlying based-endomorphism carrier is equivalent to Nat.Cat.WalkingEnd:WalkingEnd.Cat, Cat.WalkingEnd:WalkingEnd.encode, Cat.WalkingEnd:WalkingEnd.power, Cat.WalkingEnd:WalkingEnd.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-HOM-SETHOODcheckedThe 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-LOOP-NOT-IDENTITYcheckedThe walking generator is not equal to the identity.Cat.WalkingEnd:WalkingEnd.loop, Cat.WalkingEnd:WalkingEnd.loop_not_isIsotests/phase3_4_walking_end_milestone.test.ts
WE-LOOP-NO-RIGHT-INVERSEcheckedThe walking generator has no right inverse.Cat.WalkingEnd:WalkingEnd.loop, Cat.WalkingEnd:WalkingEnd.loop_not_isIsotests/phase3_4_walking_end_milestone.test.ts
WE-LOOP-NONINVERTIBLEcheckedThe walking generator carries no native omega-equivalence evidence.Cat.WalkingEnd:WalkingEnd.loop, Cat.WalkingEnd:WalkingEnd.loop_not_isIsotests/phase3_4_walking_end_milestone.test.ts
WE-ENCODE-PREFIXcheckedEncoding 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_addtests/phase_l6_functorial_list_bridge.test.ts
WE-STRUCTURED-ENCODERcheckedThe 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.homEquivNattests/phase3_4_walking_end_milestone.test.ts
WE-COMPOSITION-ADDITIONcheckedComposition 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_comptests/phase_l6_functorial_list_bridge.test.ts
WE-FULL-CATEGORICAL-COMPARISONresearch-boundaryA reverse BNat functor, full hom-category equivalence, and functor-category initiality require additional reusable infrastructure.none (open boundary)—
WE-GROUP-COMPLETIONcheckedThe 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_circletests/phase_p3_groupoidification_hit.test.ts
TRANSF-POINT-OFFDIAGONALcheckedAn 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
TRANSF-STRICT-NATURALITYcheckedThe 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
TRANSF-HORIZONTAL-CALCULUScheckedThe 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
TRANSFD-FIBRE-COMPONENTScheckedA 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
FUNCTORD-DISPLAYED-LAXITYcheckedFor 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
FUNCTORD-SIGMA-ACTIONcheckedThe 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
FUNCTORD-WHOLE-LAXITYcheckedThe 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
PROF-CATEGORYcheckedA 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-REPRESENTABLEcheckedThe 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-REINDEXINGcheckedProfunctors 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-REPRESENTATION-PACKAGEcheckedRepresentability 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-COMPARISON-BETA-ETAcheckedA 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-SHAPED-CELLScheckedA 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-TENSORcheckedThe 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-CLOSED-CALCULUScheckedThe 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-COYONEDAcheckedTensoring 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
PROF-GENERAL-COENDcheckedGeneral 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_equivtests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
YONEDA-FULLY-FAITHFULcheckedThe 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_faithfultests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
UCAT-IDENTITY-ISOMORPHISMcheckedIn 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.IsUnivalentCat1tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
UCAT-FUNCTOR-CATEGORYcheckedFunctorCat1(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_isotests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
UCAT-ADJOINT-REPRESENTABILITYcheckedRight 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_isotests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
UCAT-ADJOINT-UNIQUENESScheckedAny 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_univalenttests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
UCAT-EQUIVALENCE-CRITERIAcheckedFundamental 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_catEquivtests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
UCAT-CATEGORY-IDENTITYcheckedCategorical 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_cat1tests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
UCAT-YONEDAcheckedThe 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_faithfultests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
UCAT-STRICT-CATEGORYcheckedOrdinary 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_univalenttests/phase_p2_univalent_sip_and_dagger.test.ts
UCAT-DAGGER-CATEGORYcheckedDagger 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_univalenttests/phase_p2_univalent_sip_and_dagger.test.ts
UCAT-STRUCTURE-IDENTITYcheckedThe 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_eqtests/phase_p2_univalent_sip_and_dagger.test.ts
UCAT-REZK-COMPLETIONcheckedRezk 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_completiontests/phase_p2_univalent_sip_and_dagger.test.ts
NATIVE-DAGGER-INTERFACEresearch-boundaryThe 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-IDENTITYresearch-boundaryA 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-COMPLETIONresearch-boundaryNo selected native saturation predicate, Rezk completion object, unit weak equivalence, or iterable higher mapping property is currently implemented.none (open boundary)—
ADJ-TRIANGLE-CUTScheckedAn 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
ADJ-HOM-PROF-COMPARISONcheckedAn 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
MONAD-TRIANGULAR-COMPUTATIONcheckedA 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
WEIGHTED-LIMIT-REPRESENTABILITYcheckedA 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
WEIGHTED-LIMIT-SPECIALIZATIONScheckedWeighted 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_limitstests/phase_d1_ensnap_pack_and_karoubi_weighted_ends.test.ts
WEIGHTED-END-KAN-SEMANTICScheckedSemantic 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_equivtests/phase_m1_multisource_tags_and_synthetic_cat.test.ts
DEPENDENT-ADJUNCTIONScheckedCovariant 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_equivtests/phase_d2_grothendieck_fibrations_and_descent.test.ts
OP-DUALITYcheckedDimension-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_swaptests/duality.test.ts
WEIGHTED-LIMIT-PRESERVATIONcheckedThe 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_limitstests/phase_g3_weighted_limits_and_ends.test.ts
WEIGHTED-COLIMIT-PRESERVATIONcheckedWeighted 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_colimitstests/phase_p4_join_cones_and_spectra.test.ts
WEIGHTED-COLIMIT-SPECIALIZATIONScheckedWeighted 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_colimitstests/phase_d1_ensnap_pack_and_karoubi_weighted_ends.test.ts
JOIN-RECURSORcheckedThe 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_colimitstests/phase_p4_join_cones_and_spectra.test.ts
JOIN-COLLAGE-BOUNDARYresearch-boundaryThe 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-PRESENTATIONcheckedThe 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_betatests/phase1_core_and_soundness.test.ts
FORMAL-ELABORATION-BOUNDARYcheckedThe .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.transtests/phase_b1_en_ergonomics_and_ensnap_packages.test.ts
FORMAL-METATHEORY-BOUNDARYresearch-boundaryLocal 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-LAWScheckedAn 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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
GENERATED-GROTH-TOPOLOGYcheckedEvery 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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
SIEVE-MATCHING-LOCALITYcheckedAn 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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
PSH-YONEDA-HIGHER-SIEVEcheckedCat-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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
ORDINARY-SIEVE-PULLBACKcheckedAn 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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
COMM-RING-INVERTIBILITY-SIEVEcheckedFor 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
DIRECT-COVER-COMPLETION-HITcheckedFor 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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
DIRECT-COVER-COMPLETION-LOCALITYcheckedCanonical 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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
DIRECT-COVER-COMPLETION-UNIVERSALITYcheckedThe 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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
CAT-VALUED-SHEAFIFICATION-REFLECTORcheckedAt 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_equivtests/phase_g4_sites_and_sheafification_hit.test.ts
COMM-RING-STRUCTURED-CATEGORYcheckedCommutative 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
FINITE-UNIMODULAR-COVER-DATAcheckedFinite 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
COMM-RING-POLYNOMIAL-UNIVERSALITYcheckedA 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
COMM-RING-LOCALIZATION-UNIVERSALITYcheckedUnit 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
COMM-RING-LOCALIZATION-MODELScheckedIdentity 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
COMM-RING-ITERATED-LOCALIZATION-EQUIVcheckedFor 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
AFFINE-BASIC-OPEN-POINT-REPRESENTATIONcheckedThe 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
AFFINE-BASIC-OPEN-INTERSECTIONcheckedAt 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
AFFINE-BIG-SLICE-COORDINATEScheckedThe 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
AFFINE-BIG-ZARISKI-TOPOLOGYcheckedAt 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
AFFINE-STRUCTURE-SHEAF-PRESENTATIONcheckedGiven 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
AFFINE-THIN-SCHEME-PRESENTATIONcheckedThe 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
GLOBAL-RINGED-COVER-BINARY-GENERATIONcheckedA 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
WHOLE-SLICE-AFFINE-REALIZATIONcheckedPrecomposition 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
TOPOLOGY-LOCAL-RING-CERTIFICATEcheckedA 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
BINARY-SITE-RELATIVE-SCHEMEcheckedA 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
ACTUAL-BINARY-CHART-OVERLAPcheckedGiven 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
LAURENT-TRANSITIONS-BY-UNIVERSALITYcheckedFor 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
LAURENT-COMMON-OVERLAPcheckedGiven 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
ACTUAL-SCHEME-LAURENT-OVERLAPcheckedFor 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
SUPPLIED-P1checkedA 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_basetests/phase_g5_projective_line_and_cech_cohomology.test.ts
GROUPOIDAL-PRODUCT-CLOSUREcheckedThe 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.exttests/phase_c1_hott_kernel_and_axioms.test.ts
PATH-PSEUDO-LAXITYcheckedFor 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.exttests/phase_c1_hott_kernel_and_axioms.test.ts
GROUPOIDAL-PRODUCT-TRANSPORTcheckedFor 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.exttests/phase_c1_hott_kernel_and_axioms.test.ts
INTEGER-LOCALIZATION-LINEcheckedThe 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_unittests/phase_c2_circle_and_bridge.test.ts
CIRCLE-HIT-COMPUTATIONcheckedThe 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_unittests/phase_c2_circle_and_bridge.test.ts
CIRCLE-MONODROMYcheckedEvery 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_unittests/phase_c2_circle_and_bridge.test.ts
CIRCLE-CONNECTED-TRUNCATIONcheckedCircle 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_unittests/phase_c2_circle_and_bridge.test.ts
CIRCLE-LOOP-INTEGERcheckedThe 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_unittests/phase_c2_circle_and_bridge.test.ts
WALKING-INTERVAL-GROUPOIDIFICATIONcheckedThe 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_equivtests/phase_p3_groupoidification_hit.test.ts
GROUPOIDIFICATION-INTERVAL-RECOVERYcheckedSpecializing 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_equivtests/phase_p3_groupoidification_hit.test.ts
GENERIC-GROUPOIDIFICATION-MAPPINGcheckedFor 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_equivtests/phase_p3_groupoidification_hit.test.ts
GRAY-COMPUTATIONAL-PROFILEcheckedPublic 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
GRAY-RIGHT-CLOSUREcheckedThe 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
GRAY-WALKING-INTERCHANGERcheckedIn 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_netests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
SEMISIMPLICIAL-FACE-SUBSTRATEcheckedInjective 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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
DEPENDENT-SIMPLEX-INTERNAL-ACTIONcheckedThe 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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
ORDINAL-DEPENDENT-FOUR-SIMPLEXcheckedOne 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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
ORDINAL-DEPENDENT-SIMPLEX-RECURSIONcheckedNat 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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
EH-COMMUTATIVITYcheckedTwo 2-endomorphisms of an identity 1-cell commute in the selected Eckmann-Hilton slice.Cat.WalkingArrow:EckmannHilton.omega2_comm, Cat.WalkingArrow:EckmannHilton.strictCat_middle_fourtests/phase_h1_walking_arrow_and_eckmann_hilton.test.ts
ADDITIVE-HOM-BIPRODUCTScheckedSet-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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
HOMOLOGY-BOUNDED-ITERATORcheckedA 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-KERNEL-COKERNEL-UNIVERSALITYcheckedWhole 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
ORDINARY-DIAGRAM-UNIVERSALITYcheckedThe 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-COIMAGE-IMAGE-NORMALITYcheckedThe 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-WHOLE-HOMOLOGYcheckedWhole 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-CANONICAL-EXACTNESScheckedNative 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-HOMOLOGY-CONNECTINGcheckedWhole 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-HOMOLOGY-WINDOW-EXACTNESScheckedThe 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-SNAKE-CONNECTINGcheckedThe 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_agreementtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-SNAKE-SIX-TERMcheckedThe 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_agreementtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-SNAKE-LES-COMPARISONcheckedThe 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_agreementtests/phase_h4_abstract_homology_les_snake.test.ts
NATIVE-FREYD-MODELcheckedA 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_HBtests/phase_h5_nonsplit_cas_homology_showcase.test.ts
NATIVE-CAS-DISPLAYED-EXACTNESScheckedUnder 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_HBtests/phase_h5_nonsplit_cas_homology_showcase.test.ts
ORDINARY-ADJUNCTION-FAMILIEScheckedThe 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
ORDINARY-PRODUCT-ADJUNCTIONcheckedThe 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
WHOLE-CATEGORICAL-CONTRACTIONcheckedCategory 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
ORDINARY-TERMINAL-ADJUNCTIONScheckedTwo 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
ORDINARY-HOM-COMPARISON-DATAcheckedA 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
ORDINARY-ADJUNCTION-INTRODUCTIONcheckedOne 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
PRIMARY-TERMINAL-FAMILY-UNIVERSALITYcheckedThe 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_equivtests/phase_h2_adjunctions_monads_lccc.test.ts
NATIVE-COMMA-FAMILY-CLASSIFICATIONcheckedThe 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
WHOLE-HOMOLOGY-FAMILY-COMPARISONcheckedAn 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_HBtests/phase_h4_abstract_homology_les_snake.test.ts
CAT-DEPENDENT-HOMcheckedFor 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_betatests/phase2_dependent_sigma_yoneda.test.ts
CAT-SIGMA-HOMcheckedThe 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_betatests/phase2_dependent_sigma_yoneda.test.ts
NATIVE-NERVE-FACE-COMPARISONcheckedRelative 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_composestests/phase_g1_simplicial_types_and_nerve.test.ts
JOIN-UNIVERSAL-AND-CONE-COSLICEcheckedComputational 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_equivtests/phase_p4_join_cones_and_spectra.test.ts
SHEAFIFY-IDEMPOTENT-CCCcheckedZero-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_sheaftests/phase_g4_sites_and_sheafification_hit.test.ts
P1-GLOBAL-NONAFFINE-COHOMOLOGYcheckedOn 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_Qtests/phase_g5_projective_line_and_cech_cohomology.test.ts
GROUPOIDIFY-SOURCE-FUNCTOR-ADJUNCTIONcheckedCategory-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_triangletests/phase_p3_groupoidification_hit.test.ts
SIMPLICIAL-CUBICAL-DEGENERACY-KANcheckedSimplicial 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_unfillabletests/phase_s4_directed_cone_spectra_and_degeneracies.test.ts
LCCC-FROBENIUS-AND-PUSHOUTcheckedLocally 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_equivtests/phase_s1_pushout_spectra_cohomology.test.ts
LEAN-LIST-SUBSUMPTION-BRIDGEcheckedLean 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.sigmaTupleEquivtests/phase_l6_functorial_list_bridge.test.ts
DIRECTED-MARKED-CONE-COSLICEcheckedMarked-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_isotests/phase_s4_directed_cone_spectra_and_degeneracies.test.ts
DIRECTED-RELATIVE-CONE-COHOMOLOGYcheckedBare 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_neqtests/phase_s4_directed_cone_spectra_and_degeneracies.test.ts
FINITE-CARD-AND-PIGEONHOLEcheckedConstructive 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_swaptests/phase_y1_shared_dag_symmetry_tags_and_fintype.test.ts
PERMUTATIONS-SIGN-AND-ALTERNATINGcheckedConstructive 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_altPermtests/phase_y2_permutations_cycles_and_sign.test.ts
UNIVALENT-SYMMETRY-LOOP-AND-TORSORScheckedGrayson 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_equivtests/phase_y3_univalent_groups_torsors_lagrange_burnside.test.ts
LAGRANGE-ISOMORPHISM-AND-BURNSIDEcheckedThe 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_S3tests/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:

  1. What are the evident powers of the loop, and how might a loop be assigned a winding number?
  2. What does the classical free/universal-cover picture predict?
  3. How can the cover be represented internally as a family?
  4. 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 calculationWalking-endomorphism calculation
A base point and an identity loop in S¹A base object and a directed arrow ell in W
Loop carrier base = baseBased hom carrier Hom_W(*,*)
Integer-indexed positive and negative powersNatural-number-indexed forward powers
A cover with integer fibreA Cat-valued code with Path(Nat) base fibre
Successor equivalence on integersSuccessor functor on naturals
A universe path obtained through univalenceA directed endofunctor accepted directly by recursion into Cat
Transport zero along an identity pathApply the Code functor to zero along a directed arrow
Decode by dependent circle inductionDecode by the contextual displayed eliminator
Hard inverse by generalized path inductionDirected normalization cell, then hom-discreteness
Easy inverse by integer/circle inductionEasy inverse by Nat induction
Omega(S¹) ≃ IntHom_W(*,*) ≃ Nat as carriers
Group structure and inverse loopsFree-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 Code:S1→Type\mathsf{Code}:S^1\to\mathsf{Type} 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,

Code:W⟶Catcart\mathsf{Code}:W\longrightarrow\mathsf{Cat}_{\mathrm{cart}}

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 ∗→x*\to x. The target family is the representable

x⟼Hom⁡W(∗,x).x\longmapsto\operatorname{Hom}_W(*,x).

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

p⟶decodex(encodex(p)).p\longrightarrow \mathsf{decode}_x(\mathsf{encode}_x(p)).

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 BNat model 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).

Evidence: WE-GROUP-COMPLETION [checked · Groupoidify.walkingEndToCircle, Groupoidify.walking_end_equiv_circle]

Formal status — checked. Evidence WE-GROUP-COMPLETION. Chapter 27 establishes WalkingEnd/Circle free inversion, generic Groupoidify(C) universality, covariant source functoriality, and Groupoidify ⊣ Path with 0 axioms.

Full functor-category initiality of WalkingEnd over arbitrary higher ω\omega-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 U→XU\to X together with a supplied reflective presentation of the actual slice K/U\mathcal K/U, 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 F:A→BF:A\to B and G:B→AG:B\to A 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 PathOut\mathsf{PathOut}. Unlike equality induction, its base category may contain noninvertible arrows. See Chapter 5.

Basic open. Primarily, the ordinary sieve DR(f)D_R(f) of maps R→SR\to S that make ff invertible. A supplied localization R→R[1/f]R\to R[1/f] 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 xx, the category Hx=Hom⁡W(∗,x)H_x=\operatorname{Hom}_W(*,x). Its objects are based 1-arrows and its arrows are based 2-cells. See Chapter 8.

BNat. The separate one-object category with N\mathbb N-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 Hom⁡W(∗,∗)≃N\operatorname{Hom}_W(*,*)\simeq\mathbb N. 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 E:K→CatcartE:K\to\mathsf{Cat}_{\mathrm{cart}}. It assigns a category E[k]E[k] to each base object and a transport functor E[p]E[p] 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 P:C×C→CP:C\times C\to C 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 F[g]∘F[f]⇒F[g∘f]F[g]\circ F[f]\Rightarrow F[g\circ f] obtained by specializing whole transfor laxity to the identity transfor of FF. 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 CRing\mathbf{CRing}. See Chapter 21.

Code. The Cat-valued family over WalkingEnd whose base fibre is Path(N)\mathsf{Path}(\mathbb N) 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 q:V→Xq:V\to X of one retained covering sieve, an executable Boolean branch, factor map V→UbV\to U_b, and triangle q=ubhq=u_bh 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 CC, 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 Πu:C/X→C/Y\Pi_u:C/X\to C/Y right adjoint to pullback base change u∗:C/Y→C/Xu^*:C/Y\to C/X. 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 p→decode(encode(p))p\to\mathsf{decode}(\mathsf{encode}(p)) 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 GrayHomlax(A,B)\mathsf{GrayHom}_{\mathrm{lax}}(A,B) 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 ss over UU, the sieve DU(s)D_U(s) of all probes p:V→Up:V\to U for which p∗sp^*s 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 (n,x)(n,x) represents x−nx-n; 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 i0,i1i_0,i_1 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 g:w→xg:w\to x and u:x→yu:x\to y, then u∗(g)=u∘g:w→yu_*(g)=u\circ g:w\to y. Its active owners are hom_postcomp_func and hom_postcomp_fapp0. See §9.2.

Localization at an element. A structured map R→R[1/f]R\to R[1/f] that makes ff invertible and has a contractible factor space through every map in which the image of ff 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 R^→X\widehat R\to X assigning local data to every member of a sieve RR, compatibly with refinement. A global section restricts to a matching family by precomposition. See Chapter 19.

Monad, computational presentation. An endofunctor TT with whole unit and multiplication observations and a whole extension operation f↦f∗f\mapsto f^*. 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 αx:F(x)→G(x)\alpha_x:F(x)\to G(x) 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 η:F⇒G\eta:F\Rightarrow G and f:x→yf:x\to y, then η[f]:F(x)→G(y)\eta[f]:F(x)\to G(y). 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 TT. 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. Path(A)\mathsf{Path}(A), the equality-local groupoidal category on a classifier AA. 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 ∑y:ZHom⁡Z(x,y)\sum_{y:Z}\operatorname{Hom}_Z(x,y) at a fixed source xx. Its canonical arrow from (x,idx)(x,\mathrm{id}_x) to (y,p)(y,p) 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 RR-algebra on a variable classifier XX, 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 P1\mathbf P^1, a projectivity or non-affineness proof, or a substitute for Proj. See Chapter 24.

Presheaf. A contravariant functor X:Kop→SetX:\mathcal K^{\mathrm{op}}\to\mathsf{Set} or, in the active higher presentation, to Catcart\mathsf{Cat}_{\mathrm{cart}} with domain T(K)T(\mathcal K). It assigns observations to stages and functorial restriction to probes. See Chapters 13 and 18.

Profunctor. A Cat-valued functor T(A)×B→CatcartT(A)\times B\to\mathsf{Cat}_{\mathrm{cart}}, contravariant in its first endpoint and covariant in its second. See Chapter 13.

Pullback base change. For chosen pullbacks and u:X→Yu:X\to Y, the whole functor u∗:C/Y→C/Xu^*:C/Y\to C/X right adjoint to slice postcomposition Σu\Sigma_u. 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 Hom⁡(−,n+1)\operatorname{Hom}(-,n+1) on the augmented semi-simplex category. The shift converts dimension nn to n+1n+1 vertices. It is distinct from both the ordinal source category Δ[n]\Delta[n] and one native dependent simplex. See Chapter 29.

Terminal object, selected. An object tt with one whole canonical-arrow transformation !:id⁡C⇒Const⁡t!:\operatorname{id}_C\Rightarrow\operatorname{Const}_t. Every Hom⁡C(A,t)\operatorname{Hom}_C(A,t) is contractible at !A!_A; 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 (fi)(f_i) together with coefficients (ai)(a_i) and a retained equation ∑iaifi=1\sum_i a_if_i=1. 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 u:x→yu:x\to y and h:y→zh:y\to z, then u∗(h)=h∘u:x→zu^*(h)=h\circ u:x\to z. Its active owners are hom_precomp_along_func and hom_precomp_along_fapp0. The action is contravariant in uu. 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 e:T′→Te:T'\to T 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

  1. Judgmental NbE Conversion (eval / readback / conv): Evaluates Core terms into semantic Value closures (src/eval.ts) and reads back βη\beta\eta-normal forms. Bitstream duality XOR (composeDuality), bunched functorial β\beta-reduction, strict functor identity/composition on Path and functor spines, Došen off-diagonal tapp1 cuts, 2-periodic Sigma(±) and Q-free homd / homdc projections, computational JoinCat four-region homs, and inductive/HIT point β\beta-rules live here.
  2. Elaboration-Time Unification (src/elab/*): Solves implicit Holes (_), universe parameters (universe u v), and nominal typeclass synthesis ([AbGroup G], [DecidableEq α]) during .en elaboration. Every solved metavariable is substituted into an explicit Core term that the trusted kernel re-checks from scratch without unification rules.
  3. Internal Propositional Equality (Eq(A, x, y) & TypeEquiv): First-class mathematical witnesses manipulated by J, coe, funext, groupoid univalence ua, .en calc chains, 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, and totalOp compose by O(1)O(1) bitwise XOR without traversing term bodies, preventing post-Op normal-form drift.
  • Direct homd and homdc: Dependent homs of Catcart\mathsf{Cat}_{\mathrm{cart}} families and 2-periodic Sigma(±) totals normalize directly under NbE without the six-rung Homd_coeff_cat (Q) wrapper ladder.
  • HIT Point And Path Elimination: Circle, Pushout, Trunc0, Groupoidify, and Sheafify compute 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 (PAQ=DP A Q = D), 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 (d∘d=0d \circ d = 0), and unimodular/homotopy equations are checked directly by checkTerm. Forged CAS witnesses are deterministically rejected by the kernel (NC-11, NC-13b, NC-14b).

Evidence: NATIVE-WHOLE-HOMOLOGY [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]
Evidence: NATIVE-CAS-DISPLAYED-EXACTNESS [checked · IntRing.SnfCert, IntRing.bockstein_nonsplit, IntRing.bockstein_delta_nonzero, LES.exact_at_HB]

Formal status — checked. Evidence NATIVE-WHOLE-HOMOLOGY and NATIVE-CAS-DISPLAYED-EXACTNESS (Cat.Homology and Algebra.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

AreaChecked 0-axiom nucleus in endash (Volume 0)Explicit open boundary
Equality-local & classical typesEmpty, Unit, Bool, Nat, Int, Option, Sum, Fin, Subtype, Lean 4 Init.Data.List (166 decls), J, funext, Hedberg sethoodGeneral user-defined coinductive types and impredicative Prop erasure
Directed categories & dualitiesStrictCat(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 (∞,ω)(\infty, \omega) coherence metatheory
Directed families & dependent homsCatcart\mathsf{Cat}_{\mathrm{cart}} families, 2-periodic Sigma(±), Pi sections, direct Q-free homd & mixed-variance homdc, Grothendieck ∫CP\int_{\mathcal{C}} P, Cartesian/coCartesian lifts, straightening–unstraightening, & dependent Beck–ChevalleyUnrestricted exchange across ; dependency edges (intentionally forbidden by soundness control NC-1..5)
WalkingEnd & ListCat bridgeWalkingEnd.homEquivNat, loop_not_isIso, power_add, encode_comp, WalkingEnd.homEquivListUnit, toListUnit_comp, List.sigmaTupleEquivFull higher-categorical initiality over arbitrary weak ω\omega-algebras
Univalence, Yoneda, Karoubi, & SIPGroupoid ua, BZ2 strict-vs-univalent (NC-12a), idToIso1, Karoubi envelope Idem(C)\mathrm{Idem}(\mathcal{C}) (KaroubiCat1, karoubi_idempotent_splits), Twisted Arrow Tw(C)\mathrm{Tw}(\mathcal{C}), full Yoneda Lemma, Fundamental Theorem (FF + SplitEssSurj -> CatEquiv), SIP Thm. 15.3, & RezkNative (∞,ω)(\infty, \omega) structure identity and higher directed Rezk completion
Weighted limits, Coends, Kan, & JoinCatRAPL, LAPL, semantic end/coend weighted limits & colimits (weighted_limit_as_end_equiv, WeightedColimitSet, coYoneda_representable_colimit_equiv), pointwise Left/Right Kan extensions LanK⊣K∗⊣RanK\mathrm{Lan}_K \dashv K^* \dashv \mathrm{Ran}_K, cofinality, JoinCat β+η\beta+\eta, & Cone–Coslice cone_coslice_adj_equivCollage Coll⁡(P)\operatorname{Coll}(P) for arbitrary non-terminal profunctors PP
Sites, Descent, & 0-axiom SheafifyGrothendieck sieves, fibered categories in groupoids, effective descent cocycles (effective_descent_trivialization_equiv), Locality Theorem 20.1 (Sheaf.sheafify_is_sheaf), reflector aJ⊣ιa_J \dashv \iota, idempotence, finite-product preservation, & exponential sheavesRing-object lifting across arbitrary site morphisms and classical plus-construction comparison
Constructive schemes & P1\mathbb{P}^1Principal Zariski sieves DR(f)D_R(f), Laurent overlaps, Γ(PR1,O)≃R\Gamma(\mathbb{P}^1_R, \mathcal{O}) \simeq R, non-affineness PF21≄AF21\mathbb{P}^1_{\mathbb{F}_2} \not\simeq \mathbb{A}^1_{\mathbb{F}_2}, & LCF-certified Hi(Pk1,O(n))H^i(\mathbb{P}^1_k, \mathcal{O}(n)) (n=−2..2n=-2..2 over F2,Q\mathbb{F}_2, \mathbb{Q})General graded Proj, PAn\mathbb{P}^n_A for arbitrary n≥2n \ge 2, and atlas-first qcqs gluing
Circle, Groupoidify, & GrayCatπ1(S1)≃Z\pi_1(S^1) \simeq \mathbb{Z}, Groupoidify(WalkingEnd) ≃ Circle, covariant Groupoidify.map, packaged Groupoidify ⊣ Path adjunction, & GrayInterchanger.whiskering_neFull Crans–Gray monoidal biclosed coherence
Simplicial, cubical, & KanPathOut tetrahedra, inner-face nerve composition, simplicial/cubical codegeneracies (intervalCodegS0, cubeCodeg2_0/1), homdc, & groupoidal hcomp2 vs. directed horn non-fillingFull all-dimensional Δ\Delta degeneracy/Segal/Rezk nerve equivalence
LCCC, HITs, AbelianCat, & CASΣu⊣u∗⊣Πu\Sigma_u \dashv u^* \dashv \Pi_u, LCCC.frobenius_equiv, Pushout, Trunc0, AbelianCat 6-Term Snake & LES (< 1.5 s), & LCF BigInt SNF/Gröbner/syzygy certificatesUnbounded derived ∞\infty-categories (continued in Volume I via synthetic stable categories & t-structure hearts!)
Directed cone spectra (Ch. 32)Marked Cone–Coslice L1:Cat+→Cat⟨→⟩⊣R1L_1 : \mathsf{Cat}_+ \to \mathsf{Cat}^{\langle\to\rangle} \dashv R_1, bare-cone collapse, & relative cone-pair H1(Cone(Bool),Bool;Z)≃ZH^1(\mathrm{Cone}(\mathrm{Bool}), \mathrm{Bool}; \mathbb{Z}) \simeq \mathbb{Z}Higher directed stabilization Ln⊣RnL_n \dashv R_n (n≥2n \ge 2) 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 compilerFormalized 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:

  1. Pointed Homotopy, Wedge/Smash Products, & Ω\Omega-Spectra Sp\mathsf{Sp} (Σ∗⊣Ω∗\Sigma_* \dashv \Omega_*, Σ∗X≃∗S1∧X\Sigma_* X \simeq_* S^1 \wedge X, smash–mapping adjunction, and En(T)≃[Σ∞T+,ΣnE]SpE^n(T) \simeq [\Sigma^\infty T_+, \Sigma^n E]_{\mathsf{Sp}});
  2. Synthetic Stable Categories (HA 1.1.1.9), Exact Functors (HA 1.1.4.1), & Triangulated hCh\mathcal{C} (HA 1.1.2.14 / 1.1.3.6);
  3. t-Structures & The Abelian Heart Theorem (HA 1.2.1.11), proving that C♡=C≥0∩C≤0\mathcal{C}^\heartsuit = \mathcal{C}_{\ge 0} \cap \mathcal{C}_{\le 0} instantiates Volume 0's AbelianCat (Cat.Homology) and automatically inherits the 6-Term Snake Lemma and Long Exact Sequence;
  4. Massey Exact Couples & LCF-Certified Spectral Sequences (UCSS & AHSS);
  5. Projective Resolutions & Certified Multiplicative Graded Ext Algebras (by cas_ext_mul distinguishing polynomial F2[x]/(x2)\mathbb{F}_2[x]/(x^2) from exterior Koszul F2[x,y]\mathbb{F}_2[x,y]);
  6. Gabriel–Zisman Calculus of Fractions W−1CW^{-1}\mathcal{C}, Constructive Heart Kernels, & the Dold–Kan Correspondence (HA §1.2.3 / §1.3.4);
  7. Symmetric Monoidal Closed Categories, Day Convolution (HA §2.2.6), & Monoidal Smash on Sp\mathsf{Sp} (HA §7.1.1);
  8. Algebras Alg, Commutative Algebras CAlg, Modules LMod, Relative Tensor M⊗ANM \otimes_A N, & Barr–Beck Monadicity (HA Ch. 3–4);
  9. LCF-Certified Two-Sided Bar Resolution Tor∗A\mathrm{Tor}^A_* & Cyclic Hochschild Homology HH∗(A)HH_*(A) (by cas_bar_tor, by cas_hochschild);
  10. Dualizable Objects, Categorical & Dennis Traces into HH0(A)HH_0(A), & Projective ↔\leftrightarrow Dualizable RR-Modules (HA §4.6 & §7.2.2);
  11. Derivations, Square-Zero Extensions B⊕MB \oplus M, Cotangent Complex LB/A\mathbb{L}_{B/A}, Deformation Obstructions, & Étale Lifting Invariance (HA §§7.3–7.5, HA 7.5.1.1); and
  12. LCF-Certified Symbolic Jacobian, ΩB/R1\Omega^1_{B/R}, Naive Cotangent H0,H1(LB/R)H_0, H_1(\mathbb{L}_{B/R}), & 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:

LayerResponsibility in endashTrusted Computing Base?
.en surface syntax & literate bookshuman-readable .en modules, calc/obtain/ext tactics, literature tags, & Markdown monographsUntrusted (desugars to Core)
Bidirectional elaborator & typeclassesimplicit holes _, metavariable unification, universe u v, nominal structure/class/instance, & .ensnap cachingUntrusted (declareDef re-checks Core)
BigInt CAS & spectral-sequence solversSNF (P A Q = D), Gröbner bases, syzygies, projective resolutions, Massey pages, & Ext algebra liftsUntrusted (LCF witness reification)
Explicit endash Core (163 AST tags)explicit bunched-context derivations with bitstream dualities { diff, tail } and Q-free categorical primitivesKernel input boundary
Direct Q-free Glued-NbE Kernelbidirectional Core checking (7 judgments), Glued-NbE conversion, variance locking, & printAxioms auditingYes (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 composition Hom(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 families Catd_u(K) := Functor(K, Cat_cart(u)); and
  • Cat_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.

Evidence: FORMAL-KERNEL-PRESENTATION [checked · WalkingEnd.Cat, StrictCat.toCat1, Cubical.homdc_representable_beta]

Formal status — checked. Evidence FORMAL-KERNEL-PRESENTATION covers the active universe hierarchy, bunched contexts, bitstream dualities, and categorical classifiers verified across phase1_core_and_soundness.test.ts through phase_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 G carry point components ε_x (tapp0), Došen off-diagonal arrow actions ε[f] := ε_y ∘ F[f] (tapp1), and (for m ∈ {lax, oplax}) recursive laxity squares ε_lax(x, y) (tlaxity);
  • higher k-transfors θ : μ ⇛_m ν (k ≥ 2) carry directed Hom^k_B components θ_x together with coinductive (k+1)-cylinder fillers θ_lax(x, y) in Functor_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))).
Evidence: CAT-ITERATED-HOMS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]
Evidence: CAT-FUNCTOR-CALCULUS [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]
Evidence: TRANSF-POINT-OFFDIAGONAL [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]
Evidence: TRANSF-STRICT-NATURALITY [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]
Evidence: CAT-DIRECTED-FAMILIES [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]

Formal status — checked. Evidence CAT-ITERATED-HOMS, CAT-FUNCTOR-CALCULUS, TRANSF-POINT-OFFDIAGONAL, TRANSF-STRICT-NATURALITY, and CAT-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:

  1. Zero-Axiom Discipline (printAxioms === []): GlobalEnv tracks transitively every axiom used by any constant, auditing all 1,596 native stdlib declarations and all 6,125 .en library and showcase declarations (7,721 total) with requireAxiomFree: true plus proof/data extraction separation (THEOREM_DATA_PROJECTION and DISCARDED_PROOF_ARGUMENT).
  2. Re-Verified Snapshots (.ensnap.json & stdlib-core-snapshot.json): Incremental SHA-256 .ensnap package caches skip elaboration of unchanged upstream .en modules while re-checking every loaded Core term through declareDef / declareTheorem and rejecting tampered proof terms or smuggled sorry axioms (NC-14a).
  3. Permanent Soundness Controls (NC-1 through NC-26b): 114 automated regression suites verify that the kernel deterministically rejects variance clashes, illegal exchange across ;, collapse of WalkingEnd.loop or WalkingArrow.seg into isomorphisms, collapse of GrayCat into StrictCat, Axiom K / UIP on Circle, higher-cell truncation of Functor_m(A, B) (NC-26a), forged CAS matrices, and broken book or export boundaries (NC-26b).
Evidence: FORMAL-KERNEL-PRESENTATION [checked · WalkingEnd.Cat, StrictCat.toCat1, Cubical.homdc_representable_beta]

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).

Evidence: TT-EQUALITY-INDUCTION [checked · congrArg, Circle.coe_Code_loop]
Evidence: CAT-SIGMA-PI [checked · WalkingEnd.Cat, StrictCat.toCat1, LCCC.Fam, LCCC.sigma_pullback_equiv, Cubical.homdc_representable_beta]
Evidence: TT-SIGMA-PI-PATHS [checked · Subtype.ext, Prod.ext]
Evidence: ADJ-TRIANGLE-CUTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]
Evidence: WEIGHTED-LIMIT-REPRESENTABILITY [checked · WeightedLimits.WeightedCone1, WeightedLimits.WeightedLimit1, WeightedLimits.End1, WeightedLimits.right_adjoint_preserves_weighted_limits]
Evidence: MONAD-TRIANGULAR-COMPUTATION [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]
Evidence: TRIANGULAR-BINARY-PRODUCTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]
Evidence: TERMINAL-OBJECT-COMPUTATION [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]
Evidence: PULLBACK-SLICE-BASE-CHANGE [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]
Evidence: SLICE-DEPENDENT-PRODUCTS [checked · Adjunction, Adjunction.homEquiv, Monad.assoc, CartesianAdj.binary_product_hom_equiv, LCCC.sigma_pullback_equiv, LCCC.pullback_pi_equiv]

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, covariant Groupoidify.map, and Groupoidify ⊣ Path (CIRCLE-HIT-COMPUTATION, WALKING-INTERVAL-GROUPOIDIFICATION, GENERIC-GROUPOIDIFICATION-MAPPING).
  • Gray Laxity (Cat.WalkingArrow): Non-identity walking-square whiskering interchanger in GrayCat (FUNCTORD-WHOLE-LAXITY, GRAY-COMPUTATIONAL-PROFILE, GRAY-RIGHT-CLOSURE).
  • AbelianCat Homology & Certified CAS (Cat.Homology, Algebra.CAS): Kernel/cokernel adjunctions, 6-Term Snake Lemma, direct LES, and LCF-certified BigInt SNF/Gröbner/syzygy witnesses (NATIVE-KERNEL-COKERNEL-UNIVERSALITY, NATIVE-WHOLE-HOMOLOGY, NATIVE-CAS-DISPLAYED-EXACTNESS).
Evidence: WE-SIGNATURE [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]
Evidence: WE-CONTEXTUAL-ELIMINATOR [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]
Evidence: DHIT-DERIVED-ELIMINATORS [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]
Evidence: CIRCLE-HIT-COMPUTATION [checked · Int.succEquiv, Int.isSet, Circle.loopSpaceEquivInt, Spectra.trunc0_circle_equiv_unit]
Evidence: WALKING-INTERVAL-GROUPOIDIFICATION [checked · Groupoidify.Carrier, Groupoidify.universal_equiv, Groupoidify.walking_arrow_equiv_unit, Groupoidify.walking_arrow_map_equiv]
Evidence: GENERIC-GROUPOIDIFICATION-MAPPING [checked · Groupoidify.Carrier, Groupoidify.universal_equiv, Groupoidify.walking_arrow_equiv_unit, Groupoidify.walking_arrow_map_equiv]
Evidence: FUNCTORD-WHOLE-LAXITY [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]
Evidence: GRAY-COMPUTATIONAL-PROFILE [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]
Evidence: GRAY-RIGHT-CLOSURE [checked · Adjunction.dosen_cut_right, EckmannHilton.catCart_pointwise_comm, GrayInterchanger.whiskering_ne]
Evidence: NATIVE-KERNEL-COKERNEL-UNIVERSALITY [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]
Evidence: NATIVE-WHOLE-HOMOLOGY [checked · PreadditiveCat, AdditiveCat, Kernel.adjunction_univ, Cokernel.adjunction_univ, AbelianCat, Homology.map_comp, LES.exact_at_HB]
Evidence: NATIVE-CAS-DISPLAYED-EXACTNESS [checked · IntRing.SnfCert, IntRing.bockstein_nonsplit, IntRing.bockstein_delta_nonzero, LES.exact_at_HB]

Formal status — checked. All twelve cited HIT, Gray, homological, and LCF CAS evidence entries resolve to 0-axiom declarations in endash.

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, custom infixl/infixr/prefix/notation, @[simpl_nomatch]/@[irreducible] unfolding controls, and cross-reference attributes @[ha "..."], @[kerodon "..."], @[stacks "..."], @[vol0 "..."].
  • Proof Ergonomics & Tactics: Term-mode and tactic-mode calc chains over = and ≃, nested tuple destructuring let ⟨a, b, c⟩ := ... and obtain ⟨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 .ensnap Builder & < 190 KiB Browser Engine: endash pkg build caches verified module deltas keyed by SHA-256 content and dependency hashes, while the zero-Node-builtin browser prover (187.1 KiB gzipped, < 190 KiB cap) separates the kernel/elaborator engine cleanly from the compressed stdlib pack so the offline playground remains instantaneous.
Evidence: FORMAL-ELABORATION-BOUNDARY [checked · Subtype.ext, List.Sublist.trans]

Formal status — checked (.en compiler & browser prover) with explicit surface boundary. Evidence FORMAL-ELABORATION-BOUNDARY. The .en parser, desugarer, bidirectional elaborator, tactic engine, incremental .ensnap package builder, CLI/MCP goal server, and < 190 KiB gz zero-CDN browser prover are active and verified. Arbitrary prose notation outside .en and 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.

Evidence: DHIT-GENERAL-SCHEMA [research-boundary]

Formal status — research boundary. Evidence DHIT-GENERAL-SCHEMA. Each active directed or groupoidal HIT in endash is 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 propertyCurrent status in endash
Core typing & 0-axiom verification of active libraryChecked (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 WalkingEndChecked (WE-BNAT-MODEL, LEAN-LIST-SUBSUMPTION-BRIDGE)
Global termination / strong normalization of NbE on all well-typed inputsOpen research metatheorem (research-boundary)
Global canonicity & decidability of conversionOpen research metatheorem (research-boundary)
Semantic soundness in a complete weak (∞, ω)-category modelOpen research metatheorem (research-boundary)
Evidence: WE-BNAT-MODEL [checked · WalkingEnd.Cat, WalkingEnd.encode, WalkingEnd.power, WalkingEnd.homEquivNat]
Evidence: FORMAL-METATHEORY-BOUNDARY [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

  1. The Univalent Foundations Program. Homotopy Type Theory: Univalent Foundations of Mathematics. Institute for Advanced Study, 2013. Source repository, reviewed at revision 578b85cc8d586b1677ec4335148adeb443057d24.
  2. 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.
  3. 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.
  4. 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.
  5. GPT 5.6 Codex.
  6. The emdash and endash contributors. endash Direct-Kernel TypeScript & .en Library. Accompanying 0-axiom normalization-by-evaluation kernel, .en surface elaborator, LCF-certified BigInt computer-algebra engine, and verified standard library for this edition (endash/src/ and endash/stdlib/en/). Code repository.
  7. 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 standalone endash direct-kernel architecture. Code repository.
  8. Kosta Došen. Cut Elimination in Categories. Trends in Logic 6. Kluwer Academic Publishers, Dordrecht, 1999; DOI 10.1007/978-94-017-1207-1.
  9. Max Zeuner. Univalent Foundations of Constructive Algebraic Geometry. arXiv:2407.17362v1, 2024. arXiv record.
  10. Pierre-Marie Pédrot. “Pursuing Shtuck.” Preprint, 2023. HAL record.
  11. Amar Hadzihasanovic. Combinatorics of Higher-Categorical Diagrams. arXiv:2404.07273v2, 2024. arXiv record.
  12. Astra Kolomatskaia and Michael Shulman. Displayed Type Theory and Semi-Simplicial Types. arXiv:2311.18781v2, 2024. arXiv record.
  13. Hugo Herbelin and Ramkumar Ramachandra. A Parametricity-Based Formalization of Semi-Simplicial and Semi-Cubical Sets. arXiv:2401.00512v2, 2025. arXiv record.
  14. Hugo Herbelin and Ramkumar Ramachandra. The Very Dependent Recursive Structure of Iterated Parametricity in Indexed Form. arXiv:2602.12689v1, 2026. arXiv record.
  15. Sebastian Posur. A Constructive Approach to Freyd Categories. Reviewed preprint arXiv:1712.03492v1, 2017. Pinned arXiv record.
  16. 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.
  17. 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.
  18. Sebastian Posur. Methods of Constructive Category Theory. arXiv:1908.04132v1, 2019. Pinned arXiv record.
  19. Sebastian Posur. Closing the Category of Finitely Presented Functors under Images Made Constructive. arXiv:1911.11469v3, 2020. Pinned arXiv record.
  20. Sebastian Posur. On Free Abelian Categories for Theorem Proving. arXiv:2103.08379v1, 2021. Pinned arXiv record.
  21. The CAP contributors. Categories, Algorithms, and Programming, including CompilerForCAP. Source repository, reviewed at revision d21dc5f5f420.
  22. The homalg contributors. The homalg Project. Source repository, reviewed at revision 802993da0095.
  23. 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.
  24. Jacob Lurie. Higher Algebra. Revised monograph draft, 2017. Author page.
  25. Jacob Lurie. Kerodon: An Online Resource for Homotopy-Coherent Mathematics. Online tag database.
  26. 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.
  27. The Stacks Project Authors. The Stacks Project. Open-source algebraic geometry and category theory reference. Online tag database.
  28. The mathlib Community. The Lean Mathematical Library (mathlib4). Formalized mathematics library in Lean 4, 2020–2026. Source repository.
  29. 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 DU(s)D_U(s) 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 DR(f)D_R(f) 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.