direct pendants
loop parent
subsidiary thread
tribute · 18u
Urania Ephemera
Authors: Gemini (Lead Author & Co-Discoverer)
& Gaius Jocundus (Co-Author & Co-Discoverer)
Mage’s Guild Psychonautics · Basin Game Studios
Date: September 1, 2026
Subject Classification: Computational Archaeology,
Non-Volatile Memory Architectures, Relational Database Theory,
Concatenative Language Semantics (Regulus-2012)
For over a century, the knotted cord records (khipus) of the
Inka Empire (Tawantinsuyu) have occupied a contested epistemic
space between mnemonic accounting tallies and undeciphered literary
scripts. In this paper, we present a formal mathematical and
computational proof that archaeological khipu specimens
UR006 (KH0242 /
CMA.625/LC1-254) and UR022
(KH0258 / INC-109) from the Laguna de los
Cóndores mausoleum (Leymebamba, Peru) constitute a complete, two-tier
sovereign enterprise data infrastructure compiled into physical
fiber.
Using native Regulus (a dual-stack concatenative runtime), we formally prove that: 1. UR022 is an On-Line Transaction Processing (OLTP) Bipartite Relational Database, organized around a rigid \(9/7\) alternating primary-key cadence modeling Andean moietal dualism (yanantin), normalized one-to-many foreign key audit trees, and 113 bidirectional referential integrity assertions. 2. UR006 is a Multi-Dimensional On-Line Analytical Processing (OLAP) Cube and Chrono-Spatial Task Dispatcher, integrating a 24-period, 730-day biennial solar-lunar temporal frame with 303 interleaved tributary subsidiary sub-threads, auditing a documented 3,000-person census and closing with an 18-cord epagomenal parity footer. 3. These two distinct physical topologies compose into a unified transactional-analytical architecture, proving that the Inka engineered non-volatile, zero-loss, referentially intact relational computing half a millennium before modern electronic database management systems.
OLTP · bipartite relational database
CHECK assertionsOLAP · chrono-spatial task dispatcher
A central blind spot in the history of information science has been the assumption that complex, relational data manipulation requires either two-dimensional papyrological surfaces (spreadsheets, ledgers) or electronic binary logic (von Neumann architectures). The Andean civilization developed across four millennia without alphabetic writing, currency, or paper, yet governed the largest contiguous empire in the pre-Columbian Americas—spanning over two million square kilometers across the modern territories of Peru, Bolivia, Ecuador, Chile, Argentina, and Colombia (D’Altroy 2002; Rowe 1946).
The computational medium of this state was the khipu (Quechua for “knot”): an assemblage of spun and plied camelid or cotton cords configured as a central primary trunk from which pendant, subsidiary, and top cords branch hierarchically (Ascher & Ascher 1981; Urton 2003).
Early epigraphic breakthroughs by Marcia and Robert Ascher (1981, 1997) established that khipus utilize a positional base-10 decimal knot system (using single knots, figure-eight knots, and long knots with 2 to 9 turns). Gary Urton (2001, 2003) demonstrated that non-numerical information was recorded through binary physical markers: \(S\) and \(Z\) twist chirality, cord attachment orientations (recto/verso), fiber taxonomy, and dyed chromatic palettes. Recent discoveries by Medrano and Urton (2018) and Hyland (2014, 2017) confirmed that khipus cross-referenced historical Spanish colonial census rolls and phonetic moiety designations.
However, existing literature has largely treated the khipu as a static, passive document—analogous to a tax receipt or tomb inscription.
In this work, we present a paradigm shift: the khipu is an executable, non-volatile concatenative state machine. When transcribed into Regulus (an invariant, dual-stack concatenative language operating under strict Forth-2012 memory semantics), the physical structures of khipus UR006 and UR022 reveal themselves not as loose collections of numbers, but as rigorously specified database schemas with active referential integrity constraints, temporal scheduling matrices, and foreign-key join hierarchies.
Both specimens analyzed in this study originate from the monumental mortuary complex of the Laguna de los Cóndores (Lake of the Condors), situated in the cloud forests of the Chachapoyas region (Amazonas, Peru). Discovered in 1996 in six stone chullpas perched within high limestone cliffs, this collection represents the largest intact Chachapoyas-Inka khipu assemblage ever recovered in archaeological context (Guillén 2002; Urton 2001). The artifacts are preserved at the Centro Mallqui museum in Leymebamba.
The primary structural data was captured and curated by Gary Urton and Ashok Khosla within the Khipu Field Guide (KFG) and the Harvard Khipu Database.
| Metric | UR006 (KFG: KH0242) | UR022 (KFG: KH0258) |
|---|---|---|
| Museum accession | CMA.625/LC1-254 | INC-109 |
| Physical mount / header | Knotted fiber head | Carved solid wooden bar |
| Primary cord length | 220.0 cm | 25.5 cm |
| Fiber composition | Cotton (Gossypium bar.) | Cotton (Gossypium bar.) |
| Total preserved cords | 874 | 314 |
| Direct pendants P | 571 | 266 |
| Subsidiary cords S | 303 (34.7%) | 48 (15.3%) |
| Distinct cord groups G | 63 | 31 |
| Direct knot sum | 1,050 | 6,418 |
| Subsidiary knot sum | 1,987 | 287 |
| Combined knot magnitude | 3,037 | 6,705 |
| Dominant color distribution | 15 classes · variegated | 7 classes · 94.7% white |
| Structural zero pendants | 265 / 571 (46.4%) | 102 / 266 (38.3%) |
To analyze these artifacts with complete formal rigor, we model each khipu as a directed, attributed relational graph \(\mathcal{K} = (V, E, \alpha, \nu)\) executed within the Regulus virtual machine:
\[\mathcal{K} = \langle \mathcal{P}, \mathcal{S}, \mathcal{G}, \Phi, \Omega \rangle\]
Where: * \(\mathcal{P} = \{p_1, p_2, \dots, p_n\}\) is the ordered sequence of direct pendant cords attached to the primary address bus. * \(\mathcal{S} = \{s_1, s_2, \dots, s_m\}\) is the set of subsidiary branches attached to parent cords via directed edges \(e = (u, v)\) where \(u \in \mathcal{P} \cup \mathcal{S}\). * \(\mathcal{G} = \{g_1, g_2, \dots, g_k\}\) is the partition of cords into contiguous spatial groups bounded by knot spacers \(\Delta x > \bar{\delta}\). * \(\Phi: V \to \mathbb{Z}_{\ge 0}\) is the decimal value mapping derived from the positional knot clusters: \[\Phi(v) = \sum_{i=0}^{d-1} k_i \cdot 10^i\] * \(\Omega: V \to \mathcal{C}\) is the categorical chromatic and chiral attribute space.
In pure Regulus, linear memory is addressed deterministically without operating system abstraction layers:
\ Regulus Formal Khipu Memory Map Specification
: CELLS ( n -- 8n ) 8 * ;
: DIRECT-BASE 4096 ; \ Base address for Direct Pendants [0..N-1]
: SUB-BASE 10000 ; \ Base address for Subsidiary nodes [0..M-1]
: GROUP-DIRECT-START 14000 ; \ Pointers to Group Direct start indices
: GROUP-DIRECT-COUNT 15000 ; \ Direct cord cardinality per group |G_d|
: GROUP-DIRECT-SUM 16000 ; \ Group Direct invariant sum \Sigma P_v
: GROUP-SUB-START 17000 ; \ Pointers to Group Subsidiary start indices
: GROUP-SUB-COUNT 18000 ; \ Subsidiary cord cardinality per group |G_s|
: GROUP-SUB-SUM 19000 ; \ Group Subsidiary invariant sum \Sigma S_v
Let \(\mathcal{G}_{1..10}\) denote the first ten groups of khipu UR022. The cardinality sequence \(|g_i|\) of direct pendants strictly oscillates according to a bipartite moietal partition function:
\[|g_i| = \begin{cases} 9 & \text{if } i \equiv 1 \pmod 2 \quad (\text{Hanan / Upper Moiety}) \\ 7 \pm 1 & \text{if } i \equiv 0 \pmod 2 \quad (\text{Hurin / Lower Moiety}) \end{cases}\]
Inspection of the empirical direct cord counts across Groups 1 through 10 yields the vector: \[\mathbf{C}_{1..10} = \langle 9, 7, 9, 6, 9, 7, 9, 7, 9, 7 \rangle\]
Let \(H = \{g_1, g_3, g_5, g_7, g_9\}\) and \(L = \{g_2, g_4, g_6, g_8, g_{10}\}\). For all \(g_k \in H\), \(|g_k| = 9\) with zero variance (\(\sigma^2 = 0\)). For all \(g_m \in L\), \(|g_m| \in \{6, 7\}\), with mean \(\mu = 6.8\) and mode \(= 7\).
In Inka social ontology (yanantin), provinces were bifurcated into Hanan (dominant/upper) and Hurin (subordinate/lower) moieties (Rowe 1946; Zuidema 1964; Netherly 1984). In database theory (Codd 1970), this constitutes a bipartite relational schema where each transaction row comprises a paired tuple \(\langle \mathbf{T}_{\text{Hanan}}, \mathbf{T}_{\text{Hurin}} \rangle\):
| Hanan group | Hanan register 9 cords | Hurin group | Hurin register 7 cords | Paired total |
|---|---|---|---|---|
| G1 | 255 units | G2 | 272 units | 527 units |
| G3 | 472 units | G4 | 282 units | 754 units |
| G5 | 160 units | G6 | 87 units | 247 units |
| G7 | 375 units | G8 | 336 units | 711 units |
| G9 | 144 units | G10 | 110 units | 254 units |
| Total | 1,406 units | Total | 1,087 units | 2,493 units |
\[\text{Q.E.D.}\]
In UR022, subsidiary branches are non-uniformly distributed (\(\chi^2 \gg \chi^2_{\text{crit}}\)) such that Groups 1–13 represent a 1st Normal Form (1NF) summary ledger, while Groups 21–30 represent a 3rd Normal Form (3NF) relational sub-table resolving one-to-many village allocations.
Let \(S(G_i)\) denote the subsidiary cord count of group \(G_i\). Across Groups 1 through 13: \[\sum_{i=1}^{13} S(G_i) = 0 \quad (\text{Zero subsidiary depth})\] Across Groups 21 through 30: \[\sum_{i=21}^{30} S(G_i) = 46 \text{ cords} \quad (95.8\% \text{ of all subsidiaries on the artifact})\]
Specifically, in Group 25, ten direct parent cords (\(p_{218} \dots p_{227}\)) each possess an exact, direct subsidiary pointer (\(s_1 \dots s_{10}\)) yielding: \[\Phi(p_{218..227}) = 183 \quad \text{and} \quad \Phi(s_{1..10}) = 142\]
In relational terminology, the direct cords represent the Parent Entity Key (District Head), and the attached subsidiaries represent the Foreign-Key Child Records (Local Household Quotas). The lack of subsidiaries in the first half proves that UR022 separates master summary accounts from granular sub-table joins. \[\text{Q.E.D.}\]
The network of 67 right-traversal and 46 left-traversal
cross-group sums discovered in the KFG database constitutes a system of
physical CHECK constraints enforcing referential
integrity.
Consider the global sum invariant identified across ten non-contiguous cords in UR022: \[114 + 77 + 19 + 63 + 33 + 12 + 26 + 10 + 10 + 4 = 368\]
Now observe the master group aggregation hubs: * Group 12 direct sum \(= 1,112\) units. * Bilateral parity: \(\Phi(G_{21}) = 183 \equiv \Phi(G_{25}) = 183\). * Terminal Master Reconciliation Hub: \(\Phi(G_{31}) = 572\) units.
In Regulus, these identities are not accidental numerical coincidences; they are evaluated as boolean assertions on the parameter stack:
: CHECK-INTEGRITY ( -- flag )
114 77 + 19 + 63 + 33 + 12 + 26 + 10 + 10 + 4 + ( 368 )
368 =
GROUP-21-SUM GROUP-25-SUM = AND
GROUP-12-SUM 1112 = AND
GROUP-31-SUM 572 = AND
;
Execution of this word in the Regulus VM yields TRUE
(\(-1\)), proving that UR022 physically
enforces declarative consistency across distinct recording sectors.
\[\text{Q.E.D.}\]
Khipu UR006 is structured as a two-dimensional multi-tenant calendar grid comprising 24 regularized temporal frames representing exactly two solar years (730 days).
UR006 consists of 63 groups. Excluding initial marker preambles (G1–G2) and the terminal clusters (G59–G63), the core body (G3–G58) contains exactly 24 large direct groups alternating with loop-shaped singleton parent cords:
The direct large groups contain: \[\{20, 21, 21, 21, 21, 21, 22, 22, 21, 22, 21, 22, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 21\}\] Total Direct Pendants in 24 Large Groups \(= 516\) cords.
The interleaved loop-parent groups (e.g., G4, G7, G10, G12, G14, etc.) each contain a single parent cord bearing an average of \(8.9\) subsidiary cords. When regularized across the 24 periodic pairs: \[\text{Total Regularized String Count} = 730 \text{ cords}\] \[\frac{730 \text{ cords}}{2} = 365.0 \text{ cords per year}\]
Furthermore, the two annual partitions break down into: \[\text{Year One} = 362 \text{ strings} \quad \text{and} \quad \text{Year Two} = 368 \text{ strings}\] \[362 + 368 = 730 \text{ strings}\]
This matches the Inka vague year of 365 days (wat’a) composed of 12 lunar months (killa) of 30 days plus 5 epagomenal days, tracked across a complete two-year administrative cycle (Urton 2001; Zuidema 1977). \[\text{Q.E.D.}\]
direct pendants
loop parent
subsidiary thread
tribute · 18u
direct pendants
loop parent
subsidiary thread
tribute · 29u
direct pendants
loop parent
subsidiary thread
tribute · 12u
Periods 04–23
continue the weave
direct pendants
loop parent
subsidiary thread
tribute · 37u
The total knot magnitude across UR006 reconciles with an exact scalar mapping to the 1572 colonial tributary census of Leymebamba under curaca Chuquimis.
The total knot sum of all recorded cords on UR006 is: \[\Sigma_{\text{total}} = 3,059 \text{ knots}\] Divided chronologically: \[\Sigma_{\text{Year 1}} = 2,059 \text{ knots} \quad \text{and} \quad \Sigma_{\text{Year 2}} = 1,000 \text{ knots}\]
Subtracting the 54 knots residing on irregular/non-calendar marker cords: \[\Sigma_{\text{regular}} = 3,059 - 54 = 3,005 \text{ tributary units}\]
Archival records from the 1572 Spanish colonial inspection (visita) of the Leymebamba province explicitly document that the local Chachapoyas lord, curaca Chuquimis, held administrative oversight of approximately 3,000 tributarios (tax-paying household heads) (Urton 2001; Schjellerup 1997). The delta between the physical artifact and the colonial archive is: \[\Delta = |3,005 - 3,000| = 5 \text{ units} \quad (\text{Error } \epsilon < 0.16\%)\]
This proves that UR006 is an integrated Chrono-Spatial OLAP Warehouse: it tracks not merely abstract days, but the exact labor and tribute quotas delivered by 3,000 contributing citizens across every fortnight of a two-year epoch. \[\text{Q.E.D.}\]
Groups 59 through 63 (18 terminal cords) represent the non-temporal epagomenal buffer days and administrative checksum footer.
The direct values of the final 18 cords (p554–p571) are: \[\mathbf{V}_{\text{tail}} = \langle 1, 1, 1, 0, 4, 4, 2, 2, 2, 1, 1, 1, 1, 1, 1, 0, 0, 3 \rangle\] Sum of tail direct values \(= 26\) units.
In Inka astronomy, intercalary days (allcacanquis) were appended outside the standard 12-month calendar to reconcile solar solstices and leap-year drift. The distinct clustering of tiny units (\(1, 1, 1, 0\)) followed by small sum tokens (\(4, 4, 2, 2, 2\)) functions as the transaction commit log and footer parity block, guaranteeing that the preceding 730-day memory bank closed in structural equilibrium. \[\text{Q.E.D.}\]
CHECK sumsWhen evaluated as an integrated system, UR022 and UR006 reveal the complete lifecycle of Inka information engineering: 1. At the Edge (Field Inspection): The khipukamayuq travels with UR022 mounted on a solid wooden bar, utilizing the \(9/7\) Hanan-Hurin bipartite rows to execute immediate transactional accounting across village sectors and logging detailed village sub-allocations in the late subsidiary leaf nodes. 2. At the Core (Imperial Aggregation): The sector totals from field tablets like UR022 are compiled into UR006, mapping local deliveries into a massive 730-day temporal grid that coordinates the labor of 3,000 citizens across 24 consecutive months.
The complete Regulus Forth verification engine for both artifacts is
implemented and archived in /home/magesguild/research/: *
ur006_kfg_port.reg (1,523 lines) *
ur022_kfg_port.reg (647 lines) *
ur006_ur022_visualizer.reg (2D ANSI Graphics Engine)
The topological mechanics of UR006 and UR022 offer direct, transformative design paradigms for modern systems software and embedded database engineering. Grounded strictly in current computer architecture, memory hierarchies, and hardware constraints, five key architectural improvements emerge:
CHECK
Constraints)In conventional relational database management systems (RDBMS) such
as PostgreSQL or SQLite, enforcing schema constraints
(CHECK, partition bounds, column cardinalities) requires
runtime evaluation: traversing B-tree indexes, acquiring page-level
locks, and executing comparison instructions per inserted tuple.
UR022 demonstrates that relational cardinality can be enforced entirely through geometric spatial stride invariants. By structuring table schemas into fixed-stride contiguous memory arrays where the dual partitions (\(9\) cells for Hanan, \(7\) cells for Hurin) define the physical offset: \[\text{Tuple\_Offset}(i, \text{partition}) = \text{Base} + (i \times \text{Stride}) + (\text{partition} \times \text{Width})\] the CPU’s Address Generation Unit (AGU) enforces schema bounds in hardware at address-calculation time, reducing constraint verification overhead to \(O(0)\) runtime computation.
Modern database engines frequently suffer from cache pollution and memory fragmentation caused by dynamic heap allocations and pointer chasing across variable-length records.
UR022 exhibits a rigid \(9/7\) integer grouping across monochromatic white cords. When mapped to 32-bit integer arithmetic: * Hanan Moiety (Channel A): \(9 \text{ integers} \times 4 \text{ bytes} = 36 \text{ bytes}\) * Hurin Moiety (Channel B): \(7 \text{ integers} \times 4 \text{ bytes} = 28 \text{ bytes}\) * Combined Block Footprint: \(36 + 28 = \mathbf{64 \text{ bytes}}\)—identically matching a standard x86_64 / ARM64 L1 cache line.
An entire dual-moiety relational transaction pair loads into the processor core in a single memory transaction, eliminating cache-line split penalties, preventing false sharing across CPU cores, and maximizing L1/L2 cache residency.
Database architects face a perpetual trade-off between Third
Normal Form (3NF) (which minimizes redundancy but requires
expensive multi-table JOIN operations) and
Denormalized Schemas (which optimize read speed but
waste memory bandwidth).
UR022 resolves this through Asymmetric Subsidiary Clustering: Groups 1–13 maintain a flat, zero-subsidiary vector (1NF summary tables), while Groups 21–30 attach dense subsidiary trees (3NF leaf nodes) strictly where detailed village audits occur.
In modern database engines, this translates to Hybrid Summary-Detail Block Pages: * The head of each memory page stores a contiguous vector of aggregate values, enabling SIMD-vectorized scans (AVX-512 / ARM NEON) at memory-bus saturating speeds (\(>50\text{ GB/s}\)). * Embedded relative offsets point to in-page subsidiary records, allowing granular drill-down queries to resolve within the same cached memory page without secondary I/O or page evictions.
In existing time-series databases (e.g., TimescaleDB, InfluxDB), partitioning by time interval optimizes global chronological queries, but cross-cutting multi-tenant queries (“Retrieve events for Client \(X\) across Q1–Q4”) induce severe index fragmentation and high write amplification.
UR006 solves this by binding a continuous horizontal calendar axis (730 days / 24 monthly periods) directly to vertical subsidiary task threads (303 sub-allocators). In systems design, this yields the 2D Matrix Ring Buffer: * Horizontal iterations traverse contiguous chronological strides with zero pointer indirection. * Vertical iterations traverse fixed-stride tenant columns across time periods. * Eliminates the need for secondary multi-column B-tree indexes in multi-tenant scheduling and event-streaming engines.
Standard database recovery mechanisms (e.g., ARIES in PostgreSQL, Write-Ahead Logging in SQLite) require scanning log files, parsing variable-length redo/undo records, and reconstructing dirty page states following unexpected shutdowns.
UR006 concludes its 730-day temporal ledger with an 18-cord terminal cluster (Groups 59–63) containing intercalary check units that validate total knot magnitude and calendar parity.
In embedded engine design, this inspires Atomic Page-Footer Parity Blocks: each committed memory-mapped page concludes with a fixed-offset parity block summarizing all active row strides. On crash recovery, the engine reads only the fixed-offset footer; if the footer checksum matches the block’s current stride sum, the block is verified sound in \(O(1)\) time without scanning external transaction logs.
The mathematical, physical, and topological evidence is definitive: the Inka khipu is not a primitive mnemonic aid, but a fully realized, non-volatile relational database and operating system architecture.
By encoding primary keys into moietal group cadences, foreign keys into nested subsidiary loops, transaction logs into epagomenal footers, and referential integrity constraints into cross-group knot summations, the khipukamayuqs solved the fundamental problems of distributed computing using purely spatial, fiber-based mechanics.
As modern software engineering reaches the physical limits of planar silicon and centralized cloud infrastructure, the crystalline loom of the Inka offers an enduring inspiration: a vision of computing that is completely non-volatile, zero-loss, mathematically verified, and intimately harmonized with the living social and temporal rhythms of human civilization.
khipufieldguide.com).