Documentation

ReflectiveSubsystems.EndsGuest

A widening host carries every law, read at the ends of its support #

([Guests] §2 Proposition 2.7, [Guests] §2 Proposition 2.6, [Guests] §7 Definition 7.25 and Theorem 7.7)

Let f be a quiescent local rule that fires at both ends of a support, f 0 0 1 = 1 and f 1 0 0 = 1 (rules 90, 150, 222 and 254 among others). One step of ECA.LocalRule.finRule f sends a nonzero finite configuration with support from a to b to a nonzero one with support from a - 1 to b + 1, so on the nonzero configurations the position sum a + b is invariant and the half-width (b - a) / 2 grows by exactly one per step. The pair maps the nonzero configurations onto the integers times the naturals, with the law (s, h) ↦ (s, h + 1), the free unary algebra on one generator per integer: the single cell at p has the pair (2 * p, 0) and the two cells p and p + 1 the pair (2 * p + 1, 0). Hence for any law F on any set and any family m of values indexed by the integers, the fixed reading ReflectiveSubsystems.endsRead F m, the value F^[half-width] (m (position sum)), is a factor map onto F, onto when m is, and with m injective its image on the fiber at time t holds the n + 2 * t distinct values m (2 * p) of the single cells of the window.

The host is the nonzero configurations as a world of their own, a subtype, because the zero configuration is a fixed point and a factor map from the whole carrier would send it to a fixed point of F.

Main results #

Scope #

The memory is bounded below only, and the law F is arbitrary: a bijective law is carried by a host whose update is not onto.

The two statistics of the ends #

The position sum of a finite configuration: the sum of the first and last cells of its support, and 0 for the zero configuration.

Equations
Instances For

    The half-width of a finite configuration: half the distance between the first and last cells of its support, rounded down, and 0 for the zero configuration.

    Equations
    Instances For
      noncomputable def ReflectiveSubsystems.endsRead {M : Type u_1} (F : M → M) (m : ℤ → M) (s : ECA.FiniteConfiguration) :
      M

      The reading at the ends: the law F applied half-width times to the value m of the position sum.

      Equations
      Instances For
        noncomputable def ReflectiveSubsystems.nonzeroStep (f : ECA.LocalRule) (hq : f 0 0 0 = 0) (h1 : f 0 0 1 = 1) :

        One step of a quiescent rule that fires at the left end, on the nonzero configurations: the update restricted.

        Equations
        Instances For

          The light cone of the n-cell window at time t, restricted to the nonzero configurations: the nonautonomous set of the host of the nonzero configurations.

          Equations
          Instances For

            Reading the statistics off the support #

            theorem ReflectiveSubsystems.positionSum_finRule {f : ECA.LocalRule} (hq : f 0 0 0 = 0) (h1 : f 0 0 1 = 1) (h2 : f 1 0 0 = 1) {s : ECA.FiniteConfiguration} (hs : s ≠ 0) :

            A step of a rule firing at both ends keeps the position sum of a nonzero configuration.

            theorem ReflectiveSubsystems.halfWidth_finRule {f : ECA.LocalRule} (hq : f 0 0 0 = 0) (h1 : f 0 0 1 = 1) (h2 : f 1 0 0 = 1) {s : ECA.FiniteConfiguration} (hs : s ≠ 0) :

            A step of a rule firing at both ends adds one to the half-width of a nonzero configuration.

            The reading as a factor map #

            theorem ReflectiveSubsystems.endsRead_semiconj {f : ECA.LocalRule} (hq : f 0 0 0 = 0) (h1 : f 0 0 1 = 1) (h2 : f 1 0 0 = 1) {M : Type u_1} (F : M → M) (m : ℤ → M) :
            Function.Semiconj (fun (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x) (nonzeroStep f hq h1) F

            The reading at the ends is a semiconjugacy onto any law ([Guests] §2 Proposition 2.7): one step of the rule adds one to the half-width and keeps the position sum, so the reading of the stepped state is F applied to the reading.

            theorem ReflectiveSubsystems.endsRead_surjective {M : Type u_1} (F : M → M) (m : ℤ → M) (hm : Function.Surjective m) :

            Every value of m is read ([Guests] §2 Proposition 2.7): the single cells and the pairs of adjacent cells hit every position sum at half-width 0, so the reading is onto when m is. No hypothesis on the rule is needed.

            theorem ReflectiveSubsystems.factorFrom_endsRead {f : ECA.LocalRule} (hq : f 0 0 0 = 0) (h1 : f 0 0 1 = 1) (h2 : f 1 0 0 = 1) {M : Type u_1} (F : M → M) (m : ℤ → M) {𝒦 : ({ s : ECA.FiniteConfiguration // s ≠ 0 } → M) → Prop} (h𝒦 : 𝒦 fun (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x) (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) :
            FactorFrom 𝒦 (nonzeroStep f hq h1) F (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x_1) x

            The reading at the ends is a factor map of any class holding it, from every nonzero configuration ([Guests] §2 Proposition 2.7): one step of the rule, read by the fixed reading, is intertwined with the law F, so the reading is read by itself from every start state.

            theorem ReflectiveSubsystems.forgetsAtZero_endsRead {M : Type u_1} (F : M → M) (m : ℤ → M) :
            ForgetsAtZero fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x_1

            The reading at the ends forgets at time zero ([Guests] §2 Proposition 2.6): the configurations 101 and 111, on the cells 0 to 2, are distinct, nonzero and of one pair of ends, so one position sum and one half-width.

            The semiconjugacy #

            theorem ReflectiveSubsystems.positivelyInvariant_nonzeroLightCone {f : ECA.LocalRule} (hq : f 0 0 0 = 0) (h1 : f 0 0 1 = 1) (_h2 : f 1 0 0 = 1) (n : ℕ) :

            The light cone restricted to the nonzero configurations is positively invariant under one step of a rule firing at the left end, from the light cone's own invariance (ECA.positivelyInvariant_lightCone_finRule).

            theorem ReflectiveSubsystems.nonautonomousSemiconj_endsRead {f : ECA.LocalRule} (hq : f 0 0 0 = 0) (h1 : f 0 0 1 = 1) (h2 : f 1 0 0 = 1) {M : Type u_1} (F : M → M) (m : ℤ → M) (n : ℕ) :
            Nonautonomous.Semiconj (nonzeroStep f hq h1) F (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x_1) (nonzeroLightCone n)

            The semiconjugacy holds at the restricted light cone ([Guests] §7 Theorem 7.7): the reading at the ends closes the semiconjugacy against the law F at every time.

            The memory #

            theorem ReflectiveSubsystems.guestMemory_endsRead_ge {M : Type u_1} (F : M → M) (m : ℤ → M) (hm : Function.Injective m) (n t : ℕ) :
            Nat.log 2 (n + 2 * t) ≤ guestMemory (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x_1) (nonzeroLightCone n) t

            The guest read at the ends holds at least Nat.log 2 (n + 2 * t) bits at time t ([Guests] §7 Definition 7.25): the single cell at each p with -t ≤ p < n + t lies in the fiber, has half-width 0 and position sum 2 * p, so for an injective m the fiber image holds n + 2 * t distinct values.

            theorem ReflectiveSubsystems.monotone_guestMemory_endsRead {M : Type u_1} (F : M → M) (m : ℤ → M) (n : ℕ) :
            Monotone fun (t : ℕ) => guestMemory (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x_1) (nonzeroLightCone n) t

            The memory is monotone in time: the nonzero light cones are nested, so are the fiber images, and a finite extent's bit count grows with it.

            The crossing #

            theorem ReflectiveSubsystems.eventually_hosts_uniform_of_endsRead {M : Type u_1} (F : M → M) (m : ℤ → M) (hm : Function.Injective m) (n : ℕ) :
            ∃ (gTS : ℕ), 2 ≤ gTS ∧ Incompleteness Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) gTS ∧ (∃ (t₀ : ℕ), ∀ (t : ℕ), t₀ ≤ t → hostsAt (guestMemory (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x_1) (nonzeroLightCone n) t) gTS) ∧ ∀ (t Mchk : ℕ), hostsAt (guestMemory (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x_1) (nonzeroLightCone n) t) gTS → gTS < Mchk → Mchk ≤ gTS ^ 2 → ∃ (R : ReflectiveAsm gTS), R.depth = Mchk ∧ FitsIn (recursorAsm R.depth) (guestMemory (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead F m ↑x_1) (nonzeroLightCone n) t) ∧ RepresentsUnderivableTruth Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) R.depth

            The crossing at the reading at the ends, from its guest's memory ([Guests] §7 Theorem 7.7): the statement of ReflectiveSubsystems.eventually_hosts_uniform at the budget profile ReflectiveSubsystems.guestMemory, monotone (ReflectiveSubsystems.monotone_guestMemory_endsRead) and unbounded since it is at least Nat.log 2 (n + 2 * t) (ReflectiveSubsystems.guestMemory_endsRead_ge), which grows with t.

            The hypotheses hold at once #

            theorem ReflectiveSubsystems.endsRead_semiconj_nonvacuous :
            (ECA.f222 0 0 1 = 1 ∧ ECA.f222 1 0 0 = 1 ∧ ECA.f90 0 0 1 = 1 ∧ ECA.f90 1 0 0 = 1) ∧ Function.Bijective id ∧ (∀ (h1 : ECA.f222 0 0 1 = 1), (Function.Semiconj (fun (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x) (nonzeroStep ECA.f222 ECA.hq222 h1) fun (x : ℤ) => x + 1) ∧ (∀ (x : { s : ECA.FiniteConfiguration // s ≠ 0 }), FactorFrom (fun (π : { s : ECA.FiniteConfiguration // s ≠ 0 } → ℤ) => π = fun (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x) (nonzeroStep ECA.f222 ECA.hq222 h1) (fun (x : ℤ) => x + 1) (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x_1) x) ∧ ∀ (n : ℕ), Nonautonomous.PositivelyInvariant (nonzeroStep ECA.f222 ECA.hq222 h1) (nonzeroLightCone n)) ∧ ∀ (h1 : ECA.f90 0 0 1 = 1), (Function.Semiconj (fun (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x) (nonzeroStep ECA.f90 ECA.hq90 h1) fun (x : ℤ) => x + 1) ∧ (∀ (x : { s : ECA.FiniteConfiguration // s ≠ 0 }), FactorFrom (fun (π : { s : ECA.FiniteConfiguration // s ≠ 0 } → ℤ) => π = fun (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x) (nonzeroStep ECA.f90 ECA.hq90 h1) (fun (x : ℤ) => x + 1) (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x_1) x) ∧ ∀ (n : ℕ), Nonautonomous.PositivelyInvariant (nonzeroStep ECA.f90 ECA.hq90 h1) (nonzeroLightCone n)

            The hypotheses hold at once: rules 222 and 90 fire at both ends of a support, the identity of the integers is bijective, and the semiconjugacy, the factor map of the class holding the reading and the positive invariance of the nonzero light cone hold at each rule, at the law (· + 1 : ℤ → ℤ) read through the identity.

            theorem ReflectiveSubsystems.endsRead_f222_translation :
            (Function.Bijective fun (x : ℤ) => x + 1) ∧ ¬Function.Surjective (nonzeroStep ECA.f222 ECA.hq222 endsRead_f222_translation._proof_1) ∧ (Function.Semiconj (fun (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x) (nonzeroStep ECA.f222 ECA.hq222 endsRead_f222_translation._proof_1) fun (x : ℤ) => x + 1) ∧ (Function.Surjective fun (x : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x) ∧ (ForgetsAtZero fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x_1) ∧ ∀ (n : ℕ), ∃ (gTS : ℕ), 2 ≤ gTS ∧ Incompleteness Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) gTS ∧ (∃ (t₀ : ℕ), ∀ (t : ℕ), t₀ ≤ t → hostsAt (guestMemory (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x_1) (nonzeroLightCone n) t) gTS) ∧ ∀ (t Mchk : ℕ), hostsAt (guestMemory (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x_1) (nonzeroLightCone n) t) gTS → gTS < Mchk → Mchk ≤ gTS ^ 2 → ∃ (R : ReflectiveAsm gTS), R.depth = Mchk ∧ FitsIn (recursorAsm R.depth) (guestMemory (fun (x : ℕ) (x_1 : { s : ECA.FiniteConfiguration // s ≠ 0 }) => endsRead (fun (x : ℤ) => x + 1) id ↑x_1) (nonzeroLightCone n) t) ∧ RepresentsUnderivableTruth Encodable.encode (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => 𝗣𝗔⁻ ⊢ δ) (fun (δ : FFL.FirstOrder.Sentence ℒₒᵣ) => ℕ↓[ℒₒᵣ] ⊧ δ) R.depth

            A bijective law read at a host whose update is not onto ([Guests] §2 Proposition 2.7, Proposition 2.6, [Guests] §7 Theorem 7.7): at rule 222 and the translation (· + 1) of the integers, read through the identity, the reading at the ends is a semiconjugacy, onto, forgetting at time zero, and crosses; the law is bijective while the host's update is not onto, since no single cell is a stepped state.

            Axiom audit #

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