<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sudopedia.org/index.php?action=history&amp;feed=atom&amp;title=Deadly_Pattern</id>
	<title>Deadly Pattern - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.sudopedia.org/index.php?action=history&amp;feed=atom&amp;title=Deadly_Pattern"/>
	<link rel="alternate" type="text/html" href="https://www.sudopedia.org/index.php?title=Deadly_Pattern&amp;action=history"/>
	<updated>2026-04-29T02:10:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://www.sudopedia.org/index.php?title=Deadly_Pattern&amp;diff=111&amp;oldid=prev</id>
		<title>Rooted: Created page with &quot;A '''deadly pattern''' is a set of cells whose candidates form a pattern that causes the puzzle to have multiple solutions.  Deadly patterns can never be encounter...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sudopedia.org/index.php?title=Deadly_Pattern&amp;diff=111&amp;oldid=prev"/>
		<updated>2020-05-31T20:05:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;deadly pattern&amp;#039;&amp;#039;&amp;#039; is a set of &lt;a href=&quot;/wiki/Cell&quot; title=&quot;Cell&quot;&gt;cells&lt;/a&gt; whose &lt;a href=&quot;/wiki/Candidate&quot; title=&quot;Candidate&quot;&gt;candidates&lt;/a&gt; form a pattern that causes the puzzle to have multiple &lt;a href=&quot;/wiki/Solution&quot; title=&quot;Solution&quot;&gt;solutions&lt;/a&gt;.  Deadly patterns can never be encounter...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A '''deadly pattern''' is a set of [[cell]]s whose [[candidate]]s form a pattern that causes the puzzle to have multiple [[solution]]s.  Deadly patterns can never be encountered while solving a proper (uniquely-solvable) Sudoku.&lt;br /&gt;
&lt;br /&gt;
If an &amp;quot;almost deadly&amp;quot; pattern (which is a deadly pattern but for the presence of additional candidates) is encountered then at least one of those additional candidates must be correct.  This is the basis of various [[Uniqueness Test|uniqueness tests]].&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
Formally, a '''deadly pattern''' is a collection of cells and their candidates that ...&lt;br /&gt;
* ... have multiple solutions ...&lt;br /&gt;
* ... each of which have the same [[footprint]] ...&lt;br /&gt;
* ... but no (cell,value) pairs in common.&lt;br /&gt;
The first two of those points ensure that the puzzle has multiple solutions.  The last is a convention to limit the definition to the &amp;quot;core&amp;quot; of the multiple-solutions pattern.&lt;br /&gt;
&lt;br /&gt;
The formal definition is not easy to work with in practice.  Simpler descriptions in terms of [[bivalue]] cells are used for the commonly-encountered types of deadly pattern, namely [[Unique Rectangle]], [[BUG]] and [[BUG Lite]].  However, it should be remembered that more complex deadly patterns are also possible in theory.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== A deadly pattern ===&lt;br /&gt;
&lt;br /&gt;
This is a deadly pattern:&lt;br /&gt;
 . 12  .  |  . 21  .  |  .  .  .&lt;br /&gt;
 . 23  .  |  . 32  .  |  .  .  .&lt;br /&gt;
 . 31  .  |  . 13  .  |  .  .  .&lt;br /&gt;
Its solutions are (reading cells left to right, top to bottom) ...&lt;br /&gt;
   one solution:  .1..2.....2..3.....3..1....&lt;br /&gt;
 other solution:  .2..1.....3..2.....1..3....&lt;br /&gt;
... which are easily seen to have the same footprint and be disjoint, as required.&lt;br /&gt;
&lt;br /&gt;
If this pattern occurred whilst solving a Sudoku then we could immediately deduce that the puzzle had multiple solutions.&lt;br /&gt;
&lt;br /&gt;
=== Inference with an &amp;quot;almost deadly&amp;quot; pattern ===&lt;br /&gt;
&lt;br /&gt;
This much more interesting scenario is an &amp;quot;almost deadly&amp;quot; pattern due to the presence of additional candidates (shown in blue):&lt;br /&gt;
 .  12 .  |  . 21&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt; .  |  .  .  .&lt;br /&gt;
 . &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;23 .  |  . 32  .  |  .  .  .&lt;br /&gt;
 .  31 .  |  . 13  .  |  .  .  .&lt;br /&gt;
In this case, the solutions are ...&lt;br /&gt;
   one solution:  .1..2.....2..3.....3..1....&lt;br /&gt;
 other solution:  .2..1.....3..2.....1..3....&lt;br /&gt;
 third solution:  .2..3.....1..2.....3..1....&lt;br /&gt;
... which have neither the same footprint nor are disjoint; so the pattern is '''not''' deadly.&lt;br /&gt;
&lt;br /&gt;
Without the additional candidates, the pattern ''would'' be deadly.  Thus, at least one of the additional candidates must be correct. In this particular example, that forces the cells to match the third solution listed above.&lt;br /&gt;
&lt;br /&gt;
== Deadly patterns and minimal unavoidable sets ==&lt;br /&gt;
&lt;br /&gt;
An [[Unavoidable Set]] in a solution grid is a set of cells whose values can be altered without changing the [[footprint]].  A ''minimal'' unavoidable set is one that contains no smaller unavoidable sets.&lt;br /&gt;
&lt;br /&gt;
Minimal unavoidable sets and deadly patterns are two views of the same phenomenon, since a deadly pattern can also be regarded as a collection of cells and their candidates all of whose solutions are minimal unavoidable sets.&lt;br /&gt;
&lt;br /&gt;
Thus, we can use the theory of unavoidable sets to state that:&lt;br /&gt;
* there are thousands of different types of deadly pattern&lt;br /&gt;
* the smallest covers four cells&lt;br /&gt;
* the largest covers at least sixty cells (this is probably unusable in practice)&lt;br /&gt;
* if there are D(''n'') types of deadly pattern on ''n'' cells then D(4)=1, D(5)=0, D(6)=4, D(7)=0, D(8)=9, D(9)=3, D(10)&amp;gt;46, ...&lt;br /&gt;
* all deadly patterns of size less than about 30 cells consist entirely of [[bivalue]] cells &lt;br /&gt;
&lt;br /&gt;
Since D(''n'') is small for ''n''&amp;lt;10, we can catalogue all of the small deadly patterns.  For larger deadly patterns, the catalogue is too long to be useful for human players, so rules of thumb involving [[bivalue]] cells are used to spot deadly patterns instead.&lt;br /&gt;
&lt;br /&gt;
== Catalogue of deadly patterns on &amp;lt;10 cells ==&lt;br /&gt;
&lt;br /&gt;
In what follows, the candidates are arranged so that ''either'' all of the lefthand candidates in each pair are true ''or'' all of the righthand candidates are true.&lt;br /&gt;
&lt;br /&gt;
The catalogue is comprehensive up to [[Mathematically equivalent|isomorphism]].&lt;br /&gt;
&lt;br /&gt;
=== 4 cells ===&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 21 .  .  |  12 .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
=== 6 cells ===&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 21 .  .  |  .  .  .  |  12 .  .&lt;br /&gt;
 .  .  .  |  12 .  .  |  21 .  .&lt;br /&gt;
&lt;br /&gt;
 12 .  .  |  23 .  .  |  31 .  .&lt;br /&gt;
 21 .  .  |  32 .  .  |  13 .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 23 .  .  |  32 .  .  |  .  .  .&lt;br /&gt;
 31 .  .  |  13 .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 21 .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 21 .  .  |  12 .  .  |  .  .  .&lt;br /&gt;
 .  12 .  |  21 .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
=== 8 cells ===&lt;br /&gt;
 12 .  .  |  23 .  .  |  31 .  .&lt;br /&gt;
 .  21 .  |  32 .  .  |  13 .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 21 12 .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 .  21 .  |  .  .  .  |  12 .  .&lt;br /&gt;
 .  .  .  |  12 .  .  |  21 .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 21 12 .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 .  21 .  |  12 .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 21 .  .  |  .  12 .  |  .  .  .&lt;br /&gt;
 .  12 .  |  .  21 .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 .  21 .  |  12 .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 21 .  .  |  .  .  .  |  12 .  .&lt;br /&gt;
 .  12 .  |  .  .  .  |  21 .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 .  21 .  |  .  12 .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 21 .  .  |  12 .  .  |  .  .  .&lt;br /&gt;
 .  12 .  |  .  21 .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 23 .  |  31 .  .  |  .  .  .&lt;br /&gt;
 .  .  31 |  13 .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 21 32 13 |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 .  .  |  24 .  .  |  41 .  .&lt;br /&gt;
 23 .  .  |  32 .  .  |  .  .  .&lt;br /&gt;
 31 .  .  |  43 .  .  |  14 .  .&lt;br /&gt;
&lt;br /&gt;
 13 24 .  |  32 .  .  |  41 .  .&lt;br /&gt;
 31 42 .  |  23 .  .  |  14 .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 24 .  |  41 .  .  |  .  .  .&lt;br /&gt;
 31 43 .  |  14 .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 23 32 .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
=== 9 cells ===&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 .  23 .  |  32 .  .  |  .  .  .&lt;br /&gt;
 .  .  31 |  13 .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 21 32 13 |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 24 .  |  41 .  .  |  .  .  .&lt;br /&gt;
 31 .  43 |  14 .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 23 42 34 |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
 12 .  .  |  21 .  .  |  .  .  .&lt;br /&gt;
 23 .  .  |  .  .  .  |  32 .  .&lt;br /&gt;
 .  31 .  |  12 .  .  |  23 .  .&lt;br /&gt;
 --------- ----------- ---------&lt;br /&gt;
 31 13 .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
== Deadly patterns in practice ==&lt;br /&gt;
&lt;br /&gt;
When solving a Sudoku puzzle, there are numerous &amp;quot;recipes&amp;quot; for exploiting (almost) deadly patterns.  These techniques differ in the type of deadly pattern being avoided and the positioning or values of the additional candidates.&lt;br /&gt;
* [[Uniqueness Test|Uniqueness Tests]].  These exploit various arrangements of additional candidates attached to the 4-cell [[Unique Rectangle]].&lt;br /&gt;
* [[BUG]] (Bivalue Universal Grave).  This is the deadly pattern in which all unresolved cells ''in the whole grid'' have precisely 2 candidates.&lt;br /&gt;
* [[BUG Lite]].  This is any deadly pattern in which all cells ''in that pattern'' have precisely 2 candidates.  The [[Unique Rectangle]] and [[BUG]] are special cases of BUG Lite.&lt;br /&gt;
&lt;br /&gt;
The corresponding &amp;quot;almost deadly&amp;quot; patterns, in which ''n'' cells have additional candidate(s), are called UR ''n'', BUG ''n'' or BUG Lite ''n''.&lt;br /&gt;
&lt;br /&gt;
The only type of deadly pattern missing from this categorisation is any with &amp;gt;2 solutions.  However, as mentioned previously, such patterns are rare and large, so unlikely to be useful in practice.&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.sudoku.com/forums/viewtopic.php?t=3056 BUG Lite thread] on the Sudoku Players' forum&lt;br /&gt;
* [http://www.sudoku.com/forums/viewtopic.php?t=2747 Pseudo-puzzles thread] on the Sudoku Players' forum&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Unique Rectangle]]&lt;br /&gt;
* [[BUG]]&lt;br /&gt;
* [[BUG Lite]]&lt;br /&gt;
* [[Uniqueness Test]]&lt;br /&gt;
&lt;br /&gt;
{{debate}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Uniqueness]]&lt;/div&gt;</summary>
		<author><name>Rooted</name></author>
		
	</entry>
</feed>