<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://sudopedia.sudocue.net/index.php?action=history&amp;feed=atom&amp;title=Avoidable_Rectangle</id>
	<title>Avoidable Rectangle - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sudopedia.sudocue.net/index.php?action=history&amp;feed=atom&amp;title=Avoidable_Rectangle"/>
	<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Avoidable_Rectangle&amp;action=history"/>
	<updated>2026-04-18T23:22:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>http://sudopedia.sudocue.net/index.php?title=Avoidable_Rectangle&amp;diff=308&amp;oldid=prev</id>
		<title>127.0.0.1: Created page with &quot;An &#039;&#039;&#039;Unavoidable Rectangle&#039;&#039;&#039; is a 4-cell deadly pattern in a Sudoku solution; for example:     xy .  .  |  yx .  .  |  .  .  .  yx .  .  |  xy .  .  |  .  ....&quot;</title>
		<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Avoidable_Rectangle&amp;diff=308&amp;oldid=prev"/>
		<updated>2021-10-25T13:15:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;An &amp;#039;&amp;#039;&amp;#039;Unavoidable Rectangle&amp;#039;&amp;#039;&amp;#039; is a 4-&lt;a href=&quot;/index.php?title=Cell&quot; title=&quot;Cell&quot;&gt;cell&lt;/a&gt; &lt;a href=&quot;/index.php?title=Deadly_pattern&quot; title=&quot;Deadly pattern&quot;&gt;deadly pattern&lt;/a&gt; in a &lt;a href=&quot;/index.php?title=Sudoku&quot; title=&quot;Sudoku&quot;&gt;Sudoku&lt;/a&gt; &lt;a href=&quot;/index.php?title=Solution&quot; title=&quot;Solution&quot;&gt;solution&lt;/a&gt;; for example:     xy .  .  |  yx .  .  |  .  .  .  yx .  .  |  xy .  .  |  .  ....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;An &amp;#039;&amp;#039;&amp;#039;Unavoidable Rectangle&amp;#039;&amp;#039;&amp;#039; is a 4-[[cell]] [[deadly pattern]] in a [[Sudoku]] [[solution]]; for example: &lt;br /&gt;
 &lt;br /&gt;
 xy .  .  |  yx .  .  |  .  .  .&lt;br /&gt;
 yx .  .  |  xy .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;y&amp;#039;&amp;#039;&amp;#039; represent different values, and where either &amp;#039;&amp;#039;all&amp;#039;&amp;#039; of the left-hand values are true or &amp;#039;&amp;#039;all&amp;#039;&amp;#039; of the right-hand values are true.  For this pattern to appear in the solution of a Sudoku with a unique solution, at least one of the four cells in the pattern must be supplied as an initial clue to avoid the rectangle being deadly.  Hence the term Unavoidable Rectangle--the designer of the Sudoku cannot avoid providing a [[given]] clue in at least one of the cells of the rectangle.&lt;br /&gt;
&lt;br /&gt;
From the solver&amp;#039;s standpoint, if we know that the Sudoku has a unique solution, and none of the four cells in the rectangle was supplied as a given, then the pattern described above would indeed be deadly and must be avoided.  Hence where none of the rectangle cells is a given, this is an &amp;#039;&amp;#039;&amp;#039;Avoidable Rectangle&amp;#039;&amp;#039;&amp;#039;--there are restrictions on [[candidate]] placement if we are to avoid the deadly pattern.  The originator of this technique called the pattern an &amp;#039;&amp;#039;&amp;#039;Almost Unavoidable Rectangle&amp;#039;&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;&amp;#039;AUR&amp;#039;&amp;#039;&amp;#039;, but that term was already in use for &amp;#039;&amp;#039;&amp;#039;[[Almost Unique Rectangles]]&amp;#039;&amp;#039;&amp;#039;.  In his book &amp;#039;&amp;#039;The Logic of Sudoku&amp;#039;&amp;#039;, Andrew C Stuart uses the term Avoidable Rectangle, which is how it will be referred to here, especially as it better describes what is going on from the solver&amp;#039;s (as opposed to the puzzle designer&amp;#039;s) point of view.&lt;br /&gt;
&lt;br /&gt;
Where all four cells in the rectangle are unsolved, the [[Uniqueness Test]] strategies can be used to evaluate the situation.  This section discusses Avoidable Rectangles involving two or more [[solved cell]]s--cells whose values are known but that were not provided as initial givens to the Sudoku.  There are three kinds of Avoidable Rectangles:  Type 1, Type 2, and Type 3; these correspond directly to the Type 1, 2, and 3 Unique Rectangles involved in the Uniqueness Test strategies.&lt;br /&gt;
&lt;br /&gt;
The cells that participate in an Avoidable Rectangle must share exactly two [[row]]s, two [[column]]s, and two [[box]]es.&lt;br /&gt;
&lt;br /&gt;
== Floor and Ceiling ==&lt;br /&gt;
&lt;br /&gt;
All of the Avoidable Rectangle patterns have two cells that share a row or column and both of which are solved.  These two cells form the &amp;#039;&amp;#039;&amp;#039;floor&amp;#039;&amp;#039;&amp;#039; of the Avoidable Rectangle.  The other two cells are called the &amp;#039;&amp;#039;&amp;#039;ceiling&amp;#039;&amp;#039;&amp;#039;.  The ceiling contains the cell(s) of the rectangle that have more than one candidate.  In the following discussions, the floor cells are designated &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;, with solved value &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039;, with solved value &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;.  The ceiling cell that shares a row or column with &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; is designated &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; and the ceiling cell that shares a row or column with &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; is designated &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039;.  &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; thus are in opposite corners of the rectangle, as are &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;.  For example:&lt;br /&gt;
&lt;br /&gt;
 1  .  .  |  23 .  .  |  .  .  .&lt;br /&gt;
 2  .  .  |  13 .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
Here the leftmost column is the floor and the rightmost column the ceiling.  Another example:&lt;br /&gt;
&lt;br /&gt;
 1  .  .  |  2  .  .  |  .  .  .&lt;br /&gt;
 .  .  .  |  .  .  .  |  .  .  .&lt;br /&gt;
 23 .  .  |  1  .  .  |  .  .  .&lt;br /&gt;
&lt;br /&gt;
Here the top row is the floor and the bottom row is the ceiling.&lt;br /&gt;
&lt;br /&gt;
== Type 1 Avoidable Rectangle ==&lt;br /&gt;
&lt;br /&gt;
Cell &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; has the solved value &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;.  Cell &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; is unsolved and has candidates &amp;#039;&amp;#039;&amp;#039;ax&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; is one or more candidate values besides &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;.  If cell &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; had the value &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, the solution would contain the Unavoidable Rectangle pattern, but we know that can&amp;#039;t be the case because none of the rectangle cells was a given.  Thus we can discard &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039; as a candidate in cell &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Note the similarity of this strategy to a [[Uniqueness Test#Uniqueness Test 1|Type 1 Unique Rectangle]].&lt;br /&gt;
&lt;br /&gt;
In the example below &amp;#039;&amp;#039;&amp;#039;r4c37,r5c37&amp;#039;&amp;#039;&amp;#039; form an Avoidable Rectangle  for candidates &amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;5&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039; can be eliminated from &amp;#039;&amp;#039;&amp;#039;r5c7&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:avoidabler101.png]]&lt;br /&gt;
&lt;br /&gt;
== Type 2 Avoidable Rectangle ==&lt;br /&gt;
&lt;br /&gt;
Cell &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; has exactly two candidate values &amp;#039;&amp;#039;&amp;#039;bc&amp;#039;&amp;#039;&amp;#039;, and cell &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; has exactly two candidate values &amp;#039;&amp;#039;&amp;#039;ac&amp;#039;&amp;#039;&amp;#039;.  Candidate &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039; must be in one of the ceiling cells or else the solution would have an Unavoidable Rectangle, and we know that is not true because none of the rectangle cells was a given.  We can therefore discard candidate &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039; from any cell that shares a house with both &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Note the similarity of this strategy to a [[Uniqueness Test#Uniqueness Test 2|Type 2 Unique Rectangle]].&lt;br /&gt;
&lt;br /&gt;
In the example below &amp;#039;&amp;#039;&amp;#039;r6c78,r8c78&amp;#039;&amp;#039;&amp;#039; form the Avoidable Rectangle  for candidates &amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;7&amp;#039;&amp;#039;&amp;#039; with the additional candidate &amp;#039;&amp;#039;&amp;#039;8&amp;#039;&amp;#039;&amp;#039; in &amp;#039;&amp;#039;&amp;#039;r8c78&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;8&amp;#039;&amp;#039;&amp;#039; can therefore be eliminated from &amp;#039;&amp;#039;&amp;#039;r7c8&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;r9c8&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;r8c3&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;r8c6&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:avoidabler201.png]]&lt;br /&gt;
&lt;br /&gt;
== Type 3 Avoidable Rectangle ==&lt;br /&gt;
&lt;br /&gt;
Cell &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; has candidates &amp;#039;&amp;#039;&amp;#039;bx&amp;#039;&amp;#039;&amp;#039; and cell &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; has candidates &amp;#039;&amp;#039;&amp;#039;ay&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;y&amp;#039;&amp;#039;&amp;#039; are one or more additional candidates.  A candidate value may appear in both &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;y&amp;#039;&amp;#039;&amp;#039;.  At least one of the &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;y&amp;#039;&amp;#039;&amp;#039; values must occur in the ceiling cells or else we have an Unavoidable Rectangle in the solution, which we know is impossible because none of the rectangle cells was a given.  We can therefore treat the ceiling cells as a single pseudo-cell that has all of the &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;y&amp;#039;&amp;#039;&amp;#039; values as candidates and use it to form a [[Naked Subset]] with other cells that share a house with both ceiling cells.  The candidate values for the Naked Subset can then be eliminated from any other cell that shares a house with all cells of the subset.&lt;br /&gt;
&lt;br /&gt;
Note the similarity of this strategy to a [[Uniqueness Test#Uniqueness Test 3|Type 3 Unique Rectangle]].&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Deadly pattern]]&lt;br /&gt;
* [[Uniqueness Test]]&lt;br /&gt;
* [[Unique Rectangle]]&lt;br /&gt;
* [[Uniqueness Controversy]]&lt;br /&gt;
&lt;br /&gt;
{{example}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Uniqueness]]&lt;br /&gt;
[[Category:Solving Techniques]]&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>
	</entry>
</feed>