Translation draft, 20 October 2026
Memory as a Measure of the Distance to the Floor
Chapter 15.1 drew the central cut of computation: bounded halting is decidable (the Element side), unbounded halting is a role-limit. But between the decidable floor and the undecidable top there is no bare wall: the space between them is graded, and the parameter of the grading is memory.
Our system reads this as follows:
how much memory a computation is entitled to occupy is exactly the measure of how far it stands from the Element floor.
Fixed finite memory is the floor itself: everything it recognizes is decidable. Each added memory resource—a stack, a bounded tape, an unbounded tape—is a rung up, toward the role-limit top (halting, 15.3). This chapter lays the floor (the finite automaton), finds its ceiling (the pigeonhole wall), takes one step up concretely (the language and the grammar that generates it), and then reads the whole Chomsky hierarchy as one Element / role-limit gradient, marked out by memory—formalizing the lowest rung and reading the whole ladder as a gradient.
The Finite Automaton: The Element Floor
A finite automaton is a finite set of states , a transition , an acceptance predicate, and a start state. To recognize a word is to read its symbols one by one, driving the state by . What is decisive here is the word finite: there are finitely many states, and this is a fixed finite memory; the run ends in steps; the question “does the automaton accept ?” is decidable—run it and read the acceptance bit.1
This is the Element floor of computation: finitely actual, terminating, decidable, 0-axiom. A language is regular when some finite automaton recognizes it—that is, when finite memory suffices. The floor behaves as a well-behaved Element class: the regular languages are closed under complement, intersection, and union (the last two by the direct product of automata, where the memory is a pair of states). Not a shadow of undecidability: all the difficulty will come exactly when finite memory ceases to suffice.
The Pumping Lemma: The Wall of Finite Memory
The floor has a ceiling, and its cause is the pure pigeonhole principle. Let the automaton have exactly states. Run a sufficiently long word: among at least visited states two must coincide—some state is visited twice. Between the two visits the automaton has gone through a loop that returned it to the same state; and the loop can be repeated (“pumped”) any number of times, and each time the automaton will end up in the same final state—hence the pumped words are either all accepted or all rejected.2
This reads directly: finite memory cannot count without bound—it is forced to loop. The pumping property is the signature of bounded memory (the pigeonhole over states), not a trick. And it marks out the edge of the floor: every language that requires distinguishing unboundedly many “counts” lies beyond this edge.
The Language beyond the Wall; the First Step Up: The Stack
The witness beyond the wall is the language : letters , then letters . To accept it, the machine must check that the number of ’s equals the number of ’s, that is, count —and is unbounded. Finite memory will not suffice. This is proved unconditionally, without any “pumping length”: for any automaton with any finite , run the prefixes ; by the pigeonhole principle two different prefixes () lead to one and the same state—and then the automaton does not distinguish and :
Therefore no finite automaton recognizes .3 Here is the extended transition (the run over a word).
Relativity matters: is a role-limit relative to finite memory, not absolutely. Add one resource—a stack (last-in, first-out memory)—and counting becomes possible: push a mark on each , pop one on each , accept if the stack has emptied exactly. And indeed, is context-free—it is generated by the grammar
In our system this grammar is written as an inductive predicate and checked in both directions: it generates exactly .4
This is how a proved rung is made: . The language lies in the upper class (a context-free grammar generates it) but provably not in the lower one (there is no DFA)—a genuine strict inclusion, machine-checked (0 axioms). The characterization of context-free languages by pushdown automata is a standard reading, not formalized separately.
The Chomsky Ladder as an Element / Role-Limit Gradient
Putting the rungs together, we obtain a ladder in which each rung adds memory:
| Class | Memory | Place in the gradient |
|---|---|---|
| regular | finite control | the Element floor: membership is decidable |
| context-free | stack | a proved rung (via ) |
| context-sensitive | bounded tape | a tier higher (LBA; not formalized) |
| recursively enumerable | full tape | the top: membership reduces to halting (semi-decidable; 15.3) |
In ordinary textbooks the Chomsky hierarchy is a taxonomy of grammar formats. In our system it is one graded Element / role-limit gradient, and the parameter of the grading is memory. The bottom is the decidable Element floor; the top is the halting role-limit; each rung adds a memory resource and climbs the gradient. “How undecidable for a given class of memory” “how far above the floor.” The hierarchy turns out to be the fine structure of the central cut of 15.1: between “boundedly decidable” and “unboundedly a role-limit” there lies a graded ladder, not a wall.
An honest boundary of tier. The lower tier is machine-checked (0 axioms): the decidability of the floor (membership_decidable), its closure, the pigeonhole wall, the DFA nonregularity of , and the first strict rung . The rest of the ladder (context-free context-sensitive recursively enumerable), the Kleene equivalence (regular expressionsDFA),
and the characterization of context-free languages by pushdown automata are a standard mathematical reading, not formalized separately; the undecidability of the top (REhalting) is the diagonal of 15.3.
E/R/R Analysis: The Ladder as a Gradient of Roles
Rules (L5). The ordered transition (the step of the automaton) and the production rules of the grammar () constitute the language; the pigeonhole wall is a derived rule that marks out the edge of the floor.
Roles (L4). Memory is a role: finite control, a stack, a bounded tape, a full tape are resource-roles that a computation is entitled to carry. And the class of a language (regular, context-free, …) is a role-tier of the hierarchy: the place the language occupies in the gradient.
Elements (L1P4). Concrete words, the inductive grammar CFG_anbn, concrete automata, finite runs. Not an element: a finite automaton for —it would reify unbounded counting into fixed memory (the pigeonhole rules it out).
| Component | What it determines | E/R/R category |
|---|---|---|
| transition ; grammar rules ; the pigeonhole wall | the constitution and the edge of the language | Rule (L5) |
| memory (control / stack / tape); the class of a language as a tier | the resource and the place in the gradient | Role (L4) |
words; the grammar CFG_anbn; automata; runs | finitely actual bearers | Element (L1P4) |
P4 diagnostics. The ladder is a gradient of role-limits: “what a rung cannot do” is a role-limit relative to its memory; the floor is an Element (decidable); the ascent—the addition of memory—is an approach to the absolute role-limit (halting). In particular, is not an absolute role-limit but a role-limit relative to finite memory: add a stack, and it becomes an Element of the next tier (hence the caution: nonregular uncomputable). To require finite memory to recognize is to reify a role-limit into the Element floor: a level confusion, which the pigeonhole rules out.
What the Chapter Has Prepared
The floor has been laid (finite memory: decidable membership), the ceiling found (pigeonhole / pumping), the first rung climbed concretely ( is generated by the grammar but recognized by no DFA—hence ), and the whole Chomsky hierarchy has been read as one Element / role-limit gradient, marked out by memory. The whole proved layer of the chapter is 0-axiom and machine-checked: DFA / NFA, the regular Element floor, pumping / pigeonhole, the nonregularity of , and the first strict rung. The upper tiers are honestly named as a standard reading, not passed off as checked.
The very top of the ladder—membership in a recursively enumerable language—is semi-decidable and reduces to halting (): this is exactly the role-limit whose engine is the fixed-point diagonal. Chapter 15.3 opens this engine: one diagonal driving halting, Rice, Cantor, and Kolmogorov.
Part: Part XV. Computation and the Finitization Boundary · Volume: “Mathematics”
Navigation: ← Chapter 1. Computation as Finitization · Chapter 3. One Diagonal: Halting, Rice, Cantor, Kolmogorov →
Footnotes
-
The mechanics of finite automata is in
src/stdlib/Automata.v(DFA/NFA). The Element floor issrc/cs/RegularElementFloor.v(9 Qed, 0 axioms):run(the run of the automaton over a word),accepts(acceptance),membership_decidable(the decidability of membership),complement_spec; closure under intersection and union is via the product of automata (dprod,run_prod,intersection_spec,union_spec). ↩ -
src/cs/PumpingRoleLimit.v(11 Qed, 0 axioms): a revisited state is a loop (loop_pump), pumping preserves the final state (pump_preserves); the language isword_a,word_b,In_L; the letter counterscF/cTand the balanceanbn_balanced(if , then ). ↩ -
The unconditional absence of a DFA is
src/cs/PumpingPigeonhole.v(4 Qed, 0 axioms): the pigeonhole on prefix states (gpref,gpref_collision) givesno_dfa_for_anbn_unconditional. ↩ -
src/cs/ChomskyHierarchy.v(8 Qed, 0 axioms):CFG_anbn(the rules ),CFG_anbn_iff_In_L(the grammar generates EXACTLY ),regular_recognized(formally: “some DFA recognizes”),regular_subsetneq_context_free(the strict inclusion). ↩