Documentation

ReflectiveSubsystems.GrowingSeamWitness

The growing seam, class-level: a fused substitution-fed growing healer world at any source #

([Growth] §4 Theorem 4.7, §5 Definition 5.1 and Theorem 5.3; [Guests] §7 Theorem 7.5; [Inevitability] §5 Theorem 5.11 and Proposition 5.12)

ReflectiveSubsystems.accUpdate appends a constant fresh block on every step, so its emergence skeleton and any observation process it is paired with never interact. This file fuses the two, PARAMETRICALLY in the fed observation o : ℕ → Bool: the appended block carries o's own next value, read off the habitat's own length rather than a separate counter, so block i of the orbit's habitat decodes to o i and the decoded word at time t IS the observation prefix o emits. GrowingHealerWitness's landed machinery — the square, the erasure margin, the extent, the crossing package — transports clause by clause with no restatement and no hypothesis on o at all ([Inevitability] Proposition 5.12(b)): the construction consults o only at the two appended-block sites (seamUpdate, seamLaw), both a function of the habitat's own length, which the erasure margin cannot move. What is new at the class level is seamUpdate / seamLaw themselves, the trajectory identification, and a packed realization of the same habitat, folded into one ReflectiveSubsystems.Mem; the learning route's E1 is now supplied for every o satisfying EnvelopeProfileNat ([Growth] Definition 5.1), via EnvelopeProfileNat.mixingHoeffding ([Growth] Theorem 5.3) at that member's own trend constants, and the window-sufficiency field is carried at a declared budget pair (η, τ) rather than fixed at the degenerate instance. At o = subObs, subObs_envelopeProfile supplies the class hypothesis unconditionally and growingSeam_overlap_subObs recovers [Growth] Theorem 4.7 / [Inevitability] Theorem 5.11 exactly ([Inevitability] Proposition 5.12(c)) — Theorem 5.11 is this file's o-instance and not a separate result.

Main results #

Scope #

The packed realization drops the environment coordinate entirely (ι_J := Empty, so π is forced to the identity): accRead/seamLaw never read it, and Definition 2.3's membership needs one designated instance, not an arbitrary π — a fixed machine cannot realize an arbitrary environment update. The structural clauses above stay quantified over π and ι_J, exactly as GrowingHealerWitness's do. As in GrowingHealerExcess.lean: no description-length pricing appears below, and the reflective reading / budget identification stay at paper level.

SeamHost.witness_substrateE's two emergence fields are seam_outgrows_paMinus's own two components, verbatim — SubstrateE's growsLawfulGuest/grownGuestReachesThreshold fields are CARRIED, uninterpreted Props, so nothing forces either to be stated about the packed carrier SeamHost.update, and no transport through SeamHost.proj_update/SeamHost.proj_iterate is needed. Unlike the finite case (BlockPairHost.witness_substrateE), which takes the crossing clause as a hypothesis fixed once outside any particular host, here it is unconditional: seam_outgrows_paMinus proves it outright, at any o. The class term assembled is not itself the paper's 𝒮_E-membership reading: [Inevitability] §5 Theorem 5.11's status label is explicit that the offer still rides Guests Theorem 7.5's own two paper-level steps — the witness's affordability, and the identification of the guest's budget at each time with its bit count — which this theorem retires neither of.

The fused carrier #

def ReflectiveSubsystems.seamUpdate {ι_J : Type u_1} (k : ℕ) (o : ℕ → Bool) (π : Mem ι_J Bool → Mem ι_J Bool) :
List (Mem (Fin (3 ^ k)) Bool) × Mem ι_J Bool → List (Mem (Fin (3 ^ k)) Bool) × Mem ι_J Bool

The fused update: ReflectiveSubsystems.accUpdate's shape, with the constant appended block encRec k false replaced by encRec k (o s.1.length) — the fed source's next value, read off the habitat's own length.

Equations
Instances For

    The guest's own law: append the source's next value, read off the decoded word's own length — autonomous (a fixed function of the word alone) and injective (a conservation guest).

    Equations
    Instances For

      The update is positively invariant, positivelyInvariant_accUpdate's proof verbatim: appending lengthens the habitat by exactly one block.

      Two reproved bridges #

      GrowingHealerWitness.lean's own decRec_healWorld_eq / healWorld_encRec_eq are private to that file (Lean privacy is file-scoped); both are two-line consequences of healWorld's public definition and decRec_encRec, so they are reproved here rather than exposed or duplicated by open private.

      The square, from every state #

      theorem ReflectiveSubsystems.semiconj_seamRead {ι_J : Type u_1} (k : ℕ) (o : ℕ → Bool) (π : Mem ι_J Bool → Mem ι_J Bool) :

      The semiconjugacy, transported. Both closing identities are decRec_encRec's roundtrip, exactly as semiconj_accRead's proof: healing a block does not move its decode, and the appended block decodes to the fed source's own next value, at any o — the one new step is the length bridge (accRead k t s).length = s.1.length, and the membership in the fiber is not consumed.

      The time-indexed margin, transported #

      theorem ReflectiveSubsystems.seamUpdate_eq_of_sum_lt {ι_J : Type u_1} (k : ℕ) (o : ℕ → Bool) (π : Mem ι_J Bool → Mem ι_J Bool) (t : ℕ) {s : List (Mem (Fin (3 ^ k)) Bool) × Mem ι_J Bool} (hs : s ∈ accCode k t) {s' : List (Mem (Fin (3 ^ k)) Bool) × Mem ι_J Bool} (hlen : s'.1.length = s.1.length) (henv : s'.2 = s.2) (hsum : (List.zipWith hammingDist s'.1 s.1).sum < 2 ^ k) :
      seamUpdate k o π s' = seamUpdate k o π s

      The time-indexed margin, transported. accUpdate_eq_of_sum_lt's proof verbatim: the seam update's appended block is a function of the length alone, so the perturbation hypothesis s'.1.length = s.1.length makes the two appended blocks equal for free, beside the healed-block equality — at any o, since the argument never inspects o's value, only the length it is read at.

      The trajectory identification #

      theorem ReflectiveSubsystems.seamOrbit_fst {ι_J : Type u_1} (k : ℕ) (o : ℕ → Bool) (π : Mem ι_J Bool → Mem ι_J Bool) (e₀ : Mem ι_J Bool) (t : ℕ) :
      ((seamUpdate k o π)^[t] ([encRec k (o 0)], e₀)).1 = List.ofFn fun (i : Fin (t + 1)) => encRec k (o ↑i)

      The trajectory identification: from the seam's own start state, the habitat at time t is exactly the healthy codeword list [encRec k (o 0), …, encRec k (o t)] — block i of the orbit's habitat encodes o i, so the decoded word at time t IS the observation prefix (accRead, semiconj_seamRead's consequence) — at any o.

      The assembled emergence package #

      theorem ReflectiveSubsystems.seam_outgrows_paMinus {ι_J : Type u_1} (k : ℕ) (o : ℕ → Bool) (π : Mem ι_J Bool → Mem ι_J Bool) :
      (Nonautonomous.PositivelyInvariant (seamUpdate k o π) (accFiber k) ∧ Nonautonomous.Semiconj (seamUpdate k o π) (seamLaw o) (accRead k) (accFiber k) ∧ (∀ (t : ℕ), (Nonautonomous.imageFiber (accRead k) (accFiber k) t).ncard = 2 ^ (t + 1)) ∧ ∀ (t : ℕ), ∀ s ∈ accCode k t, ∀ (s' : List (Mem (Fin (3 ^ k)) Bool) × Mem ι_J Bool), s'.1.length = s.1.length → s'.2 = s.2 → (List.zipWith hammingDist s'.1 s.1).sum < 2 ^ k → seamUpdate k o π s' = seamUpdate k o π s) ∧ ∃ (gTS : ℕ), 2 ≤ gTS ∧ Incompleteness Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) gTS ∧ (∃ (t₀ : ℕ), ∀ (t : ℕ), t₀ ≤ t → hostsAt (t + 1) gTS) ∧ ∀ (t Mchk : ℕ), hostsAt (t + 1) gTS → gTS < Mchk → Mchk ≤ gTS ^ 2 → ∃ (R : ReflectiveAsm gTS), R.depth = Mchk ∧ FitsIn (recursorAsm R.depth) (t + 1) ∧ RepresentsUnderivableTruth Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) R.depth

      The seam world's escape witness, packaged: growing_outgrows_paMinus's shape at seamUpdate / seamLaw — the skeleton clauses transported above, beside the uniform excess's eventual-hosting crossing. No hypothesis on o at all: the crossing is the uniform excess statement, which mentions no source, and the skeleton clauses above carry none either.

      The packed realization #

      @[reducible, inline]

      The witness's cell index: 8 code cells, one length-counter cell, and the habitat cells addressed block-by-cell on an ℕ-indexed tail.

      Equations
      Instances For
        @[reducible, inline]

        The witness's memory: ℕ-valued throughout — the length counter genuinely grows without bound, so it cannot be compressed into finitely many Bool cells. Code and habitat cells carry 0/1.

        Equations
        Instances For

          The code region: 8 read-only cells, present for the code/work split SubstrateClass asks for even though nothing below ever reads them.

          Equations
          Instances For

            The (habitat, environment) projection of a packed memory — the pair seamUpdate itself acts on, at the trivial (single-point) environment Mem Empty Bool. Names no source: it decodes a packed memory's own cells regardless of what update grew them.

            Equations
            Instances For
              def ReflectiveSubsystems.SeamHost.update (k : ℕ) (o : ℕ → Bool) (s : Mem k) :
              Mem k

              One step of the packed carrier's own dynamics: the habitat and its length counter step by seamUpdate k o id, projected onto the packed memory and repacked; the code cells copy through untouched.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem ReflectiveSubsystems.SeamHost.proj_update (k : ℕ) (o : ℕ → Bool) (s : Mem k) :
                proj k (update k o s) = seamUpdate k o id (proj k s)

                The projection commutes with the two updates, unconditionally: no code invariant is needed, since seamUpdate's dynamics reads no code cell at all.

                noncomputable def ReflectiveSubsystems.SeamHost.load (k : ℕ) (o : ℕ → Bool) :
                Mem k

                Loading the packed carrier's own initial state: the code cells are all 0 (unread, so their value carries no meaning); the length counter is 1; block 0 holds the seam's own start codeword encRec k (o 0).

                Equations
                Instances For
                  theorem ReflectiveSubsystems.SeamHost.proj_iterate (k : ℕ) (o : ℕ → Bool) (t : ℕ) :
                  proj k ((update k o)^[t] (load k o)) = (seamUpdate k o id)^[t] (proj k (load k o))

                  The projection commutes with iteration.

                  The packed carrier's own observation: the majority-decode of the habitat's newest block, read off the carrier's own reconstructed habitat (proj). Names no source: it reads whatever habitat it is given.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem ReflectiveSubsystems.SeamHost.readObs_iterate_load (k : ℕ) (o : ℕ → Bool) (t : ℕ) :
                    readObs k ((update k o)^[t] (load k o)) = o t

                    The realization theorem. Reading the packed carrier's own observation off its own orbit, from its own loaded state, reproduces o exactly, at every t and at every source o.

                    noncomputable def ReflectiveSubsystems.SeamHost.substrateTraj (k : ℕ) (o : ℕ → Bool) :
                    ℕ → Bool

                    The packed carrier's OWN observation process, read along its own orbit from its own loaded state, at any source o.

                    Equations
                    Instances For

                      The packed carrier's own process IS its source o, parametrically.

                      The o = subObs instance, kept resolving under its pre-parametrization name: the row [Growth] GR-12 and [Inevitability] IN-49 cite it directly.

                      Realizability, and the membership capstone #

                      Realizability, named on the packed carrier, at any source o. Reading the carrier's own observation off its own orbit reproduces o exactly, at every t.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem ReflectiveSubsystems.SeamHost.witness_substrateL (k : ℕ) (o : ℕ → Bool) {S : ℝ} {ρ W : Fin 8 → ℝ} (h : EnvelopeProfileNat o S ρ W) {η τ : ℝ} (hη : 0 ≤ η) (hb : 2 * η ≤ τ) :
                        SubstrateL (update k o) (codeRegion k) 3 (8 + 100) (2 * (8 + 100)) 1 2 3 (1 / 2) 8 2 True True True True (Realizable k o) (ChainWindowBudget 8 η τ)

                        The membership capstone, class-level. The packed carrier — the seam's own growing habitat, folded block-by-cell into one ReflectiveSubsystems.Mem, fed by any source o with an envelope profile ([Growth] Definition 5.1) — is a member of 𝒮_L ([Inevitability] §2 Definition 2.3), with E1 drawn from its own emitted process: EnvelopeProfileNat.mixingHoeffding ([Growth] Theorem 5.3) rewritten along the realization theorem substrateTraj_eq_obs, at that member's own trend constants (S, ρ, W), and window sufficiency at a declared budget pair (η, τ) rather than fixed at the degenerate instance ([Inevitability] Proposition 5.12(a)).

                        The three prerequisites and the five learning fields follow GrowingHost.witness_substrateL's own proof term at the same numerals — r = 3, K = 8 + 100, L = 2K, c₀ = 1, c₁ = 2, c₂ = 3, δ = 1/2, sCodeSize = 8 (codeRegion_ncard), g(T_S) = 2 — with assumptionA and benignSeparation reused verbatim (both are facts about Fin 8 alone, not about the memory carrying it).

                        The overlap bundle #

                        theorem ReflectiveSubsystems.growingSeam_overlap (k : ℕ) (o : ℕ → Bool) {S : ℝ} {ρ W : Fin 8 → ℝ} (h : EnvelopeProfileNat o S ρ W) {η τ : ℝ} (hη : 0 ≤ η) (hb : 2 * η ≤ τ) :
                        (Nonautonomous.PositivelyInvariant (seamUpdate k o id) (accFiber k) ∧ Nonautonomous.Semiconj (seamUpdate k o id) (seamLaw o) (accRead k) (accFiber k) ∧ (∀ (t : ℕ), (Nonautonomous.imageFiber (accRead k) (accFiber k) t).ncard = 2 ^ (t + 1)) ∧ ∀ (t : ℕ), ∀ s ∈ accCode k t, ∀ (s' : List (Mem (Fin (3 ^ k)) Bool) × Mem Empty Bool), s'.1.length = s.1.length → s'.2 = s.2 → (List.zipWith hammingDist s'.1 s.1).sum < 2 ^ k → seamUpdate k o id s' = seamUpdate k o id s) ∧ (∃ (gTS : ℕ), 2 ≤ gTS ∧ Incompleteness Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) gTS ∧ (∃ (t₀ : ℕ), ∀ (t : ℕ), t₀ ≤ t → hostsAt (t + 1) gTS) ∧ ∀ (t Mchk : ℕ), hostsAt (t + 1) gTS → gTS < Mchk → Mchk ≤ gTS ^ 2 → ∃ (R : ReflectiveAsm gTS), R.depth = Mchk ∧ FitsIn (recursorAsm R.depth) (t + 1) ∧ RepresentsUnderivableTruth Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) R.depth) ∧ SubstrateL (SeamHost.update k o) (SeamHost.codeRegion k) 3 (8 + 100) (2 * (8 + 100)) 1 2 3 (1 / 2) 8 2 True True True True (SeamHost.Realizable k o) (ChainWindowBudget 8 η τ)

                        The overlap bundle, class-level: the emergence package (seam_outgrows_paMinus, [Guests] Theorem 7.5's clauses at the fused world, no hypothesis on o) beside the learning membership (SeamHost.witness_substrateL, at the envelope-profile class), both at the trivial-environment instance — the identification between the two carriers is machine-checked at the projection-iterate level (SeamHost.proj_iterate, seamOrbit_fst: the packed carrier's own habitat, at every time, IS the seam's own trajectory), the T87–T88 pattern. No further reflective reading or budget identification is claimed here — both stay at paper level, exactly as in [Guests] Theorems 7.5 and 7.7.

                        theorem ReflectiveSubsystems.growingSeam_overlap_subObs (k : ℕ) :
                        (Nonautonomous.PositivelyInvariant (seamUpdate k subObs id) (accFiber k) ∧ Nonautonomous.Semiconj (seamUpdate k subObs id) (seamLaw subObs) (accRead k) (accFiber k) ∧ (∀ (t : ℕ), (Nonautonomous.imageFiber (accRead k) (accFiber k) t).ncard = 2 ^ (t + 1)) ∧ ∀ (t : ℕ), ∀ s ∈ accCode k t, ∀ (s' : List (Mem (Fin (3 ^ k)) Bool) × Mem Empty Bool), s'.1.length = s.1.length → s'.2 = s.2 → (List.zipWith hammingDist s'.1 s.1).sum < 2 ^ k → seamUpdate k subObs id s' = seamUpdate k subObs id s) ∧ (∃ (gTS : ℕ), 2 ≤ gTS ∧ Incompleteness Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) gTS ∧ (∃ (t₀ : ℕ), ∀ (t : ℕ), t₀ ≤ t → hostsAt (t + 1) gTS) ∧ ∀ (t Mchk : ℕ), hostsAt (t + 1) gTS → gTS < Mchk → Mchk ≤ gTS ^ 2 → ∃ (R : ReflectiveAsm gTS), R.depth = Mchk ∧ FitsIn (recursorAsm R.depth) (t + 1) ∧ RepresentsUnderivableTruth Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) R.depth) ∧ SubstrateL (SeamHost.update k subObs) (SeamHost.codeRegion k) 3 (8 + 100) (2 * (8 + 100)) 1 2 3 (1 / 2) 8 2 True True True True (SeamHost.Realizable k subObs) (ChainWindowBudget 8 0 0)

                        The instance: growingSeam_overlap at o = subObs, SubstitutionComposite's own envelope profile, and the degenerate budget pair (η, τ) = (0, 0) — [Inevitability] Theorem 5.11 is this proposition's o-instance and not a separate result ([Inevitability] Proposition 5.12(c)).

                        The 𝒮_E membership #

                        The growth clause, verbatim ([Inevitability] §5 Theorem 5.11(b)'s first offered clause, generalized to any source o): seam_outgrows_paMinus's own first conjunct at the trivial environment instance — the positive invariance, the semiconjugacy, the extent doubling time step by time step, and the one-step erasure margin.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          The crossing clause ([Inevitability] §5 Theorem 5.11(b)'s second offered clause): seam_outgrows_paMinus's own second conjunct — a Gödel size at least two that is the code of a true sentence the theory does not prove, that every sufficiently late time hosts, once past an explicit point, at which each hosting time's delivered object represents an underivable truth at its own depth. It carries no k and no source at all, matching seam_outgrows_paMinus's own statement: the uniform excess ReflectiveSubsystems.outgrows_paMinus_uniform this conjunct comes from is already independent of the guest world it is read at.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            The 𝒮_E membership, class-level ([Inevitability] §5 Theorem 5.11(b), generalized to any source o): the packed carrier is a member of 𝒮_E, at the SAME (S1)/(S2)/(S3) numerals witness_substrateL carries for 𝒮_L. Both emergence fields are read off seam_outgrows_paMinus's two components, discharged with no hypothesis on o at all — unlike the finite case, BlockPairHost.witness_substrateE, whose crossing field is a hypothesis hE fixed once outside any particular host.

                            Axiom audit #

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