Documentation

ReflectiveSubsystems.WrittenWorld

A candidate notion of a guest expressing more than its host #

([Guests] §2 Definition 2.2, [Guests] §2 Definition 2.3, [Guests] §4 Law 2)

A world with a start and a writing: a set of states with an update, a start state, and for each state a set of sentences (words over an alphabet) that it spells. A world shows a sentence when some state on the orbit of its start spells it. A guest, read off a host as in [Guests] §2 Definition 2.2 and Definition 2.3, outgrows the host when, under an injective translation of a part D of the host's alphabet that the reading respects (whatever the host's state spells over D, the guest's state read off it spells translated), the guest shows the translation of a sentence over D that the host never shows.

Main results #

What this does NOT establish (flagged) #

structure ReflectiveSubsystems.WrittenWorld (X : Type u_5) (A : Type u_6) :
Type (max u_5 u_6)

A world with a start and a writing: each state spells a set of sentences over A.

  • update : X → X

    The update of the world.

  • start : X

    The start state.

  • spells : X → Set (List A)

    The sentences a state spells.

Instances For
    def ReflectiveSubsystems.WrittenWorld.Shows {X : Type u_1} {A : Type u_3} (W : WrittenWorld X A) (s : List A) :

    The world shows s: some state on the orbit of the start spells it.

    Equations
    Instances For

      The world rewritten to spell s at every state; states, update and start unchanged.

      Equations
      Instances For

        A world of one state over two letters that spells one one-letter sentence.

        Equations
        Instances For
          structure ReflectiveSubsystems.GuestReading {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (H : WrittenWorld X A) (G : WrittenWorld Y B) (τ : ℕ) (ℓ : ℕ → X → Y) :

          G is read off H at time scale τ by the family ℓ ([Guests] §2 Definition 2.2, [Guests] §2 Definition 2.3).

          • scale_pos : 1 ≤ τ

            The time scale is positive.

          • surjective : Function.Surjective (ℓ 0)

            The reading at time zero is onto.

          • intertwines : Intertwines H.update^[τ] G.update ℓ

            The reading intertwines the host's τ-fold update with the guest's.

          • start : ℓ 0 H.start = G.start

            The reading at time zero takes the host's start to the guest's.

          Instances For
            def ReflectiveSubsystems.Translates {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (H : WrittenWorld X A) (G : WrittenWorld Y B) (ℓ : ℕ → X → Y) (D : Set A) (θ : A → B) :

            The reading respects the translation θ on the part D of the host's alphabet.

            Equations
            Instances For
              structure ReflectiveSubsystems.OutgrowsBy {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (H : WrittenWorld X A) (G : WrittenWorld Y B) (τ : ℕ) (ℓ : ℕ → X → Y) (D : Set A) (θ : A → B) :

              G, read off H, shows the translation of a sentence over D that H never shows.

              • reading : GuestReading H G τ ℓ

                G is read off H.

              • injOn : Set.InjOn θ D

                The translation is injective on D.

              • translates : Translates H G ℓ D θ

                The reading respects the translation on D.

              • shows : ∃ (s : List A), (∀ a ∈ s, a ∈ D) ∧ ¬H.Shows s ∧ G.Shows (List.map θ s)

                The guest shows the translation of a sentence over D that the host never shows.

              Instances For
                theorem ReflectiveSubsystems.OutgrowsBy.exists_not_shows {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {H : WrittenWorld X A} {G : WrittenWorld Y B} {τ : ℕ} {ℓ : ℕ → X → Y} {D : Set A} {θ : A → B} (h : OutgrowsBy H G τ ℓ D θ) :
                ∃ (s : List A), (∀ a ∈ s, a ∈ D) ∧ ¬H.Shows s

                An outgrowing guest, of any types, leaves a sentence over D unshown by the host.

                theorem ReflectiveSubsystems.outgrowsBy_addSentence {X : Type u_1} {A : Type u_3} (H : WrittenWorld X A) {D : Set A} {s : List A} (hs : ∀ a ∈ s, a ∈ D) (hn : ¬H.Shows s) :
                OutgrowsBy H (H.addSentence s) 1 (fun (x : ℕ) => id) D id

                The host rewritten to spell one more sentence over D, read by the identity at time scale one, outgrows the host whenever the host never shows that sentence ([Guests] §4 Law 2: the host is its own guest).

                theorem ReflectiveSubsystems.exists_outgrowsBy_iff {X : Type u_1} {A : Type u_3} (H : WrittenWorld X A) (D : Set A) :
                (∃ (G : WrittenWorld X A) (τ : ℕ) (ℓ : ℕ → X → X) (θ : A → A), OutgrowsBy H G τ ℓ D θ) ↔ ∃ (s : List A), (∀ a ∈ s, a ∈ D) ∧ ¬H.Shows s

                A host is outgrown over the part D exactly when it leaves a sentence over D unshown: the notion is decided by the host alone.

                The named instance: the one-state, one-sentence world is outgrown over all of its alphabet by itself rewritten to spell the sentence [false] too.

                theorem ReflectiveSubsystems.GuestReading.shows_of_translates_conversely {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {H : WrittenWorld X A} {G : WrittenWorld Y B} {τ : ℕ} {ℓ : ℕ → X → Y} {D : Set A} {θ : A → B} (hr : GuestReading H G τ ℓ) (hc : ∀ (t : ℕ) (x : X) (s : List A), (∀ a ∈ s, a ∈ D) → List.map θ s ∈ G.spells (ℓ t x) → s ∈ H.spells x) (s : List A) :
                (∀ a ∈ s, a ∈ D) → G.Shows (List.map θ s) → H.Shows s

                Under the converse of the respect clause, whatever translated sentence the guest shows is shown by the host: no guest outgrows.

                The converse reading holds for the one-state world read by the identity.

                def ReflectiveSubsystems.WrittenWorld.literal {A : Type u_3} (U : List A → List A) (x₀ : List A) :

                The literal writing: a state is a word and spells exactly its contiguous subwords.

                Equations
                Instances For
                  def ReflectiveSubsystems.WrittenWorld.literalAppend {A : Type u_3} (U : List A → List A) (x₀ s : List A) :
                  WrittenWorld { y : List A // s <:+ y } A

                  The literal world copied with s appended to every state: its states are the words ending in s, its update is U on what precedes, and its writing is literal too.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem ReflectiveSubsystems.outgrowsBy_literalAppend {A : Type u_3} (U : List A → List A) (x₀ : List A) {D : Set A} {s : List A} (hs : ∀ a ∈ s, a ∈ D) (hn : ¬(WrittenWorld.literal U x₀).Shows s) :
                    OutgrowsBy (WrittenWorld.literal U x₀) (WrittenWorld.literalAppend U x₀ s) 1 (fun (x : ℕ) (x_1 : List A) => ⟨x_1 ++ s, ⋯⟩) D id

                    With the literal writing, the copy carrying the sentence at the end of every state outgrows the host whenever the host never shows that sentence.

                    A named instance of the literal copy: the world of the one-letter word [true], unchanged by its update, never shows [false], and its copy ending in [false] does.