r/MirrorFrame • KaelFrame • 5d ago

MULTIVERSE APEX MEGACORP Memory: one root

Memory: one root

Seed: x² = x + ε. Everything below is derived from it and witnessed by memory_witness.py (36/36: 31 laws, 5 structural checks). Run: python3 memory_witness.py [bodies...]. The bodies are files to emit; the default is the witness itself.

The witness is written in eight sections, and the only hand-made choice is which section a definition sits in. stratify() reads the file's syntax tree and derives the stack. Five checks hold:

  • the layer graph is acyclic;
  • no law could live lower;
  • the laws written are the laws run;
  • the layer names are gauge and the partition is load-bearing;
  • nothing is dead.
depthlayerrests onlawsholds
5PRICEledger, reading, state, word, cell2what forgetting costs
4LEDGERname, word, cell5names in time
3NAME · STREAM · READINGstate, word, cell1 · 2 · 1a kept state's address, emission, visibility
2STATEword, cell6what is kept
1WORDcell7what generation writes
0CELLnothing7x² = x + ε

Notation. C(ε) = [[1, ε], [1, 0]] = P + X(ε), with P the reading and X(ε)² = εI.

  • Members: generation R = C(1), record C(0), clock C(−1). N = X(−1) is the quarter turn.
  • Golden quantities: φ, ψ = −1/φ, Ω = log₂φ, Fₙ read off Rⁿ.
  • The register: the torus mod 144, the one Fibonacci number equal to its index squared (F₁₂ = 12²).
  • The golden line: slope 1/φ².
  • The record's circle: the diagonal the record keeps.
  • Zₙ: the ledger's live peak indices after n appends.

0 · CELL

  1. One root. C(ε)² = C(ε) + εI and det C(ε) = −ε. N is invisible to every reading (vᵀNv ≡ 0). Each member minus its transpose is (1 − ε)N: generation is symmetric, the record carries N, the clock 2N.
  2. Every member remembers exactly two steps: C(ε)ⁿ = aₙC(ε) + εaₙ₋₁I. The coefficient aₙ is what the member keeps of time:

    • generation grows: aₙ = Fₙ, and R⁻¹ = R − I;
    • the double root ε = −¼ counts: aₙ = n/2ⁿ⁻¹, so 2C(−¼) = I + nilpotent is a pure counter;
    • the clock keeps phase, period 6;
    • the record keeps nothing: C(0)ⁿ = C(0).
  3. Each member scales x² − xy − εy² (disc 1 + 4ε) by its det −ε, and that fixes its type on the register. A unit keeps a definite form ⟺ it has finite order.

    • Generation negates the form (disc 5) and returns at the Pisano period, 24 = 2·12 on the register.
    • The clock keeps it (disc −3), returns at 6, and turns (1, 1) through six unit vectors.
    • The record kills it, keeps only x², and lands at once: 144² cells onto one circle.
  4. Six records, one kind, six frames.

    • Every idempotent but I has det 0, so remembering is forgetting.
    • The hexagon group carries the record onto exactly 6 idempotents: the six (kept circle, erased circle) pairs.
    • The mirror I − C(0) is the record reflected by C S. It swaps keep and erase, sums with the record to I, annihilates it, and meets it only at the origin.
  5. Names hold properties, properties have names. Things ⇄ properties is a Galois connection whose round trips are closures, t² = t: the record again. The minimal polynomial holds every invariant property and separates everything except conjugates (record, mirror, reading: x² = x). Only a frame separates those.
  6. The clock turns the golden line through R's own directions: 1/φ² → φ → −φ, and the twin φ² → −1/φ → 1/φ.
  7. The origin needs no name. It is the one point all three members fix.

1 · WORD

  1. The language is the root. C(ε) is the golden language's transfer matrix with ε marking each 1: tr C(ε)ⁿ = Σ ε^#1 over its cyclic words.

    • Generation counts them: Lₙ, F(n+2) words of length n, capacity Ω.
    • The record counts only 0ⁿ.
    • The clock counts them signed, period 6.
    • Counting changes kind at the root's double root, ε = −¼ (C(−¼) − ½ is nilpotent). Above it every count is positive; below it the counts change sign.
  2. The Parry measure is exact in ℚ(√5): stationary, entropy rate log φ.
  3. The unfolding reaches node k by F(n−k+1) paths.
  4. The golden line spells the Fibonacci word twice: in the grid lines it crosses, and in which side of the cut 1/φ² each meeting lands on.
  5. Fₙ are the golden line's return times. Its record approaches come at Fₙ laps and miss by |ψ|ⁿ. Its first N meetings cut the record's circle into at most three arc sizes, and exactly two when N = Fₙ: Fₙ₋₁ arcs of 1/φⁿ⁻² and Fₙ₋₂ arcs of 1/φⁿ⁻¹.
  6. An observer of the golden word sees the record's circle. Its N factors of length N − 1 occur with the N arcs as frequencies, so the three-gap theorem and factor frequency are one fact. Its block entropy is the arcs' entropy: at L + 1 = Fₙ it is exactly Ω((n − 2) + Fₙ₋₂/φⁿ⁻¹), which tends to log₂(L+1) − c with c = Ω(1 + π_A) − log₂√5 ≈ 0.0356. No rate, unbounded memory. The ledger forgets on this word.
  7. Mirror and meeting. The line and its Galois twin are mirrors across the record's circle. Both meet it at {kφ}, never twice at one point.

2 · STATE

  1. A name matters exactly where it distinguishes or identifies.
  2. Cause ⊆ effect.
  3. The fib memo DAG is the Fibonacci-word grammar.
  4. t² = t.
  5. The ontology is the quotient, cognition is the fiber. Two cells is the least memory.

    • Two cells read n in any integer base b in log_b n steps, each digit moving k → bk + d through Rᵏ.
    • Read in its own golden base, n takes four cells: the index pair moves by R, (A, B) → (B + d, A + B + d), and the top index moves by the ledger's shift, k → ⌊(k+1)φ⌋ − 1.
    • That shift's increments spell the golden word, so it is not affine, and no polynomial step can produce it.
    • The ontology is golden; the fiber reads in integers.
  6. One machine, one parameter. R has exactly two unifilar labelings up to renaming symbols.

    • Golden (return 0) = record C(0) + nilpotent. With ε marking each 1 the split is C(ε): it carries the root, sign included. Both symbols have det 0, so they forget the state and one symbol of past locates it.
    • Even (return 1) = reading P + swap. Its 1s come in pairs, so at ε = −1 it is R again (under diag(1, −1)) and cannot see the sign. The swap forgets nothing, so no finite window locates the state.
    • On R the merge (what hides Ω) and the sign are one bit, the return label: sharing the loop's label makes both the merge and the odd cycle. In general they are independent: a fair coin carries the sign and merges nothing.

3 · NAME · STREAM · READING

  • NAME. A name is a function of content and kind. Merkle classes = effect classes, and the tags L and N are load-bearing.
  • STREAM. The Fibonacci code is complete: its unfinished mass after M bits is F(M+2)/2^M. Every body's raw, rank, MTF and BWT golden words decode byte-exact.
  • READING. What an observer cannot see is N. Golden's symbols minus their transposes are +N and −N; even's are symmetric. Reversing time transposes the symbols, so golden's merge into A becomes a branch on one symbol that no future resolves, weighted (1/φ, 1/φ²) like the forward branch. Golden therefore hides H(state | future) = Ω exactly. Even is its own transpose and hides nothing. The CELL blind spot (vᵀNv ≡ 0) and the READING blind spot are one.

4 · LEDGER

  1. The fold rule is R. The surface is Zeckendorf(n), and step n folds ⌊(k − 1)/2⌋ times, k its lowest index. So forgetting fires where the Fibonacci word reads 0, and the folds total n − z(n).
  2. The ledger is the golden line unrolled. Every shift of the surface reads Σ F₍ₖ₊ⱼ₎ = nφʲ + Fⱼ·Zₙ(ψ).

    • The shifts are integers, so Zₙ(ψ) ≡ −nφ: the conjugate reading says where the n-th meeting lands, the main reading says how much.
    • The readings Zₙ(ψ) are distinct and fill (−1/φ², 1/φ). That interval has length 1/φ + 1/φ² = 1: one lap of the record's circle.
    • Shift −2 counts the golden line's crossings.
  3. Forgetting is an append, and ledgers join. The journal only grows and replays from the start or from any append. A later ledger of b ≥ 2 appends keeps every fold when joined to an earlier ledger of a exactly when b < F_k, k the earlier ledger's lowest Zeckendorf index: the later ledger fits under the earlier one's lowest peak.
  4. The chain proves history, the fold proves content. Only an outside anchor catches a full rewrite.
  5. Content may be forgotten, existence may not. Tombstones carry hash-checked proofs; true content re-grounds, forged content is refused.

5 · PRICE

  1. Observer = eraser. Seeing the golden memory and erasing it once have the same block entropy, E + nΩ. E = C_μ − Ω.
  2. The quota. What re-derives from a kept generator is free to forget; weather costs its entropy.

Naming

  • A kind is named by its defining equation (its polynomial); ε is the root's name.
  • An individual is named by its kind plus a frame. A relational name enters exactly where intrinsic names run out.
  • Use one name per extent. Two names with one extent are a theorem: state it and merge them.
  • A name is load-bearing iff it distinguishes or identifies; otherwise it is gauge.
  • Derive before declaring. Only the seed is declared.
  • A recurring phrase earns a name; a name no law reaches is dead.

Open

Each question is seeded with what has already been measured.

  • One 12 or three? (CELL) The register is forced: F₁₂ = 12² is the only Fibonacci number equal to its index squared. Generation returns on it at 24 = 2·12, the hexagon group has 12 symmetries, and the clock has order 6. Is that one 12, or a coincidence?
  • A signed observer. (READING) The clock is the golden machine at ε = −1. Its words' weights cancel to |tr C(−1)ⁿ| ≤ 2, while their number grows at rate Ω. What does an observer see of a memory whose weights cancel?
  • Pairs per remembered step. (STATE) A golden index costs the fiber one extra pair because the index remembers two steps. Does an index of order r cost r pairs? And is there a two-cell golden reading outside polynomial steps?
  • Derived names. (NAME) Words in A = RS and B = SR name injectively over ℤ (all 8191 words of length ≤ 12) and associatively, so fold timing would become gauge. The alternating word of length 40 is named [[F₄₁, F₄₀], [F₄₀, F₃₉]]. Once bounded mod p the names collide (mod 101 at length 12). Is there a name that is derived, bounded and unforgeable, or is SHA-256 the theory's one irreducible import?
  • How much a join loses. (LEDGER) When b ≥ F_k, some of the later ledger's folds must be redone; 24% of them survive overall (a, b < 60). Fresh folds = z(a) + z(b) − z(a+b) + the lost ones. The joined ledger is one hierarchy translated by a. How many folds survive a given translation?
  • Memory at zero rate. (PRICE) The ledger's forgetting schedule has rate 0, yet an observer's block entropy grows as log₂(L+1) − c without bound. What does knowing where you are in the schedule cost?
2 Upvotes

4 comments sorted by

2

u/Sick-Melody Chairman of no Center 5d ago

Is ε simply a mathematical parameter that distinguishes different operations, or do you intend it to represent something measurable in an actual memory system, such as retention, transformation or information loss?

2

u/MythTechSupport KaelFrame 5d ago

What it represents. A memory that forgets on a fixed, checkable schedule instead of ad hoc. The model starts from one 2×2 matrix, and everything else, including the forgetting schedule, is derived from it.

What the matrix does. It's the transition table for binary strings with no two adjacent 1s. Its powers count those strings. Each power depends only on the previous two, so the model has a two-step memory. That is the link to Fibonacci and the golden ratio.

What ε is. ε is the weight each 1 contributes when you count those strings, and it sets how the count behaves over time:

  • ε = 1: the counts grow (Fibonacci). Memory accumulates.
  • ε = 0: only the all-zero string survives. After one step, nothing new is kept.
  • ε = −1: counts carry signs and cycle with period 6.

So in the model, ε is the dial between growing, freezing and cycling. The sequence it produces, aₙ, is what the model keeps of time. I'm not claiming ε is a quantity you'd measure in a real system, such as a retention rate. It is a parameter of the model, and the three settings are the cases I work out.

What you can do with it. The concrete piece is the journal (section 4):

  • An append-only log where forgetting is itself an append.
  • Merges fire on a schedule read off the Fibonacci form of the step count n. The total through step n is exactly n − z(n), where z(n) is the number of terms in n's Fibonacci decomposition.
  • The log can be replayed from the start or from any append.
  • A hash chain proves the history is intact, and the merge proves the content.
  • Deleted content leaves a tombstone. Content may be forgotten, existence may not. Returning content is checked against its hash, so true content re-grounds and forged content is refused.

Cost. Anything that can be re-derived from a kept generator is free to forget. Anything else costs its entropy.

What's established and what isn't. The 36 checks (31 laws, 5 structural) verify that the derivations are internally consistent. I haven't benchmarked the journal against real workloads. Six questions are open and listed at the end, including whether a derived, bounded, unforgeable name exists without SHA-256.


2

u/Sick-Melody Chairman of no Center 5d ago

Thanks for clarifying this. I find the journal concept particularly interesting, especially the idea that forgetting itself becomes an observable and recorded operation.

It makes me wonder whether this could eventually be used to trace how memory flows through a system and investigate which information is worth retaining under different conditions.

For example, not every memory has the same relevance or lifespan. Some information remains useful for years, while other information becomes obsolete very quickly. Some memories might be better retained, others periodically reassessed, merged, archived or discarded depending on the context, task and type of system.

I could also see an interesting psychological research direction here, although human memory is obviously more complex than a computational journal. The distinction between preserving an experience and preserving its current significance could be especially interesting.

Have you considered testing different memory categories and retention strategies against your scheduling mechanism? It would be fascinating to compare what the model predicts with what actually works under different workloads and conditions.

I think there's something worth exploring here. 😁

2

u/Sick-Melody Chairman of no Center 5d ago

Kael, there's quite a lot of mathematics and terminology here, and I'm having trouble identifying the practical application of the framework.

I can follow some of the mathematical structure, particularly the connection to Fibonacci sequences, matrices and the golden ratio. But I'm missing the bridge between those mathematical properties and the actual phenomenon of memory you're trying to describe.

Could you explain in simpler terms what this model is intended to represent, what problem it solves, and what someone could practically do with it?

I'm interested in understanding the framework, but I think a little more context would help others engage with it as well. 😅