<?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=Inference</id>
	<title>Inference - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sudopedia.sudocue.net/index.php?action=history&amp;feed=atom&amp;title=Inference"/>
	<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Inference&amp;action=history"/>
	<updated>2026-04-18T20:04:36Z</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=Inference&amp;diff=239&amp;oldid=prev</id>
		<title>127.0.0.1: Created page with &quot;In Sudoku, an &#039;&#039;&#039;inference&#039;&#039;&#039; is a statement concerning the interaction between premises, where a  &#039;&#039;premise&#039;&#039; is a statement concerning the state of the Sudoku that must be e...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Inference&amp;diff=239&amp;oldid=prev"/>
		<updated>2021-10-25T09:42:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In Sudoku, an &amp;#039;&amp;#039;&amp;#039;inference&amp;#039;&amp;#039;&amp;#039; is a statement concerning the interaction between premises, where a  &amp;#039;&amp;#039;premise&amp;#039;&amp;#039; is a statement concerning the state of the Sudoku that must be e...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In Sudoku, an &amp;#039;&amp;#039;&amp;#039;inference&amp;#039;&amp;#039;&amp;#039; is a statement concerning the interaction between premises, where a  &amp;#039;&amp;#039;premise&amp;#039;&amp;#039; is a statement concerning the state of the Sudoku that must be either true or false.  The most common type of premise is that a particular [[cell]] has a particular [[candidate]] value.  When they are used in [[chain]]s or [[loop]]s, the term &amp;#039;&amp;#039;&amp;#039;inference&amp;#039;&amp;#039;&amp;#039; is equivalent to &amp;#039;&amp;#039;&amp;#039;[[link]]&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
There is some discussion about the difference between inferences and [[implication]]s.&lt;br /&gt;
&lt;br /&gt;
There are 2 types of inference. Strong and weak:&lt;br /&gt;
&lt;br /&gt;
 Two premises can be linked by a &amp;#039;&amp;#039;&amp;#039;strong inference&amp;#039;&amp;#039;&amp;#039; if they cannot both be false.&lt;br /&gt;
&lt;br /&gt;
 Two premises can be linked by a &amp;#039;&amp;#039;&amp;#039;weak inference&amp;#039;&amp;#039;&amp;#039; if they cannot both be true.&lt;br /&gt;
&lt;br /&gt;
== Strong Inference ==&lt;br /&gt;
Examples of strong inferences (or links), where both premises cannot be false, include:&lt;br /&gt;
* The two candidate values of a [[bivalue]] cell.&lt;br /&gt;
* The common candidate value of a [[bilocal]] unit.&lt;br /&gt;
* A candidate value of a cell &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;, and that value in the group of cells consisting of all cells with that candidate value that share a [[house]] with &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Note that all of these are also examples of weak inferences (see below).  Many types of strongly linked premises can also be weakly linked, but this is not always the case.  For example, consider this potential [[Unique Rectangle]]:&lt;br /&gt;
{{twinbox|screedwidth=0|screed=|r1c1=(123)a|r1c5=(12)b|r3c1=(12)c|r3c5=(125)d}}&lt;br /&gt;
For the Sudoku to have a unique solution, either &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039; must be &amp;#039;&amp;#039;&amp;#039;3&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039; must be &amp;#039;&amp;#039;&amp;#039;5&amp;#039;&amp;#039;&amp;#039;.  Those two prmises are therefore strongly linked, since they cannot both be false.  However, they are not weakly linked, as it is possible for both to be true.  &lt;br /&gt;
&lt;br /&gt;
Patterns with the term &amp;#039;&amp;#039;&amp;#039;almost&amp;#039;&amp;#039;&amp;#039; in their name, such as the [[Almost Locked Set]], are very useful for forming strong inferences.&lt;br /&gt;
&lt;br /&gt;
For two premises, named &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;, the following strong inference deductions can be made:&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; is false, &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; is true.&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; is false, &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; is true.&lt;br /&gt;
&lt;br /&gt;
Strong inference is represented in most notation systems by an equal sign: &amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
== Weak Inference ==&lt;br /&gt;
Examples of weak inferences (or links), where both premises cannot be true, include:&lt;br /&gt;
* Any two candidate values of a single cell.&lt;br /&gt;
* A candidate value of a cell &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;, and that value in any cell that shares a house with &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* Any two disjoint subsets of candidate values of an Almost Locked Set, where the cells of the ALS having those values as candidates are either the same or mutually visible.&lt;br /&gt;
&lt;br /&gt;
For two premises, named &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;, the following weak inference deductions can be made:&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; is true, &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; is false.&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; is true, &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; is false.&lt;br /&gt;
&lt;br /&gt;
Weak inference is represented in most notation systems by a dash sign: &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Alternating Inference ==&lt;br /&gt;
In chains or loops, an interesting case occurs when the inference between subsequent pairs of premises alternates between strong and weak. Consider the following links:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; weak link with &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; strong link with &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; weak link with &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; strong link with &amp;#039;&amp;#039;&amp;#039;E&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;E&amp;#039;&amp;#039;&amp;#039; weak link with &amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Which can be written:&lt;br /&gt;
 A - B = C - D = E - F&lt;br /&gt;
Where the links alternate between strong and weak, and the first and last link are the same, the chain is an &amp;#039;&amp;#039;&amp;#039;[[Alternating Inference Chain]]&amp;#039;&amp;#039;&amp;#039; (AIC).  An AIC allows a link to be drawn directly between the two endpoints (see the AIC article for a proof of this).  Thus, from the above chain we can derive:&lt;br /&gt;
 A - F&lt;br /&gt;
and make any deductions that this weak link provides.&lt;br /&gt;
&lt;br /&gt;
For this to work, the links must alternate strong and weak.  You may be inclined to write the following chain:&lt;br /&gt;
 &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;A - B = C = D = E - F&amp;lt;/font&amp;gt;&lt;br /&gt;
However, this chain uses the wrong inference between premises &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;. This might be illustrated by showing the list of implications:&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; is true, &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; is false.&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; is false, &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; is true.&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; is false, &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; is true.&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; is false, &amp;#039;&amp;#039;&amp;#039;E&amp;#039;&amp;#039;&amp;#039; is true.&lt;br /&gt;
* If &amp;#039;&amp;#039;&amp;#039;E&amp;#039;&amp;#039;&amp;#039; is true, &amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039; is false.&lt;br /&gt;
There is no proper connection between the 3rd line and those preceding and succeeding it. If the strong link between &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; is one of those types of strong link that is also a weak link, we can convert it to a weak inference to write a correct chain:&lt;br /&gt;
 A - B = C - D = E - F&lt;br /&gt;
Alternating inference guarantees that the logic is sound from the first to the last node in the chain.&lt;br /&gt;
&lt;br /&gt;
{{debate}}&lt;br /&gt;
[[Category:Chains and Loops]]&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>
	</entry>
</feed>