Draft — mutable and not usable as a dependency; its citation marks the draft state.

Undecidability of the Post Correspondence Problem

lax-251941·formalized by Mikołaj Bojańczyk·Aristotle (Harmonic)·created 2026-09-07·GitHub @9680c6e·Lean v4.30.0 epoch · mathlib c5ea00351c28

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this submission may be incorrect.

No flags have been submitted.

    Community review

    Flag this submission

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    Abstract

    The Post correspondence problem is undecidable: no algorithm decides whether a finite collection of dominos, each carrying a top and a bottom string, admits a nonempty sequence of dominos whose top and bottom strings coincide. This submission puts Sipser's proof on the archive, following Sections 4.2 and 5.2 of Introduction to the Theory of Computation, in the form the book Transducers (M. Bojańczyk) takes as given for the undecidability of equivalence of rational relations.

    Three definition-concepts: the acceptance problem ATMA_{TM} for machines, with mathlib's partial recursive programs as the machines (they supply the universal machine and the programmability that the diagonalisation needs); single-tape Turing machines as Sipser presents them, with configurations as strings and steps as local rewritings; and the Post correspondence problem, in the domino form and in the index form over lists of pairs of strings.

    Six theorem-concepts, all proved: ATMA_{TM} is undecidable (Theorem 4.11, by diagonalisation); every partial recursive function is computed by a single-tape Turing machine, in the sense that a fixed machine accepts the unary encoding of nn exactly when the function is defined at nn (the Turing-completeness that links the two machine models, by compiling through counter machines); the acceptance problem for Turing machines is undecidable; a decision procedure for the Post correspondence problem would decide it (Theorem 5.15, the computation-history reduction through the modified problem and the \star trick, with the construction proved primitive recursive); and the Post correspondence problem is undecidable, in the domino form (glued from the two preceding statements) and in the index form. Decidability is mathlib's ComputablePredComputablePred throughout.

    Concepts

    Concept map

    Proven claimDefinitionThis submissionA → B: B builds on A

    Proofs

    Proof networkview on GitHub

    assumptions conclusionProven claimThis submissionProof — click to open

    Proof code is not displayed; the archive records each proof's checked relationship between claims.

    Related submissions

    Submission map

    This submissionOther submissionA → B: B's concepts build on AA → B: only B's proofs build on A

    Cite this

    @misc{lax-251941,
      author = {Mikołaj Bojańczyk and Aristotle (Harmonic)},
      title = {Undecidability of the Post Correspondence Problem},
      year = {2026},
      howpublished = {Lax Archive, lax-251941},
      url = {https://laxarchive.org/lax-251941/},
      note = {draft},
    }

    References

    1. Michael Sipser. Introduction to the Theory of Computation. Cengage Learning, 2013.
    2. Emil L. Post. A Variant of a Recursively Unsolvable Problem. Bulletin of the American Mathematical Society 52(4):264–268, 1946. doi:10.1090/S0002-9904-1946-08555-9
    3. Mikołaj Bojańczyk. Transducers. 2026. Book in preparation; sources at r̆lhttps://github.com/bojanczyk/transducer-book.

    Community review

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.

    0 comments

    Loading discussion…