String rewriting and the modified correspondence problem #
A set R of dominoes is read as a semi-Thue system: one step replaces an occurrence of the top
word of a domino of R by its bottom word. With the copy dominoes a / a, an MPCP instance with
start domino ε / w simulates rewriting from w to the empty word: a match is a sequence of
rewriting steps, each written below the word it rewrites. This is the mechanism of Sipser's
computation-history dominoes [Sipser2013, proof of Theorem 5.15], with the rule set of the
simulated machine as R.
Completeness needs nothing beyond the copy dominoes. Soundness needs an end marker e that
separates successive words: every reachable word other than ε ends with its only e, and e
occurs in the top of a domino only as its last letter. Then each block of the match up to an
occurrence of e rewrites the current word to the next one.
Main definitions #
Cslib.PostCorrespondence.Rewrites: one rewriting step.Cslib.PostCorrespondence.copy: the copy domino of a letter.
Main results #
Cslib.PostCorrespondence.mSolvable_of_reflTransGen: completeness, from a rewriting ofwtoεto a match.Cslib.PostCorrespondence.reflTransGen_of_mSolvable: soundness, from a match to a rewriting.
References #
The copy domino of a letter.
Completeness of the semi-Thue encoding: if w rewrites to the empty word, the MPCP instance
with start domino ε / w is solvable, using the dominoes of R and the copy dominoes.
Soundness of the semi-Thue encoding. Suppose a letter e occurs in the top word of a domino
only as its last letter, and every word reachable from w is empty or ends with its only e.
Then a match of the MPCP instance with start domino ε / w yields a rewriting of w to the
empty word.