Documentation

LeanPool.SmallUndecidableGroups.Thue.Matiyasevich.BinaryStage

The binary coding stage in Section 2.3 of Matiyasevich (1995). If the source alphabet has N letters, the (zero-based) form of (18) is

a_j ↦ a a b^(j+1) a b^(N-j).

Thus every codeword has length N + 4, begins with the synchronizing marker aa, and ends in b.

@[reducible, inline]

The first letter of the binary alphabet used in the first coding stage.

Equations
Instances For
    @[reducible, inline]

    The second letter of the binary alphabet used in the first coding stage.

    Equations
    Instances For

      The letter code ρ₁(a_j) from (18), with j represented zero-based.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem Undecidability.Thue.Matiyasevich1993.Binary.rho₁_starts_aa {N : ℕ} {W : List (Fin N)} (hW : W ≠ []) :
        ∃ (tail : List (Fin 2)), rho₁ N W = 0 :: 0 :: tail

        Every nonempty encoded word begins with the synchronizing marker.

        theorem Undecidability.Thue.Matiyasevich1993.Binary.rho₁_noAAA {N : ℕ} (W : List (Fin N)) :
        ¬∃ (l : List (Fin 2)) (s : List (Fin 2)), rho₁ N W = l ++ [0, 0, 0] ++ s

        The code language contains no run aaa.

        The right-hand rule words after the first binary alphabet encoding.

        Equations
        Instances For

          The Thue system obtained by applying the first binary alphabet encoding to all rules.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[simp]
            @[simp]
            theorem Undecidability.Thue.Matiyasevich1993.Binary.stage₂PrimeF_common_length {N r : ℕ} (F : Fin r → List (Fin N)) (p : ℕ) (hF : ∀ (i : Fin r), (F i).length = p) (i : Fin r) :
            (stage₂PrimeF F i).length = p * (N + 4)

            Common source-side lengths become common binary-side lengths.

            theorem Undecidability.Thue.Matiyasevich1993.Binary.stage₂PrimeE_common_length {N r : ℕ} (E : Fin r → List (Fin N)) (q : ℕ) (hE : ∀ (i : Fin r), (E i).length = q) (i : Fin r) :
            (stage₂PrimeE E i).length = q * (N + 4)
            theorem Undecidability.Thue.Matiyasevich1993.Binary.decode_step {N r : ℕ} (F E : Fin r → List (Fin N)) (hF : ∀ (i : Fin r), F i ≠ []) (hE : ∀ (i : Fin r), E i ≠ []) {X : List (Fin N)} {W : List (Fin 2)} (h : ThueStep (stage₂PrimeSystem F E) (rho₁ N X) W) :
            ∃ (Y : List (Fin N)), W = rho₁ N Y ∧ ThueStep (finiteSystem F E) X Y

            A rewrite out of an encoded word is aligned and uniquely reflects to one source rewrite. Positivity of all rule sides is the only hypothesis.

            theorem Undecidability.Thue.Matiyasevich1993.Binary.decode_thueEq {N r : ℕ} (F E : Fin r → List (Fin N)) (hF : ∀ (i : Fin r), F i ≠ []) (hE : ∀ (i : Fin r), E i ≠ []) {X : List (Fin N)} {W : List (Fin 2)} (h : ThueEq (stage₂PrimeSystem F E) (rho₁ N X) W) :
            ∃ (Y : List (Fin N)), W = rho₁ N Y ∧ ThueEq (finiteSystem F E) X Y

            Every derivation starting at an encoded word stays encoded and reflects to a source derivation.

            theorem Undecidability.Thue.Matiyasevich1993.Binary.thueEq_iff {N r : ℕ} (F E : Fin r → List (Fin N)) (hF : ∀ (i : Fin r), F i ≠ []) (hE : ∀ (i : Fin r), E i ≠ []) (X Y : List (Fin N)) :

            Equivalence (19): the binary many-rule system is equivalent to the positive-side source system on encoded words.

            def Undecidability.Thue.Matiyasevich1993.Binary.embedding {N r : ℕ} (F E : Fin r → List (Fin N)) (p q : ℕ) (hp : 0 < p) (hq : 0 < q) (hF : ∀ (i : Fin r), (F i).length = p) (hE : ∀ (i : Fin r), (E i).length = q) :

            Section 2.3 packaged as an Embedding, under the common positive side length hypotheses supplied by the padding stage.

            Equations
            Instances For