<?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=Braid_Analysis</id>
	<title>Braid Analysis - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.sudopedia.org/index.php?action=history&amp;feed=atom&amp;title=Braid_Analysis"/>
	<link rel="alternate" type="text/html" href="https://www.sudopedia.org/index.php?title=Braid_Analysis&amp;action=history"/>
	<updated>2026-04-29T04:15:16Z</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=Braid_Analysis&amp;diff=429&amp;oldid=prev</id>
		<title>Rooted: Created page with &quot;'''Braid Analysis''' or '''Braiding''' is a solving technique that analyzes the way digits are placed in a chute. The basis for this technique is the discovery of...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sudopedia.org/index.php?title=Braid_Analysis&amp;diff=429&amp;oldid=prev"/>
		<updated>2022-01-20T03:02:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Braid Analysis&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Braiding&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/wiki/Solving_technique&quot; title=&quot;Solving technique&quot;&gt;solving technique&lt;/a&gt; that analyzes the way &lt;a href=&quot;/wiki/Digit&quot; title=&quot;Digit&quot;&gt;digits&lt;/a&gt; are placed in a &lt;a href=&quot;/wiki/Chute&quot; title=&quot;Chute&quot;&gt;chute&lt;/a&gt;. The basis for this technique is the discovery of...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Braid Analysis''' or '''Braiding''' is a [[solving technique]] that analyzes the way [[digit]]s are placed in a [[chute]]. The basis for this technique is the discovery of '''traveling pairs'''. These are formed because there is only a limited number of ways 3 digits can &amp;quot;travel&amp;quot; through a chute.&lt;br /&gt;
== Braids and Ropes ==&lt;br /&gt;
Here is a diagram that shows how the 3 digits that start in the top-left [[intersection]] can be distributed in the remainder of the chute. Each rectangle represents an intersection of a [[line]] and a [[box]], which contains 3 [[cell]]s.&lt;br /&gt;
&lt;br /&gt;
[[Image:Traveling Pairs.png]]&lt;br /&gt;
&lt;br /&gt;
As you can see, there are only 4 possible distribution patterns. In 3 of these patterns, there are 2 digits that travel together, while the 3rd digit travels in the opposite direction. This is what we call a [[braid]]. One of the patterns shows that all 3 digits travel in the same direction. We call this a [[rope]]. Braids are much more frequent than ropes, but if you like to see some, take a look at the [[canonical grid]].&lt;br /&gt;
&lt;br /&gt;
It is impossible for braids and ropes to mix in a single chute. So, when we discover a singe rope in a chute, all 9 digits must follow a rope pattern.&lt;br /&gt;
&lt;br /&gt;
== Strands ==&lt;br /&gt;
The next diagram shows the 6 ways to place a single digit in a chute. In Braiding Analysis we call these the [[strand]]s. There is always a diagonal distribution pattern, which may wrap around.&lt;br /&gt;
&lt;br /&gt;
[[Image:Strands(2).png]]&lt;br /&gt;
&lt;br /&gt;
The identifiers are formed by the starting position and the traveling direction. '''N''' represents a downward direction and '''Z''' the upward direction. On the right, a merged diagram shows to which 2 strands each intersection belongs.&lt;br /&gt;
&lt;br /&gt;
== Repeating Rules ==&lt;br /&gt;
As we have seen, digits only have limited ways to be organized in a chute. From these limitations, we can deduce a number of rules concerning repeating pairs.&lt;br /&gt;
&lt;br /&gt;
* A pair of digits in one of the intersections in a chute can only appear in 0 or 2 other intersections in that chute.&lt;br /&gt;
: This rule is the direct result of the way digits are distributed in a chute. A pair will either repeat in all boxes of a chute or not at all.&lt;br /&gt;
* A pair of digits present in a [[boxrow]] can only appear in 0 or 1 boxcol in the [[tower]] that contains it.&lt;br /&gt;
* A pair of digits present in a [[boxcol]] can only appear in 0 or 1 boxrow in the [[floor]] that contains it.&lt;br /&gt;
: These rules are based on the fact that within a single box, a certain pair can only exist in a boxrow or a boxcol, but not in both. The crossing chute will have at least one intersection without that pair. Because there cannot be 2 pairs of the same digits in a chute, there can only be one or none at all.&lt;br /&gt;
* A pair of digits which repeats in a [[floor]] can only appear in 0 or 1 boxcol in each [[tower]].&lt;br /&gt;
* A pair of digits which repeats in a [[tower]] can only appear in 0 or 1 boxrow in each [[floor]].&lt;br /&gt;
: A direct extension of the previous rules.&lt;br /&gt;
== Candidate Mapping ==&lt;br /&gt;
To enable us to analyze the strands, we must first map the candidates to those strands. This is a process that takes 2 steps. Here is a candidate grid that we will use as an example:&lt;br /&gt;
&lt;br /&gt;
[[Image:Braid mapping 1.png|Click this image for a pasteable format]]&lt;br /&gt;
=== Step 1 - Candidates per intersection ===&lt;br /&gt;
In the first step, we collect all candidates which are present in each intersection. You need to do this twice. Once for the boxrows and once for the boxcols.&lt;br /&gt;
&lt;br /&gt;
[[Image:Braid mapping 2.png|Candidates in each boxrow]] boxrows - [[Image:Braid mapping 2t.png|Candidates in each boxcol]] boxcols&lt;br /&gt;
&lt;br /&gt;
You do not need to highlight the placed digits, but it will be useful for the next step.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Digits per strand ===&lt;br /&gt;
In the second step, we collect all candidates which appear in ''all'' 3 intersections that belong to each strand. The result is a list of digits that each strand can contain.&lt;br /&gt;
&lt;br /&gt;
[[Image:Braid mapping 3.png|Strand population in the floors]] floors - [[Image:Braid mapping 3t.png|Strand population in the towers]] towers&lt;br /&gt;
&lt;br /&gt;
The highlights show which digits are mandatory in their strands. You can set these when at least 2 intersections in the strand already contain this digit (using the highlights in the previous step) or when none of the 5 other strands in that floor allow this digit.&lt;br /&gt;
&lt;br /&gt;
== Pattern Analysis ==&lt;br /&gt;
Each chute can be organized in one of 4 possible patterns.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ropes-braids.png]]&lt;br /&gt;
&lt;br /&gt;
These 4 patterns define how many digits will be assigned to '''N''' and '''Z''' strands:&lt;br /&gt;
;N-Rope&lt;br /&gt;
 NNN&lt;br /&gt;
;N-Braid&lt;br /&gt;
 NNZ&lt;br /&gt;
;Z-Braid&lt;br /&gt;
 NZZ&lt;br /&gt;
;Z-Rope&lt;br /&gt;
 ZZZ&lt;br /&gt;
&lt;br /&gt;
There are a few rules that can help us eliminate some of these patterns:&lt;br /&gt;
* A fixed digit in any '''N''' strand eliminates the Z-Rope.&lt;br /&gt;
* A fixed digit in any '''Z''' strand eliminates the N-Rope.&lt;br /&gt;
* 2 fixed digits in any '''N''' strand eliminates the Z-Braid.&lt;br /&gt;
* 2 fixed digits in any '''Z''' strand eliminates the N-Braid.&lt;br /&gt;
&lt;br /&gt;
=== Analyzing Tower 2 ===&lt;br /&gt;
Now we use these rules to reduce the number of possibilities in tower 2:&lt;br /&gt;
&lt;br /&gt;
[[Image:Pattern analysis tower 2.png]]&lt;br /&gt;
&lt;br /&gt;
* Fixed digit '''4''' fixed in '''5Z''' eliminates N-Rope.&lt;br /&gt;
* Fixed digits '''58''' in '''4N''' eliminate Z-Rope and Z-Braid.&lt;br /&gt;
* The remaining pattern is N-Braid. Each '''N''' strand must contain 2 digits, each '''Z''' strand must contain 1 digit.&lt;br /&gt;
* Digits '''69''' eliminated from '''4N''', because it is saturated with '''58'''.&lt;br /&gt;
* Digits '''179''' eliminated from '''5Z''', because it is saturated with '''4'''.&lt;br /&gt;
* Digits '''12''' fixed in '''6N''', it is the only place they can go.&lt;br /&gt;
* Digits '''79''' fixed in '''5N''', because it must contain 2 digits and these are the only 2 left.&lt;br /&gt;
* Remaining digits '''3''' and '''6''' can now be fixed in strands '''4Z''' and '''6Z'''.&lt;br /&gt;
&lt;br /&gt;
== Drawbacks ==&lt;br /&gt;
Although the results that you can achieve with Braid Analysis look impressive, the same result can often be achieved with less complicated techniques. You should reserve it for Sudokus which cannot be advanced any further by the solving techniques that you are familiar with.&lt;br /&gt;
&lt;br /&gt;
; Lateral thinking&lt;br /&gt;
: Braid Analysis forces you to look at a Sudoku from an unusual viewpoint. It takes a lot of practice to get used to it and draw the right conclusions.&lt;br /&gt;
&lt;br /&gt;
; Laborious&lt;br /&gt;
: A lot of work is involved in candidate mapping. After each placement and elimination, you need to review and update the mapping.&lt;br /&gt;
&lt;br /&gt;
; Error prone&lt;br /&gt;
: This is a serious issue. Without the help of a computer program, it is easy to make mistakes in candidate mapping which can lead to incorrect conclusions, preventing you from solving the puzzle.&lt;br /&gt;
&lt;br /&gt;
== Incidence ==&lt;br /&gt;
: The probability that there will be a rope [a repeating minirow] in at least one of the 6 bands is 24%&lt;br /&gt;
: The probability that any one band is of the &amp;quot;rope&amp;quot; pattern is 4 % [Approximately] &lt;br /&gt;
{{incomplete}}&lt;br /&gt;
[[Category:Solving Techniques]]&lt;/div&gt;</summary>
		<author><name>Rooted</name></author>
		
	</entry>
</feed>