Documentation

ReflectiveSubsystems.TapeHostWitness

The finite autonomous host is a member of ๐’ฎ_L, over an arbitrary window-deviation profile #

BlockPairWitness.lean exhibits the certified block-pair host as a member of the learning route-class ๐’ฎ_L ([Inevitability] ยง2 Definition 2.3), with E1 drawn from the host's own dynamics. This module exhibits the SAME construction over an arbitrary observation sequence o : ZMod N โ†’ Bool, at any window-deviation Profile (TapeHostObservability.lean): the profile-class ๐’ฎ_L criterion โ€” the block-pair pipeline's witness layer with its sequence and its profile made parameters, and its regularity/capacity numerals (K, gTS) made parameters as well, IN-24's coupling standard rather than the certified instance's fixed K = 108, gTS = 2.

The embedding mirrors BlockPairWitness's own: subUpdate splits its memory into a code region (8 cells, the committed literal), a window (8 cells), and a finite binary counter register (Nat.size N cells) tracking the host's own phase. The realization theorem projects onto tapeUpdate's own (window, counter) pair and reuses tapeUpdate_iterate_designWindow as a black box, so the code invariant is the only genuinely new induction here โ€” BlockPairWitness's own structure, verbatim.

Main results #

Scope #

Deliberately out of scope, as TapeHostObservability.lean's: ๐’ฎ_E and the overlap question โ€” TapeHostOverlap.lean's business. The paper home is [Inevitability] ยง5 Theorem 5.8(a)(b), row IN-37, which registers the certified instance's membership at the boundary stated there; this module's own criterion is IN-24's coupled standard, not that registered boundary.

The memory layout #

@[reducible, inline]

The witness's cell index: 8 code cells, 8 window cells, and a finite binary counter register of Nat.size N cells, replacing the chain witness's unconsumed noise stream.

Equations
Instances For
    @[reducible, inline]

    The witness's memory, in [Decoupling]'s own shape: one Bool per cell.

    Equations
    Instances For

      The code region: the cells holding the committed literal.

      Equations
      Instances For

        The code region has exactly 8 cells.

        Reading the rule off the code cells, ReflectiveSubsystems.Wit.decodeRule re-typed on the host's own index.

        Equations
        Instances For

          The finite binary counter register, and its round trip #

          c.val stays below 2 ^ Nat.size N, for any c : ZMod N.

          Reading the counter register: the finite binary word the register cells carry, read as a ZMod N value via finFunctionFinEquiv.

          Equations
          Instances For

            Writing the counter register: the binary word representing c.val, well-defined since c.val < N < 2 ^ (Nat.size N).

            Equations
            Instances For

              The update, its loading, and the observation #

              def ReflectiveSubsystems.TapeHost.subUpdate (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) (s : Mem N) :
              Mem N

              One step of the host's own dynamics: code copied, window shifts with the noise cell replaced by the tape bit the rule computes at the next counter, counter written one step ahead.

              Equations
              Instances For
                def ReflectiveSubsystems.TapeHost.load (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) (c : ZMod N) :
                Mem N

                Loading the host's own designed window into the memory.

                Equations
                Instances For

                  The observation the substrate emits: its window's oldest bit.

                  Equations
                  Instances For

                    (S1): the code is read-only, and the update nonetheless reads it #

                    (S1) by construction.

                    theorem ReflectiveSubsystems.TapeHost.subUpdate_reads_code (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) :
                    โˆƒ (s : Mem N) (s' : Mem N), (โˆ€ x โˆ‰ codeRegion N, s x = s' x) โˆง subUpdate N o s โ‰  subUpdate N o s'

                    The update genuinely consults its code region.

                    The realization theorem: the substrate's own process IS the host #

                    theorem ReflectiveSubsystems.TapeHost.readCounter_iterate_load (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) (c : ZMod N) (t : โ„•) :
                    readCounter N ((subUpdate N o)^[t] (load N o c)) = c + 7 + โ†‘t

                    The counter register's own orbit, in closed form.

                    theorem ReflectiveSubsystems.TapeHost.readObs_iterate_load (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) (c : ZMod N) (t : โ„•) :
                    readObs N ((subUpdate N o)^[t] (load N o c)) = o (c + โ†‘t)

                    The realization theorem. Reading the substrate's own observation cell along its own update's orbit, from its own loaded state, reproduces o exactly โ€” pointwise, with no measure theory anywhere.

                    def ReflectiveSubsystems.TapeHost.substrateTraj (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) (c : ZMod N) :
                    โ„• โ†’ Bool

                    The substrate's OWN observation process, read along its own orbit from its own loaded state.

                    Equations
                    Instances For

                      The substrate's own process is traj.

                      theorem ReflectiveSubsystems.TapeHost.substrate_mixingHoeffding_schedule (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) {S : โ„} {ฯ W : Fin 8 โ†’ โ„} (h : Profile o S ฯ W) (a : Fin 8) (ฯˆ : Bool โ†’ Bool โ†’ โ„) (hฯˆ : โˆ€ (u v : Bool), |ฯˆ u v| โ‰ค 1) :
                      MixingHoeffding ((โ†‘(Fintype.card (ZMod N)))โปยน โ€ข โˆ‘ c : ZMod N, MeasureTheory.Measure.dirac (substrateTraj N o c)) (pairEnsemble ฯˆ (โ†‘a) 8) (pairMean ฯˆ + pairCoefAB ฯˆ * ฯ a) ((2 * S + W a) ^ 2 / (2 * Real.log 2))

                      The schedule theorem, restated on the substrate's own process. The finite average of the per-phase Dirac laws over substrateTraj (not merely traj, though provably the same law) satisfies E1 at any Profile โ€” the substrate's own emitted process, not a process identified with it after the fact.

                      Realizability, and the profile-class criterion #

                      Realizability, named on the host. The loaded code decodes to literal 0, and the substrate's own observation process obeys that literal's rule up to the tape bit.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem ReflectiveSubsystems.TapeHost.tape_density (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) :
                        2 * โ†‘{u : ZMod N | tape o u = true}.card = โ†‘N + โˆ‘ u : ZMod N, chi (o u) * chi (o (u - 8))

                        The tie between the derived tape's density and o's own exact cyclic lag-8 correlation. ฯ‡(x) ยท ฯ‡(y) = 1 when x = y and -1 otherwise, so the tape's own single-site sum, doubled, is N (the number of positions) plus the signed count of agreements minus disagreements โ€” exactly o's own lag-8 correlation sum. No field of Profile/SubstrateL consumes this; it is stated beside the membership as the tie behind the derived tape's declared density.

                        theorem ReflectiveSubsystems.TapeHost.substrateL (N : โ„•) [NeZero N] (o : ZMod N โ†’ Bool) {S : โ„} {ฯ W : Fin 8 โ†’ โ„} (h : Profile o S ฯ W) (K : โ„) (gTS : โ„•) (hK : 8 + โ†‘(capacity (Nat.clog 2 (gTS + 1))) โ‰ค K) {ฮท ฯ„ : โ„} (hฮท : 0 โ‰ค ฮท) (hฯ„ : 2 * ฮท โ‰ค ฯ„) :
                        SubstrateL (subUpdate N o) (codeRegion N) 3 K (2 * K) 1 2 3 (1 / 2) 8 gTS True True True True (Realizable N o) (ChainWindowBudget 8 ฮท ฯ„)

                        The profile-class criterion. At any window-deviation Profile, and any (K, gTS) clearing 8 + capacity(โŒˆlogโ‚‚(gTS+1)โŒ‰) โ€” IN-24's coupling standard, K and gTS made parameters rather than the certified instance's fixed K = 108, gTS = 2 โ€” the host is a member of ๐’ฎ_L: L := 2 * K, the rest fixed at r = 3, cโ‚€ = 1, cโ‚ = 2, cโ‚‚ = 3, ฮด = 1/2, sCodeSize = 8 (codeRegion_ncard). RegimeWithDepth follows from hK via 3 ยท log 6 โ‰ค 6 โ‰ค 8 โ‰ค K (Real.exp_one_gt_d9 squared gives 6 < exp 2, hence log 6 < 2, via Real.log_le_iff_le_exp); ReflectiveCapacity is hK itself. assumptionA/benignSeparation are facts about Fin 8 alone (ReflectiveSubsystems.sqDim_singleLiteral_le), reused verbatim from BlockPairWitness's own proof; e1 is substrate_mixingHoeffding_schedule at a = 0, ฯˆ = pairChar.