Documentation

ReflectiveSubsystems.BlockPairHost

The finite autonomous host carrying the certified block-pair design #

BlockPairProfile.lean certifies a single period-(2 * (2 * M)) * 24 sequence of ±1 values. This file wraps that sequence into a finite autonomous host: a length-8 window over a counter valued in ZMod ((2 * (2 * M)) * 24), stepped by ReflectiveSubsystems.noisyStep on a tape bit read off the design itself rather than supplied from outside.

The tape bit at u is defined to be exactly the bit the noisy window chain's own recursion needs in order to carry the design forward — tape compares the design's value at u against its value eight steps back, and the identity that makes this work is a plain two-Bool tautology. Started at the design's own length-8 window, the host therefore reproduces the design along its orbit exactly (update_iterate_designWindow), and every state of the host — not only the designed one — lies on a cycle of the full period: the difference between any two orbits sharing a counter evolves by a fixed rotation of the window coordinates, independent of the tape (windowXor_update_iterate), and that rotation's own period divides 8, which divides the design's period.

Main results #

Scope #

No claim about the design's own statistical or correlation content is repeated here — that is BlockPairProfile.lean's business. This file states only what the host does with the design once it is read as a tape: it reproduces it, and every state of the machine is periodic.

The pure rotation of Fin 8 #

The coordinatewise difference of two windows.

Equations
Instances For

    The fixed rotation of window coordinates: v ↦ (v 1, …, v 7, v 0), windowMap's own shape without the final complement.

    Equations
    Instances For

      rot8 iterated any multiple of 8 times is the identity.

      The difference-rotation lemma. One step of the noisy window chain, applied to two windows under the same noise bit, moves their coordinatewise difference by rot8 alone: the tape bit written to the last coordinate cancels, and the complement windowMap applies there cancels too.

      The design, its tape, and one step of the host #

      def ReflectiveSubsystems.BlockPairHost.designObs (M : ℕ) [NeZero (2 * (2 * M))] (u : ZMod (2 * (2 * M) * 24)) :

      The certified block-pair design, read as a Boolean observation: true exactly where the design's value is -1.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def ReflectiveSubsystems.BlockPairHost.tape (M : ℕ) [NeZero (2 * (2 * M))] (u : ZMod (2 * (2 * M) * 24)) :

        The tape's own bit at u: whether the design agrees with its value eight steps back. Solved for tape, this is exactly the bit the noisy window chain's recursion needs to carry the design from u - 8 to u.

        Equations
        Instances For
          def ReflectiveSubsystems.BlockPairHost.update (M : ℕ) [NeZero (2 * (2 * M))] :
          (Fin 8 → Bool) × ZMod (2 * (2 * M) * 24) → (Fin 8 → Bool) × ZMod (2 * (2 * M) * 24)

          One step of the finite autonomous host: the window steps by the noisy window chain's own update on the tape bit at the counter's next position, while the counter itself advances by one.

          Equations
          Instances For
            def ReflectiveSubsystems.BlockPairHost.designWindow (M : ℕ) [NeZero (2 * (2 * M))] (c : ZMod (2 * (2 * M) * 24)) :
            Fin 8 → Bool

            The design's own length-8 window ending at counter c: the oldest coordinate first.

            Equations
            Instances For

              The designed orbit #

              theorem ReflectiveSubsystems.BlockPairHost.update_iterate_designWindow (M : ℕ) [NeZero (2 * (2 * M))] (c : ZMod (2 * (2 * M) * 24)) (t : ℕ) :
              (update M)^[t] (designWindow M c, c) = (designWindow M (c + ↑t), c + ↑t)

              The designed orbit. Started at the design's own window ending at counter c, the host's state after t steps is the design's window ending t further along.

              theorem ReflectiveSubsystems.BlockPairHost.update_iterate_last (M : ℕ) [NeZero (2 * (2 * M))] (c : ZMod (2 * (2 * M) * 24)) (t : ℕ) :
              ((update M)^[t] (designWindow M c, c)).1 7 = designObs M (c + ↑t)

              The window's last coordinate along the design's own orbit reproduces the design at the counter: the sequence emitted along the orbit is the design.

              theorem ReflectiveSubsystems.BlockPairHost.update_iterate_period (M : ℕ) [NeZero (2 * (2 * M))] (c : ZMod (2 * (2 * M) * 24)) :
              (update M)^[2 * (2 * M) * 24] (designWindow M c, c) = (designWindow M c, c)

              The designed state returns after one full period. Automatic in ZMod ((2 * (2 * M)) * 24), since the period itself casts to 0 there.

              Every state is periodic #

              theorem ReflectiveSubsystems.BlockPairHost.windowXor_update_iterate (M : ℕ) [NeZero (2 * (2 * M))] (c : ZMod (2 * (2 * M) * 24)) (w1 w2 : Fin 8 → Bool) (t : ℕ) :
              windowXor ((update M)^[t] (w1, c)).1 ((update M)^[t] (w2, c)).1 = rot8^[t] (windowXor w1 w2)

              The difference-rotation lemma, carried along the host's own orbit. Two states sharing a counter differ, after t steps, by rot8 iterated t times on their starting difference.

              theorem ReflectiveSubsystems.BlockPairHost.update_iterate_period_all (M : ℕ) [NeZero (2 * (2 * M))] (w : Fin 8 → Bool) (c : ZMod (2 * (2 * M) * 24)) :
              (update M)^[2 * (2 * M) * 24] (w, c) = (w, c)

              The parallel-cycle theorem. Every state of the host — not only the designed one — lies on a cycle of the full period: the difference from the designed orbit evolves by rot8 alone (windowXor_update_iterate), and rot8's own period divides 8, which divides the design's period, so the difference — and with it the state itself — returns unchanged.