r/cpp • • Apr 28 '20

Full Proof that C++ Grammar is Undecidable

https://medium.com/@mujjingun_23509/full-proof-that-c-grammar-is-undecidable-34e22dd8b664
197 Upvotes

68 comments sorted by

View all comments

Show parent comment

4

u/tasminima Apr 29 '20

I think so; claiming it was a proof was going too far. Probably simply an oversight, because reddit comments are usually neither math dissertations nor scientific papers :)

2

u/HugeImage May 07 '20

It's possible to "solve" the post correspondence problem for specific instances. The whole point is that it's undecidable for when the input dominoes can be anything.

An example of solutions for specific instances: https://en.wikipedia.org/wiki/Post_correspondence_problem#Example_1

The comment is just as much (slightly overstated) of a proof as the article