From the modified correspondence problem to PCP #
Sipser's reduction [Sipser2013, proof of Theorem 5.15] turns an MPCP instance into a PCP instance
over the alphabet α extended by markers. Writing ⋆u for ⋆u₁⋆u₂⋯⋆uₙ and u⋆ for
u₁⋆u₂⋆⋯uₙ⋆, the domino t / b becomes ⋆t / b⋆, the start domino t / b becomes
⋆t / ⋆b⋆, and the end domino ⋆◇ / ◇ is added. A match must then begin with the start domino,
whose top and bottom alone begin with the same letter.
As stated, the construction can be unsound when a domino of the instance has an empty bottom,
since ⋆t / ε may then come first. For the start domino a / ba and the single domino b / ε, the
MPCP instance has no match (its top begins with a and its bottom with b), but
⋆b / ε, ⋆a / ⋆b⋆a⋆, ⋆◇ / ◇ is a match of the PCP instance (checked in the test module
CslibFrontierTests.PostCorrespondence). The reduction here therefore prefixes the start
domino with a start marker ▷, which occurs in no other domino. A match then contains the start
domino, the part before its first occurrence matches on its own, and the part after it gives an
MPCP match. The domino ε / ε, which would be a PCP match by itself, is dropped.
Sipser's machine instances contain no domino with an empty bottom, so his proof is unaffected. The
instances of CslibFrontier.Computability.PostCorrespondence.OfTM0 do: the rule OfTM0.Rule.finish
erases the final word ⊢ halt ⊣. So Sipser's argument does not apply to them as written, while
the marked reduction needs no instance-specific argument. Empty tops are harmless.
Main definitions #
Cslib.PostCorrespondence.Marked: the alphabetαwith the markers⋆,◇and▷.Cslib.PostCorrespondence.toPCP: the reduction.
Main results #
Cslib.PostCorrespondence.solvable_toPCP_iff:toPCP Iis solvable iffIis.Cslib.PostCorrespondence.mSolvable_manyOneReducible: MPCP many-one reduces to PCP.
References #
The alphabet of Sipser's reduction from MPCP to PCP: the letters of α and three markers.
- letter {α : Type u_2} : α → Marked α
A letter of the original alphabet.
- sep {α : Type u_2} : Marked α
The separator
⋆. - stop {α : Type u_2} : Marked α
The end marker
◇. - start {α : Type u_2} : Marked α
The start marker
▷, which forces every match to begin with the start domino.
Instances For
⋆ (a₁⋆⋯aₙ⋆) = (⋆a₁⋯⋆aₙ) ⋆.
The end domino of the PCP instance: ⋆◇ over ◇.
MPCP reduces to PCP by a computable many-one reduction.