Documentation

ReflectiveSubsystems.GrowingComposite

The growing composite: a noisy window chain over a growing autonomous source ([Growth] §3) #

NonautonomousFactor.lean states the semiconjugacy at an arbitrary carrier and stress-tests it against a single accretive tape; this file composes that tape's own growing-source variant with NoisyWindowChain.lean's chain, so the chain's noise is no longer supplied from outside the world but emitted by the world's own growing state.

The composite carrier pairs a length-k window with an append-only tape (ReflectiveSubsystems.Mem ℕ ℕ): seqWrite is ReflectiveSubsystems.tapeWrite with the fresh cell carrying the emitted noise bit instead of a constant, and compUpdate steps the window by ReflectiveSubsystems.noisyStep on exactly the bit seqWrite records that step — so the tape is the consumed-noise history, and the composite's window coordinate, read off the tape's own orbit, is the chain's windowAt at the word the tape writes (windowFst_iterate_compUpdate).

Against that composite, the counter-free reading transports NonautonomousFactor.lean's guard verbatim — no autonomous law reads the window alone once the source is non-constant — while the counter-including reading closes a semiconjugacy exactly as tapeRead does.

The second half addresses the escape not_mixingHoeffding_of_periodic_ne's trap needs: eventual periodicity of the observation process, not periodicity of the noise stream and not unsatisfiability of the trap's hypothesis (hper is empirical-mean constancy, which a non-periodic stream can satisfy). EventuallyPeriodic transports between a stream and its chain observation in both directions (eventuallyPeriodic_of_eventuallyPeriodic_obs, eventuallyPeriodic_obs_of_eventuallyPeriodic), so a composite whose source is not eventually periodic provably never takes the route the trap needs (not_eventuallyPeriodic_obs_of_not) — while ReflectiveSubsystems.quietStream, [Inevitability] §6 Theorem 6.6(v″)'s designed source, sits on the forced side (eventuallyPeriodic_obs_quietStream).

The Dirac reading of MixingHoeffding turns the hypothesis, at a single fixed trajectory, into an elementary arithmetic bound (mixingHoeffding_dirac_iff, mixingHoeffdingTo_dirac_iff) — consumed verbatim by the oracle corollaries, which quantify over the measure.

Finally mephisto/mephDecim name a concrete non-constant source — the Mephisto Waltz's parity of ternary digit-2 count, pattern-decimated against disjoint width-4 blocks matched to the word 0111 — witnessing the window-only guard's hypothesis at a decidable instance.

Main results #

Scope #

The emit index (s 0 + 1) is seqWrite's own local convention, matching windowAt_succ's own noise offset exactly, and nothing here claims a different one is unavailable. Deliberately not proved here, and stated as the honest boundary: mephDecim's own non-eventual-periodicity (an open question — the conditional transport above carries the structure without it) and any Dirac convergence rate for it (the Dirac iff above is exactly the named-hypothesis form MixingHoeffding/MixingHoeffdingTo already are; nothing here proves an instance of either at mephDecim). No empirical figures — densities or fitted constants — appear in this file.

The parametric growing source, and the composite world #

The parametric growing source: ReflectiveSubsystems.tapeWrite with the fresh cell carrying the emitted bit ξ instead of a constant.

Equations
Instances For

    seqWrite is positively invariant on the landed binary tape fibers. positivelyInvariant_tapeFiberB's own proof shape, with the constant fresh bit replaced by ξ's: a Bool.toNat is at most one.

    def ReflectiveSubsystems.compUpdate (k : ℕ) [NeZero k] (ξ : ℕ → Bool) :
    (Fin k → Bool) × Mem ℕ ℕ → (Fin k → Bool) × Mem ℕ ℕ

    The composite carrier's update: the window steps by ReflectiveSubsystems.noisyStep on exactly the bit seqWrite records this step, so the tape is the consumed-noise history.

    Equations
    Instances For

      The composite's fibers: an arbitrary window, over the landed binary tape fibers.

      Equations
      Instances For

        The composite is positively invariant on its own fibers.

        The orbit bridge #

        theorem ReflectiveSubsystems.windowFst_iterate_compUpdate (k : ℕ) [NeZero k] (ξ : ℕ → Bool) (w₀ : Fin k → Bool) (t : ℕ) :
        ((compUpdate k ξ)^[t] (w₀, fun (x : ℕ) => 0)).1 = windowAt k (fun (u : ℕ) => if h : u < k then w₀ ⟨u, h⟩ else ξ (u - k + 1)) t

        The orbit bridge. Started at an initial window w₀ and an empty tape, the composite's window coordinate at time t is the chain's own windowAt at the concatenated word: w₀'s bits, then the emitted stream ξ.

        The guard and the square #

        theorem ReflectiveSubsystems.not_exists_semiconj_windowOnly (k : ℕ) [NeZero k] (ξ : ℕ → Bool) {u v : ℕ} (hne : ξ (u + 1) ≠ ξ (v + 1)) :
        ¬∃ (F : (Fin k → Bool) → Fin k → Bool), Nonautonomous.Semiconj (compUpdate k ξ) F (fun (x : ℕ) (p : (Fin k → Bool) × Mem ℕ ℕ) => p.1) (compFiber k)

        The guard, transported. The window-only reading admits no autonomous guest law over the composite's product fibers once the source's emitted bits differ at the two fibers compared: two states sharing a window force the guest law to send that reading to noisyStep's value at both noise bits, and noisyStep_ne_of_ne says those differ — ReflectiveSubsystems.not_exists_semiconj_tapeDecode's pattern, transported from the tape's counter to the window's own noise argument.

        def ReflectiveSubsystems.counterLaw (k : ℕ) [NeZero k] (ξ : ℕ → Bool) :
        (Fin k → Bool) × ℕ → (Fin k → Bool) × ℕ

        The counter-including autonomous law, driving the composite's noise from a bare time counter instead of the tape.

        Equations
        Instances For
          theorem ReflectiveSubsystems.semiconj_compUpdate_counter (k : ℕ) [NeZero k] (ξ : ℕ → Bool) :
          Nonautonomous.Semiconj (compUpdate k ξ) (counterLaw k ξ) (fun (x : ℕ) (p : (Fin k → Bool) × Mem ℕ ℕ) => (p.1, p.2 0)) (compFiber k)

          The square. With the counter included in the reading, counterLaw closes the semiconjugacy against the composite's own update — ReflectiveSubsystems.semiconj_tapeRead's pattern, transported.

          The guest's own growth, at no further cost: positivelyInvariant_imageFiber applied to the square above.

          Eventual periodicity: the transport, and the contrast guard #

          The load-bearing direction. Eventual periodicity of the chain's observation forces eventual periodicity of the source: obs_add solves for the noise bit at every step, so a period of the observation transports to the source verbatim, past a threshold shifted by the window length.

          Completing the iff. Eventual periodicity of the source transports to the chain's observation, at period k * (2 * P): obs_xor_obs_add_mul at d = 2 * P splits, via ReflectiveSubsystems.par_add, into two P-blocks whose terms agree past the threshold — each term of the second block is a source value k * P past the matching term of the first, and the source is P-periodic there — so the two parities cancel and the xor is false.

          The escape, as a contrapositive of the load-bearing direction. A source that is not eventually periodic gives an observation process that is not eventually periodic either — so the route ReflectiveSubsystems.not_mixingHoeffding_of_periodic_ne's trap needs, over such a composite, does not exist.

          The contrast ([Growth] §3). ReflectiveSubsystems.quietStream, the designed source of [Inevitability] §6 Theorem 6.6(v″), sits on the forced side: past its last firing the noise reads identically false, so obs_add gives a plain alternation and the observation is eventually periodic at period 2 * k.

          The Dirac reading of MixingHoeffding #

          theorem ReflectiveSubsystems.mixingHoeffding_dirac_iff {X : Type u_1} [MeasurableSpace X] (ω₀ : ℕ → X) (Z : ℕ → (ℕ → X) → ℝ) (predZ c : ℝ) (hc : 0 < c) (hmeas : ∀ (i : ℕ), Measurable (Z i)) :
          MixingHoeffding (MeasureTheory.Measure.dirac ω₀) Z predZ c ↔ ∀ (n : ℕ), 1 ≤ n → |SQOracle.empiricalMean Z n ω₀ - predZ| ≤ √(2 * c * Real.log 2 / ↑n)

          The Dirac reading of MixingHoeffding. At a single fixed trajectory ω₀, the FJS-shaped hypothesis reduces to an explicit per-n bound on the empirical deviation: the tail bound clears one exactly when τ ≤ √(2c·ln 2 / n). The oracle corollaries quantify over the measure, so this instance is consumed by them verbatim.

          theorem ReflectiveSubsystems.mixingHoeffdingTo_dirac_iff {X : Type u_1} [MeasurableSpace X] (ω₀ : ℕ → X) (Z : ℕ → (ℕ → X) → ℝ) (predZ c : ℝ) (N : ℕ) (hc : 0 < c) (hmeas : ∀ (i : ℕ), Measurable (Z i)) :
          MixingHoeffding.MixingHoeffdingTo N (MeasureTheory.Measure.dirac ω₀) Z predZ c ↔ ∀ (n : ℕ), 1 ≤ n → n ≤ N → |SQOracle.empiricalMean Z n ω₀ - predZ| ≤ √(2 * c * Real.log 2 / ↑n)

          The finite-horizon Dirac reading. The same equivalence for MixingHoeffdingTo, with n ≤ N added on both sides — the form current truth takes for a candidate whose Dirac rate is established only in bounded form.

          The named source instance #

          The Mephisto Waltz: the parity of the count of the ternary digit 2 — a classical 3-automatic sequence.

          Equations
          Instances For

            The pattern-decimated source: disjoint width-4 blocks of the Mephisto Waltz matched against the word 0111.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem ReflectiveSubsystems.not_exists_semiconj_windowOnly_mephDecim (k : ℕ) [NeZero k] :
              ¬∃ (F : (Fin k → Bool) → Fin k → Bool), Nonautonomous.Semiconj (compUpdate k mephDecim) F (fun (x : ℕ) (p : (Fin k → Bool) × Mem ℕ ℕ) => p.1) (compFiber k)

              The instantiation. mephDecim witnesses the window-only guard's hypothesis: its values at 1 and 2 differ.

              Axiom audit #

              Every capstone above is #print axioms-clean on the standard triple or a subset of it, and the guards below make that build-enforced.