super mario bros. is np-hard

Post on 11-Feb-2017

231 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Super Mario Bros. is NP-Hard[Aloupis, Demaine, Guo, Viglietta 2014]

๐‘ฅ๐‘ฅ OR ยฌ๐‘ฆ๐‘ฆ OR ๐‘ง๐‘ง & ๐‘ฅ๐‘ฅ OR ๐‘ฆ๐‘ฆ OR ยฌ๐‘ฆ๐‘ฆ &(ยฌ๐‘ฅ๐‘ฅ OR ยฌ๐‘ฆ๐‘ฆ OR ยฌ๐‘ง๐‘ง) & (ยฌ๐‘ฅ๐‘ฅ OR ยฌ๐‘ฆ๐‘ฆ OR ยฌ๐‘ง๐‘ง)

Presenter
Presentation Notes
http://arxiv.org/abs/1203.1895

[Bern & Hayes 1996]

Presenter
Presentation Notes
Figure 13.7 of GFALOP

Akari / Light Up [Nikoli 2001]

Presenter
Presentation Notes
http://www.nikoli.com/en/puzzles/bijutsukan/ Play more here: http://www.puzzle-light-up.com/

Akari / Light Up is NP-complete[McPhail 2005]

wire gadget

Presenter
Presentation Notes
http://people.cs.umass.edu/~mcphailb/papers/2005lightup.pdf

Akari / Light Up is NP-complete[McPhail 2005]

split/negationgadget

Presenter
Presentation Notes
http://people.cs.umass.edu/~mcphailb/papers/2005lightup.pdf

Akari / Light Up is NP-complete[McPhail 2005]

split gadget NOT gate

Presenter
Presentation Notes
http://people.cs.umass.edu/~mcphailb/papers/2005lightup.pdf

Akari / Light Up is NP-complete[McPhail 2005]

OR/XNOR gate

crossover gadget

Presenter
Presentation Notes
http://people.cs.umass.edu/~mcphailb/papers/2005lightup.pdf

Akari / Light Up is NP-complete[McPhail 2005]

ยฌ๐‘ฅ๐‘ฅ โˆจ ๐‘ฅ๐‘ฅ โˆง ๐‘ฆ๐‘ฆ โˆจ ๐‘ง๐‘ง

๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅโ€ฒ

๐‘ฅ๐‘ฅโ€ฒ

๐‘ง๐‘ง

๐‘ง๐‘ง

๐‘ฅ๐‘ฅโ€ฒ๐‘ฅ๐‘ฅ

๐‘ฆ๐‘ฆโ€ฒ

๐‘ฆ๐‘ฆ

๐‘ฆ๐‘ฆ

โˆจ

โˆง

โˆจ

Presenter
Presentation Notes
http://people.cs.umass.edu/~mcphailb/papers/2005lightup.pdf
Presenter
Presentation Notes
http://courses.csail.mit.edu/6.890/fall14/

๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ

Minesweeper Consistency isNP-complete [Kaye 2000]

wire

wire terminator

split,NOT,turn

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

Presenter
Presentation Notes
Figure drawn by course staff based on http://simon.bailey.at/random/kaye.minesweeper.pdf

Minesweeper Consistency isNP-complete [Kaye 2000]

NOT

Phase changer(2 NOTs)

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

Presenter
Presentation Notes
Figure drawn by course staff based on http://simon.bailey.at/random/kaye.minesweeper.pdf

Minesweeper Consistency isNP-complete [Kaye 2000]

AND

turn

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ

๐‘ง๐‘ง

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ

๐‘ง๐‘ง๐‘ง๐‘ง

๐‘ง๐‘ง

๐‘ง๐‘ง๐‘ง๐‘ง ๐‘ง๐‘ง

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ก๐‘ก ๐‘ก๐‘ก ๐‘ก๐‘ก ๐‘ก๐‘ก ๐‘ก๐‘ก ๐‘ก๐‘ก ๐‘ก๐‘ก ๐‘ก๐‘ก๐‘ก๐‘ก ๐‘ก๐‘ก

๐‘ก๐‘ก

๐‘ก๐‘ก

๐‘ก๐‘ก

๐‘ก๐‘ก

Presenter
Presentation Notes
Figure drawn by course staff based on http://simon.bailey.at/random/kaye.minesweeper.pdf

Minesweeper Consistency isNP-complete [Kaye 2000]

crossover

XOR

[Goldschlager 1977]

Presenter
Presentation Notes
Figures 11 and 12 of http://simon.bailey.at/random/kaye.minesweeper.pdf which in turn is based on http://dx.doi.org/10.1145/1008354.1008356

Minesweeper is CoNP-Complete[Scott, Stege, van Rooij 2011]

turn gadgetwire gadget terminator gadget

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

Presenter
Presentation Notes
Figure drawn by course staff based on http://dx.doi.org/10.1007/s00283-011-9256-x

Minesweeper is CoNP-Complete[Scott, Stege, van Rooij 2011]

OR gate

NOT gate shifter gadget

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

Presenter
Presentation Notes
Figure drawn by course staff based on http://dx.doi.org/10.1007/s00283-011-9256-x

Minesweeper is CoNP-Complete[Scott, Stege, van Rooij 2011]

split gadget

crossover gadget

NOT

shiftershifter

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

๐‘ฃ๐‘ฃ

๐‘ฃ๐‘ฃ๐‘ฃ๐‘ฃ

๐‘ฃ๐‘ฃ๐‘ฃ๐‘ฃ

๐‘ฃ๐‘ฃ๐‘ฃ๐‘ฃ

๐‘ฃ๐‘ฃ

๐‘ฅ๐‘ฅ ๐‘ฅ๐‘ฅ

Presenter
Presentation Notes
Figure drawn by course staff based on http://dx.doi.org/10.1007/s00283-011-9256-x

Minesweeper is CoNP-Complete[Scott, Stege, van Rooij 2011]

NAND

alternative crossover

gadget

Presenter
Presentation Notes
Figures 11 and 12 of http://simon.bailey.at/random/kaye.minesweeper.pdf which in turn is based on http://dx.doi.org/10.1145/1008354.1008356 Plus https://commons.wikimedia.org/wiki/File:NAND_from_NOR.svg#mediaviewer/File:NAND_from_NOR.svg

Minesweeper is CoNP-Complete[Scott, Stege, van Rooij 2011]

Presenter
Presentation Notes
Figure 7 of http://dx.doi.org/10.1007/s00283-011-9256-x

Functionally Complete Logic Gates

[Wernick 1942]

Presenter
Presentation Notes
http://en.wikipedia.org/wiki/Functional_completeness

Candy Crush is NP-complete[Walsh 2014]

variablegadget

true

false

Presenter
Presentation Notes
Figure drawn by course staff based on http://arxiv.org/abs/1403.1911

Candy Crush is NP-complete[Walsh 2014]

connectorgadgets

positive

negative

out

out

Presenter
Presentation Notes
Figure drawn by course staff based on http://arxiv.org/abs/1403.1911

Candy Crush is NP-complete[Walsh 2014]

wiregadget

out

out

in

in

Presenter
Presentation Notes
Figure drawn by course staff based on http://arxiv.org/abs/1403.1911

Candy Crush is NP-complete[Walsh 2014]

out

out

in

in

modifiedwire

gadget

Presenter
Presentation Notes
Figure drawn by course staff based on http://arxiv.org/abs/1403.1911

Candy Crush is NP-complete[Walsh 2014]

out

out

in

in

modifiedwire

gadget

Presenter
Presentation Notes
Figure drawn by course staff based on http://arxiv.org/abs/1403.1911

Candy Crush is NP-complete[Walsh 2014]

out

out

in

in

modifiedwire

gadget

Presenter
Presentation Notes
Figure drawn by course staff based on http://arxiv.org/abs/1403.1911

Candy Crush is NP-complete[Walsh 2014]

๐‘ฅ๐‘ฅ1

clausegadget

๐‘ฅ๐‘ฅ1

๐‘ฅ๐‘ฅ2

๐‘ฅ๐‘ฅ2

๐‘ฅ๐‘ฅ3

๐‘ฅ๐‘ฅ3

rewardgadget

Presenter
Presentation Notes
Figure drawn by course staff based on http://arxiv.org/abs/1403.1911

Bejeweled, Candy Crush, โ€ฆ areNP-Complete [Guala, Leucci, Natale 2014]

Presenter
Presentation Notes
http://arxiv.org/abs/1403.5830 Play the reduction: http://candycrush.isnphard.com/

Bejeweled, Candy Crush, โ€ฆ areNP-Complete [Guala, Leucci, Natale 2014]

Presenter
Presentation Notes
http://arxiv.org/abs/1403.5830 Play the reduction: http://candycrush.isnphard.com/

top related