1 ELC Web 2 検証と求解 パズルはなぜ面白い SUDOKU 図 図 -1 数独の問題図と解答図 ( より ) 6 2 P!NP 2 1 情報処理 Vol.54 No.4 Apr

Size: px
Start display at page:

Download "1 ELC Web 2 検証と求解 パズルはなぜ面白い SUDOKU 図 図 -1 数独の問題図と解答図 ( より ) 6 2 P!NP 2 1 情報処理 Vol.54 No.4 Apr"

Transcription

1 基応専般 解説 徳山豪 東北大学情報科学研究科 計算下界の解明の目的 人間の思考と計算機の役割 cogito ergo sum SF 情報社会の前進への意義 NP 1 P!NP 2 NP 1 2 Nondeterministic Polynoimal 374 情報処理 Vol.54 No.4 Apr. 2013

2 1 ELC Web 2 検証と求解 パズルはなぜ面白い SUDOKU 図 図 -1 数独の問題図と解答図 ( より ) 6 2 P!NP 2 1 情報処理 Vol.54 No.4 Apr

3 解ける問題と解けそうな問題 図 図 -2 ケーニヒスベルグの橋渡り ( 左図 ) と対応するグラフ ( 右図 ) 図 -3 正 12 面体のグラフ ( 左図 ) とその頂点巡礼 ( 右図 ) 5 G 1 12 図 情報処理 Vol.54 No.4 Apr. 2013

4 計算階層と計算モデル 図 パズル : 左図を右図に駒をスライドして直す P!NP 図 P!NP P=NP NP 多項式時間計算 : 取扱い可能な有限 YES 10 4 情報処理 Vol.54 No.4 Apr

5 n n f n O f n complexity 5 f n n, n 2, n n 2 n3 定義 1 5 g n =O f n c n 0 g n <c f n n$n 0 g n =o f n c n g n <c f n g n o f n g n =W n n n 3 2 n 10 1,000 1, ,000 1,000, ,000 1,000,000, ,000 1,000,000,000, ,000 1,000,000,000,000,000,000, ,000,000 1,000,000,000,000,000,000,000,000,000,000 表 -1 計算時間と指数爆発 tractable intractable 表 -1 n=10 n 3 2 n 1000 n=70 n 3 2 n = n O n 100 O n 3 n 情報処理 Vol.54 No.4 Apr. 2013

6 休憩 : ノーベル賞の話題から ips 24 n 2 n n= n n+1 O n 階層定理 P EXP 2 2 定理 1 P EXP 2 ℵ 0 ℵ 1 ℵ 1 =2 ℵ0 ℵ 0 ℵ 1 6 EXP P 定理 2( 階層定理 ) f n >n o f n O f n log f n 2 o f n O n 3 o n 2 2 P EXP f n =n log n P EXP P EXP NP 問題の定義とその位置 6 情報処理 Vol.54 No.4 Apr

7 Yes, No Yes Yes NP NP Yes Yes 7 NP No NP NP Yes NP conp conp No Yes NP conp NP conp P3NP+coNP 7 Pratt 図 -5 階層定理 ( 左図 ) と, 検証モデルによる階層化 ( 右図 ) f n 2 f n NP EXP NP P P3NP 3EXP 図 -5 積み木倒しのシナリオ (1):NP の内部 NP 定義 2 A B f A n X B f n Y A X Yes B Y Yes 系 1 A B B P A P 情報処理 Vol.54 No.4 Apr. 2013

8 8 P 2 P 1 NP 1 図 -6 NP 完全問題の位置の可能性 定義 3 A NP NP X A A NP NP A NP P=NP NP NP NP NP SAT Cook S. Cook R. Karp NP 4 NP 1 NP P NP NP 9 P=NP NP NP NP 観察 1 NP P NP 図 -6 NP P=NP NP conp P P NP N n=log N N N P 10 NP NP 8 9 n 2 #n 2 NP 情報処理 Vol.54 No.4 Apr

9 NP の上に積み重なる階層 P!NP 1 P NP NP より難しそうな問題 1 NP 図 -7 5 手詰め詰将棋の論理 ( 詰将棋図式は co.jp/playtown/6157/3-5te/gotedume.html より引用 ) NP 積み木倒しのシナリオ (2):NP から組み上げる x y 12 x $x y "y $x 1 "y 1 $x 2 "y 2 $x 3 Q x 1, y 1, x 2, y 2, x 3, s, Checkmate 5 図 -7 x i y i Q s 5 x 1 " x 1 $ y 1 " x 2 $ y 2 " x 3 J Q x 1, y 1, x 2, y 2, x 3, s, Checkmate JQ " $ NP Yes Q x $x, Q x, E A 382 情報処理 Vol.54 No.4 Apr. 2013

10 No x Q "x, JQ x $ " 1 s 1 $x 1 Q x 1, s, Checkmate "x 1 JQ x 1, s, Checkmate conp NP " $ NP 1 "$ $" Yes "x$yq x,y No $x"yjq x,y Yes x y x y 1 p 2 $" "$ p 2 NP conp 2 "$" $"$ p 3 p k, p k, k 1 p k, k 1 p k PH P=NP p k = p k =P PH= P P P! NP PH の行き着く先 p PH k k k $, ",..., $, " k O O n +O n =O n f n f n # f nz1 +n f n =O n f nz1 =O nz1 f n = O nz1 +n=o n +O n =O n O n O n n O n 2 O k k PSPACE #9 n#n p 5 2n+1 PSPACE PSPACE PH PH k 1 P=NP P=PH PSPACE P=PSPACE 図 -8 PSPACE NP P!PSPACE P!NP n 1, 2, 13 PSPACE PSPACE 情報処理 Vol.54 No.4 Apr

11 図 -8 多項式時間階層 PH の構造 P!PSPACE 参考文献 1 Sipser, M ELC Web u.ac.jp/elc/ , Garey, M. R. and Johnson, D. S. : Computers and Intrac tability A Guide to the Theory of NP Completeness Agrawal, M., Kayal, N. and Saxena, N. : PRIMES is in P, Annals of Mathematics 160 2, pp : 次回予告 徳山豪 tokuyama@dais.is.tohoku.ac.jp IBM 情報処理 Vol.54 No.4 Apr. 2013

(1)

(1) ~ ~ NO YES ~ ( NO YES ) YES NO NO YES ~ ( NO YES ) YES NO 1 1 NO 2 NO 2YES YES 1 (1) 25 26 2 3 () () () () 4 () () 5 6 () 7 () 8 9 1-3-1 10 3 11 12 ~1. (1) () () (2) (3) () (4) () () (5) (6) (7) (1) (2)

More information

2

2 2007 8 12 1 Q&A Q1 A 2007 6 29 2008 1 1 14 1 12 1 2 3 1 1 13 1 2 15 1 1 2 Q2 A 627 1 20 1 1 3 15 2003 18 2 3 4 5 3 406 44 2 1997 7 16 5 1 1 15 4 52 1 31 268 17 5 60 55 50 1999 3 9 1999 3 39 40 44 100 1

More information

Microsoft PowerPoint - 13approx.pptx

Microsoft PowerPoint - 13approx.pptx I482F 実践的アルゴリズム特論 13,14 回目 : 近似アルゴリズム 上原隆平 (uehara@jaist.ac.jp) ソートの下界の話 比較に基づく任意のソートアルゴリズムはΩ(n log n) 時間の計算時間が必要である 証明 ( 概略 ) k 回の比較で区別できる場合の数は高々 2 k 種類しかない n 個の要素の異なる並べ方は n! 通りある したがって少なくとも k n 2 n!

More information

untitled

untitled 20 7 1 22 7 1 1 2 3 7 8 9 10 11 13 14 15 17 18 19 21 22 - 1 - - 2 - - 3 - - 4 - 50 200 50 200-5 - 50 200 50 200 50 200 - 6 - - 7 - () - 8 - (XY) - 9 - 112-10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 -

More information

untitled

untitled 19 1 19 19 3 8 1 19 1 61 2 479 1965 64 1237 148 1272 58 183 X 1 X 2 12 2 15 A B 5 18 B 29 X 1 12 10 31 A 1 58 Y B 14 1 25 3 31 1 5 5 15 Y B 1 232 Y B 1 4235 14 11 8 5350 2409 X 1 15 10 10 B Y Y 2 X 1 X

More information

N N 1,, N 2 N N N N N 1,, N 2 N N N N N 1,, N 2 N N N 8 1 6 3 5 7 4 9 2 1 12 13 8 15 6 3 10 4 9 16 5 14 7 2 11 7 11 23 5 19 3 20 9 12 21 14 22 1 18 10 16 8 15 24 2 25 4 17 6 13 8 1 6 3 5 7 4 9 2 1 12 13

More information

untitled

untitled 34 3 1 2016 4 JRSJ Vol. 34 No. 3 2 Apr., 2016 34 3 3 2016 4 JRSJ Vol. 34 No. 3 4 Apr., 2016 34 3 5 2016 4 JRSJ Vol. 34 No. 3 6 Apr., 2016 34 3 7 2016 4 JRSJ Vol. 34 No. 3 8 Apr., 2016 34 3 9 2016 4 JRSJ

More information

untitled

untitled ---------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------

More information

みさき_1

みさき_1 2 3 4 5 6 7 1F 2F 8 9 10 11 17 18 19 20 21 22 23 24 31 25 26 27 28 29 30 8 1 2 3 4 5 6 7 6 8 7 16 7 8 9 10 11 12 14 15 13 17 23 Vol.41 8 6 20 11 7 15 7 23 7 7 7 16 23 23 8 13 18:00 22:00 722

More information

H21_report

H21_report vol.4 1 2 6 10 14 18 20 22 24 25 1 2 2172 73 3 21925 926 21125 126 4 5 6 21629 630 7 21107 108 21127 128 8 9 10 21616 617 11 211026 1027 211213 1214 12 13 14 21713 714 15 2194 95 211031 111 16 17 18 19

More information

2009-9-2.indd

2009-9-2.indd Q No.1441 Q No.1442 Vol.33 NO.9 (2009) 30 (614) Q No.1443 Vol.33 NO.9 (2009) 31 (615) Q No.1444 Vol.33 NO.9 (2009) 32 (616) Vol.33 NO.9 (2009) 33 (617) Vol.33 NO.9 (2009) 34 (618) Q No.1445 Vol.33 NO.9

More information

untitled

untitled Vol.27 1 Vol.27 2 Vol.27 3 Vol.27 4 Vol.27 5 Vol.27 6 Vol.27 7 Vol.27 8 Vol.27 9 Vol.27 10 11 Vol.27 Vol.27 12 Vol.27 13 Vol.27 14 Vol.27 15 Vol.27 16 Vol.27 17 Vol.27 2007 10 29 18 http://www.nira.or.jp/index.html

More information

09030549_001.図書館31-1

09030549_001.図書館31-1 vol.31 NO.1 2 3 5 6 10 12 8 1947-1954- 1950-1838-1904 1952-1996 1 913-1954 1981-1958- 1 902-1992 1972-1946- 1 940- 1 2 3 3 5 6 6 8 8 12 8 8 1 2 2 http://library.hokkai-s-u.ac.jp/cgi-bin/tosyokan/index.cgi

More information

VOL a s d f g h

VOL a s d f g h VOL.20013 -- 1937 101939 1940410 1940 1 VOL.20013 2030 193810 19391034 1937 a s d f g h 1995139140161 1998348 1988236 1994577578 1998 1987151 1922 2 VOL.20013 101110 3000500 70 1929 1920 1927 70 4050 30

More information

Vol.14 98 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68

More information

untitled

untitled 12 3 10 27 1 100 1/10 1/3 2012 24 27 22 23 153 8407 26 28 563 275 26 260 275 120 67 21 15 98 70 8407 7791 616 70.2 19 50 100 300 vol.195 12 10 12 22 11 23 30 0.022 22 11 23 1 9230+0.022 22 11 23 vol.194

More information

Vol..3 2010 2 10 2

Vol..3 2010 2 10 2 1 Vol..3 2010 2 10 2 Vol..3 2010 2 10 3 Vol..3 2010 2 10 4 Vol..3 2010 2 10 5 Vol..3 2010 2 10 6 Vol..3 2010 2 10 7 Vol..3 2010 2 10 8 Vol..3 2010 2 10 9 Vol..3 2010 2 10 10 Vol..3 2010 2 10 11 Vol..3

More information

untitled

untitled 2013. Apr.4 Mon Tue Wed Thu Fri Sat Sun 4/1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 5/1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 TEL WEB 1 2 3 4 1 2 3! ENTER 2013. 329 2013.

More information

03-087.indb

03-087.indb 2008. APR. Vol. 64 For a Better Life 4 2 April 2008 April 2008 3 4 April 2008 April 2008 5 6 April 2008 April 2008 7 8 April 2008 April 2008 9 10 April 2008 April 2008 11 12 April 2008 April 2008 13 14

More information

日経テレコン料金表(2016年4月)

日経テレコン料金表(2016年4月) 1 2 3 4 8,000 15,000 22,000 29,000 5 6 7 8 36,000 42,000 48,000 54,000 9 10 20 30 60,000 66,000 126,000 166,000 50 100 246,000 396,000 1 25 8,000 7,000 620 2150 6,000 4,000 51100 101200 3,000 1,000 201

More information