← Back to context

Comment by Xmd5a

4 hours ago

On a related note I wrote a few “poems” using anagrams. The principle is simple: take a short phrase and have each line in the poem be an anagram of it. You can’t do this with just any phrase; the letters need to be reasonably well balanced for the target language so you can still form pronouns, key grammatical verbs (to be, to have, etc.), and some basic structure.

It becomes interesting once sentences span multiple lines and you start using little tactical tricks to keep syntax, semantics, and the overall argument coherent while respecting the anagram constraint.

Using an anagram generator is of course a first step, but the landscapes it offers are mostly desert: the vast majority of candidates are nonsense, and those that are grammatical are usually thematically off relative to what you’ve already written. And yet, if the repeated anagram phrase is chosen well, it doesn’t feel that hard to build long, meaningful sentences. Subjectively, the difficulty seems to scale roughly proportionally with the length of the poem, rather than quadratically and beyond.

There’s a nice connection here to Sample Space Reducing (SSR) processes. The act of picking letters from a fixed multiset to form words, and removing them as you go, is a SSR. So is sentence formation itself: each committed word constrains the space of acceptable continuations (morphology, syntax, discourse, etc.).

Understanding scaling through history-dependent processes with collapsing sample space, https://arxiv.org/pdf/1407.2775

> Many such stochastic processes, especially those that are associated with complex systems, become more constrained as they unfold, meaning that their sample-space, or their set of possible outcomes, reduces as they age. We demonstrate that these sample-space reducing (SSR) processes necessarily lead to Zipf’s law in the rank distributions of their outcomes.

> We note that SSR processes and nesting are deeply connected to phase-space collapse in statistical physics [21, 30–32], where the number of configurations does not grow exponentially with system size (as in Markovian and ergodic systems), but grows sub-exponentially. Sub-exponential growth can be shown to hold for the phase-space growth of the SSR sequences introduced here. In conclusion we believe that SSR processes provide a new alternative view on the emergence of scaling in many natural, social, and man-made systems.

In my case there are at least two coupled SSRs: (1) the anagrammatic constraint at the line level (letters being consumed), and (2) the layered SSRs of natural language that govern what counts as a well-formed and context-appropriate continuation (from morphology and syntax up through discourse and argumentation). In practice I ended up exploiting this coupling: by reserving or spending strategic words (pronouns, conjunctions, or semantically heavy terms established earlier), I could steer both the unfolding sentence and the remaining letter pool, and explore the anagram space far more effectively than a naive generator.

Very hand-wavy hypothesis: natural language is a complex, multi-layered SSR engine that happens to couple extremely well to other finite SSR constraints. That makes it unusually good at “solving” certain bounded combinatorial puzzles from the inside—up to and including, say, assembling IKEA furniture.

One extra nuance here: in the anagrammatic setting, the coupling between constraints is constitutive rather than merely referential. The same finite multiset of letters simultaneously supports the combinatorial constraint (what strings are formable) and the linguistic constraint (what counts as a syntactically and discursively acceptable move), so every choice is doubly binding. That’s different from cases like following IKEA instructions, where language operates as an external controller that refers to another state space (parts, tools, assembly steps) without sharing its “material” degrees of freedom. This makes the anagram case feel like a toy model where syntax and semantics are not two separate realms but two intertwined SSR layers over one shared substrate—suggesting that what we call “reference” might itself be an emergent pattern in how such nested SSR systems latch onto each other.