Documentation

LeanPool.SmallUndecidableGroups.Thue.Matiyasevich.FinalStage

Section 2.5: T₂ to the final binary three-rule system #

@[reducible, inline]

The letters a, b, and e of the penultimate alphabet.

Equations
Instances For
    @[reducible, inline]

    The first letter of the three-letter alphabet used in the final binary encoding.

    Equations
    Instances For
      @[reducible, inline]

      The second letter of the three-letter alphabet used in the final binary encoding.

      Equations
      Instances For
        @[reducible, inline]

        The third letter of the three-letter alphabet used in the final binary encoding.

        Equations
        Instances For

          The right-to-left decoder φ₂ from page 51, expressed on the reversed input. Reversed codewords are 1, 01, and 00; a lone leading 0 is the single possible unmatched d.

          Equations
          Instances For
            @[simp]

            φ₂ is a left inverse to the binary encoding, as required below (26).

            Appending a complete encoded word cannot interact with the decoding of the prefix. This is the algebraic form of the right-to-left parsing used on page 52.

            The word encoding obtained by reversing the input and output of ρ₂.

            Equations
            Instances For

              Equivalently, every binary word is either exactly an encoded word or is an encoded word preceded by the unmatched letter d.

              The converse to rho₂_forward is deliberately not stated for arbitrary T₂ words. Equivalence (10) only applies to words obtained from the original T₀ words by the preceding encodings. Matiyasevich's converse on pages 50--52 uses two invariants of those reachable words:

              1. the priority normal form has no run of more than two a's;
              2. it has exactly u occurrences of e, all forced to lie to the left of an occurrence of the long rule.

              These invariants rule out the sole bad decoder alignment: the unmatched d from rho₂_phi₂_reconstruct immediately following ρ₂(L) or ρ₂(M). Treating rho₂ as an unrestricted embedding would therefore assert a stronger statement than the paper proves.

              The five left sides (20)--(24) of T₂.

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

                The five right sides (20)--(24) of T₂.

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

                  The five-rule priority-stage Thue system parametrized by its long relation.

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

                    Each of the five rules of T₂ is simulated by the final three rules. The middle two housekeeping simulations use the first or second final rule in a one-letter right context.

                    Forward half of equivalence (10) for the last stage.

                    Forward half of equivalence (10) for arbitrary derivations.

                    Every nonempty T₂ word has nonempty binary encoding.

                    theorem Undecidability.Thue.Matiyasevich1993.phi₂_short_rule (L M : List A₂) (i : Fin 3) (hi : i ≠ 2) (l r : List (Fin 2)) :
                    ThueEq (stage₂System L M) (phi₂ (l ++ baseF (rho₂ L) i ++ r)) (phi₂ (l ++ baseE (rho₂ M) i ++ r))

                    A use of either short final relation always decodes to one of the four housekeeping relations (20)--(23). Which one is selected is determined by the single residual d at the beginning of the right context.

                    The long final relation also decodes directly when the right context is aligned. Thus the only unformalized case in the last-stage converse is the long relation together with the residual alternative 0 :: rho₂ (phi₂ r) = r.

                    The exact reachability invariant needed to rule out the bad long-rule alignment on pages 50--52.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      theorem Undecidability.Thue.Matiyasevich1993.phi₂_step_of_long_aligned (L M : List A₂) {X Y : List (Fin 2)} (haligned : ∀ (l r : List (Fin 2)), X = l ++ rho₂ L ++ r ∨ X = l ++ rho₂ M ++ r → rho₂ (phi₂ r) = r) (h : ThueStep (baseSystem (rho₂ L) (rho₂ M)) X Y) :

                      Conditional converse for the final stage. The rewriting and decoder bookkeeping reduce precisely to LongRuleAlignedFrom, supplied by the e-count and priority-normal-form invariants of Section 2.4.