FORGET — when a state provably no longer holds a datum

The object: a history space H with a positive weight π or a family π_β of them, β > 0; a datum X, any function of history to be forgotten; and a state map Φ, the still-working present. The datum's posterior at a state s is π conditioned on the fiber Φ⁻¹(s) and pushed to X. The question is when a state provably no longer holds X, what buys that at every weight, how the answer moves when X is coarsened, and what is left of it when the state must keep computing a function of history. A grown world gives the weights by THERMAL's thermal law with its admissible set replaced by a menu, the finitely many moves offered at each step, possibly depending on the route so far where MEMORY's depends on the state alone, each move m multiplying the state by m and drawn with probability m^−β / Ψ, Ψ the sum of n^−β over the moves n offered, a history being the route of moves from the state 1. There Φ is the dated state, the integer a route reaches with its move count, unless a section takes another.

The thesis: in a grown world, hiding the route at every β from the dated state or any refinement of it costs prime recycling, and hiding the i-th move costs recycling the primes of a move at position i or before, its own on routes sharing the moves before it (The quarantine theorem). Forgetting is graded fiber by fiber, from readable through spread and tuned to robust (The four grades). A witness, a factoring of the history with the datum's slot uniformly weighted or a symmetry of the normalizers, buys the robust grade but is not needed: a recycling world can be robust for the route with none, on fibers of two routes and of three (factoring the whole history leaves one state), while a world that never recycles (The quarantine theorem) is robust for the route on no dated fiber, the histories sharing a state and a move count, their age, written (state, age), holding two routes or more. Readability passes from a datum to its functions and flatness does not. A state that must keep computing a function g can forget X across a g-fiber only by cutting it into blocks each spread and flat, a cure (The working clause): two classes cure only where g already does, at equal weights a cure exists iff no class holds a majority, and a coarser g keeps a cure all its finer fibers had and can drop one only some had.

The four grades

Tier: property; observation (the breadth world's 363 fibers).
Verifier: proof; forget.py::section_grades.

A fiber is readable when it meets one class of X, and the state then reads X. It is spread when it meets two or more, and then flat at a weight when the classes it meets carry equal mass there: flat, it hides X there, and spread but not flat, it leaks X. A spread fiber flat at some members of the family but not every one is tuned, and one flat at every member is robust. So a fiber has one of four grades: readable, spread and flat at no member, tuned, or robust. Flatness is uniformity behind what the state pins, not posterior = prior: a grown world's state is its present, which in general informs its past.

A world is given by its menus, a state with none listed offering no move. Spread does not bring flat. The breadth world, the squarefree moves 2 to 30 coprime to the state, holds each route's moves distinct and in every order at every multi-route fiber, the moves being pairwise coprime, and none of the 363 to age 3 is flat for the route at β = 1. The tuned world, menu(1) = {2, 3}, menu(2) = {3, 5, 15}, menu(3) = {2, 10}, is flat for the route at fiber (6, 2) at β = 1, where Ψ(2) = Ψ(3) = 3/5, with normalizers that differ as functions of β, and its odds of 2,3 against 3,2 are 117/70 at β = 2.

Two witnesses buy the robust grade

Tier: theorem.
Verifier: proof; forget.py::section_factoring, forget.py::section_grades.

Factoring. Let H = 𝒳 × R, π_β(x, r) = μ(x) ν_β(r) and Φ(x, r) = h(r). Then the posterior of X, the 𝒳 slot, is μ at every state and every β, so every fiber is robust when μ is uniform on two or more values. Conversely, posterior = prior under every product weight holds only when Φ ignores the 𝒳 slot. Normalizer symmetry. On a dated fiber of a grown world holding two routes or more, if the multisets of the normalizers each route passes before its endpoint agree, as functions of β, the fiber is robust for the route.

Proof. The fiber of s is 𝒳 × h⁻¹(s), on which X is distributed as μ. Conversely, on a fiber F with sections F_x = {r : (x, r) ∈ F} the posterior is proportional to μ(x) ν(F_x), so it is μ for every μ iff ν(F_x) is the same for every x; a ν with generic values separates distinct subsets, so the sections coincide and F = 𝒳 × F_x. For the symmetry, the route-weight cancellation (MEMORY: The route-weight cancellation) makes the route posterior proportional to the product of 1/Ψ over the states it passes before its endpoint, and equal multisets have equal products.

The depth column, the constant menu {2, 3}, has one normalizer, so every dated fiber holding two routes or more is robust for the route.

The quarantine theorem

Tier: theorem.
Verifier: proof; quarantine.py::section_arms, quarantine.py::section_last, firstmove.py::main, diverge.py::main, ithmove.py::controls, peel.py::main.

A grown world recycles when some menu a route meets offers a move sharing a prime with the integer it is offered at, and is coprime otherwise. It avoids position i when every menu a route meets after its i-th move is prime to that move: coprime is avoiding every position, a state being the product of its moves, and first-coprime is avoiding position 1. In a world avoiding every position up to i, no set of routes of one age to one endpoint meeting two i-th moves or more is flat for the i-th move at every β; it is flat at finitely many β at most; a world avoiding position i alone gives this on sets sharing their first i − 1 moves. So two routes first differing at position i never carry equal posteriors at every β where i is avoided, no dated fiber meeting two i-th moves is robust for the i-th move where every position up to i is avoided, none holding two routes or more is robust for the route in a coprime world, at any age, and no state map refining (state, age) cuts such a fiber into blocks each spread and flat at every β for the i-th move where 1 to i are avoided, or for the route in a coprime world. Menus may depend on the whole route so far.

Proof. A route's posterior is proportional to 1/D, D the product of the normalizers it passes (MEMORY: The route-weight cancellation); each Ψ is a Dirichlet polynomial with coefficient 1 at each menu element. Two routes tie when they carry equal posteriors at every β, and the tie is witnessed when their normalizer multisets agree as well. Write x_q = q^−β for each prime q: n^−β is a monomial in the x_q, distinct n giving distinct monomials, and the functions n^−β of β, distinct n, are linearly independent, so an identity in β between sums of 1/D is one of rational functions in independent x_q > 0. Routes sharing their first i − 1 moves pass the same menus up to the i-th, whose Ψ cancel. Each i-th move is prime to every later move of its route, so a unitary divisor of N/s, N the endpoint and s the state the shared prefix reaches, and two i-th moves a ≠ b differ in their primes: say p divides a and not b. Every menu after a route's i-th move a is prime to p, so the sum of 1/D over that class does not move with x_p; a route whose i-th move is b takes p in a later move, whose Ψ holds its monomial with coefficient 1, so its 1/D tends to 0 as x_p grows, the coefficients being nonnegative. The two classes differ, and their difference, cleared, is a nonzero finite sum of exponentials in β, with no more real zeros than sign changes (Laguerre's extension of Descartes' rule; Pólya and Szegő, Problems and Theorems in Analysis II, Part V).

A peel sends x_q to infinity at one first move's primes. Avoiding position 1, distinct first moves differ in their prime sets, as the i-th moves above. Let F be flat for the i-th move at every β, i ≥ 2, and f₀ a first move of F whose prime set no other's strictly contains. Drop the start's Ψ, common to F, and send x_q to infinity at each prime q of f₀ in turn: as above, a route whose first move holds q keeps its 1/D and any other's tends to 0, so what is left is F′, the routes starting f₀, its class sums still equal, so positive, and meeting every class F meets. Read after f₀, its menus menu(f₀, r), F′ is flat for the (i − 1)-th move in a world avoiding every position up to i − 1. So i − 1 peels leave a flat set meeting two i-th moves whose routes share their first i − 1 moves, which the case above bars, position i being avoided. So no such set is flat at every β: two of its class sums differ, their zeros counted as there.

The theorem is sharp menu by menu. Give each k a window S(k), a set of positions up to k, and admit the worlds whose every menu after k moves is prime to the moves at the positions of S(k). The pairs splitting at j are quarantined, none tied, in every admitted world iff j is in S(k) at every k from j to the age less one. If so, an admitted world avoids position j to that age. If not, say j is not in S(k₀), and let W_(j, k₀) take distinct primes q_1, ..., q_(j−1), b, c, r_(j+1), ..., r_(k₀) and offer q_(k+1) after q_1, ..., q_k for k < j − 1, then {b, c}, then r_(k+1) after k moves for j ≤ k < k₀, then {b, c}. Its routes ..., b, r, ..., c and ..., c, r, ..., b reach one endpoint at age k₀ + 1 with one D, a tie splitting at j: every menu but the last offers a fresh prime, and the last meets only the move at position j; fresh singleton menus carry the tie to any later age. A position set T is the window S(k) = T up to k (j quarantined past age j iff j is in T), W_j = W_(j, j) avoiding every position but j; every set meeting two i-th moves is barred from flatness at every β in every world avoiding T iff 1 to i lie in T, by W_(j, i − 1) at j < i and W_i at i. The last move is the window S(k) = {k}, and coprimality cannot be weakened to it: menu() = {2, 3}, menu(2) = {3, 5}, menu(3) = {2, 5}, menu(2, 3) = {2, 5}, menu(3, 2) = {3, 5}, menu(2, 5) = menu(3, 5) = {7}, in that window, avoids every position but 1 and holds (30, 3) at 2,3,5 and 3,2,5 with equal normalizer multisets; first-coprimality does not quarantine the route (W_2); and the depth column, recycling the first move's primes, hides the first move at every β on (2^k 3^k, 2k). The scan finds no tie in 141,216 fibers of two routes or more, of age 2 and 3, over all 87,885 coprime tables of state menus on the moves 2 to 6 with every allowed menu nonempty, counted table by table, nor in random coprime worlds with state or route menus to age 4, and ties where coprimality is weakened or dropped; no fiber meeting two first moves there, or in random first-coprime worlds where routes tie, is flat for the first move; none of 151,073 sets meeting two i-th moves, i ≥ 2, read to age 5 where 1 to i are avoided, is flat for the i-th; and none of 943 ties in random worlds avoiding T, T empty among them, splits in T.

So two routes carry equal posteriors three ways: by normalizer symmetry or by a witness-free design (Recycled worlds need no witness), both at every β and both recycling, or by tuning, at finitely many β, the only way open to a coprime world.

Recycled worlds need no witness

Tier: property.
Verifier: proof; quarantine.py::section_rogue, quarantine.py::section_coarse.

The rogue world, menu(1) = {2, 32}, menu(2) = {2, 4, 8}, menu(16) = {2, 16}, menu(32) = {2, 4}, menu(128) = {2, 8, 32}, holds the dated fiber (256, 3) at exactly 2,8,16 and 32,4,2, robust for the route with normalizer multisets that differ, and three is the least age this takes. The triple world, menu(1) = {2, 4, 8}, menu(2) = {6, 12}, menu(4) = {18, 72}, menu(8) = {2, 32}, menu(16) = {18, 36, 72, 144}, menu(24) = {6, 24, 96, 384}, menu(72) = {2, 4, 32, 64}, holds (2304, 3) at exactly 2,12,96, 4,18,32 and 8,2,144, robust for the route with no two normalizer multisets alike. The coarse world, every move a power of 2, menu(1) = {2, 4, 8, 16}, menu(2) = menu(4) = {4, 8}, menu(8) = {8}, menu(16) = {8, 16}, menu(64) = {2, 4}, menu(128) = {2}, fills (256, 3) with a witness-free tie beside a witnessed one, P = 2,8,16 with Q = 4,4,16 and A = 8,8,4 with B = 16,8,2: the dated state leaks the route at every β but log₂ of the golden ratio (1 + √5)/2, and the blocks {P, Q} and {A, B} are spread and flat at every β, a cure strict at every β but that one (A strict cure needs three classes).

Proof. With x = 2^−β the rogue products are (x + x² + x³)(x + x⁴) and (x + x²)(x + x³ + x⁵), both x² + x³ + ⋯ + x⁷: x² times the two pairings of (1 + x)(1 + x + x²)(1 − x + x²), whose last factor has a negative coefficient and so stands in no menu alone. A fiber of age 1 holds one route, and at age 2 each route passes one state after the start, so a tie is one Ψ equal to another, one menu, the witness. In the triple world, with y = 3^−β, the states 12, 288 and 256 offer nothing, each of 24, 72 and 16 offers one move to 2304, and each product after Ψ(1) is x²y²(1 + x)(1 + x²)(1 + x⁴), split as xy(1 + x)·xy(1 + x²)(1 + x⁴), xy²(1 + x²)·x(1 + x)(1 + x⁴) and x(1 + x⁴)·xy²(1 + x)(1 + x²): the three splittings of (1 + x)(1 + x²)(1 + x⁴) into factors with coefficients 0 and 1, the powers of 3 keeping the routes' states apart. In the coarse world Ψ(2) = Ψ(4) ties P and Q, x³(x + x²) = (x³ + x⁴)x ties A and B, and P's product is A's times x(1 + x), which is 1 only at x = (√5 − 1)/2. Which ties a recycling world can hold at all is COLLIDE: A witness-free tie is a regrouping or passes a seed.

Readability descends, spread ascends, flatness neither

Tier: theorem.
Verifier: proof; forget.py::section_coarsening.

Let f be a function of X's values. A fiber readable for X is readable for f(X), and a fiber spread for f(X) is spread for X. Flatness passes in neither direction. In the depth column at the dated fiber (2^a 3^b, a + b), a, b ≥ 1, the first move is 2 with posterior a/(a + b) at every β: the count leak a/(a + b) − ½, zero only at a = b, in a fiber robust for the route that meets both classes of the first move, so at a ≠ b leaks it without reading it.

Proof. A fiber meeting one class of X meets one of f(X), and one meeting two classes of f(X) meets two of X. Down: a flat posterior pushed through f gives each class of f(X) mass in proportion to the number of X-classes it holds. Up: a class of a flat f(X) may split unevenly, as X's classes of masses ⅓, ⅙ and ½ do when f merges the first two. In the depth column the routes of the fiber are the C(a + b, a) arrangements, equally weighted, and C(a + b − 1, a − 1) of them open with 2.

LEARNER: Exact readout reads the subdominant reads which classes a component meets, never their counts, so it follows readability downward, not this leak.

The working clause

Tier: property.
Verifier: proof; forget.py::section_working.

A state map Φ that must retain a function g of history computes it iff Φ refines g, so the admissible state maps are the interval from g to the discrete partition, and a choice inside one g-fiber constrains no other. A g-fiber is cured at a weight when it can be cut into blocks each spread and flat there, and its price is the fewest blocks. A g-fiber meeting one class of X is readable under every admissible Φ. The laws below read the classes' masses and counts alone, no menu or prime: facts about a finite weighted partition lattice, the grown world supplying the weights.

Two classes cure only where g already does

Tier: theorem.
Verifier: proof; forget.py::section_working, forget.py::section_coarsening.

A g-fiber meeting exactly two classes of X, of masses w₁ and w₂, is cured iff w₁ = w₂, that is, iff Φ = g is already flat there. In the depth column with the dated state retained, the first move leaks at every dated fiber (2^a 3^b, a + b) with a, b ≥ 1 and a ≠ b, and no admissible state map hides it.

Proof. Every spread block holds both classes and a flat one holds them at equal mass; summing over the blocks, w₁ = w₂. The converse is the one-block cut.

The no-majority criterion

Tier: criterion.
Verifier: proof; forget.py::section_working.

On a g-fiber of N equally weighted histories whose classes have counts c₁ ≥ c₂ ≥ … ≥ c_ℓ, a cure exists iff c₁ ≤ N − c₁. Under unequal weights a cure needs the largest class mass to be at most half the fiber's, and that is not enough: exact cuts are subset-mass matching, and three histories in three classes of masses ½, ¼ and ¼ pass the mass test with no cure, the ½ history in no block both spread and flat.

Proof. A block takes t ≥ 0 from class 1 and, being flat and spread, at least t from the others; summing gives necessity, by count or by mass. At even N, list the histories by class and pair the i-th with the (i + N/2)-th: no class fills more than half the list, so every pair holds two classes. At odd N two classes would force c₁ = c₂ and N even, so ℓ ≥ 3; a triple from the three largest classes leaves N − 3 histories whose largest count, c₁ − 1 or c₄, is at most (N − 3)/2 (c₁ ≤ (N − 1)/2 at odd N, c₄ ≤ N/4 ≤ (N − 3)/2 once N ≥ 7, c₄ ≤ 1 at N = 5, and none is left at N = 3), and the even case finishes.

The search agrees at every count vector of 2 ≤ N ≤ 8.

A coarser g keeps a whole cure and can drop a partial one

Tier: theorem.
Verifier: proof; forget.py::section_retention, forget.py::section_coarsening.

Let g′ be coarser than g. A g′-fiber whose g-fibers are all cured is cured, and one whose g-fibers are not can be: at equal weights {x₁, x₂, y₁} and {x₃, y₂, y₃}, at 2:1 and 1:2, have no cure, and their union, 3:3, is one flat block. What retaining less can drop is a cure only some g-fibers had. In the depth column, retain the age alone: the first move is 2 with posterior 3^β/(2^β + 3^β) > 1/2 at every β > 0 and age ≥ 1, a strict majority, so no age fiber is cured, while every dated fiber (2^a 3^a, 2a), a ≥ 1, is flat at every β, and every state map admissible before stays so, the dated state still hiding the first move there.

Proof. The blocks of the g-fibers are blocks of their union, and two unequal classes have no cure (the two-class law). The first move is drawn once from the constant menu and nothing later depends on it, so on the age fiber its posterior is the first step's, 2^−β/(2^−β + 3^−β). A strict mass majority fails the necessity of the no-majority criterion in every partition. On a dated fiber the routes are equally weighted, and at a = b the count leak is zero.

A strict cure needs three classes

Tier: theorem.
Verifier: proof; forget.py::section_retention.

A cure the coarsest state map Φ = g lacks, a strict cure, needs a g-fiber meeting three classes of X or more, and one exists. In the depth column, retain the dated state and, on the dated fiber (24, 4), forget the first two moves: the routes 3222, 2322, 2232 and 2223 give counts (2, 1, 1) and Φ = g gives the classes (½, ¼, ¼), while the blocks {3222, 2232} and {2322, 2223} are spread and flat at every β, price 2.

Proof. One class is readable, and two classes cure only when already flat. In the example the dated fiber's routes are equally weighted, and each block holds one route of the doubled class and one singleton.