<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://katlas.org/index.php?action=history&amp;feed=atom&amp;title=IdentifyWithin.m</id>
	<title>IdentifyWithin.m - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://katlas.org/index.php?action=history&amp;feed=atom&amp;title=IdentifyWithin.m"/>
	<link rel="alternate" type="text/html" href="https://katlas.org/index.php?title=IdentifyWithin.m&amp;action=history"/>
	<updated>2026-08-01T19:33:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://katlas.org/index.php?title=IdentifyWithin.m&amp;diff=1720986&amp;oldid=prev</id>
		<title>Drorbn at 18:54, 20 October 2013</title>
		<link rel="alternate" type="text/html" href="https://katlas.org/index.php?title=IdentifyWithin.m&amp;diff=1720986&amp;oldid=prev"/>
		<updated>2013-10-20T18:54:31Z</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 14:54, 20 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;(*&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;(*&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; 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;The program &amp;lt;code&amp;gt;IdentifyWithin&amp;lt;/code&amp;gt;, documented in the page on [[Identifying Knots within a List]]. It is not part of the package &amp;lt;code&amp;gt;KnotTheory`&amp;lt;/code&amp;gt; but is designed to work with it. Use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Import[&quot;http://katlas.org/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wiki&lt;/del&gt;/IdentifyWithin.m&amp;amp;action=raw&quot;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to download into a mathematica session, or copy-paste the text below ignoring the &amp;lt;code&amp;gt;*&amp;amp;#41;&amp;lt;/code&amp;gt; on the first line and the &amp;lt;code&amp;gt;&amp;amp;#40;*&amp;lt;/code&amp;gt; on the last.&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;The program &amp;lt;code&amp;gt;IdentifyWithin&amp;lt;/code&amp;gt;, documented in the page on [[Identifying Knots within a List]]. It is not part of the package &amp;lt;code&amp;gt;KnotTheory`&amp;lt;/code&amp;gt; but is designed to work with it. Use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Import[&quot;http://katlas.org/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;w&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;index.php?title=&lt;/ins&gt;IdentifyWithin.m&amp;amp;action=raw&quot;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to download into a mathematica session, or copy-paste the text below ignoring the &amp;lt;code&amp;gt;*&amp;amp;#41;&amp;lt;/code&amp;gt; on the first line and the &amp;lt;code&amp;gt;&amp;amp;#40;*&amp;lt;/code&amp;gt; on the last.&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;div&gt;&amp;lt;pre&amp;gt;&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;&amp;lt;pre&amp;gt;&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;div&gt;*)&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;*)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key knotsdb-mw_:diff:wikidiff2:1.12:old-1693980:rev-1720986:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Drorbn</name></author>
	</entry>
	<entry>
		<id>https://katlas.org/index.php?title=IdentifyWithin.m&amp;diff=1693980&amp;oldid=prev</id>
		<title>Drorbn at 15:55, 28 December 2009</title>
		<link rel="alternate" type="text/html" href="https://katlas.org/index.php?title=IdentifyWithin.m&amp;diff=1693980&amp;oldid=prev"/>
		<updated>2009-12-28T15:55:38Z</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 11:55, 28 December 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&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;*)&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;*)&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;div&gt;Options[IdentifyWithin] = {&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;Options[IdentifyWithin] = {&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;   &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Invariants&lt;/del&gt; -&amp;gt; {Jones[#][q] &amp;amp;, HOMFLYPT[#][a, z] &amp;amp;, &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;   &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;UseInvariants&lt;/ins&gt; -&amp;gt; {Jones[#][q] &amp;amp;, HOMFLYPT[#][a, z] &amp;amp;, &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;div&gt;     Kauffman[#][a, z] &amp;amp;},&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;     Kauffman[#][a, z] &amp;amp;},&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;div&gt;   ConnectedSum -&amp;gt; &quot;True&quot;};&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;   ConnectedSum -&amp;gt; &quot;True&quot;};&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&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;   {div, j = 1, l, i = 1, u, mu, t, mt, out = {}, out1 = {}, nk, mnk, &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;   {div, j = 1, l, i = 1, u, mu, t, mt, out = {}, out1 = {}, nk, mnk, &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;div&gt;    mnk1, p, mp, m, p1,&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;    mnk1, p, mp, m, p1,&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;    invariants = (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Invariants&lt;/del&gt; /. {opts} /. Options[IdentifyWithin]),&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;    invariants = (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;UseInvariants&lt;/ins&gt; /. {opts} /. Options[IdentifyWithin]),&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;div&gt;    connectedsum = (ConnectedSum /. {opts} /. &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;    connectedsum = (ConnectedSum /. {opts} /. &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;div&gt;       Options[IdentifyWithin])},&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;       Options[IdentifyWithin])},&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key knotsdb-mw_:diff:wikidiff2:1.12:old-1689512:rev-1693980:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Drorbn</name></author>
	</entry>
	<entry>
		<id>https://katlas.org/index.php?title=IdentifyWithin.m&amp;diff=1689512&amp;oldid=prev</id>
		<title>IvaH: New page: (*  The program &lt;code&gt;IdentifyWithin&lt;/code&gt;, documented in the page on Identifying Knots within a List. It is not part of the package &lt;code&gt;KnotTheory`&lt;/code&gt; but is designed to work w...</title>
		<link rel="alternate" type="text/html" href="https://katlas.org/index.php?title=IdentifyWithin.m&amp;diff=1689512&amp;oldid=prev"/>
		<updated>2007-11-18T23:23:43Z</updated>

		<summary type="html">&lt;p&gt;New page: (*  The program &amp;lt;code&amp;gt;IdentifyWithin&amp;lt;/code&amp;gt;, documented in the page on &lt;a href=&quot;/wiki/Identifying_Knots_within_a_List&quot; title=&quot;Identifying Knots within a List&quot;&gt;Identifying Knots within a List&lt;/a&gt;. It is not part of the package &amp;lt;code&amp;gt;KnotTheory`&amp;lt;/code&amp;gt; but is designed to work w...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;(*&lt;br /&gt;
&lt;br /&gt;
The program &amp;lt;code&amp;gt;IdentifyWithin&amp;lt;/code&amp;gt;, documented in the page on [[Identifying Knots within a List]]. It is not part of the package &amp;lt;code&amp;gt;KnotTheory`&amp;lt;/code&amp;gt; but is designed to work with it. Use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Import[&amp;quot;http://katlas.org/wiki/IdentifyWithin.m&amp;amp;action=raw&amp;quot;]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to download into a mathematica session, or copy-paste the text below ignoring the &amp;lt;code&amp;gt;*&amp;amp;#41;&amp;lt;/code&amp;gt; on the first line and the &amp;lt;code&amp;gt;&amp;amp;#40;*&amp;lt;/code&amp;gt; on the last.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
*)&lt;br /&gt;
Options[IdentifyWithin] = {&lt;br /&gt;
   Invariants -&amp;gt; {Jones[#][q] &amp;amp;, HOMFLYPT[#][a, z] &amp;amp;, &lt;br /&gt;
     Kauffman[#][a, z] &amp;amp;},&lt;br /&gt;
   ConnectedSum -&amp;gt; &amp;quot;True&amp;quot;};&lt;br /&gt;
IdentifyWithin[L_, H_List, opts___Rule] :=&lt;br /&gt;
  &lt;br /&gt;
  Module[&lt;br /&gt;
   {div, j = 1, l, i = 1, u, mu, t, mt, out = {}, out1 = {}, nk, mnk, &lt;br /&gt;
    mnk1, p, mp, m, p1,&lt;br /&gt;
    invariants = (Invariants /. {opts} /. Options[IdentifyWithin]),&lt;br /&gt;
    connectedsum = (ConnectedSum /. {opts} /. &lt;br /&gt;
       Options[IdentifyWithin])},&lt;br /&gt;
   &lt;br /&gt;
   NormalizeP[poly_] := Module[{t1, i1},&lt;br /&gt;
     (For[i1 = 1 ; t1 := FactorList[poly], &lt;br /&gt;
       i1 &amp;lt;= Length[Variables[poly]], i1++,&lt;br /&gt;
       t1 = &lt;br /&gt;
        DeleteCases[t1, {Variables[poly][[i1]], _Integer} | {1, 1}]]; &lt;br /&gt;
      Times @@ Power @@@ t1 )];&lt;br /&gt;
   &lt;br /&gt;
   l := Length[invariants];&lt;br /&gt;
   u[0] = mu[0] = H;&lt;br /&gt;
   While[i &amp;lt;= l &amp;amp;&amp;amp; ! Length[out] === 1,&lt;br /&gt;
    t[i] = invariants[[i]][L];&lt;br /&gt;
    mt[i] = invariants[[i]][Mirror[L]];&lt;br /&gt;
    u[i] = Select[u[i - 1], t[i] == invariants[[i]][#] &amp;amp;];&lt;br /&gt;
    mu[i] = Select[mu[i - 1], mt[i] == invariants[[i]][#] &amp;amp;];&lt;br /&gt;
    out = Flatten[{u[i], Mirror /@ mu[i]}];&lt;br /&gt;
    i++];&lt;br /&gt;
   &lt;br /&gt;
   Which[&lt;br /&gt;
    Length[out] &amp;gt;= 2, DeleteCases[out, Mirror[Knot[0, 1]]],&lt;br /&gt;
    Length[out] == 1, &lt;br /&gt;
    out = If[u[i - 1] != {}, u[i - 1], Mirror /@ mu[i - 1]],&lt;br /&gt;
    connectedsum === &amp;quot;True&amp;quot;, i = 1; nk[0] = mnk[0] = H;&lt;br /&gt;
    &lt;br /&gt;
    While[Length[out1] != 1 &amp;amp;&amp;amp; i &amp;lt;= l,&lt;br /&gt;
     p[i] = NormalizeP[t[i]];&lt;br /&gt;
     mp[i] = NormalizeP[mt[i]];&lt;br /&gt;
     nk[i] = &lt;br /&gt;
      Select[nk[i - 1], (p1 = NormalizeP[invariants[[i]][#]]; z = 3;&lt;br /&gt;
         PolynomialRemainder[p[i], p1, Variables[p[i]][[1]]] === &lt;br /&gt;
          0 ) &amp;amp;];&lt;br /&gt;
     mnk[i] = &lt;br /&gt;
      Select[mnk[i - 1], (p1 = NormalizeP[invariants[[i]][#]]; z = 3;&lt;br /&gt;
         PolynomialRemainder[mp[i], p1, Variables[p[i]][[1]]] === &lt;br /&gt;
          0 ) &amp;amp;];&lt;br /&gt;
     &lt;br /&gt;
     Clear[z];&lt;br /&gt;
     &lt;br /&gt;
     mnk1[i] = Mirror /@ mnk[i];&lt;br /&gt;
     div = Flatten[{nk[i], mnk1[i]}];&lt;br /&gt;
     div = DeleteCases[div, Knot[0, 1] | Mirror[Knot[0, 1]]];&lt;br /&gt;
     &lt;br /&gt;
     If[div == {}, out1 = {},&lt;br /&gt;
      For[m = 1; &lt;br /&gt;
       W[0] = &lt;br /&gt;
        CS[0] = Select[&lt;br /&gt;
          Flatten /@ Flatten[Outer[List, div, div, 1], 1], OrderedQ], &lt;br /&gt;
       Length[W[m - 1][[1]]] &amp;lt; 4, m++, &lt;br /&gt;
       W[m] = Select[&lt;br /&gt;
         Flatten /@ Flatten[Outer[List, div, W[m - 1], 1], 1], &lt;br /&gt;
         OrderedQ];&lt;br /&gt;
       CS[m] = Flatten[{CS[m - 1], W[m]}, 1];&lt;br /&gt;
       ];&lt;br /&gt;
      out1 = &lt;br /&gt;
       Select[CS[m - 1], &lt;br /&gt;
        Expand[Times @@ invariants[[i]] /@ #] == t[i] &amp;amp;];&lt;br /&gt;
      ];&lt;br /&gt;
     i++];&lt;br /&gt;
    If[out1 == {}, {}, ConnectedSum @@@ out1], True, {}&lt;br /&gt;
    ]&lt;br /&gt;
   ];&lt;br /&gt;
(* &amp;lt;/pre&amp;gt; *)&lt;/div&gt;</summary>
		<author><name>IvaH</name></author>
	</entry>
</feed>