The Coherence Topos and Vocabulary Evolution
Appendix L
This appendix addresses a specific problem: how autonomous computational agents might invent new concepts, certify them against existing commitments, transport them across institutional boundaries, and account for the cost — within a mathematically rigorous structure.
Existing approaches address fragments of this problem. Retrieval-augmented generation retrieves without coherence guarantees. Multi-agent frameworks compose outputs without gluing conditions. Knowledge graphs structure without vocabulary invention. Schema systems enforce without evolution. The composition of these fragments under formal guarantees remains open.
Parts I–VI of The Proofs assembled the components: commitment sets (A1), witnessed equivalence (A10), context sites (A12b), the sheaf condition (A13), fibrations (A14), transport discipline (A16), predicate invention (A17), conservative extension (A17b), and the coherence cost model (A21). This appendix states the structural consequence that these components jointly entail, develops several results that are (to our knowledge) novel, positions the work explicitly against the existing landscape, and identifies concrete research programs for the mathematical community.
The topos theorem (L.2) is a consequence, not a contribution — it follows from Giraud's theorem applied to the context site. We state it because its corollaries are the contribution: the internal logic subsumes the logic-selection machinery of A15, the subobject classifier provides the multi-valued truth that A4 reached for, and the monadic structure of predicate invention (L.6) gives a formal theory of vocabulary evolution that has not, to our knowledge, been developed elsewhere.
Status and scope. Three boundaries govern how the results below should be read.
This is a specification, not the deployed kernel. The object here is the mathematics of vocabulary evolution in context sites, not Bulla's operational seam-fee diagnostic. That diagnostic uses a cheaper invariant — a rank difference, computed as a component count — where cheaper suffices, and the program has retired the practice of describing it in cohomological language. That retirement concerns the tool-composition seam complex, whose real corpora are triangle-generated, whose relevant obstruction is a component count rather than a higher class, and whose public framing had drifted ahead of what was measured. It does not touch the cohomology used in this appendix, which lives on a different object — context sites for identity resolution and vocabulary evolution, where triple and higher overlaps arise by construction in the federated case (L.4.2) and higher cohomology is genuinely engaged rather than capped at triangles. The two are the same machinery applied to different structures, and their empirical standing differs accordingly.
The theorems are proved; the operational readings are hypotheses. The cohomology computations, the acyclicity theorem, and the monad characterization are proved within standard sheaf theory and model theory. The operational corollaries drawn from them — that hierarchical organizations integrate cheaply, that four-way federations face a coordination obstruction that three-way federations do not — are conjectures supported by the theorems about idealized sites and by synthetic witnesses, not yet by measurement on real federated-identity data. Their falsification route is stated where they appear.
Everything here is the exact-agreement fragment. The presheaves are set-valued and the sheaf condition demands equality on overlaps. The probabilistic and attested witnesses the program also admits, and the tolerance-based agreement its cost model assumes, require an enriched theory that this appendix does not supply. That gap is Problem 8, and it is the most consequential limitation of the framework, not a footnote to it.
L.1 What This Appendix Claims
We distinguish three levels of novelty:
Standard results applied to a new domain (L.2, L.3): The coherence topos theorem and its internal-logic corollary are instances of known mathematics (Giraud, Mac Lane–Moerdijk). We claim only that the instantiation is well-formed and that the corollaries are operationally significant for distributed systems.
Novel results (L.4–L.6): The Obstruction Cohomology computation, the acyclicity theorem for hierarchical sites, the meta-obstruction for federated sites, the time-indexed instability of overlap agreement, and the characterization of the predicate invention monad as a quotient of a free monad are (to our knowledge) new. They are provable within standard sheaf theory and model theory but have not appeared in the literature because the combination — sheaf-theoretic coherence applied to vocabulary evolution under conservative extension constraints — has not been studied.
Landscape comparison (L.7): We position this work explicitly against Spivak's functorial data migration, Goguen's sheaf semantics, Abramsky's sheaf-theoretic contextuality, and Caramello's bridge program. The comparison identifies what is shared, what is new, and where the framework extends existing work.
Open problems (L.8): Eight precisely stated problems for the mathematical community, including three new problems motivated by the results of this appendix (the Eilenberg-Moore category of , persistent cohomology of evolving sites, and enriched/graded coherence).
Notation
Symbols from Parts I–VI (commitment sets, anchors, etc.) follow the conventions in Appendix H. The following notation is specific to this appendix or used here with specialized meaning. Standard category-theoretic and sheaf-theoretic notation follows Mac Lane & Moerdijk(Mac Lane 1992)Saunders Mac Lane, Sheaves in Geometry and Logic: A First Introduction to Topos Theory (New York: Springer-Verlag, 1992).View in bibliography.
| Symbol | Meaning | Introduced |
|---|---|---|
| Context site: category with Grothendieck topology | A12b | |
| Presheaf category | L.2 | |
| Sheaf category (the coherence topos) | L.2 | |
| Subobject classifier; = -closed sieves on | L.2 | |
| Sheafification: left exact left adjoint to inclusion | L.2 | |
| Exponential sheaf: certification space from proposals to witnesses | L.3 | |
| Čech -cochains of presheaf with respect to cover | L.4 | |
| Čech -th cohomology group | L.4 | |
| Čech coboundary map | L.4 | |
| Overlap (fiber product) of and over | L.4.1 | |
| Second page of the Čech-to-derived-functor spectral sequence | L.4.1 | |
| Presheaf of local cohomology groups | L.4.1 | |
| Category of signatures with inclusion morphisms | L.5 | |
| Signatures (finite sets of typed predicate/function symbols) | A17 | |
| Proposal endofunctor: = single-predicate extension proposals | L.6.1 | |
| Free monad on : finite sequences of proposals | L.6.1 | |
| Predicate invention monad: admissible extensions of | L.6.2 | |
| Quotient monad morphism (surjective) | L.6.2 | |
| Monad unit and multiplication | L.6.2 | |
| Kleisli category: vocabulary evolution paths | L.6.2 | |
| Kernel of the quotient: inadmissible proposal combinations | L.6.3 |
L.2 The Coherence Topos
Throughout this appendix, is the context site from A12b and is assumed essentially small.
is a Grothendieck topos(Verdier 1972--1973)Michael Artin and Alexander Grothendieck and Jean-Louis Verdier, Théorie des Topos et Cohomologie Étale des Schémas (SGA 4) (Berlin: Springer-Verlag, 1972--1973).View in bibliography(Mac Lane 1992, ch. III, §4)Saunders Mac Lane, Sheaves in Geometry and Logic: A First Introduction to Topos Theory (New York: Springer-Verlag, 1992), ch. III, §4.View in bibliography. It has all finite limits, all small colimits, exponentials, a subobject classifier , and the inclusion has a left exact left adjoint (sheafification).
By Giraud's theorem(Verdier 1972--1973)Michael Artin and Alexander Grothendieck and Jean-Louis Verdier, Théorie des Topos et Cohomologie Étale des Schémas (SGA 4) (Berlin: Springer-Verlag, 1972--1973).View in bibliography(Mac Lane 1992, ch. III, Theorem 1)Saunders Mac Lane, Sheaves in Geometry and Logic: A First Introduction to Topos Theory (New York: Springer-Verlag, 1992), ch. III, Theorem 1.View in bibliography. The topology determines a Lawvere-Tierney operator via , which is idempotent, preserves top, and preserves meets. The -sheaves are the -sheaves, and the category of -sheaves in a topos is a topos (Mac Lane & Moerdijk, Ch. V, Theorem 1).
Corollary: The Subobject Classifier and Epistemic Status
The subobject classifier . Truth values are not but -closed sieves: families of contexts in which a claim holds, closed under the covering relation.
| A4 Epistemic Status | Topos Interpretation |
|---|---|
| True in | The maximal sieve (all refinements) |
| False in | The empty sieve |
| Undetermined in | A proper non-empty -closed sieve |
| Conflict at | Both and are non-empty, proper sieves |
The internal logic is intuitionistic. In the posetal context sites used throughout this appendix, excluded middle holds at iff the restricted topology admits only the trivial local truth values — every -closed sieve below is maximal or empty — which is the closed-world assumption. (In full generality Booleanness is a property of the sheaf topos rather than a syntactic flag on the site; the posetal case is where the two coincide.) Non-discrete topologies yield open-world reasoning natively — no adapter required.
The indexed logic selection of A15 is a special case of relativizing to sub-topologies. Specifically: for all iff restricted to the sieve below is the discrete topology. The CWA/OWA distinction is not an engineering parameter but a structural property of the topology over each context.
A Grothendieck topos is Boolean iff , which holds iff every -closed sieve is maximal or empty — the discrete topology(Mac Lane 1992, ch. VI, §6)Saunders Mac Lane, Sheaves in Geometry and Logic: A First Introduction to Topos Theory (New York: Springer-Verlag, 1992), ch. VI, §6.View in bibliography. Restricting to the slice yields a sub-topos whose Booleanness depends on the induced topology on the under-category .
L.3 Exponentials and Certification
The topos has exponentials. For sheaves (proposals, per A19) and (witnesses, per A2c):
A certification contract (A19b) is a global section : a natural transformation that commutes with all restriction maps. The topos guarantees the space of certifications is a well-defined sheaf. Coherence of certification across contexts is naturality. Whether a particular certification exists is the engineering problem; the topos provides the space in which to search.
L.4 Obstruction Cohomology: A Worked Computation
This section contains what we believe to be novel: an explicit computation of the first sheaf cohomology group for a concrete context site arising in data integration, and its interpretation as classifying ambiguous identity resolution. The companion paper Predicate Invention Under Sheaf Constraints (SCPI) proves that the same classifies obstructions to predicate invention across heterogeneous agent contexts, formalizing the descent problem that A17's three obligations address. The SHEAF Protocol extends this diagnostic to a distributed setting with mechanism-design enforcement.
The Setup: Three-Merchant Catalog
Let be the poset category with objects where are merchant contexts covering the catalog context , and the -objects are pairwise overlaps. Morphisms are inclusions (each overlap refines both parents).
The topology declares as a cover.
Let be the presheaf of product identifiers:
- (merchant A's products)
- (merchant B's products)
- (merchant C's products)
On overlaps, restriction identifies shared products:
- : product and are "the same item" — but the identification is ambiguous (two possible matchings exist)
- : product and are unambiguously identified
- is initial (merchants and share no sub-context), so it contributes no comparison
Two facts about this site are worth separating, because they are the two independent sources of obstruction that L.4.3 will classify. First, the nerve of the cover — the simplicial complex recording which merchants overlap — is the path , a tree, hence contractible: it carries no topology of its own. Any obstruction that appears here therefore comes not from the shape of the cover but from the coefficient system , specifically from the ambiguous matching on . This is a descent obstruction. It is the opposite mechanism from the one in L.4.2, where the coefficients are constant and the obstruction lives entirely in the nerve.
The Čech Complex
The Čech cohomology of with respect to the cover is computed from the cochain complex:
where:
- — local sections (one per merchant)
- — comparison on the two non-trivial overlaps
- higher terms vanish: and the triple overlap are initial
Because is set-valued (its values are sets of product identifiers, not abelian groups), the differential is not a subtraction. The correct object is the non-abelian Čech complex, in which records, for each overlap, the pair of restrictions to be identified, and a global section is a choice of local products together with a witnessed identification on every overlap that is compatible where overlaps meet. Writing subtraction here would presuppose a group structure the identifiers do not carry; the honest structure is descent, and we treat it as such.
Global sections and the descent obstruction
is the set of global sections: assignments of local products that admit a consistent identification across all overlaps — the coherent global catalog. When every overlap identification is forced, is a single glued catalog.
The obstruction is the failure of that section to be unique. For set-valued the classifying object is not an abelian cohomology group but the non-abelian first Čech cohomology — the pointed set of 1-cocycles modulo coboundary, equivalently of the groupoid of global matchings. Its elements are the distinct global catalogs assemblable from the same local data. The abelian appears only after one replaces by its free abelianization ; the resulting is the linear shadow of the descent groupoid, a computational convenience, not the primary object.
For the three-merchant site above, whose nerve is contractible, the classifying set has more than one element whenever the overlap admits multiple consistent identifications of shared products. Concretely: if could match either or (both consistent with the restriction maps), then has at least two elements, and they correspond bijectively to the distinct global catalogs assemblable from the same local data. The obstruction is coefficient-driven: it survives even though the nerve carries no topology.
A 1-cocycle assigns to each overlap an identification satisfying the compatibility condition where overlaps meet (here vacuous: and meet only at , and no triple overlap exists). Two cocycles are cohomologous when a relabeling of the local products or carries one to the other.
The two matchings and define distinct cocycles. They are cohomologous iff some relabeling of or transforms one into the other. If and neither lies in the image of any other identification, no such relabeling exists, and the two cocycles represent distinct classes in . Each class is a distinct global catalog: the same local data assembled into different global pictures according to which identification is chosen.
This is the formal version of a problem every data-integration practitioner knows: two sources share some entities, the matching is ambiguous, and different matchings produce different downstream results. A non-trivial is the mathematical name for that ambiguity, and the size of the set counts the distinct resolutions. It is not metaphor — it is computable for finite context sites — but it is a set of descent classes, not an abelian group, and the distinction matters: the ambiguity here comes from the coefficients, not from any hole in the cover.
For the agentic substrate specifically: when two agents in different contexts propose identity claims about shared entities, counts the irreducible ways of reconciling those claims. No amount of embedding similarity collapses the set; only an explicit choice of representative — a witnessed identification — does.
L.4.1 Acyclicity of Hierarchical Sites
The three-merchant example has non-trivial because the overlap structure admits ambiguity. A natural question: for which site structures does ambiguity vanish? The answer connects organizational topology to coherence cost.
A context site is hierarchical if:
- is a finite rooted tree (poset where every element except the root has exactly one immediate predecessor)
- The topology is generated by parent-children families: for each non-leaf node with children , the family is a cover
- For distinct siblings (children of the same parent), the overlap is the initial object (no shared sub-context between different branches)
Let be a hierarchical context site. For any abelian presheaf on and any cover in :
In particular, : there is no ambiguity in identity resolution for hierarchical organizations.
We prove this by analyzing the Čech complex directly.
Step 1: Structure of overlaps in a tree.
Let be a node with children forming a cover. For , the overlap by the tree condition (distinct branches share no sub-context). Therefore for any presheaf :
Step 2: Collapse of the Čech complex.
The Čech complex for cover of is:
Since for all , every term for . The complex is:
Therefore for all .
Step 3: Extension to composite covers.
For a cover of a non-root node, the same argument applies locally: each non-leaf is covered by its children, which are pairwise disjoint. By the Čech-to-derived-functor spectral sequence (or directly by Leray's theorem applied to the refinement of any cover by the canonical parent-children covers), the vanishing extends to all covers in , not just the generating ones.
Step 4: Recursive argument for depth .
For a tree of depth , consider the cover of the root by its children, then each child by its children, etc. The Čech-to-sheaf cohomology spectral sequence for this iterated cover has:
where is the presheaf of local cohomology. By induction on depth: for (each sub-tree is acyclic by the inductive hypothesis), so for . And for by Step 2. Therefore the spectral sequence degenerates and for all .
This theorem has a precise operational meaning, and precise limits. In the idealized hierarchical site, where sibling branches are stipulated to share no sub-context, there is no room for multiple consistent identifications, because there is nothing on which distinct branches can disagree. The hierarchy resolves identity by construction.
The operational reading follows only to the extent that a real structure meets the idealization. It suggests why hierarchies are comparatively easy to integrate — a corporate merger of divisions with genuinely disjoint operations, a taxonomy with strict inclusion, a file tree with no links — and, read the other way, it locates exactly where real hierarchies stop being easy. Ambiguity re-enters a real tree through every violation of the sibling-disjointness assumption: aliases and symlinks, shared services, cross-cutting policies, duplicated entities, informal equivalences maintained outside the tree. The theorem is therefore a diagnostic as much as a guarantee: where a nominal hierarchy exhibits identity ambiguity, the cohomology says the tree is not the real site, and the shared sub-contexts hiding the obstruction can be named.
The price of acyclicity is rigidity. A tree cannot express "A and B share some context but neither subsumes the other." Peer-to-peer and federated structures can, and they pay for it with non-trivial cohomology.
L.4.2 Higher Obstructions in Federated Sites
Federated structures are the opposite extreme from hierarchies: multiple overlapping authorities, no single root, non-trivial shared contexts. We show that federated sites can have non-trivial , which classifies meta-conflicts — disagreements not about identity itself but about how to resolve identity disagreements.
A context site is federated if:
- contains a set of federation nodes and member nodes
- Each member belongs to at least one federation: for each , there exists with a morphism (membership)
- The topology includes the cover for each federation
- Members of distinct federations may share non-trivial overlaps: need not be initial
- There exists a global context covered by
There exists a federated context site and presheaf such that for a cover of the global context. Elements of classify meta-obstructions: situations where pairwise identity resolutions exist but no globally consistent resolution strategy exists.
Construction. Let be covered by four federation nodes , with a shared member for every pair (so ), a shared member for every triple , and no member common to all four (). The nerve of this cover is the boundary of a tetrahedron — four vertices, six edges, four triangles, no filled interior — the simplicial sphere .
Let be the constant presheaf of identification conventions, -valued (two conventions per node, "match by name" vs "match by code"), with identity restriction maps. The Čech complex is
with because no member is common to all four federations.
Computation. For a constant abelian coefficient system, the Čech cohomology of the cover is the simplicial cohomology of its nerve — here . The dimension count confirms the complex: the alternating sum . Since and , the ranks are forced: , so ; forces , so ; hence
A non-trivial 2-cocycle assigns a convention to each triple overlap so that the compatibility condition holds, yet cannot be written as a coboundary of pairwise data. This is the meta-obstruction: every pair of federations can resolve its identity disagreements, and every triple can find a consistent resolution, but no single global resolution strategy is compatible with all four at once.
Why three federations are not enough. The natural first attempt uses three federations, and it fails in a way that proves the point. With , pairwise members , and one common member , the nerve is the filled triangle , which is contractible; the complex computes to : no obstruction at any level. This is the theorem's content. A higher obstruction is manufactured not by adding parties but by leaving a hole in the nerve: three federations sharing a common member fill their triangle; four federations sharing no common member leave the tetrahedron hollow, and the hollow is the whose carries the meta-conflict. The obstruction is in the topology of the cover, not in the number of participants.
The meta-obstruction has a vivid operational interpretation. Consider four regulatory bodies () each overseeing a set of financial institutions. Any two regulators can agree on how to identify shared entities. Any three can find a consistent protocol. But when all four try to federate, a global obstruction emerges: the pairwise agreements, though locally consistent in triples, cannot be simultaneously satisfied. This is a higher-order coordination failure — not a conflict about data but a conflict about conflict-resolution strategies.
For the agentic substrate: means that even if every pair of AI agents can resolve their identity disputes, and every triple can coordinate, the system as a whole may still lack a globally consistent identity protocol. The obstruction is structural, residing in the topology of the federation, not in any particular data disagreement.
The nerve of the cover is the key invariant: when it has non-trivial higher homotopy, higher cohomology obstructions emerge. This connects the formal theory to classical algebraic topology in a precise and computable way.
L.4.3 The Cohomological Hierarchy: A Classification
The results of L.4, L.4.1, and L.4.2 fit into a single classification — provided one keeps separate the two independent sources of obstruction they exhibit. An obstruction can come from the coefficients (an ambiguous identification on an overlap, which produces a non-trivial descent class even when the nerve is contractible — this is L.4) or from the nerve (a hole in the cover, which produces a non-trivial class even when the coefficients are constant — this is L.4.2). The earlier literature on this material tended to collapse the two; they are genuinely different, and the flagship example of each lives on a nerve where the other source is switched off.
| Site structure | Nerve | Coefficients | Obstruction source | Classifying object | Operational meaning |
|---|---|---|---|---|---|
| Hierarchical (tree) | Contractible | any | none | trivial | Hierarchy resolves all identity |
| Ambiguous overlap (L.4) | Contractible | non-constant (ambiguous match) | descent / coefficients | , a pointed set with element | Finitely many distinct global catalogs |
| Flat peer-to-peer | constant | topological / nerve | Identity ambiguity from holes in the cover | ||
| Federated, four-way (L.4.2) | or higher | constant | topological / nerve | Meta-obstruction: no global strategy | |
| Fully connected | Contractible () | any | none | trivial | Total overlap; everyone sees everything |
The two acyclic rows are trivial for opposite reasons: in a tree, siblings share nothing; in a complete graph, everyone shares everything. Between them lie the realistic cases — partial overlap, partial authority, partial sharing — which are exactly the structures that arise in multi-agent systems, federated databases, and inter-organizational data sharing.
Reading the table by column rather than by row is the point. The descent obstruction and the topological obstruction can each be present or absent independently: a contractible nerve with ambiguous coefficients carries the first and not the second; a hollow nerve with constant coefficients carries the second and not the first; a real federation typically carries both, and the total coherence cost is not one invariant but a pair. An architect choosing an organizational topology is choosing a point in a two-axis space, and a diagnostic that reports a single number has already lost the distinction that tells it which repair to attempt — disambiguate a matching, or close a hole in the cover.
L.5 Vocabulary Evolution: Composability and Its Limits
is the category of signatures (finite sets of typed predicate/function symbols) with morphisms the signature inclusions .
If and are both conservative extensions (A17b), then is conservative.
Let be a -sentence with . Since is also a -sentence, conservativity of yields . Conservativity of then yields . The converse is monotonicity.
This composability is what makes incremental vocabulary evolution safe. A chain of conservative extensions is conservative. You verify each step; the chain is automatic.
But overlap agreement, checked extensionally, is not stable under the growth of the population it is checked against. This is the central tension in the theory of vocabulary evolution, and it is worth stating precisely, because the naive version — that agreement fails to compose at a fixed moment — is false. At a fixed population, agreement composes: if two predicates each agree pointwise on the overlap, so does every Boolean combination of them, and no composite can fail where its parts passed. The instability is temporal, not combinatorial, and that is the sharper and more consequential fact.
There is a predicate with context-dependent definitions that satisfies Obligation 2 against the overlap population present at certification time , yet violates it at a later time once the overlap acquires a single item on which its two definitions disagree — with no change to any definition. A certificate of overlap agreement is therefore a statement about the population sampled at issue time, and carries no guarantee for any later population.
Let have objects , , , and let contain a sort (dresses) with base predicates and .
Define by two context-local definitions:
- in :
- in :
Obligation 2 requires the two definitions to agree on the overlap . At time , let every item present in the overlap satisfy — each is either high-quality-and-certified or neither. On this population the two definitions coincide pointwise, so passes Obligation 2 and is admissible.
At time a new item enters the overlap with and . The -definition now returns and the -definition returns : the definitions disagree on , Obligation 2 fails, and the previously certified extension is no longer admissible. No definition changed — only the population did.
Crucially, could not have belonged to the population: it fails the very condition every certified item satisfies, since while gives . The disagreeing item is therefore genuinely new at , not one present-but-overlooked at ; the certificate at ranged soundly over a population that excluded it. The instability is a property of population growth, and the exact validity domain of the certificate is the agreement region — the certificate holds for populations contained in and is voided by, and only by, the arrival of an item outside it.
Two consequences follow, and they are why the coherence cost model (A21) charges for re-verification rather than certifying once.
First, admissibility is time-indexed. An extensional overlap check is a measurement against the sample present at issue time, and — like every measurement in the program's empirical layer — it expires. The monad multiplication of L.6 therefore re-verifies Obligation 2 against the current population at every step rather than trusting a prior certificate; this is the only sound reading of what the certificate claims, not defensive engineering.
Second, the cost this imposes is bilinear — per round, quadratic only when scales with — in a specific and honest way. Composition at a fixed population holds no surprises (Boolean combinations of pointwise-agreeing predicates agree pointwise), so the burden is not an explosion of composites but the re-verification itself: each of the predicates must be re-checked on every overlap whenever the population it governs changes, giving the per-round scaling recorded in A21. The limit is temporal. Agents cannot bank an overlap certificate and compose against it later, because the overlap it certified is not the overlap they will compose over.
For the agentic substrate: autonomous agents cannot invent vocabulary against a snapshot and assume it holds. Invention must re-synchronize at the overlap boundary on every material change to the shared population — the exact-agreement counterpart of the persistence question raised in Problem 7, where the lifetime of such an obstruction becomes the invariant of interest.
L.6 The Predicate Invention Monad
Despite the time-indexed instability of Obligation 2 (L.5), predicate invention has a well-defined algebraic structure when the full A17 pipeline (including re-verification) is included. We develop this structure in three stages: the free monad of unconstrained proposals, the quotient that enforces admissibility, and the resulting algebraic characterization.
L.6.1 The Proposal Endofunctor
Define the proposal endofunctor by:
where specifies the sort, arity, and local definition of in each context. sends a signature to the set of all single-predicate extension proposals (without checking admissibility). On morphisms: an inclusion maps a -proposal to the -proposal when , and discards it otherwise (the proposed predicate already exists).
Typing. Because is a set of extension proposals rather than a single signature, is an endofunctor not on itself but on its free coproduct completion , the category whose objects are sets of signatures under disjoint union, with identified with the singleton and its set of single-predicate extensions. The free monad , its unit and multiplication, and the Kleisli category are all formed in , where the coproduct exists; an element of is then the finite proposal sequence described below. The inadmissible combinations collected in (L.6.3) are sent to a formally adjoined bottom element , so that the admissibility quotient is a genuine quotient monad rather than a partial operation.
The free monad on the endofunctor is defined by:
An element of is a finite sequence of extension proposals applied to . The monadic structure:
- Unit embeds as the empty sequence of proposals.
- Multiplication flattens a sequence-of-sequences into a single sequence by concatenation.
is the free monad on in the sense of the universal property: for any monad and natural transformation , there exists a unique monad morphism extending .
L.6.2 The Admissibility Quotient
The free monad allows any sequence of proposals. The predicate invention monad is the quotient that enforces the three obligations of A17.
Define the admissibility relation on : two proposal sequences are equivalent if they yield the same final signature and both pass (or both fail) the A17 admissibility check. Define:
ordered by inclusion. There is a surjective monad morphism that sends each proposal sequence to its composite extension (if admissible) or discards it (if not). The monadic structure:
- Unit — the identity extension (always admissible).
- Multiplication — compose extensions and re-verify Obligation 2 for the composite. is well-defined because conservative extension composes (L.5) and Obligations 1 and 3 are monotone in signature; only Obligation 2 requires re-checking.
The Kleisli category has:
- Objects: signatures
- Morphisms : admissible extensions
- Composition: extension-then-re-verify
This is the category of vocabulary evolution paths. A morphism in is a certified route from one vocabulary to another.
is a quotient monad of . Specifically, there is a surjective monad morphism whose kernel is the congruence generated by two relations:
- Path independence: when both orderings yield the same composite extension
- Admissibility filtering: when the composite fails any obligation of A17
Consequently, the category of -algebras is a reflective subcategory of -algebras, consisting of those -algebras where the Obligation 2 equations hold.
That is a monad morphism: We must show commutes with unit and multiplication. For the unit: . For multiplication: let be a sequence in , consisting of a sequence of sequences of proposals. Then = the composite of the flattened sequence, and = the composite of the composites. Since extension composition is associative (signature union is associative), these agree when both are admissible. When either is inadmissible, both map to .
Surjectivity: Every admissible extension with is the image of the proposal sequence under .
Kernel characterization: Two proposal sequences have the same image under iff they yield the same composite signature (path independence) or both are inadmissible (admissibility filtering). These generate a congruence on because both relations are compatible with the monad multiplication (re-verification depends only on the composite, not the path).
Reflective subcategory: An -algebra is a signature equipped with an action — a way to "absorb" admissible extensions. This is a -algebra that additionally satisfies the admissibility relations: whenever a composite extension admissible against one overlap population becomes inadmissible against a later, larger one (L.5), the algebra's action must reject the stale composite rather than carry it forward. The reflector is the functor that takes a -algebra and quotients by these Obligation 2 relations.
The monad laws hold:
- Left unit: (extending by nothing, then composing, is identity).
- Right unit: (composing with the identity extension is identity).
- Associativity: — this holds because re-verification of Obligation 2 for the composite is independent of the order in which we compose three extensions. The overlap structure depends only on the final signature, not on the path taken to reach it.
The last point is significant: the cost of re-verification may depend on the path (some orderings may allow caching), but the result does not. The monad captures what is invariant (the admissibility condition); the cost model (A21) captures what varies (the verification effort).
L.6.3 The Algebraic Content of the Quotient
The quotient structure makes precise what kind of algebraic object vocabulary evolution is — and, as importantly, what it is not.
is not the free monad on the proposal endofunctor : the quotient has a non-trivial kernel.
The free monad has as its elements the sequences of proposals; two sequences are equal in only if they are literally identical. But identifies any two sequences that reach the same admissible composite signature — in particular the two orderings of a pair of independent proposals, which yield the same union by the associativity and commutativity of signature union. As soon as a signature admits two independent extensions, collapses distinct elements of ; hence is not injective, is non-trivial, and is a proper quotient. It is therefore not the free monad on .
The kernel carries more than reordering. By the instability theorem (L.5), an extension admissible against one overlap population can become inadmissible against a larger one; the admissibility-filtering relations of the quotient are exactly these time-indexed exclusions, and they are not reorderings. This is what separates from a mere symmetrization of .
Whether is free on some other endofunctor is a strictly stronger question, which we do not settle here. Freeness on any would require the equational theory of -algebras to be trivial; the Obligation-2 relations make that implausible, but establishing it is the content of Problem 6 (the Eilenberg–Moore category of ). We claim only what path-independence already forces: non-freeness on the generating endofunctor .
This resolves, in the correct direction, why predicates cannot simply be invented in parallel and merged. It is not that composition fails at a fixed moment — it does not (L.5) — but that is a genuine quotient of the free proposal monad, carrying relations the free monad lacks: the reordering relations, which are harmless, and the time-indexed admissibility relations, which are not. A free monad would permit unrestricted parallel composition against a frozen world; the quotient forces re-synchronization whenever the world moves.
This also locates the cost model correctly. The coherence budget (A21) does not compute the cardinality of (that would be a static count of a set) but prices the verification surface the kernel induces: the re-checks the admissibility relations demand as predicates and populations grow. A richer kernel means more re-verification per predicate added, and it is the growth of this surface with signature size, not any literal kernel size, that the re-verification cost of Obligation-2 checking records.
L.7 Relation to Existing Frameworks
The coherence topos framework occupies a specific position in the landscape of categorical approaches to data integration and distributed systems. We make the comparisons explicit to identify precisely what is shared, what is new, and what remains open.
L.7.1 Spivak's Functorial Data Migration
Spivak's program(Spivak 2012)David I. Spivak, "Functorial Data Migration," Information and Computation 217 (2012): 31–51.View in bibliography models databases as functors from a schema category (encoding tables, columns, and foreign keys) to (the actual data). Data migration between schemas and is a functor inducing three adjoint operations:
where is pullback (direct image), is left Kan extension (existential migration), and is right Kan extension (universal migration).
What the coherence topos shares with Spivak: Both use category theory to formalize data integration. Both treat schemas as categories and data as functors. The restriction maps of our presheaves correspond to Spivak's pullback functors .
What the coherence topos adds that Spivak does not:
-
Vocabulary invention. Spivak's framework migrates data between fixed schemas. The functor exists before migration begins. In our framework, the signature itself evolves: agents invent new predicates, and the admissibility of the invention is the central question. Spivak has no analog of Obligation 2 (overlap agreement for invented predicates) because his schemas do not grow during operation.
-
Scoped truth and non-Boolean logic. Spivak's instances are -valued functors: a row either exists or does not. Our sheaves carry epistemic status (A4): claims can be true, false, undetermined, or in conflict, with the logic varying by context (A15). The subobject classifier of the coherence topos (L.2) subsumes this; Spivak's -valued model does not.
-
Cohomological obstruction theory. Spivak does not develop obstruction theory for migration. When fails (the pullback does not exist or is trivial), the failure is unstructured. Our computation (L.4) provides a classification of the distinct ways migration can fail: a pointed set of descent classes, refined to higher classes in L.4.2. The acyclicity theorem (L.4.1) and the meta-obstruction (L.4.2) have no analogs in Spivak's work.
-
Cost accounting. Spivak's adjunctions are "free" — there is no cost model for migration. Our coherence budget (A21) makes the cost of maintaining sheaf conditions explicit, and the re-verification cost that L.5's instability makes unavoidable — priced by the A21 framework, not derived as a bound — quantifies the engineering tradeoff.
Spivak's framework is the right foundation for structural data migration: moving data between known schemas with known relationships. The coherence topos is designed for the harder problem: semantic data integration where the schemas themselves are evolving, the relationships are being discovered (not given), and the correctness of the discovery must be certified against formal obligations.
A precise connection: the Kleisli category of the predicate invention monad (L.6) can be viewed as a category of schemas with certified evolution paths. Spivak's functors correspond to morphisms in where the evolution is a single-step conservative extension. The framework developed here extends Spivak's to the setting where schemas evolve under formal governance.
L.7.2 Goguen's Sheaf Semantics
Goguen(Goguensheaf 1992)Citation not found: goguensheaf1992View in bibliography proposed sheaves as a semantics for concurrent interacting objects, where each object has a local state and objects interact by sharing state on overlaps. This is the closest ancestor to our use of sheaves.
What we share with Goguen: The core insight — sheaves formalize when local information composes into global information — is Goguen's. Our site structure is a descendant of his interaction sites.
What we add: Goguen's sheaves are on fixed interaction structures. He does not develop: predicate invention (the site's presheaf growing during operation), the instability of overlap agreement under population growth (L.5), obstruction cohomology as a classification of integration failures (L.4), or the monad structure of vocabulary evolution (L.6). Goguen also does not develop the connection to model-theoretic conservativity (A17b), which is essential for the safety guarantees of predicate invention.
L.7.3 Abramsky's Sheaf-Theoretic Contextuality
Abramsky and Brandenburger(Abramsky 2011)Citation not found: abramsky2011View in bibliography use sheaf theory to formalize contextuality in quantum mechanics: a family of local measurements is contextual if it has no global section — a presheaf that fails the sheaf condition. Their Čech cohomology detects contextuality, with implying strong contextuality.
What we share with Abramsky: The Čech cohomology machinery and the interpretation of as measuring obstruction to global consistency. Our computation (L.4) follows the same pattern.
What differs: Abramsky's presheaves are empirical models — probability distributions on measurement outcomes. Ours are data claims — assertions by computational agents about shared entities. The obstruction in Abramsky is physical (no hidden-variable model exists); ours is semantic (no consistent global identity assignment exists). The mathematics is the same; the domain and operational consequences are different. Critically, we develop the higher cohomology (, L.4.2) and the structural classification (L.4.3), which Abramsky does not pursue in the same setting.
L.7.4 Caramello's Toposes as Bridges
Caramello's program(Caramello 2018)Olivia Caramello, Theories, Sites, Toposes: Relating and Studying Mathematical Theories through Topos-Theoretic `Bridges' (Oxford: Oxford University Press, 2018).View in bibliography uses Morita equivalence of toposes as a tool for transferring results between mathematical theories. Two theories are "Morita equivalent" if they classify the same topos, and the topos serves as a "bridge" for transferring invariants.
Connection to our work: Problem 1 in L.8 asks for the geometric theory classified by the coherence topos. If this theory can be identified, Caramello's bridge technique would immediately transfer invariants from other Morita-equivalent theories, potentially connecting coherent vocabulary evolution to problems in algebraic geometry, logic, or topology that have been studied independently.
What we add: Caramello's program is a meta-mathematical tool — it relates theories via their classifying toposes. We provide a specific instantiation: the coherence topos, with its specific site, specific presheaves, and specific theorems (acyclicity, overlap-agreement instability, the monad characterization). Our work provides a concrete object for Caramello's program to analyze.
L.7.5 Institution Theory
Goguen and Burstall's theory of institutions(Burstall 1992)Joseph A. Goguen and Rod M. Burstall, "Institutions: Abstract Model Theory for Specification and Programming," Journal of the ACM 39, no. 1 (1992): 95–146.View in bibliography is the closest prior art to the vocabulary-evolution half of this appendix, and the framework a formal-methods reader will reach for first. An institution abstracts a logical system into a category of signatures, a functor assigning sentences to each signature, a functor assigning models, and a satisfaction relation required to be invariant under signature change — the satisfaction condition, that truth is preserved along signature morphisms. This is exactly a discipline for composing and translating vocabularies through morphisms between them, and much of what A17b calls conservative extension is an institution-theoretic statement.
What we share: signatures as objects of a category, signature morphisms as the vehicle of vocabulary change, and a preservation condition along those morphisms. The Kleisli category (L.6.2) is, in institution-theoretic terms, a category of signatures equipped with certified translations.
What we add is exactly what institutions omit by design. Institutions are static and cost-free: signatures relate by morphisms that are given, and the framework says nothing about inventing a new symbol, about paying to certify it, or about the overlap obligations certification must discharge. There is no institution-theoretic analog of Obligation 2, no admissibility that can lapse as a population grows (L.5), and no cost model (A21). Institution theory tells you when a translation between vocabularies preserves truth; this appendix asks how an agent may earn such a translation, at what price, and under what conditions the earning expires. The two are complementary — the institution is the ambient logical setting, the invention monad the governed process that generates new signatures within it.
L.7.6 Capabilities Comparison
The landscape can be summarized in a table. The final column carries status markers rather than an unbroken row of affirmatives — ✓ proved in this appendix, △ specified elsewhere in The Proofs and instantiated here, ? open — so it reports what is established, not what is hoped for:
| Capability | Spivak | Goguen | Abramsky | Caramello | Institutions | This appendix |
|---|---|---|---|---|---|---|
| Sheaf-theoretic coherence | implicit | yes | yes | meta-level | no | ✓ |
| Vocabulary invention | no | no | no | no | no | △ (A17, L.6) |
| Obstruction cohomology | no | no | only | no | no | ✓ – (L.4) |
| Overlap-agreement instability | no | no | no | no | no | ✓ (L.5) |
| Non-freeness of the invention monad | no | no | no | no | no | ✓ on (L.6.3) |
| Cost accounting | no | no | no | no | no | △ (A21) |
| Scoped non-Boolean logic | no | no | implicit | yes | no | ✓ (A15, L.2) |
| Hierarchical acyclicity | n/a | no | no | no | no | ✓ (L.4.1) |
| Enriched / graded agreement | no | no | no | no | no | ? (Problem 8) |
| Multi-agent operational semantics | no | partial | no | no | no | △ (L.9) |
The gap is not that sheaf theory is unapplied to data integration — Goguen applied it in 1992. The gap is that no existing framework addresses the full lifecycle of vocabulary in a distributed system: invention, certification, transport, versioning, cost, and the algebraic structure of the evolution process. Each prior framework addresses a fragment. This work addresses the composition of these fragments under formal guarantees.
L.8 Open Problems for the Mathematical Community
The following problems are precisely stated and, we believe, tractable for researchers in topos theory, HoTT, and categorical logic. They are not speculative — each connects to concrete phenomena in distributed data systems and multi-agent AI.
Problem 1: Classify the geometric theory of the coherence topos. Every Grothendieck topos classifies a geometric theory such that models of in any topos correspond to geometric morphisms . What is for the coherence topos? This theory would axiomatize exactly those structures admitting coherent vocabulary evolution. Connection: Caramello's "bridge" program(Caramello 2018)Olivia Caramello, Theories, Sites, Toposes: Relating and Studying Mathematical Theories through Topos-Theoretic `Bridges' (Oxford: Oxford University Press, 2018).View in bibliography.
Problem 2 (Partially resolved): Cohomology of structured context sites. Section L.4.1 proved for hierarchical sites, confirming the tree-acyclicity conjecture. Section L.4.2 constructed a federated site with , confirming the meta-obstruction conjecture. Remaining open: (a) Compute for random context sites (Erdős–Rényi overlap graphs) and determine the threshold for vanishing. (b) For sites arising from real organizational structures, characterize the relationship between the Betti numbers of the nerve and the operational cost of coherence maintenance. (c) Determine whether the Čech cohomology equals the derived-functor cohomology for context sites with non-Hausdorff nerve (this holds for paracompact nerves by Leray's theorem but may fail in general).
Problem 3: Extend to -toposes. Witnesses (A10) carry structure: kinds, composition, coherence conditions. The correct categorical home may be an -topos where witnesses are 1-morphisms and witness-equivalences are 2-morphisms. Does the coherence topos extend to an -topos? Does the resulting type theory validate a scoped univalence axiom? Connection: Lurie(Lurie 2009)Citation not found: lurie2009View in bibliography, Shulman.
Problem 4: Morita equivalence of context sites. When do two context sites and produce equivalent sheaf categories? This would formalize when two institutional arrangements — different organizations, different view decompositions — provide the same coherence guarantees. A Morita equivalence theorem for context sites would be a formal version of "organizational isomorphism from the coherence perspective."
Problem 5: Decidability frontier for the predicate invention monad. For which fragments of the ambient logic is the admissibility check for predicate invention (A17) decidable? The conservativity check is decidable for propositional and equality fragments, semi-decidable for first-order, undecidable for higher-order (see Appendix K, §K.1.1). What is the precise decidability frontier when overlap agreement (Obligation 2) is included? This connects to classical questions in mathematical logic but in a new setting where the signature itself is evolving.
Problem 6 (New): Eilenberg-Moore category of the predicate invention monad. Characterize the category of -algebras (L.6.2). An -algebra is a signature equipped with a "vocabulary absorption" operation satisfying the monad laws. What are the free -algebras? Can the category of -algebras be described as a variety of algebras (in the sense of universal algebra) with explicit equational axioms? The non-freeness theorem (L.6.3) implies the equational theory is non-trivial; its explicit description would connect to Birkhoff's HSP theorem and the theory of algebraic theories(Mac Lane 1971, ch. VI)Saunders Mac Lane, Categories for the Working Mathematician (New York: Springer-Verlag, 1971), ch. VI.View in bibliography.
Problem 7 (New): Persistent cohomology of evolving context sites. As vocabulary evolves (new predicates are added, overlaps change), the context site changes and its cohomology groups evolve. Does the sequence of cohomology groups over time form a persistence module in the sense of topological data analysis? If so, the persistence diagram would classify the lifetime of obstructions: some ambiguities are transient (resolved by adding a predicate that disambiguates), others are persistent (structural, arising from the federation topology). The barcode of this persistence module would be a novel invariant of vocabulary evolution paths.
Problem 8 (New): Enriched coherence and graded agreement. This is the most consequential gap in the present theory. The framework uses set-valued presheaves, for which the sheaf condition (A13) demands exact agreement on overlaps. Yet the witness typology (A2c) admits probabilistic and attested witnesses, and the cost model (A21) operates in a regime of approximation, where local sections agree to within a tolerance rather than exactly. The two are not yet reconciled. Develop sheaves valued in a quantale (or in a metric or measurable space), define a graded restriction under which "agreement on an overlap" is a distance bounded by rather than an equality, and determine whether graded local sections glue to a graded global section. The target is a graded first cohomology that measures how far a family of contexts sits from coherence rather than only whether it is coherent, recovering the Boolean of L.4 in the case . The decisive question is whether the gluing axiom survives enrichment with the obstruction-localization guarantee (Theorem K.7) intact. Until it is answered, the probabilistic-witness layer rests on a theory proven only for the exact-agreement fragment. Connection: enriched category theory (Lawvere(Lawvere 1973)F. W. Lawvere, "Metric spaces, generalized logic, and closed categories," Rendiconti del Seminario Matematico e Fisico di Milano 43 (1973): 135–166.View in bibliography, Kelly(Maxkelly 1982)Citation not found: maxkelly1982View in bibliography).
L.9 Connection to Agentic Systems
This section connects the mathematical framework to a concrete open problem in multi-agent AI: coherent vocabulary evolution in distributed computational agents.
Current multi-agent AI systems compose outputs (text, actions, tool calls) without composing meaning. Agent A proposes "this product is sustainable." Agent B proposes "this product is eco-friendly." Are these the same predicate? Are they consistent? If Agent C needs to act on both claims, what guarantees does it have?
The coherence topos provides the mathematical infrastructure for answering these questions:
-
Predicate invention (A17, L.6): An agent can propose a new concept. The proposal carries obligations. The monad structure (L.6.1–L.6.3) ensures that sequential inventions compose safely (conservative extension), while the instability theorem (L.5) and the non-freeness theorem (L.6.3) identify exactly where synchronization is required. The algebraic content is precise: the kernel of is the set of inadmissible combinations, and its growth rate determines the cost of coordination.
-
Obstruction cohomology (L.4): When agents in different contexts make identity claims about shared entities, measures the irreducible ambiguity. The acyclicity theorem (L.4.1) says hierarchical agent organizations are free of this ambiguity. The meta-obstruction (L.4.2) says federated agent systems face a qualitatively harder problem: not just conflicts, but conflicts about conflict-resolution strategies. The cohomological hierarchy (L.4.3) gives a system architect a precise menu of tradeoffs.
-
Scoped transport (A16, Theorem K.3): An agent's claim is valid within its scope. Transporting that claim to another agent's scope requires a certificate. The topos provides the space of possible certifications (L.3); the engineering problem is constructing one.
-
Cost accounting (A21, Theorem K.4): Coherence has a price. The cost model makes the price explicit. The scope boundary in the coherence budget is the system's declaration of how far it will pay for meaning to compose.
-
Coordination without consensus. The framework does not require agents to share objectives, adopt common logics, or trust one another. It requires only overlap discipline: where two agents' domains intersect, their assertions on the intersection must agree (A13). This is a weaker assumption than shared values, and it is computationally verifiable — the only kind of constraint agents can enforce on each other. Conservative extension (A17b) serves each agent's self-interest: it protects prior commitments. The coherence budget (A21) prices coordination without moralizing it. The sheaf condition is a structural consequence of wanting local outputs to compose globally, not a norm imposed from outside.
The enforcement layer lies outside The Proofs. The conservative extension condition (A17b) is a mathematical specification; Factor Prime (Vol II, Ch 17) provides an enforcement mechanism — collateralized bonds whose thermodynamic cost makes defection expensive without requiring trust; The Sovereign Syntax (Vol III, Epilogue) provides the verification artifact — the receipt that gives affected parties standing to contest.
-
Landscape position (L.7): This is not a reimagining of Spivak's functorial data migration or Goguen's sheaf semantics. It is their extension to the setting where schemas evolve, agents invent vocabulary, and the cost of coherence is a first-class citizen. The comparison table (L.7.6) makes the precise contribution explicit.
The target is a substrate where computational agents can invent, certify, transport, and version predicates under formal guarantees — where inter-agent coherence is a checkable property with a computable cost. The mathematics developed here provides a specification. The engineering required to realize it at scale remains substantial.