Блог пользователя mani100011

Автор mani100011, история, 3 года назад, По-английски

Hey everyone, hope you're having a great day. Here's a question about the famous post correspondence problem This problem is undecidable according to Wiki Pedia, which means there are no algorithms to solve the problem. but can't we simply try all possible permutations of the dominos? what am I misunderstanding?

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by mani100011 (previous revision, new revision, compare).

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by mani100011 (previous revision, new revision, compare).

»
3 года назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

If you try all possible permutations, you would still have no guarantee of finding a solution because it is possible for the PCP to have no solution

»
3 года назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

My understanding is that the main issue is that the length of the answer can be arbitrarily large. This is because you're not just permuting the two lists of dominos -- you are actually allowed to repeat dominos as much as you like.

As the other commenter said, there can be no solution. So the naive algorithm of iterating over the length of the answer and trying all solutions of that length might never halt, because you never know if the solution is just really long or if none exist.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +12 Проголосовать: не нравится

What makes the PCP problem undecidable is precisely the unlimited number of times a given tile can be used. If the number of tiles that could be used was bounded, your solution would indeed decide the problem. However, since you have an unlimited supply of tiles, you would have to find and check “all permutations of an infinite set of tiles”, which doesn’t quite work.