Generative Rewriting Algebra: An Axiomatic Framework and Its Canonical Symbolic Model

We introduce Generative Rewriting Algebra (GAP) — an axiomatic framework for memory organization capable of autonomous concept formation. GAP defines a space of generative elements, a hypothesis operator, a generative semantics, and a single variational principle: the system rewrites subsets of its memory into new elements when doing so reduces a total description cost. We then present Symbolic GAP (S-GAP) — a concrete, discrete, and strictly lossless model that satisfies all GAP axioms. S-GAP operates on multisets of strings and builds a hierarchical dictionary of abstractions through greedy detection of repeated substrings. We prove that S-GAP is equivalent to Straight-Line Grammar compression, that its rewriting process preserves information, and that it terminates after a finite number of steps. S-GAP serves as a canonical toy model for the broader GAP framework, which is designed to be realized by more complex (probabilistic, continuous) systems including exponential families, kernel embeddings, and neural generative models.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-07-26
DOI
https://doi.org/10.5281/zenodo.21597333
Primary Topic
Cognitive Computing and Networks
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Generative Rewriting Algebra: An Axiomatic Framework and Its Canonical Symbolic Model

Andrejs Bistricenko
Zenodo (CERN European Organization for Nuclear Research)
Cognitive Computing and Networks
preprint

Generative Rewriting Algebra: An Axiomatic Framework and Its Canonical Symbolic Model

Andrejs Bistricenko
preprint en

Abstract

We introduce Generative Rewriting Algebra (GAP) — an axiomatic framework for memory organization capable of autonomous concept formation. GAP defines a space of generative elements, a hypothesis operator, a generative semantics, and a single variational principle: the system rewrites subsets of its memory into new elements when doing so reduces a total description cost. We then present Symbolic GAP (S-GAP) — a concrete, discrete, and strictly lossless model that satisfies all GAP axioms. S-GAP operates on multisets of strings and builds a hierarchical dictionary of abstractions through greedy detection of repeated substrings. We prove that S-GAP is equivalent to Straight-Line Grammar compression, that its rewriting process preserves information, and that it terminates after a finite number of steps. S-GAP serves as a canonical toy model for the broader GAP framework, which is designed to be realized by more complex (probabilistic, continuous) systems including exponential families, kernel embeddings, and neural generative models.

Zenodo (CERN European Organization for Nuclear Research)
Cognitive Computing and Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.