Undecidable Problems
導入済み
9:10
アルゴリズムとプログラミング
1百万名の名前が入った電話帳を想像し、その中から1人を見つける必要があるとしよう。一つずつ確認していくと、一日中かかってしまうかもしれない。約…で見つける方法がある。
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| cannot/ˈkænɒt/ | できない |
| decidable/dɪˈsaɪdəbl/ | 判定可能 |
| undecidable/ˌʌndɪˈsaɪdəbl/ | 判定不可 |
| limit/ˈlɪmɪt/ | 限界 |
| inefficient/ɪnɪˈfɪʃənt/ | 非効率的 |
全ての問題が解けるわけではない
- 原理としても、コンピュータによって全ての問題が解決できるわけではありません。
- なぜそうなのかを理解するために、問題を2つの種類に分類します。
- コンピュータが常に答えられる一種と、それできない一種です。
- これは将来埋められるかもしれない欠落ではなく、計算機科学における証明された事実です。
A decidable problem is one where:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
"Is n even?" is decidable — always answerable.
判定可能な問題
- **判定可能(decidable)**な問題は、すべてのケースに対して常に正しいはい/いいえの答えを与えるアルゴリズムが存在します。
- 「この数は偶数か?」は判定可能です — 単純なテストで常に正しく答えます。
- 「この数は素数か?」もまた判定可能ですが、巨大な数に対しては遅い場合があります。
- すべてのケースに対して正しいアルゴリズムが存在する場合、その問題は判定可能です。

決定可能問題と決定不可能問題

Decidable or undecidable?
A decidable problem has an algorithm that always answers correctly for every case; an undecidable one has no such algorithm — being impossible, not merely slow.
An undecidable problem:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Some cases defeat every possible program.
Deciding in general whether any given program will ever stop running is:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
No single algorithm answers this correctly for every program.
Undecidability marks a hard ______ on what computation can achieve.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Some questions simply have no general algorithm.
判定不可能な問題
- **判定不可能(undecidable)**な問題は、すべてのケースを正しく解決するアルゴリズムが存在しません。
- プログラムがいかに巧妙であっても、いくつかのケースはそれを破ります。
- 古典的な例:任意のプログラムがいつか実行を停止するかを一般的に決定すること。
- 判定不可能性は、計算が達成できることの限界であり、一部の質問には一般的なアルゴリズムが存在しない simply です。
Undecidable and merely inefficient (slow) mean the same thing.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Inefficient can be solved slowly; undecidable cannot be solved for every case at all.
Testing whether a number is prime is undecidable because it can be slow for huge numbers.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
False. Primality is decidable: an algorithm always gives an answer. Being slow is not the same as being impossible.
判定不可能は単なる遅さではない
- 判定不可能性と単に非効率的であることを混同しないでください。
- 非効率的な問題は解くことができますが、ただ遅いです。一方、判定不可能な問題はすべてのケースにおいて根本的に解くことができません。
素数判定 vs 停止判定。 ある数が素数かどうかをテストすることは判定可能です — 巨大な数に対しては遅くても、アルゴリズムは常に答えます。しかし、任意のプログラムが停止するかを一般的に決定することは判定不可能です — どのプログラムでも正しく答える単一のアルゴリズムはありません。遅いことは不可能と同じではありません。
このカードは修正されたため、翻訳が更新されるまで英語で表示されます。
A decidable problem has an algorithm that always answers correctly ("is n even?", "is n prime?"). An undecidable 不可判定 problem has no such algorithm for every case (will a program halt?) — a real limit of computing. Undecidable means no algorithm can solve every case correctly, not merely that it is inefficient (slow).
何が問題でしたか?この内容はサイトの運営チームだけが確認します。