<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Chaos at the Sky]]></provider_name><provider_url><![CDATA[https://chaosatthesky.wordpress.com]]></provider_url><author_name><![CDATA[chaotic_iak]]></author_name><author_url><![CDATA[https://chaosatthesky.wordpress.com/author/chaoticiak/]]></author_url><title><![CDATA[Ripple Effect is&nbsp;NP-complete]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>Ripple Effect is NP-complete. We reduce from 3-SAT.</p>
<p><!--more--></p>
<p>The wire is of this form:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/wire.png"><img loading="lazy" data-attachment-id="1398" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/wire/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/wire.png" data-orig-size="354,226" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="wire" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/wire.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/wire.png?w=354" src="https://chaosatthesky.files.wordpress.com/2014/01/wire.png?w=354&#038;h=226" alt="Wire in Ripple Effect" width="354" height="226" class="aligncenter size-full wp-image-1398" srcset="https://chaosatthesky.files.wordpress.com/2014/01/wire.png 354w, https://chaosatthesky.files.wordpress.com/2014/01/wire.png?w=150&amp;h=96 150w, https://chaosatthesky.files.wordpress.com/2014/01/wire.png?w=300&amp;h=192 300w" sizes="(max-width: 354px) 100vw, 354px" /></a></p>
<p>3&#8217;s carry the value True, 2&#8217;s carry the value False. We also keep track of the orientation, as reversing the orientation reverses the value carried by the wire. It can easily be shown that those two are the only local solutions. The gray squares will combine into a single region that will be filled by numbers appropriately.</p>
<p>We can &#8220;stretch&#8221; the wire arbitrarily long by inserting 4, 5, 6, and so on:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/phaseshift.png"><img loading="lazy" data-attachment-id="1394" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/phaseshift/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/phaseshift.png" data-orig-size="514,162" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="phaseshift" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/phaseshift.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/phaseshift.png?w=514" src="https://chaosatthesky.files.wordpress.com/2014/01/phaseshift.png?w=514&#038;h=162" alt="Phase Shifter in Ripple Effect" width="514" height="162" class="aligncenter size-full wp-image-1394" srcset="https://chaosatthesky.files.wordpress.com/2014/01/phaseshift.png 514w, https://chaosatthesky.files.wordpress.com/2014/01/phaseshift.png?w=150&amp;h=47 150w, https://chaosatthesky.files.wordpress.com/2014/01/phaseshift.png?w=300&amp;h=95 300w" sizes="(max-width: 514px) 100vw, 514px" /></a></p>
<p>We can also bend wires:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/corner.png"><img loading="lazy" data-attachment-id="1387" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/corner/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/corner.png" data-orig-size="610,290" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="corner" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/corner.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/corner.png?w=610" src="https://chaosatthesky.files.wordpress.com/2014/01/corner.png?w=610&#038;h=290" alt="Corner in Ripple Effect" width="610" height="290" class="aligncenter size-full wp-image-1387" srcset="https://chaosatthesky.files.wordpress.com/2014/01/corner.png 610w, https://chaosatthesky.files.wordpress.com/2014/01/corner.png?w=150&amp;h=71 150w, https://chaosatthesky.files.wordpress.com/2014/01/corner.png?w=300&amp;h=143 300w" sizes="(max-width: 610px) 100vw, 610px" /></a></p>
<p>And cross them:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/crossover.png"><img data-attachment-id="1388" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/crossover/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/crossover.png" data-orig-size="1122,354" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="crossover" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/crossover.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/crossover.png?w=1024" src="https://chaosatthesky.files.wordpress.com/2014/01/crossover.png?w=1024&#038;h=322" alt="Crossover in Ripple Effect"   class="aligncenter size-large wp-image-1388" srcset="https://chaosatthesky.files.wordpress.com/2014/01/crossover.png?w=1021&amp;h=322 1021w, https://chaosatthesky.files.wordpress.com/2014/01/crossover.png?w=150&amp;h=47 150w, https://chaosatthesky.files.wordpress.com/2014/01/crossover.png?w=300&amp;h=95 300w, https://chaosatthesky.files.wordpress.com/2014/01/crossover.png?w=768&amp;h=242 768w, https://chaosatthesky.files.wordpress.com/2014/01/crossover.png?w=1024&amp;h=323 1024w, https://chaosatthesky.files.wordpress.com/2014/01/crossover.png 1122w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p>Now that the basics are set, time to head to the more advanced gadgets:</p>
<p>To put an input:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/input.png"><img loading="lazy" data-attachment-id="1389" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/input/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/input.png" data-orig-size="194,226" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="input" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/input.png?w=194" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/input.png?w=194" src="https://chaosatthesky.files.wordpress.com/2014/01/input.png?w=194&#038;h=226" alt="Input in Ripple Effect" width="194" height="226" class="aligncenter size-full wp-image-1389" srcset="https://chaosatthesky.files.wordpress.com/2014/01/input.png 194w, https://chaosatthesky.files.wordpress.com/2014/01/input.png?w=129&amp;h=150 129w" sizes="(max-width: 194px) 100vw, 194px" /></a></p>
<p>To branch wires:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/branch.png"><img loading="lazy" data-attachment-id="1386" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/branch/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/branch.png" data-orig-size="418,642" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="branch" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/branch.png?w=195" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/branch.png?w=418" src="https://chaosatthesky.files.wordpress.com/2014/01/branch.png?w=418&#038;h=642" alt="Branch in Ripple Effect" width="418" height="642" class="aligncenter size-full wp-image-1386" srcset="https://chaosatthesky.files.wordpress.com/2014/01/branch.png 418w, https://chaosatthesky.files.wordpress.com/2014/01/branch.png?w=98&amp;h=150 98w, https://chaosatthesky.files.wordpress.com/2014/01/branch.png?w=195&amp;h=300 195w" sizes="(max-width: 418px) 100vw, 418px" /></a></p>
<p>We only need one more gadget, the NAND gate.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/nand.png"><img loading="lazy" data-attachment-id="1390" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/nand/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/nand.png" data-orig-size="418,386" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="nand" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/nand.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/nand.png?w=418" src="https://chaosatthesky.files.wordpress.com/2014/01/nand.png?w=418&#038;h=386" alt="NAND Gate in Ripple Effect" width="418" height="386" class="aligncenter size-full wp-image-1390" srcset="https://chaosatthesky.files.wordpress.com/2014/01/nand.png 418w, https://chaosatthesky.files.wordpress.com/2014/01/nand.png?w=150&amp;h=139 150w, https://chaosatthesky.files.wordpress.com/2014/01/nand.png?w=300&amp;h=277 300w" sizes="(max-width: 418px) 100vw, 418px" /></a></p>
<p>Whose local solutions are:</p>
<p>(True/True)</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/nandtt.png"><img loading="lazy" data-attachment-id="1393" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/nandtt/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/nandtt.png" data-orig-size="418,386" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="nandtt" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/nandtt.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/nandtt.png?w=418" src="https://chaosatthesky.files.wordpress.com/2014/01/nandtt.png?w=418&#038;h=386" alt="NAND, with True/True input" width="418" height="386" class="aligncenter size-full wp-image-1393" srcset="https://chaosatthesky.files.wordpress.com/2014/01/nandtt.png 418w, https://chaosatthesky.files.wordpress.com/2014/01/nandtt.png?w=150&amp;h=139 150w, https://chaosatthesky.files.wordpress.com/2014/01/nandtt.png?w=300&amp;h=277 300w" sizes="(max-width: 418px) 100vw, 418px" /></a></p>
<p>(True/False; for False/True, flip)</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/nandtf.png"><img loading="lazy" data-attachment-id="1392" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/nandtf/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/nandtf.png" data-orig-size="418,386" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="nandtf" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/nandtf.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/nandtf.png?w=418" src="https://chaosatthesky.files.wordpress.com/2014/01/nandtf.png?w=418&#038;h=386" alt="NAND, with True/False input" width="418" height="386" class="aligncenter size-full wp-image-1392" srcset="https://chaosatthesky.files.wordpress.com/2014/01/nandtf.png 418w, https://chaosatthesky.files.wordpress.com/2014/01/nandtf.png?w=150&amp;h=139 150w, https://chaosatthesky.files.wordpress.com/2014/01/nandtf.png?w=300&amp;h=277 300w" sizes="(max-width: 418px) 100vw, 418px" /></a></p>
<p>(False/False)</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/nandff.png"><img loading="lazy" data-attachment-id="1391" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/nandff/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/nandff.png" data-orig-size="418,386" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="nandff" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/nandff.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/nandff.png?w=418" src="https://chaosatthesky.files.wordpress.com/2014/01/nandff.png?w=418&#038;h=386" alt="NAND, with False/False input" width="418" height="386" class="aligncenter size-full wp-image-1391" srcset="https://chaosatthesky.files.wordpress.com/2014/01/nandff.png 418w, https://chaosatthesky.files.wordpress.com/2014/01/nandff.png?w=150&amp;h=139 150w, https://chaosatthesky.files.wordpress.com/2014/01/nandff.png?w=300&amp;h=277 300w" sizes="(max-width: 418px) 100vw, 418px" /></a></p>
<p>With these gadgets, we can construct every possible Boolean formula or truth table, since we can create NOT, AND, OR, and TRUE:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/symbolnand.png"><img loading="lazy" data-attachment-id="1400" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/symbolnand/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolnand.png" data-orig-size="179,67" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="symbolnand" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolnand.png?w=179" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolnand.png?w=179" src="https://chaosatthesky.files.wordpress.com/2014/01/symbolnand.png?w=179&#038;h=67" alt="NAND, symbolic form" width="179" height="67" class="aligncenter size-full wp-image-1400" srcset="https://chaosatthesky.files.wordpress.com/2014/01/symbolnand.png 179w, https://chaosatthesky.files.wordpress.com/2014/01/symbolnand.png?w=150&amp;h=56 150w" sizes="(max-width: 179px) 100vw, 179px" /></a></p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/symbolnot.png"><img loading="lazy" data-attachment-id="1401" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/symbolnot/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolnot.png" data-orig-size="355,67" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="symbolnot" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolnot.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolnot.png?w=355" src="https://chaosatthesky.files.wordpress.com/2014/01/symbolnot.png?w=355&#038;h=67" alt="NOT from NAND" width="355" height="67" class="aligncenter size-full wp-image-1401" srcset="https://chaosatthesky.files.wordpress.com/2014/01/symbolnot.png 355w, https://chaosatthesky.files.wordpress.com/2014/01/symbolnot.png?w=150&amp;h=28 150w, https://chaosatthesky.files.wordpress.com/2014/01/symbolnot.png?w=300&amp;h=57 300w" sizes="(max-width: 355px) 100vw, 355px" /></a></p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/symboland.png"><img data-attachment-id="1399" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/symboland/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/symboland.png" data-orig-size="867,67" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="symboland" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/symboland.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/symboland.png?w=867" src="https://chaosatthesky.files.wordpress.com/2014/01/symboland.png?w=1024&#038;h=78" alt="AND from NAND"   class="aligncenter size-large wp-image-1399" srcset="https://chaosatthesky.files.wordpress.com/2014/01/symboland.png 867w, https://chaosatthesky.files.wordpress.com/2014/01/symboland.png?w=150&amp;h=12 150w, https://chaosatthesky.files.wordpress.com/2014/01/symboland.png?w=300&amp;h=23 300w, https://chaosatthesky.files.wordpress.com/2014/01/symboland.png?w=768&amp;h=59 768w" sizes="(max-width: 867px) 100vw, 867px" /></a></p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png"><img data-attachment-id="1402" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/symbolor/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png" data-orig-size="867,163" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="symbolor" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png?w=867" src="https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png?w=1024&#038;h=192" alt="OR from NAND"   class="aligncenter size-large wp-image-1402" srcset="https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png 867w, https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png?w=150&amp;h=28 150w, https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png?w=300&amp;h=56 300w, https://chaosatthesky.files.wordpress.com/2014/01/symbolor.png?w=768&amp;h=144 768w" sizes="(max-width: 867px) 100vw, 867px" /></a></p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png"><img data-attachment-id="1403" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/symboltrue/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png" data-orig-size="835,99" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="symboltrue" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png?w=835" src="https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png?w=1024&#038;h=121" alt="TRUE from NAND"   class="aligncenter size-large wp-image-1403" srcset="https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png 835w, https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png?w=150&amp;h=18 150w, https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png?w=300&amp;h=36 300w, https://chaosatthesky.files.wordpress.com/2014/01/symboltrue.png?w=768&amp;h=91 768w" sizes="(max-width: 835px) 100vw, 835px" /></a></p>
<p>And we can combine them in straightforward ways:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png"><img data-attachment-id="1404" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/symbolsample/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png" data-orig-size="771,227" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="symbolsample" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png?w=771" src="https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png?w=1024&#038;h=301" alt="Sample truth table and its realization with NOT, AND, and OR gates"   class="aligncenter size-large wp-image-1404" srcset="https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png 771w, https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png?w=150&amp;h=44 150w, https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png?w=300&amp;h=88 300w, https://chaosatthesky.files.wordpress.com/2014/01/symbolsample.png?w=768&amp;h=226 768w" sizes="(max-width: 771px) 100vw, 771px" /></a></p>
<p>We can also combine them into an instance of 3-SAT, more or less following the above pattern (ORing the three literals in a clause and setting its result to TRUE).</p>
<p>This proves that Ripple Effect is NP-complete.</p>
<p>For fun, here&#8217;s a puzzle that simulates the equation <img src="https://s0.wp.com/latex.php?latex=%5Cneg+%28x+%5Cwedge+%5Cneg+x%29+%3D+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cneg+%28x+%5Cwedge+%5Cneg+x%29+%3D+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cneg+%28x+%5Cwedge+%5Cneg+x%29+%3D+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;neg (x &#92;wedge &#92;neg x) = x" class="latex" />:</p>
<div data-shortcode="caption" id="attachment_1396" style="width: 365px" class="wp-caption aligncenter"><a href="https://chaosatthesky.files.wordpress.com/2014/01/samplepuzzle.png"><img loading="lazy" aria-describedby="caption-attachment-1396" data-attachment-id="1396" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/samplepuzzle/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/samplepuzzle.png" data-orig-size="355,355" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="samplepuzzle" data-image-description="" data-image-caption="&lt;p&gt;Ripple Effect: x NAND -x = x&lt;/p&gt;
" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/samplepuzzle.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/samplepuzzle.png?w=355" src="https://chaosatthesky.files.wordpress.com/2014/01/samplepuzzle.png?w=355&#038;h=355" alt="A Ripple Effect puzzle that simulates x NAND -x = x" width="355" height="355" class="size-full wp-image-1396" srcset="https://chaosatthesky.files.wordpress.com/2014/01/samplepuzzle.png 355w, https://chaosatthesky.files.wordpress.com/2014/01/samplepuzzle.png?w=150&amp;h=150 150w, https://chaosatthesky.files.wordpress.com/2014/01/samplepuzzle.png?w=300&amp;h=300 300w" sizes="(max-width: 355px) 100vw, 355px" /></a><p id="caption-attachment-1396" class="wp-caption-text">Ripple Effect: x NAND -x = x</p></div>
<p>However, a faster result by <a href="http://betaveros.wordpress.com/">betaveros</a>, if we take Latin Square as NP-complete:</p>
<div data-shortcode="caption" id="attachment_1379" style="width: 173px" class="wp-caption aligncenter"><a href="https://chaosatthesky.files.wordpress.com/2014/01/075a-latin-square.png"><img loading="lazy" aria-describedby="caption-attachment-1379" data-attachment-id="1379" data-permalink="https://chaosatthesky.wordpress.com/2014/01/07/p075/075a-latin-square/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/075a-latin-square.png" data-orig-size="163,163" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="075a &#8211; Latin Square" data-image-description="" data-image-caption="&lt;p&gt;Puzzle 75: TomTom is NP-complete&lt;br /&gt;
Latin Square&lt;/p&gt;
" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/075a-latin-square.png?w=163" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/075a-latin-square.png?w=163" src="https://chaosatthesky.files.wordpress.com/2014/01/075a-latin-square.png?w=163&#038;h=163" alt="Puzzle 75a: Latin Square" width="163" height="163" class="size-full wp-image-1379" srcset="https://chaosatthesky.files.wordpress.com/2014/01/075a-latin-square.png 163w, https://chaosatthesky.files.wordpress.com/2014/01/075a-latin-square.png?w=150&amp;h=150 150w" sizes="(max-width: 163px) 100vw, 163px" /></a><p id="caption-attachment-1379" class="wp-caption-text">Puzzle 75: TomTom is NP-complete<br />Latin Square</p></div>
<div data-shortcode="caption" id="attachment_1395" style="width: 333px" class="wp-caption aligncenter"><a href="https://chaosatthesky.files.wordpress.com/2014/01/samplefromlatin.png"><img loading="lazy" aria-describedby="caption-attachment-1395" data-attachment-id="1395" data-permalink="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/samplefromlatin/" data-orig-file="https://chaosatthesky.files.wordpress.com/2014/01/samplefromlatin.png" data-orig-size="323,163" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="samplefromlatin" data-image-description="" data-image-caption="&lt;p&gt;Puzzle 75: &lt;s&gt;TomTom&lt;/s&gt; Ripple Effect is NP-complete&lt;br /&gt;
Ripple Effect&lt;/p&gt;
" data-medium-file="https://chaosatthesky.files.wordpress.com/2014/01/samplefromlatin.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2014/01/samplefromlatin.png?w=323" src="https://chaosatthesky.files.wordpress.com/2014/01/samplefromlatin.png?w=323&#038;h=163" alt="Puzzle 75: Ripple Effect" width="323" height="163" class="size-full wp-image-1395" srcset="https://chaosatthesky.files.wordpress.com/2014/01/samplefromlatin.png 323w, https://chaosatthesky.files.wordpress.com/2014/01/samplefromlatin.png?w=150&amp;h=76 150w, https://chaosatthesky.files.wordpress.com/2014/01/samplefromlatin.png?w=300&amp;h=151 300w" sizes="(max-width: 323px) 100vw, 323px" /></a><p id="caption-attachment-1395" class="wp-caption-text">Puzzle 75: <s>TomTom</s> Ripple Effect is NP-complete<br />Ripple Effect</p></div>
]]></html><thumbnail_url><![CDATA[https://chaosatthesky.files.wordpress.com/2014/01/wire.png?fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[]]></thumbnail_width><thumbnail_height><![CDATA[]]></thumbnail_height></oembed>