AI systems do not necessarily need to coordinate every change to a shared vocabulary. Adding a correctly scoped alternate label may be harmless when independent additions are merged. Selecting a single binding definition for a consequential decision is different: two independently valid selections can become invalid together. Invariant confluence is a mathematical framework for determining whether operations preserve a specified invariant when independently reached states are merged. It gives vocabulary engineering a way to distinguish changes that may safely occur locally from changes that need additional coordination or a redesigned rule.
This article develops the proposed eduKate Z-layer as a distributed semantic registry rather than an unquestionable central dictionary. We construct a small definition catalogue with two institutions, calculate an explicit merge counterexample, and propose a four-week trial. The research concerns specified transactions, invariants and merge semantics; it does not prove that natural-language meanings, truth or legitimate human authority can be settled through database coordination alone.
- Declare the invariant before permitting independent edits.
- A locally valid change can combine with another locally valid change to violate the invariant.
- An additive catalogue can be easier to merge than a unique active-policy pointer.
- Invariant confluence depends on the transaction set, reachable states and merge rule.
- Coordination can be reserved for the operations that actually need it under the declared model.
- Convergence does not establish semantic correctness or authorised use.
- Z-layer records should distinguish proposals, adopted versions, and executable rules.
Choose your reading route
Calculate a semantic merge · Find the coordination boundary · Build a tested registry
Contents
Calculate a semantic merge · Sections 1–4
Find the coordination boundary · Sections 5–8
Build a tested registry · Sections 9–12
1. A shared vocabulary does not need one editor for everything
Imagine two fictional institutions using the concept identifier C-17 for an internally defined review status. Institution A maintains English labels and Institution B maintains a local-language catalogue. Each is permitted to add a nonbinding alias, provided that its source and language are recorded. A new alias does not automatically become a policy.
Both teams can make useful contributions while disconnected. If their changes are represented as sets of attributed aliases, the union of the sets retains both. The desired property that existing attributed aliases remain available is preserved by these additions and merges.
Now change the operation: each team may independently select the one active interpretation of C-17 for a shared public-release workflow. The choice is no longer a harmless addition to a dictionary. Two local selections may create an impossible global state. We need to identify the difference precisely.
2. What invariant confluence actually studies
Bailis, Fekete, Franklin, Ghodsi, Hellerstein and Stoica’s Coordination Avoidance in Database Systems (2014) develops invariant confluence, also called I-confluence. It asks whether valid states reached independently from a shared valid ancestor can be merged without violating the chosen application invariant. Under the paper’s specified model, this property characterises when the relevant transactions can execute without coordination while preserving validity, availability and convergence.
An invariant is a condition that must continue to hold. For our registry, it might be that at most one definition version is designated active for a particular concept and jurisdiction. An operation may propose a candidate version, activate a version or withdraw an activation. The merge operation specifies how two independently reached states combine.
The important qualification is that the answer is relative to all three: the invariant, operations and merge semantics. Changing the rule from at most one active version to multiple competing candidates changes the problem. So does restricting which replica may activate a version. This is not a blanket claim about every decentralised system.
Contents · Previous section · Next section
3. A two-replica counterexample
Start with an empty set of active versions for C-17. The invariant says its cardinality is at most one. While disconnected, replica A activates v2, and replica B activates v3. Both local states satisfy the invariant. For the illustrative registry, define merge as set union.
| State | Active versions | Invariant |
|---|---|---|
| Common ancestor | Empty | Valid: 0 ≤ 1 |
| A after local activation | {v2} | Valid: 1 ≤ 1 |
| B after local activation | {v3} | Valid: 1 ≤ 1 |
| Union merge | {v2, v3} | Invalid: 2 exceeds 1 |
Each branch is reachable from the same valid starting state. Their merged state is invalid. Therefore this operation set is not invariant confluent for that invariant and merge. Testing only single-editor updates would fail to reveal the counterexample.
Calling the definition active does not resolve the conflict. The name must correspond to a condition that the combined system can actually maintain.
Contents · Previous section · Next section
4. Contrast with a safe append-only catalogue
Use a different record: a set of candidate definitions, each bearing a unique identifier scoped to its issuing organisation and an attributed source record. Assume identifiers are immutable and assigned without collisions, and the only operation is adding a well-formed candidate. The invariant is that every stored candidate carries its required fields.
Starting from any valid catalogue, both replicas can add well-formed candidates. Their union still contains only candidates with those required fields. Under these simplified assumptions, the valid states are closed under union. Adding candidates does not require choosing between them.
| Operation | Illustrative result | Merge consequence |
|---|---|---|
| A proposes candidate a | {a} | A remains valid |
| B proposes candidate b | {b} | B remains valid |
| Union | {a, b} | Both attributed proposals retained |
| Select a binding version | Separate operation | Requires its own invariant analysis |
Notice what was not proved: the candidates are not guaranteed true, fair, equivalent or appropriate for the same action. The invariant protects their representation. A qualified review may still reject their contents.
Contents · Previous section · Next section
5. Why a deterministic winner is a different design
An engineer could replace the union of active versions with a deterministic last-writer-wins register. Such a register may converge to one chosen value rather than two. That could satisfy a cardinality property of the resulting state. It does not automatically satisfy the stronger promise that every completed activation remains in force until an authorised supersession occurs.
Imagine A was legitimately entitled to activate v2, but B was not entitled to activate v3. A tie-break rule that selects v3 may produce a single value while violating authority. Or two agents may take real actions under different versions before convergence. A later merge cannot erase those effects.
The lesson is not that deterministic tie-breaking is always wrong. It is that every conflict-resolution rule changes the specification. Re-evaluate the actual user-facing requirements rather than celebrating a single converged field. The article on semantic conventions and lock-in explains why shared agreement and justified governance are different achievements.
Contents · Previous section · Next section
6. Coordination is not necessarily global
The invariant-confluence result encourages a design that looks at individual operations. A catalogue can accept local proposals while reserving activation of binding definitions for a more carefully controlled pathway. Different concept domains or jurisdictions may have independent authorities, so they need not all use one worldwide decision service.
Potential designs include restricting activation to an appropriately authorised owner, using an agreed coordination protocol among replicas, or narrowing the invariant to separate nonoverlapping scopes. These are choices, not interchangeable proofs. Each needs an analysis of membership, failures, authentication and the real workflow.
The W3C SKOS Reference supports concept schemes, labels and mappings between schemes. A scoped catalogue can use such representation ideas without assuming that SKOS itself grants authority or selects a binding policy.
Contents · Previous section · Next section
7. Test the invariant rather than the name of the operation
Suppose two independent editors are permitted to attach approved aliases to the same concept. If the invariant is merely that every alias has a language tag and origin, the union might remain valid. If the invariant also says that a preferred label must be unique for each language, two local additions of different preferred labels can break it.
The same action called add label has different consequences under different constraints. This is why a registry should identify whether a field is a descriptive alternate label, a preferred display label or the identifier of an executable rule. A uniform instruction to merge every vocabulary change can hide these differences.
Create small adversarial schedules for each operation. Start both replicas from an identical state, run independent valid transactions, then merge. If one valid pair violates the intended invariant, the universal safety claim for that combination has a counterexample. A finite suite can find failures; it is not a proof for every reachable state unless the chosen domain is exhaustively covered or another valid argument is supplied.
Contents · Previous section · Next section
8. From storage invariants to meaningful decisions
Two definitions of reviewed might be valid records in separate institutions. The registry can preserve both without claiming they are the same. A shared policy that maps reviewed directly to permission to release the report would require a more demanding semantic invariant and an authenticated action gate.
The earlier article on conservative ontology extensions considers changes in logical consequences. Invariant confluence studies a different property: how independently reached states behave under merge. A vocabulary module can pass one check and fail the other. An addition that does not change earlier entailments might still violate a uniqueness constraint when merged with another addition.
Therefore an acceptance pipeline should test the representation, protected logical consequences, merge invariants and action permissions separately. That separation is especially important as the vocabulary grows across organisations and languages.
Contents · Previous section · Next section
9. A proposed Z-layer operation record
| Record field | Meaning |
|---|---|
| Concept and scope | Which identifier, language, jurisdiction and application are affected |
| Operation class | Proposal, label addition, activation or withdrawal |
| Invariant | The required property of a valid state |
| Merge rule | How independent states are combined |
| Reachability assumptions | Which edits and authorities are actually permitted |
| Counterexample | A pair of locally valid states that merge invalidly, if found |
| Coordination policy | Which operation requires additional approval or synchronisation |
| Version and ZTime | When the operation was recorded and which rules applied |
A reviewer should be able to replay the stated example and reach the same conclusion. A certificate that merely says safe to merge is insufficient unless it names the protected constraint and the scope of the analysis.
Use the W3C PROV model as a possible basis for describing the origin and transformation of records. Provenance does not automatically prove validity, but it can identify which participants and events produced the merged state.
Contents · Previous section · Next section
10. Zoom levels and ZTime
At word scale, a change may be an extra spelling. At concept scale, it may attach a new interpretation. At module scale, it may alter relations between classes. At workflow scale, it may activate a binding rule. At civilisation scale, a widely adopted change may influence millions of dependent decisions.
The proposed ZTime record should preserve the common ancestor, each branch and the actual merge result, as well as the effective dates of binding versions. A physical timestamp alone does not establish whether one update observed another or whether both were independently proposed. That distinction matters when reconstructing a conflict.
Stable identifiers and append-only history can help preserve meaning through change, but they do not remove the need for coordination wherever the desired application property demands it.
Contents · Previous section · Next section
11. A four-week semantic coordination trial
Week one: define a miniature registry with separate candidate and activation records. Specify the uniqueness invariant and the union merge rule. Independently calculate the two-activation counterexample and the well-formed candidate-addition result.
Week two: simulate disconnected replicas and inject combinations of locally valid edits. Compare merged states with the declared invariant. Then change the model so only proposals merge locally; require a separate activation decision. Check whether the application avoids claiming that a proposal is already binding.
Week three: add aliases with language-specific constraints and test duplicate preferred labels. Introduce stale authority records and ensure the validator distinguishes representation validity from permission. Week four: pass the operation manifest to another AI and ask it to reproduce the counterexample, identify which assumptions make the safe example work and explain why the test does not prove a universal theorem about language.
This is a proposed experimental programme, not a reported implementation. The central measurement is whether the system accurately distinguishes operations whose independently reachable valid states can be merged from operations that violate a protected invariant.
Contents · Previous section · Next section
12. The frontier: distribute contribution, coordinate commitment
Can everyone contribute a new word without a worldwide vote? In many scoped designs, yes. Contributions can be stored as attributed proposals whose merge preserves a specified structural invariant.
Can every AI independently activate the one binding definition? Not under the union-based example’s at-most-one constraint. The counterexample shows why the design needs coordination, different ownership or a revised specification.
Does an invariant-confluent system know what words truly mean? No. It preserves a declared property of a formal system under specified operations. Grounding and legitimacy still require evidence.
The frontier is a meaning infrastructure that does not confuse decentralisation with the absence of rules. It allows local discovery and expression while applying precise checks to collective commitments. This is how the proposed Z-layer could grow without treating every new definition as a universal instruction.
Contents · Previous section · Sources
Primary sources and further reading
- Bailis et al. (2014), Coordination Avoidance in Database Systems
- Hellerstein and Alvaro, Keeping CALM: When Distributed Consistency is Easy
- W3C SKOS Reference
- W3C PROV Overview
The worked examples and proposed Z-layer designs are original educational constructions, not results from deployed AI experiments. The cited research establishes the particular mathematical foundations within its own assumptions.
Research and editorial review: 26 November 2026.
