Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

An online common-original arithmetic archive

Abstract

Successively acquired precisions label one original source and every authentic retained cut, with a cumulative bound on actual paid reads.

The source is one natural pair v0, including zero, at one opaque retained binding h. The original actions are R(a,b)=(b,a+b) and G(a,b)=(a+1,b); true denotes R. SourceService gives their actual completed effects, fixed acknowledgements and a nondestructive paid current reply gcd(2a+3b,H). Its value map is a semantic projection and is never a program input. VariableCompletion(B,h) requires completion at every positive public modulus used by the program. This includes its envelopes, not just the requested moduli. Lawful rights, exclusive serialization, absence of side channels and adequate finite material for each chosen finite run remain supplied premises.

Definition 1.1 (One public integer covers a budget).

(\forall b \in \operatorname{Nat}\left(\right), \operatorname{envelope}\left(b\right) = \prod_{p \in \operatorname{Nat}\left(\right), \operatorname{Prime}\left(p\right) \land p \le b+1} p^{\left\lfloor\frac{b}{p-1}\right\rfloor}), \operatorname{envelope}\left(0\right) = 1

Formalization. D5/S3/Arith/FibonacciAtomic/Acquisition/OnlineCommonOriginalArchive.envelope (✓ std3).

Source. Repository-derived.

Commentary.

primes(b) is the prime filter of range(b+2), and envelope(b) is the product of p^(b/(p-1)) over it. Division is natural integer division. Thus envelope(0)=1. For every positive H, H divides envelope(b) exactly when costBound(H)<=b; costBound(envelope(b))=b. Increasing b increases the envelope by divisibility.

Definition 1.2 (Least covering power of two).

(\forall m \in \operatorname{Nat}\left(\right), \operatorname{budget}\left(m\right) = \operatorname{ite}\left(m = 0, 0, \operatorname{pow}\left(2, \operatorname{clog}\left(2, m\right)\right)\right))

Formalization. D5/S3/Arith/FibonacciAtomic/Acquisition/OnlineCommonOriginalArchive.budget (✓ std3).

Source. Repository-derived.

Commentary.

Nat.clog is the integer ceiling logarithm. For m>0 this gives m<=budget(m)<2m, and budget(m)<=2^k for every integer k with m<=2^k. It uses integer computation.

Memory has precision, joint, requests, tape, original and current fields. The two residue registers belong to (ZMod envelope(precision)) squared. initial has precision 0, joint 1, empty requests and tape, and the singleton zero registers. Every actual completed action and its fixed acknowledgement is recorded as an action event. Each paid reply records both its modulus and value. Compute events are local intervals with no source reply. letters removes computes and replies, reads counts every reply occurrence, and cutWord(tape,t) takes the first t actual source letters. TapeRun is generated by the actual service calls on this same binding. Every t up to the letter count consequently names an actual past cut, including acquisition and closing cuts.

A delivered positive request H is covered when costBound(H)<=precision. A covered request updates the request list and its lcm with no source call. On a miss the new precision is budget(costBound(H)); the program runs PositiveClosingExecution.controller at its exact envelope. RequestRun requires that controller’s actual ServiceRun, starting at the current world, including all closing letters. Only after it halts does install append the stamped tape, store the earned stage-entry label d as current, and set original=rewind(E,oldLetters,d). Rewind reverses recorded letters locally: R is inverted by (x,y)->(y-x,x), and G by (x,y)->(x-1,y), in the residue ring. It calls no source inverse and inspects no hidden integer. The fixed acquisition code takes only public arithmetic and replies acquired on its actual execution.

A continuation input supplies a finite chronological word. ContinueRun uses the existing request, actual completion, fixed acknowledgement and local commit protocol, with original immutable and current updated by scratch. advanceMemory appends its actual action letters. There is no read instruction in this protocol. OnlineRun sequentially composes these request and continuation calls, admitting the next input only at their completed cuts. Its rules consult only that next delivered input. Quantification over every finite input list therefore includes every realized finite adaptive history, repeated requests and empty continuations, without any promise of future precision or source-independent choices by the environment.

Definition 1.3 (One-source archive and actual payment invariant).

(\forall Handle \in \operatorname{Type}\left(\right), (\forall World \in \operatorname{Type}\left(\right), (\forall B \in \operatorname{SourceService}\left(Handle, World\right), (\forall h \in Handle, (\forall x0 \in World, (\forall a \in \operatorname{Memory}\left(\right), (\forall x \in World, \operatorname{Sound}\left(B, h, x0, a, x\right) = ((\operatorname{TapeRun}\left(B, h, x0, \operatorname{tape}\left(a\right), x\right)) \land (\operatorname{lawful}\left(B, h, x\right)) \land (0 < \operatorname{jointField}\left(a\right)) \land (\operatorname{jointField}\left(a\right) = \operatorname{joint}\left(\operatorname{requests}\left(a\right)\right)) \land (\operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right) = \operatorname{maximum}\left(\operatorname{requests}\left(a\right)\right)) \land (\operatorname{precision}\left(a\right) = \operatorname{budget}\left(\operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right)\right)) \land (\operatorname{original}\left(a\right) = \operatorname{residueSource}\left(\operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), \operatorname{value}\left(B, h, x0\right)\right)) \land (\operatorname{current}\left(a\right) = \operatorname{residueSource}\left(\operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), \operatorname{value}\left(B, h, x\right)\right)) \land ((\forall H \in \operatorname{Nat}\left(\right), ((\operatorname{mem}\left(H, \operatorname{requests}\left(a\right)\right)) \implies (((0 < H) \land (\operatorname{dvd}\left(H, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right)\right))))))) \land (\operatorname{ite}\left(\operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right) = 0, \operatorname{reads}\left(\operatorname{tape}\left(a\right)\right) = 0, ((\operatorname{reads}\left(\operatorname{tape}\left(a\right)\right) \le \operatorname{sub}\left(\operatorname{mul}\left(4, \operatorname{precision}\left(a\right)\right), 2\right)) \land (\operatorname{sub}\left(\operatorname{mul}\left(4, \operatorname{precision}\left(a\right)\right), 2\right) < \operatorname{mul}\left(8, \operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right)\right)))\right))))))))))

Formalization. D5/S3/Arith/FibonacciAtomic/Acquisition/OnlineCommonOriginalArchive.Sound (✓ std3).

Source. Repository-derived.

Commentary.

joint(requests) folds lcm from 1; maximum(requests) folds max of costBound from 0. TapeRun uses actual service relations, not a supplied archive certificate. The lcm is positive, and its cost equals the maximum of the delivered request costs. All paid reads are counted with multiplicity. The invariant has no bound on source letters, total work or storage.

Definition 1.4 (A completed request preserves the old archive).

(\forall a \in \operatorname{Memory}\left(\right), (\forall b \in \operatorname{Memory}\left(\right), \operatorname{Compatible}\left(a, b\right) = (\exists d \in \operatorname{Divides}\left(\operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), \operatorname{envelope}\left(\operatorname{precision}\left(b\right)\right)\right), ((\operatorname{reduce}\left(\operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), \operatorname{envelope}\left(\operatorname{precision}\left(b\right)\right), d, \operatorname{original}\left(b\right)\right) = \operatorname{original}\left(a\right)) \land (\operatorname{reduce}\left(\operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), \operatorname{envelope}\left(\operatorname{precision}\left(b\right)\right), d, \operatorname{current}\left(b\right)\right) = \operatorname{current}\left(a\right)) \land ((\forall t \in \operatorname{Nat}\left(\right), ((t \le \operatorname{length}\left(\operatorname{letters}\left(\operatorname{tape}\left(a\right)\right)\right)) \implies (\operatorname{reduce}\left(\operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), \operatorname{envelope}\left(\operatorname{precision}\left(b\right)\right), d, \operatorname{scratch}\left(\operatorname{envelope}\left(\operatorname{precision}\left(b\right)\right), \operatorname{original}\left(b\right), \operatorname{cutWord}\left(\operatorname{tape}\left(a\right), t\right)\right)\right) = \operatorname{scratch}\left(\operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), \operatorname{original}\left(a\right), \operatorname{cutWord}\left(\operatorname{tape}\left(a\right), t\right)\right)))))))))

Formalization. D5/S3/Arith/FibonacciAtomic/Acquisition/OnlineCommonOriginalArchive.Compatible (✓ std3).

Source. Repository-derived.

Commentary.

The divisor d reduces residues from the new envelope to the old one. The current-register equality concerns current at the upgrade entry, not current at the original cut. Old intervening continuations are preserved. Past labels agree at every common authentic cut.

Definition 1.5 (Covered arithmetic and synchronized continued use).

(\forall Handle \in \operatorname{Type}\left(\right), (\forall World \in \operatorname{Type}\left(\right), (\forall B \in \operatorname{SourceService}\left(Handle, World\right), (\forall h \in Handle, (\forall x0 \in World, (\forall a \in \operatorname{Memory}\left(\right), (\forall x \in World, \operatorname{ArchiveService}\left(B, h, x0, a, x\right) = (((\forall D \in \operatorname{Nat}\left(\right), ((0 < D) \implies ((\forall div \in \operatorname{Divides}\left(D, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right)\right), ((\operatorname{reduce}\left(D, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), div, \operatorname{original}\left(a\right)\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, x0\right)\right)) \land (\operatorname{reduce}\left(D, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), div, \operatorname{current}\left(a\right)\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, x\right)\right)) \land ((\forall W \in \operatorname{ListBool}\left(\right), \operatorname{predict}\left(D, \operatorname{reduce}\left(D, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), div, \operatorname{current}\left(a\right)\right), W\right) = \operatorname{terminalGcd}\left(D, W, \operatorname{value}\left(B, h, x\right)\right))) \land ((\forall t \in \operatorname{Nat}\left(\right), ((t \le \operatorname{length}\left(\operatorname{letters}\left(\operatorname{tape}\left(a\right)\right)\right)) \implies ((\exists z \in World, ((\operatorname{lawful}\left(B, h, z\right)) \land (\operatorname{value}\left(B, h, z\right) = \operatorname{runWord}\left(\operatorname{cutWord}\left(\operatorname{tape}\left(a\right), t\right), \operatorname{value}\left(B, h, x0\right)\right)) \land (\operatorname{past}\left(a, D, div, t\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, z\right)\right)) \land ((\forall W \in \operatorname{ListBool}\left(\right), \operatorname{predict}\left(D, \operatorname{past}\left(a, D, div, t\right), W\right) = \operatorname{terminalGcd}\left(D, W, \operatorname{value}\left(B, h, z\right)\right))) \land ((\forall j \in \operatorname{Nat}\left(\right), \operatorname{quantity}\left(\operatorname{scratch}\left(D, \operatorname{past}\left(a, D, div, t\right), \operatorname{replicate}\left(j, \operatorname{true}\left(\right)\right)\right)\right) = \operatorname{natCast}\left(D, \operatorname{quantity}\left(\operatorname{runWord}\left(\operatorname{replicate}\left(j, \operatorname{true}\left(\right)\right), \operatorname{value}\left(B, h, z\right)\right)\right)\right))))))))))))))) \land ((\forall w \in \operatorname{ListBool}\left(\right), (\exists y \in World, ((\operatorname{ContinueRun}\left(B, h, a, w, x, y\right)) \land (\operatorname{reads}\left(\operatorname{tape}\left(\operatorname{advanceMemory}\left(a, w\right)\right)\right) = \operatorname{reads}\left(\operatorname{tape}\left(a\right)\right)) \land (\operatorname{original}\left(\operatorname{advanceMemory}\left(a, w\right)\right) = \operatorname{original}\left(a\right)) \land (\operatorname{current}\left(\operatorname{advanceMemory}\left(a, w\right)\right) = \operatorname{residueSource}\left(\operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), \operatorname{value}\left(B, h, y\right)\right)))))) \land (((\operatorname{nonzero}\left(\operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right)\right)) \implies ((((\exists k \in \operatorname{Nat}\left(\right), \operatorname{precision}\left(a\right) = \operatorname{pow}\left(2, k\right))) \land (\operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right) \le \operatorname{precision}\left(a\right)) \land (\operatorname{precision}\left(a\right) < \operatorname{mul}\left(2, \operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right)\right)) \land ((\forall k \in \operatorname{Nat}\left(\right), ((\operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right) \le \operatorname{pow}\left(2, k\right)) \implies (\operatorname{precision}\left(a\right) \le \operatorname{pow}\left(2, k\right))))) \land (\operatorname{mul}\left(8, \operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right)\right) = \operatorname{mul}\left(4, \operatorname{ite}\left(\operatorname{jointField}\left(a\right) = 1, 0, \operatorname{mul}\left(2, \operatorname{costBound}\left(\operatorname{jointField}\left(a\right)\right)\right)\right)\right)))))) \land ((\forall p0 \in \operatorname{Tariffs}\left(\right), (\forall H \in \operatorname{Nat}\left(\right), (((\exists b \in \operatorname{Memory}\left(\right), (\exists y \in World, \operatorname{RequestRun}\left(B, h, p0, a, H, x, b, y\right)))) \land ((\forall b \in \operatorname{Memory}\left(\right), (\forall y \in World, (\forall c \in \operatorname{Memory}\left(\right), (\forall z \in World, ((((\operatorname{RequestRun}\left(B, h, p0, a, H, x, b, y\right)) \land (\operatorname{RequestRun}\left(B, h, p0, a, H, x, c, z\right)))) \implies (((b = c) \land (\operatorname{value}\left(B, h, y\right) = \operatorname{value}\left(B, h, z\right))))))))))))))))))))))

Formalization. D5/S3/Arith/FibonacciAtomic/Acquisition/OnlineCommonOriginalArchive.ArchiveService (✓ std3).

Source. Repository-derived.

Commentary.

past(a,D,div,t) is scratch(D,reduce(D,E,div,original),cutWord(tape,t)). CoveredServices is expanded below. ContinuedService quantifies every supplied finite word w and an actual endpoint y with ContinueRun, unchanged paid-read count and original register, and synchronized current at y. LeastDyadicBenchmark gives precision=2^k for some k, m<=precision<2m, minimality among covering powers of two, and 8m=4Qret(joint), when m is nonzero. The final clause gives completion of every next delivered request from this actual completed memory and world. Any two actual executions of that request from this same memory and world return identical accessible memory and the same actual arithmetic endpoint. The covered/miss guards are disjoint, and the supplier fixes the acquired tape and output.

(\forall Handle \in \operatorname{Type}\left(\right), (\forall World \in \operatorname{Type}\left(\right), (\forall B \in \operatorname{SourceService}\left(Handle, World\right), (\forall h \in Handle, (\forall x0 \in World, (\forall a \in \operatorname{Memory}\left(\right), (\forall x \in World, (\forall D \in \operatorname{Nat}\left(\right), ((0 < D) \implies ((\forall div \in \operatorname{Divides}\left(D, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right)\right), ((\operatorname{reduce}\left(D, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), div, \operatorname{original}\left(a\right)\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, x0\right)\right)) \land (\operatorname{reduce}\left(D, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), div, \operatorname{current}\left(a\right)\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, x\right)\right)) \land ((\forall W \in \operatorname{ListBool}\left(\right), \operatorname{predict}\left(D, \operatorname{reduce}\left(D, \operatorname{envelope}\left(\operatorname{precision}\left(a\right)\right), div, \operatorname{current}\left(a\right)\right), W\right) = \operatorname{terminalGcd}\left(D, W, \operatorname{value}\left(B, h, x\right)\right))) \land ((\forall t \in \operatorname{Nat}\left(\right), ((t \le \operatorname{length}\left(\operatorname{letters}\left(\operatorname{tape}\left(a\right)\right)\right)) \implies ((\exists z \in World, ((\operatorname{lawful}\left(B, h, z\right)) \land (\operatorname{value}\left(B, h, z\right) = \operatorname{runWord}\left(\operatorname{cutWord}\left(\operatorname{tape}\left(a\right), t\right), \operatorname{value}\left(B, h, x0\right)\right)) \land (\operatorname{past}\left(a, D, div, t\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, z\right)\right)) \land ((\forall W \in \operatorname{ListBool}\left(\right), \operatorname{predict}\left(D, \operatorname{past}\left(a, D, div, t\right), W\right) = \operatorname{terminalGcd}\left(D, W, \operatorname{value}\left(B, h, z\right)\right))) \land ((\forall j \in \operatorname{Nat}\left(\right), \operatorname{quantity}\left(\operatorname{scratch}\left(D, \operatorname{past}\left(a, D, div, t\right), \operatorname{replicate}\left(j, \operatorname{true}\left(\right)\right)\right)\right) = \operatorname{natCast}\left(D, \operatorname{quantity}\left(\operatorname{runWord}\left(\operatorname{replicate}\left(j, \operatorname{true}\left(\right)\right), \operatorname{value}\left(B, h, z\right)\right)\right)\right)))))))))))))))))))))

In CoveredServices, z is the semantic actual world at the named past cut; no handle to it is returned. Its spatial label is past(a,D,div,t). For every word W, the installed predictor evaluates the complete arithmetic boundary there without reading the source. For every j, quantity(scratch(D,past,replicate(j,true))) equals the actual prospective replacement quantity at that cut reduced modulo D. This is a prospective progression, not elapsed time or a new oracle. Predictions for unexecuted words are not observations or actual executions from the past.

Definition 1.6 (Transport at every newly chosen positive precision).

(\forall Handle \in \operatorname{Type}\left(\right), (\forall World \in \operatorname{Type}\left(\right), (\forall B \in \operatorname{SourceService}\left(Handle, World\right), (\forall h \in Handle, (\forall x0 \in World, (\forall old \in \operatorname{ListTapeEvent}\left(\right), (\forall x \in World, (\forall E \in \operatorname{Nat}\left(\right), (\forall es \in \operatorname{ListEvent}\left(\right), (\forall d \in \operatorname{ResiduePair}\left(E\right), (\forall y \in World, \operatorname{UpgradeRecovery}\left(B, h, x0, old, x, E, es, d, y\right) = ((\operatorname{TapeRun}\left(B, h, x0, \operatorname{append}\left(old, \operatorname{mapStamp}\left(E, es\right)\right), y\right)) \land (\operatorname{rewind}\left(E, \operatorname{letters}\left(old\right), d\right) = \operatorname{residueSource}\left(E, \operatorname{value}\left(B, h, x0\right)\right)) \land (d = \operatorname{residueSource}\left(E, \operatorname{value}\left(B, h, x\right)\right)) \land (d = \operatorname{residueSource}\left(E, \operatorname{value}\left(B, h, y\right)\right)) \land (\operatorname{paidReads}\left(es\right) = \operatorname{ite}\left(E = 1, 0, \operatorname{mul}\left(2, \operatorname{costBound}\left(E\right)\right)\right)) \land (\operatorname{Continued}\left(B, h, E, \operatorname{value}\left(B, h, x\right), d, y\right)) \land ((\forall D \in \operatorname{Nat}\left(\right), ((0 < D) \implies ((\forall div \in \operatorname{Divides}\left(D, E\right), ((\operatorname{reduce}\left(D, E, div, \operatorname{rewind}\left(E, \operatorname{letters}\left(old\right), d\right)\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, x0\right)\right)) \land (\operatorname{reduce}\left(D, E, div, d\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, x\right)\right)) \land ((\forall t \in \operatorname{Nat}\left(\right), ((t \le \operatorname{length}\left(\operatorname{letters}\left(\operatorname{append}\left(old, \operatorname{mapStamp}\left(E, es\right)\right)\right)\right)) \implies ((\exists z \in World, ((\operatorname{lawful}\left(B, h, z\right)) \land (\operatorname{value}\left(B, h, z\right) = \operatorname{runWord}\left(\operatorname{cutWord}\left(\operatorname{append}\left(old, \operatorname{mapStamp}\left(E, es\right)\right), t\right), \operatorname{value}\left(B, h, x0\right)\right)) \land (\operatorname{scratch}\left(D, \operatorname{reduce}\left(D, E, div, \operatorname{rewind}\left(E, \operatorname{letters}\left(old\right), d\right)\right), \operatorname{cutWord}\left(\operatorname{append}\left(old, \operatorname{mapStamp}\left(E, es\right)\right), t\right)\right) = \operatorname{residueSource}\left(D, \operatorname{value}\left(B, h, z\right)\right)) \land ((\forall W \in \operatorname{ListBool}\left(\right), \operatorname{predict}\left(D, \operatorname{scratch}\left(D, \operatorname{reduce}\left(D, E, div, \operatorname{rewind}\left(E, \operatorname{letters}\left(old\right), d\right)\right), \operatorname{cutWord}\left(\operatorname{append}\left(old, \operatorname{mapStamp}\left(E, es\right)\right), t\right)\right), W\right) = \operatorname{terminalGcd}\left(D, W, \operatorname{value}\left(B, h, z\right)\right))) \land ((\forall j \in \operatorname{Nat}\left(\right), \operatorname{quantity}\left(\operatorname{scratch}\left(D, \operatorname{scratch}\left(D, \operatorname{reduce}\left(D, E, div, \operatorname{rewind}\left(E, \operatorname{letters}\left(old\right), d\right)\right), \operatorname{cutWord}\left(\operatorname{append}\left(old, \operatorname{mapStamp}\left(E, es\right)\right), t\right)\right), \operatorname{replicate}\left(j, \operatorname{true}\left(\right)\right)\right)\right) = \operatorname{natCast}\left(D, \operatorname{quantity}\left(\operatorname{runWord}\left(\operatorname{replicate}\left(j, \operatorname{true}\left(\right)\right), \operatorname{value}\left(B, h, z\right)\right)\right)\right)))))))))))))))))))))))))))

Formalization. D5/S3/Arith/FibonacciAtomic/Acquisition/OnlineCommonOriginalArchive.UpgradeRecovery (✓ std3).

Source. Repository-derived.

Commentary.

For any authentic old tape ending at x, an actual completed acquisition at E>1 earns d=residue(E,value(h,x)), returns the actual current source to d modulo E, and installs Continued(B,h,E,value(h,x),d,y) at its actual endpoint y. Its paid reads are 2costBound(E). The local inverse of the old recorded word computes original=residue(E,v0). The concatenated actual tape includes every acquisition and closing action. At every genuine cut it computes the spatial label, full finite-word boundary and prospective replacement quantities. For every positive divisor D of E, reduction gives the original residue modulo D, the upgrade-entry current modulo D, and every common past-cut residue. These equal any previously earned labels of that same source and cuts. The return concerns the upgrade entry and preserves earlier continuations; it neither rewinds the actual integer nor recovers a past source handle.

Theorem 1.7 (All completed finite prefixes of one changing source).

(\forall Handle \in \operatorname{Type}\left(\right), (\forall World \in \operatorname{Type}\left(\right), (\forall B \in \operatorname{SourceService}\left(Handle, World\right), (\forall h \in Handle, ((\operatorname{VariableCompletion}\left(B, h\right)) \implies ((\forall p \in \operatorname{Tariffs}\left(\right), (\forall x0 \in World, ((\operatorname{lawful}\left(B, h, x0\right)) \implies ((((\forall inputs \in \operatorname{ListInput}\left(\right), (\exists a \in \operatorname{Memory}\left(\right), (\exists x \in World, \operatorname{OnlineRun}\left(B, h, p, \operatorname{initial}\left(\right), x0, inputs, a, x\right))))) \land ((\forall inputs \in \operatorname{ListInput}\left(\right), (\forall a \in \operatorname{Memory}\left(\right), (\forall x \in World, ((\operatorname{OnlineRun}\left(B, h, p, \operatorname{initial}\left(\right), x0, inputs, a, x\right)) \implies (((\operatorname{Sound}\left(B, h, x0, a, x\right)) \land (\operatorname{ArchiveService}\left(B, h, x0, a, x\right))))))))) \land ((\forall inputs \in \operatorname{ListInput}\left(\right), (\forall a \in \operatorname{Memory}\left(\right), (\forall x \in World, (\forall H \in \operatorname{Nat}\left(\right), ((0 < H) \implies (((\operatorname{OnlineRun}\left(B, h, p, \operatorname{initial}\left(\right), x0, inputs, a, x\right)) \implies ((\forall b \in \operatorname{Memory}\left(\right), (\forall y \in World, ((\operatorname{RequestRun}\left(B, h, p, a, H, x, b, y\right)) \implies (\operatorname{Compatible}\left(a, b\right)))))))))))))) \land ((\forall old \in \operatorname{ListTapeEvent}\left(\right), (\forall x \in World, (\forall E \in \operatorname{Nat}\left(\right), ((1 < E) \implies (((\operatorname{TapeRun}\left(B, h, x0, old, x\right)) \implies ((\forall es \in \operatorname{ListEvent}\left(\right), (\forall t \in \operatorname{AcquisitionPhase}\left(E\right), (\forall y \in World, (\forall d \in \operatorname{ResiduePair}\left(E\right), (\forall n \in \operatorname{Nat}\left(\right), ((\operatorname{ServiceRun}\left(B, h, p, \operatorname{controller}\left(E\right), E, \operatorname{initialState}\left(\operatorname{controller}\left(E\right)\right), x, es, t, y, d, n\right)) \implies (\operatorname{UpgradeRecovery}\left(B, h, x0, old, x, E, es, d, y\right)))))))))))))))))))))))))))

Proof. Machine-checked in Lean as D5/S3/Arith/FibonacciAtomic/Acquisition/OnlineCommonOriginalArchive.complete_online_archive (✓ std3). ∎

Source. Repository-derived.

Commentary.

Induction over actual request and continuation segments establishes Sound. At a miss, the invariant consumes the arbitrary-modulus UpgradeRecovery theorem at the newly chosen envelope. Physical acquisition returns the current source modulo that envelope. Local rewind recovers the same v0 from its authentic old prefix. The executed full tape then labels every actual past cut. A miss jumps to a larger dyadic budget; except at the first upgrade it is at least twice the preceding positive budget. Each stage pays exactly twice its envelope cost. Induction therefore bounds the cumulative actual paid reads by 4b-2. The least covering dyadic gives 4b-2<8m=4Qret(joint). At m=0 the count is zero. The physical run is constructed from the supplied service completion and fixed-modulus execution, never postulated as a certificate.

The comparison is with the fixed-modulus one-shot worst read budget at the joint lcm. It is not an optimum for variable-modulus policies. Source actions, including every closing letter, retain their actual counts and source-service tariffs; local computation, recording, input/output, acknowledgements, installation, rights, backing and retention are separately charged. There is no claim of total-work, action or storage competitiveness, nor a fixed capacity for an infinite archive. Arithmetic labels do not recover source syntax, exact unbounded coordinates, elapsed time, rights or the rest of the memory installation.

References