Computable Structuralism: A Categorical Rewrite Calculus of Mythic Variants
Juan J. Segura

TL;DR
This paper introduces a formal categorical framework for analyzing myths and narratives, enabling cross-tradition comparison and computational modeling of story variants, coherence, and order effects.
Contribution
It develops a novel mathematical model using rewrite calculus and natural transformations to formalize narrative structures and transformations across diverse storytelling traditions.
Findings
Applied to 80 narratives across genres, successfully modeled variants and coherence data.
74% of stories explicitly encode normative constraints supporting the model.
Provides a bridge between structural anthropology and computational cultural analysis.
Abstract
Structural approaches to myth and narrative are compelling in close reading but hard to compare across traditions, media, and scale. We propose a formal framework that renders L\'evi-Straussian transformation as mathematics while remaining readable as narrative analysis. Variants, superhero continuities, and franchise arcs are modeled as typed rewrite programs on a coupled two-register state , abstracting an everyday/social channel and a symbolic/legitimation channel. The canonical formula becomes coherence data: a natural transformation between update endofunctors, where updates each register in place and performs a swap+inversion. Context is internalized by operator choice, turning naturality into a corpus-facing type check: failures diagnose mis-specified oppositions or illegal transport; successes witness coherent structural models. Order effects…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLanguage and cultural evolution · Folklore, Mythology, and Literature Studies · Artificial Intelligence in Games
