<?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=Aligned_Pair_Exclusion</id>
	<title>Aligned Pair Exclusion - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sudopedia.sudocue.net/index.php?action=history&amp;feed=atom&amp;title=Aligned_Pair_Exclusion"/>
	<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Aligned_Pair_Exclusion&amp;action=history"/>
	<updated>2026-08-24T18:16:28Z</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=Aligned_Pair_Exclusion&amp;diff=619&amp;oldid=prev</id>
		<title>127.0.0.1 at 09:49, 27 October 2021</title>
		<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Aligned_Pair_Exclusion&amp;diff=619&amp;oldid=prev"/>
		<updated>2021-10-27T09:49:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:49, 27 October 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l61&quot;&gt;Line 61:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 61:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Relation between APE and ALS-XZ ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Relation between APE and ALS-XZ ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Consider the APE without any extensions. To apply the APE, we are looking at the [[intersection]] of two [[constraint]]s, one a [[line]] and the other a [[box]]. Suppose we enumerate the combination of two [[cell]]s &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; within the intersection, leading to the [[elimination]] of some [[candidate]] in &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;. If one of the two constraints has only one cell &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039; involved in the application of APE, then we can replicate this APE with an [[ALS-XZ]] rule which leads to the same elimination, where the two [[ALS]]s are: (a) the cell &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039; itself, and (b) the cell &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; plus the cells in the other constraint that participates in the APE.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Consider the APE without any extensions. To apply the APE, we are looking at the [[intersection]] of two [[constraint]]s, one a [[line]] and the other a [[box]]. Suppose we enumerate the combination of two [[cell]]s &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; within the intersection, leading to the [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eliminate|&lt;/ins&gt;elimination]] of some [[candidate]] in &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;. If one of the two constraints has only one cell &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039; involved in the application of APE, then we can replicate this APE with an [[ALS-XZ]] rule which leads to the same elimination, where the two [[ALS]]s are: (a) the cell &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039; itself, and (b) the cell &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; plus the cells in the other constraint that participates in the APE.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Hence, Example 1 above can be recast as an ALS-XZ, with the first [[ALS]] being &amp;#039;&amp;#039;&amp;#039;r4c3&amp;#039;&amp;#039;&amp;#039; and the second [[ALS]] being &amp;#039;&amp;#039;&amp;#039;r126c1&amp;#039;&amp;#039;&amp;#039;, the [[restricted common]] being &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;, eliminating all instances of digit &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; that is seen by all cells in both [[ALS]]s that has &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; as a candidate. This eliminates &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; from both &amp;#039;&amp;#039;&amp;#039;r2c3&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;r5c1&amp;#039;&amp;#039;&amp;#039;.  Also, Example 2 is an example of a doubly-linked ALS-XZ with r12c4 = 468 ALS and r78c4r9c56 = 13468 ALS.  The restricted common digits are 4 and 8.  This provides the following cell eliminations: r7c456&amp;lt;&amp;gt;6, r3c6&amp;lt;&amp;gt;6, r4c5&amp;lt;&amp;gt;4, r7c8&amp;lt;&amp;gt;3, and r7c6&amp;lt;&amp;gt;1.  What is needed here is an axample that cannot be solved with another technique which provides more cell eliminations.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Hence, Example 1 above can be recast as an ALS-XZ, with the first [[ALS]] being &amp;#039;&amp;#039;&amp;#039;r4c3&amp;#039;&amp;#039;&amp;#039; and the second [[ALS]] being &amp;#039;&amp;#039;&amp;#039;r126c1&amp;#039;&amp;#039;&amp;#039;, the [[restricted common]] being &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;, eliminating all instances of digit &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; that is seen by all cells in both [[ALS]]s that has &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; as a candidate. This eliminates &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; from both &amp;#039;&amp;#039;&amp;#039;r2c3&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;r5c1&amp;#039;&amp;#039;&amp;#039;.  Also, Example 2 is an example of a doubly-linked ALS-XZ with r12c4 = 468 ALS and r78c4r9c56 = 13468 ALS.  The restricted common digits are 4 and 8.  This provides the following cell eliminations: r7c456&amp;lt;&amp;gt;6, r3c6&amp;lt;&amp;gt;6, r4c5&amp;lt;&amp;gt;4, r7c8&amp;lt;&amp;gt;3, and r7c6&amp;lt;&amp;gt;1.  What is needed here is an axample that cannot be solved with another technique which provides more cell eliminations.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>127.0.0.1</name></author>
	</entry>
	<entry>
		<id>http://sudopedia.sudocue.net/index.php?title=Aligned_Pair_Exclusion&amp;diff=374&amp;oldid=prev</id>
		<title>127.0.0.1: Created page with &quot;&#039;&#039;&#039;Aligned Pair Exclusion&#039;&#039;&#039; or &#039;&#039;&#039;APE&#039;&#039;&#039; is a solving technique in which the solver checks combinations of digits in a pair of cells located in an [[intersection]...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Aligned_Pair_Exclusion&amp;diff=374&amp;oldid=prev"/>
		<updated>2021-10-25T17:07:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Aligned Pair Exclusion&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;APE&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/index.php?title=Solving_technique&quot; title=&quot;Solving technique&quot;&gt;solving technique&lt;/a&gt; in which the solver checks combinations of &lt;a href=&quot;/index.php?title=Digit&quot; title=&quot;Digit&quot;&gt;digits&lt;/a&gt; in a pair of &lt;a href=&quot;/index.php?title=Cell&quot; title=&quot;Cell&quot;&gt;cells&lt;/a&gt; located in an [[intersection]...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Aligned Pair Exclusion&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;APE&amp;#039;&amp;#039;&amp;#039; is a [[solving technique]] in which the solver checks combinations of [[digit]]s in a pair of [[cell]]s located in an [[intersection]].&lt;br /&gt;
&lt;br /&gt;
It is a very laborious technique, which may explain why it is not so popular. Many APE moves can also be replicated by the easier [[XY-Wing]] and [[XYZ-Wing]] techniques. Some APE moves can also be replicated by the [[ALS-XZ]] rule.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Below are two examples that illustrate the APE move.&lt;br /&gt;
&lt;br /&gt;
=== Example 1 ===&lt;br /&gt;
{| cellspacing=&amp;quot;8&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[Image:APE.png|APE example]]&lt;br /&gt;
|&lt;br /&gt;
We are examining the pair &amp;#039;&amp;#039;&amp;#039;r5c1&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;r6c1&amp;#039;&amp;#039;&amp;#039;. Their respective candidates are:&lt;br /&gt;
 4,9&lt;br /&gt;
 1,2,5&lt;br /&gt;
&lt;br /&gt;
The following configurations are possible:&lt;br /&gt;
 4+1&lt;br /&gt;
 9+1*&lt;br /&gt;
 4+2&lt;br /&gt;
 9+2*&lt;br /&gt;
 4+5&lt;br /&gt;
 9+5*&lt;br /&gt;
The combination 1+9 is already present in &amp;#039;&amp;#039;&amp;#039;r4c3&amp;#039;&amp;#039;&amp;#039;, which can [[see]] both cells. This combination would eliminate all candidates from this cell, so it must be invalid.&lt;br /&gt;
&lt;br /&gt;
The same reasoning can be used for the combination 2+9 and &amp;#039;&amp;#039;&amp;#039;r2c1&amp;#039;&amp;#039;&amp;#039;, and also for 5+9 and &amp;#039;&amp;#039;&amp;#039;r1c1&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Effectively, all combinations which include a &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; in &amp;#039;&amp;#039;&amp;#039;r5c1&amp;#039;&amp;#039;&amp;#039; are invalid. As a result, we can eliminate this candidate. The remaining candidate &amp;#039;&amp;#039;&amp;#039;4&amp;#039;&amp;#039;&amp;#039; can be placed in &amp;#039;&amp;#039;&amp;#039;r5c1&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example 2 ===&lt;br /&gt;
{| cellspacing=&amp;quot;8&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[Image:APE2.png|APE example]]&lt;br /&gt;
|&lt;br /&gt;
Here we enumerate all the combinations of the cells &amp;#039;&amp;#039;&amp;#039;r7c4&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;r8c4&amp;#039;&amp;#039;&amp;#039;. Their respective candidates are:&lt;br /&gt;
 1,3,4,8&lt;br /&gt;
 3,4,6,8&lt;br /&gt;
&lt;br /&gt;
The enumeration goes as follows:&lt;br /&gt;
 1+3&lt;br /&gt;
 1+4&lt;br /&gt;
 1+6*&lt;br /&gt;
 1+8&lt;br /&gt;
 3+4&lt;br /&gt;
 3+6*&lt;br /&gt;
 3+8&lt;br /&gt;
 4+3&lt;br /&gt;
 4+6*&lt;br /&gt;
 4+8&lt;br /&gt;
 8+3&lt;br /&gt;
 8+4&lt;br /&gt;
 8+6*&lt;br /&gt;
Due to the cells &amp;#039;&amp;#039;&amp;#039;r1c4&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;r2c4&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;r9c5&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;r9c6&amp;#039;&amp;#039;&amp;#039;, four of the combinations are not permissible. When we strike off these illegal combinations, we find that all combinations with &amp;#039;&amp;#039;&amp;#039;6&amp;#039;&amp;#039;&amp;#039; are removed. Hence we can remove &amp;#039;&amp;#039;&amp;#039;6&amp;#039;&amp;#039;&amp;#039; from &amp;#039;&amp;#039;&amp;#039;r8c4&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Extensions ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aligned Pair Exclusion&amp;#039;&amp;#039;&amp;#039; can be extended to &amp;#039;&amp;#039;&amp;#039;[[Aligned Triple Exclusion]]&amp;#039;&amp;#039;&amp;#039; and so on. In fact, the set of cells to be enumerated does not need to be aligned at all. See &amp;#039;&amp;#039;&amp;#039;[[Subset Exclusion]]&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Yet another extension for &amp;#039;&amp;#039;&amp;#039;Aligned Pair Exclusion&amp;#039;&amp;#039;&amp;#039; is to consider not just bivalue cells, but also pairs of cells having a total of three candidates X, Y and Z. Then we can exclude the X+Y, X+Z and Y+Z combinations. See [http://scanraid.com/AdvanStrategies.htm#APE Andrew Stuart&amp;#039;s &amp;#039;&amp;#039;Advanced Strategies&amp;#039;&amp;#039;] (under &amp;#039;&amp;#039;Aligned Pair Exclusion - Type 2&amp;#039;&amp;#039;) for two examples.&lt;br /&gt;
&lt;br /&gt;
== Relation between APE and ALS-XZ ==&lt;br /&gt;
Consider the APE without any extensions. To apply the APE, we are looking at the [[intersection]] of two [[constraint]]s, one a [[line]] and the other a [[box]]. Suppose we enumerate the combination of two [[cell]]s &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; within the intersection, leading to the [[elimination]] of some [[candidate]] in &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;. If one of the two constraints has only one cell &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039; involved in the application of APE, then we can replicate this APE with an [[ALS-XZ]] rule which leads to the same elimination, where the two [[ALS]]s are: (a) the cell &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039; itself, and (b) the cell &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; plus the cells in the other constraint that participates in the APE.&lt;br /&gt;
&lt;br /&gt;
Hence, Example 1 above can be recast as an ALS-XZ, with the first [[ALS]] being &amp;#039;&amp;#039;&amp;#039;r4c3&amp;#039;&amp;#039;&amp;#039; and the second [[ALS]] being &amp;#039;&amp;#039;&amp;#039;r126c1&amp;#039;&amp;#039;&amp;#039;, the [[restricted common]] being &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;, eliminating all instances of digit &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; that is seen by all cells in both [[ALS]]s that has &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; as a candidate. This eliminates &amp;#039;&amp;#039;&amp;#039;9&amp;#039;&amp;#039;&amp;#039; from both &amp;#039;&amp;#039;&amp;#039;r2c3&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;r5c1&amp;#039;&amp;#039;&amp;#039;.  Also, Example 2 is an example of a doubly-linked ALS-XZ with r12c4 = 468 ALS and r78c4r9c56 = 13468 ALS.  The restricted common digits are 4 and 8.  This provides the following cell eliminations: r7c456&amp;lt;&amp;gt;6, r3c6&amp;lt;&amp;gt;6, r4c5&amp;lt;&amp;gt;4, r7c8&amp;lt;&amp;gt;3, and r7c6&amp;lt;&amp;gt;1.  What is needed here is an axample that cannot be solved with another technique which provides more cell eliminations.&lt;br /&gt;
&lt;br /&gt;
== Alternative Techniques ==&lt;br /&gt;
* [[XY-Wing]]&lt;br /&gt;
* [[XYZ-Wing]]&lt;br /&gt;
* [[ALS-XZ]]&lt;br /&gt;
* [[Subset Counting]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[Aligned Triple Exclusion]]&lt;br /&gt;
* [[Subset Exclusion]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Solving Techniques]]&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>
	</entry>
</feed>