Harmonic entropy: Difference between revisions

Wikispaces>mbattaglia1
**Imported revision 515669702 - Original comment: **
Wikispaces>mbattaglia1
**Imported revision 515672576 - Original comment: **
Line 1: Line 1:
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2014-07-06 13:51:35 UTC</tt>.<br>
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2014-07-06 15:11:19 UTC</tt>.<br>
: The original revision id was <tt>515669702</tt>.<br>
: The original revision id was <tt>515672576</tt>.<br>
: The revision comment was: <tt></tt><br>
: The revision comment was: <tt></tt><br>
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
<h4>Original Wikitext content:</h4>
<h4>Original Wikitext content:</h4>
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;white-space: pre-wrap ! important" class="old-revision-html">[[math]]
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;white-space: pre-wrap ! important" class="old-revision-html">[[math]]
\newcommand{\cent}{\text{¢}}
\newcommand{\cent}{\text{¢}}
[[math]]
[[math]]
=Introduction=  
=Introduction=  
Line 38: Line 38:


[[math]]
[[math]]
H(d) = -\sum_{b} p_d(b) \log_β p_d(b)
H(d) = -\sum_{b} p_d(b) \log_β p_d(b)
[[math]]
[[math]]


where H(d) is the Shannon entropy of the dyad d, the b are all of the basis rationals in the set, the p&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt;(b) is the probability assigned to basis rational b given an input dyad of d, and the logarithm β reflects the units of information being used (by convention, we set β=2, corresponding to the use of bits). This is the Harmonic Entropy of the dyad d.
where H(d) is the Shannon entropy of the dyad d, the b are all of the basis rationals in the set, the p&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt;(b) is the probability assigned to basis rational b given an input dyad of d, and the logarithm β reflects the units of information being used (by convention, we set β=e, corresponding to the use of nats). This is the Harmonic Entropy of the dyad d.


In order to systematically assign a probability distribution to this dyad, we first start by defining a **spreading function** that dictates how the dyad is "smeared" out in log-frequency space, representing how the auditory system allows for some tolerance for mistuning. The typical choice that we will assume here for a spreading function is a Gaussian distribution, with mean set to be centered around the incoming dyad, and standard deviation **s** typically taken as a free parameter in the system.
In order to systematically assign a probability distribution to this dyad, we first start by defining a **spreading function** that dictates how the dyad is "smeared" out in log-frequency space, representing how the auditory system allows for some tolerance for mistuning. The typical choice that we will assume here for a spreading function is a Gaussian distribution, with mean set to be centered around the incoming dyad, and standard deviation **s** typically taken as a free parameter in the system.
Line 52: Line 52:


[[math]]
[[math]]
s_d(x) = \frac{1}{s\sqrt{2\pi}} e^{-\frac{(x-d)^2}{2s^2}}
s_d(x) = \frac{1}{s\sqrt{2\pi}} e^{-\frac{(x-d)^2}{2s^2}}
[[math]]
[[math]]


Line 65: Line 65:


[[math]]
[[math]]
p_d(b) = \int_{\cent(b_l)}^{\cent(b_u)} s_d(x) dx
p_d(b) = \int_{\cent(b_l)}^{\cent(b_u)} s_d(x) dx
[[math]]
[[math]]


Line 81: Line 81:


[[math]]
[[math]]
q_d(b) = \frac{s_d(\cent(b))}{\sqrt{n_b \cdot d_b}}
q_d(b) = \frac{s_d(\cent(b))}{\sqrt{n_b \cdot d_b}}
[[math]]
[[math]]


Line 89: Line 89:


[[math]]
[[math]]
q_d(b) = \frac{s_d(\cent(b))}{\max(n_b,d_b)}
q_d(b) = \frac{s_d(\cent(b))}{\max(n_b,d_b)}
[[math]]
[[math]]


Line 97: Line 97:


[[math]]
[[math]]
q_d(b) = \frac{s_d(\cent(b))}{\|b\|}
q_d(b) = \frac{s_d(\cent(b))}{\|b\|}
[[math]]
[[math]]


Line 105: Line 105:


[[math]]
[[math]]
p_d(b) = \frac{q_d(b)}{\sum_b q_d(b)}
p_d(b) = \frac{q_d(b)}{\sum_b q_d(b)}
[[math]]
[[math]]


Line 114: Line 114:
=Examples=  
=Examples=  


&lt;span style="background-color: #ffffff;"&gt;In all of these examples, the x-axis represents the width in cents of the dyad, and the y-axis represents &lt;/span&gt;//&lt;span style="background-color: #ffffff;"&gt;discordance&lt;/span&gt;// rather than concordance&lt;span style="background-color: #ffffff;"&gt;, measured in bits of Shannon entropy. Note that by convention, the value for s is typically expressed as a percentage of frequency deviation; this can be converted to cents via &lt;/span&gt;
&lt;span style="background-color: #ffffff;"&gt;In all of these examples, the x-axis represents the width in cents of the dyad, and the y-axis represents &lt;/span&gt;//&lt;span style="background-color: #ffffff;"&gt;discordance&lt;/span&gt;// rather than concordance&lt;span style="background-color: #ffffff;"&gt;, measured in nats of Shannon entropy. Note that by convention, the value for s is typically expressed as a percentage of frequency deviation; this can be converted to cents via &lt;/span&gt;




Line 128: Line 128:


[[math]]
[[math]]
H(d) = \frac{1}{1-a} \log_β \sum_b p_d(b)^a
H(d) = \frac{1}{1-a} \log_β \sum_b p_d(b)^a
[[math]]
[[math]]


Line 139: Line 139:
Some psychoacoustic effects naturally fit into this paradigm, such as the virtual pitch integration process, which actually does attempt to find a single victor when matching incoming chords with chunks of the harmonic series. Other psychoacoustic effects, such as that of beatlessness, may instead be better viewed as "dumb" processes whereby nothing in particular is being "chosen," but where a more uniform distribution of matching rational numbers for a dyad simply generates a more discordant sonic effect. Different values of a can differentiate between the predominance given to these two types of effect in the overall construct of psychoacoustic concordance.
Some psychoacoustic effects naturally fit into this paradigm, such as the virtual pitch integration process, which actually does attempt to find a single victor when matching incoming chords with chunks of the harmonic series. Other psychoacoustic effects, such as that of beatlessness, may instead be better viewed as "dumb" processes whereby nothing in particular is being "chosen," but where a more uniform distribution of matching rational numbers for a dyad simply generates a more discordant sonic effect. Different values of a can differentiate between the predominance given to these two types of effect in the overall construct of psychoacoustic concordance.


Certain values of //a// reduce to simpler expressions and have special names:
Certain values of //a// reduce to simpler expressions and have special names.


===a=0: Harmonic Hartley Entropy===  
===a=0: Harmonic Hartley Entropy===  
[[math]]
[[math]]
H(d) = \log |R|
H(d) = \log |R|
[[math]]
[[math]]
where |R| is the cardinality of the set of basis rationals. This assumes, in essence, an "infinitely dumb" auditory system which can do no better than picking a rational number from a uniform distribution completely at random. All dyads have the same Harmonic Hartley Entropy.
where |R| is the cardinality of the set of basis rationals. This assumes, in essence, an "infinitely dumb" auditory system which can do no better than picking a rational number from a uniform distribution completely at random. All dyads have the same Harmonic Hartley Entropy. The Hartley Entropy is sometimes called the "max-entropy," and is useful mainly as an upper bound on the other forms of entropy: all Rényi Entropies are always guaranteed to be less than the Hartley Entropy.
[[image:http://i.imgur.com/iVFpChm.png width="560" height="281"]]
//Harmonic Hartley Entropy (a=0) with the basis set all rationals with Tenney height ≤ 10000. Note that the choice of spreading function makes no difference in the end result at all.//


===a=1: Harmonic Shannon Entropy (Harmonic Entropy)===  
===a=1: Harmonic Shannon Entropy (Harmonic Entropy)===  
[[math]]
[[math]]
H(d) = -\sum_{b} p_d(b) \log p_d(b)
H(d) = -\sum_{b} p_d(b) \log p_d(b)
[[math]]
[[math]]
This is Paul's original Harmonic Entropy. This can be thought of as an auditory system which simply selects a rational at random from the incoming distribution, weighted via the distribution itself.
This is Paul's original Harmonic Entropy. Within the cryptographic analogy, this can be thought of as an auditory system which simply selects a rational at random from the incoming distribution, weighted via the distribution itself.
[[image:http://i.imgur.com/bghmli1.png width="560" height="278"]]
//Harmonic Shannon Entropy (a=1) with the basis set all rationals with Tenney height ≤ 10000, spreading function a Gaussian distribution with s=1% (~17 cents), and sqrt(n·d) complexity.//


===a=2: Harmonic Collision Entropy===  
===a=2: Harmonic Collision Entropy===  
[[math]]
[[math]]
H(d) = -\log \sum_b p_d(b)^2 = -log (P_d = Q_d)
H(d) = -\log \sum_b p_d(b)^2 = -log (P_d = Q_d)
[[math]]
[[math]]
where P&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt; and Q&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt; are independent and identically distributed random variables corresponding to the same dyad, and the collision entropy is the same as the negative log of the probability that the two variables produce the same outcome.
where P&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt; and Q&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt; are independent and identically distributed random variables corresponding to the same dyad, and the collision entropy is the same as the negative log of the probability that the two variables produce the same outcome.
[[image:http://i.imgur.com/LBzWxgY.png width="560" height="278"]]
//Harmonic Collision Entropy (a=2) with the basis set all rationals with Tenney height ≤ 10000, spreading function a Gaussian distribution with s=1% (~17 cents), and sqrt(n·d) complexity.//


===a=∞: Harmonic Min-Entropy===  
===a=∞: Harmonic Min-Entropy===  
[[math]]
[[math]]
-\log \max_b p_d(b)
-\log \max_b p_d(b)
[[math]]
[[math]]
This is the min-entropy, which simply takes the negative log of the largest probability in the distribution. This can be thought of as representing the "strength" of the incoming dyad from being "deciphered" by a "best-case" auditory system.
This is the min-entropy, which simply takes the negative log of the largest probability in the distribution. This can be thought of as representing the "strength" of the incoming dyad from being "deciphered" by a "best-case" auditory system. The name "min-entropy" reflects that the a=∞ case is guaranteed to be a lower bound among all Rényi entropies.
 
[[image:http://i.imgur.com/u91Xkww.png width="560" height="281"]]
//Harmonic Rényi Entropy with a=7, with the high value of a being chosen to approximate min-entropy (a=//∞//). The basis set is still all rationals with Tenney height ≤ 10000, the spreading function a Gaussian distribution with s=1% (~17 cents), and the complexty function sqrt(n·d).//
=References=  
=References=  
[[http://www.webcitation.org/60qOlJVFS|Paul Erlich article]]
[[http://www.webcitation.org/60qOlJVFS|Paul Erlich article]]
Line 174: Line 181:
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;width:200%;white-space: pre-wrap ! important" class="old-revision-html">&lt;html&gt;&lt;head&gt;&lt;title&gt;Harmonic Entropy&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;!-- ws:start:WikiTextMathRule:0:
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;width:200%;white-space: pre-wrap ! important" class="old-revision-html">&lt;html&gt;&lt;head&gt;&lt;title&gt;Harmonic Entropy&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;!-- ws:start:WikiTextMathRule:0:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
\newcommand{\cent}{\text{¢}}&amp;lt;br/&amp;gt;[[math]]
\newcommand{\cent}{\text{¢}}&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; \newcommand{\cent}{\text{¢}}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:0 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;\newcommand{\cent}{\text{¢}}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:0 --&gt;&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:13:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc0"&gt;&lt;a name="Introduction"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:13 --&gt;Introduction&lt;/h1&gt;
&lt;!-- ws:start:WikiTextHeadingRule:13:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc0"&gt;&lt;a name="Introduction"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:13 --&gt;Introduction&lt;/h1&gt;
  &lt;!-- ws:start:WikiTextTocRule:35:&amp;lt;img id=&amp;quot;wikitext@@toc@@normal&amp;quot; class=&amp;quot;WikiMedia WikiMediaToc&amp;quot; title=&amp;quot;Table of Contents&amp;quot; src=&amp;quot;/site/embedthumbnail/toc/normal?w=225&amp;amp;h=100&amp;quot;/&amp;gt; --&gt;&lt;div id="toc"&gt;&lt;h1 class="nopad"&gt;Table of Contents&lt;/h1&gt;&lt;!-- ws:end:WikiTextTocRule:35 --&gt;&lt;!-- ws:start:WikiTextTocRule:36: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#Introduction"&gt;Introduction&lt;/a&gt;&lt;/div&gt;
  &lt;!-- ws:start:WikiTextTocRule:35:&amp;lt;img id=&amp;quot;wikitext@@toc@@normal&amp;quot; class=&amp;quot;WikiMedia WikiMediaToc&amp;quot; title=&amp;quot;Table of Contents&amp;quot; src=&amp;quot;/site/embedthumbnail/toc/normal?w=225&amp;amp;h=100&amp;quot;/&amp;gt; --&gt;&lt;div id="toc"&gt;&lt;h1 class="nopad"&gt;Table of Contents&lt;/h1&gt;&lt;!-- ws:end:WikiTextTocRule:35 --&gt;&lt;!-- ws:start:WikiTextTocRule:36: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#Introduction"&gt;Introduction&lt;/a&gt;&lt;/div&gt;
Line 211: Line 218:
&lt;!-- ws:start:WikiTextMathRule:1:
&lt;!-- ws:start:WikiTextMathRule:1:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
H(d) = -\sum_{b} p_d(b) \log_β p_d(b)&amp;lt;br/&amp;gt;[[math]]
H(d) = -\sum_{b} p_d(b) \log_β p_d(b)&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; H(d) = -\sum_{b} p_d(b) \log_β p_d(b)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:1 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;H(d) = -\sum_{b} p_d(b) \log_β p_d(b)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:1 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where H(d) is the Shannon entropy of the dyad d, the b are all of the basis rationals in the set, the p&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt;(b) is the probability assigned to basis rational b given an input dyad of d, and the logarithm β reflects the units of information being used (by convention, we set β=2, corresponding to the use of bits). This is the Harmonic Entropy of the dyad d.&lt;br /&gt;
where H(d) is the Shannon entropy of the dyad d, the b are all of the basis rationals in the set, the p&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt;(b) is the probability assigned to basis rational b given an input dyad of d, and the logarithm β reflects the units of information being used (by convention, we set β=e, corresponding to the use of nats). This is the Harmonic Entropy of the dyad d.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to systematically assign a probability distribution to this dyad, we first start by defining a &lt;strong&gt;spreading function&lt;/strong&gt; that dictates how the dyad is &amp;quot;smeared&amp;quot; out in log-frequency space, representing how the auditory system allows for some tolerance for mistuning. The typical choice that we will assume here for a spreading function is a Gaussian distribution, with mean set to be centered around the incoming dyad, and standard deviation &lt;strong&gt;s&lt;/strong&gt; typically taken as a free parameter in the system.&lt;br /&gt;
In order to systematically assign a probability distribution to this dyad, we first start by defining a &lt;strong&gt;spreading function&lt;/strong&gt; that dictates how the dyad is &amp;quot;smeared&amp;quot; out in log-frequency space, representing how the auditory system allows for some tolerance for mistuning. The typical choice that we will assume here for a spreading function is a Gaussian distribution, with mean set to be centered around the incoming dyad, and standard deviation &lt;strong&gt;s&lt;/strong&gt; typically taken as a free parameter in the system.&lt;br /&gt;
Line 224: Line 231:
&lt;!-- ws:start:WikiTextMathRule:2:
&lt;!-- ws:start:WikiTextMathRule:2:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
s_d(x) = \frac{1}{s\sqrt{2\pi}} e^{-\frac{(x-d)^2}{2s^2}}&amp;lt;br/&amp;gt;[[math]]
s_d(x) = \frac{1}{s\sqrt{2\pi}} e^{-\frac{(x-d)^2}{2s^2}}&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; s_d(x) = \frac{1}{s\sqrt{2\pi}} e^{-\frac{(x-d)^2}{2s^2}}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:2 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;s_d(x) = \frac{1}{s\sqrt{2\pi}} e^{-\frac{(x-d)^2}{2s^2}}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:2 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;em&gt;s&lt;/em&gt; becomes the standard deviation of the Gaussian, being an ASCII-friendly version of the more familiar symbol σ for representing the standard deviation.&lt;br /&gt;
where &lt;em&gt;s&lt;/em&gt; becomes the standard deviation of the Gaussian, being an ASCII-friendly version of the more familiar symbol σ for representing the standard deviation.&lt;br /&gt;
Line 238: Line 245:
&lt;!-- ws:start:WikiTextMathRule:3:
&lt;!-- ws:start:WikiTextMathRule:3:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
p_d(b) = \int_{\cent(b_l)}^{\cent(b_u)} s_d(x) dx&amp;lt;br/&amp;gt;[[math]]
p_d(b) = \int_{\cent(b_l)}^{\cent(b_u)} s_d(x) dx&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; p_d(b) = \int_{\cent(b_l)}^{\cent(b_u)} s_d(x) dx&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:3 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;p_d(b) = \int_{\cent(b_l)}^{\cent(b_u)} s_d(x) dx&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:3 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where s&lt;span style="vertical-align: sub;"&gt;d&lt;/span&gt;(x) is the spreading function associated with d&lt;span style="line-height: 1.5;"&gt;, b&lt;/span&gt;&lt;span style="line-height: 1.5; vertical-align: sub;"&gt;l&lt;/span&gt;&lt;span style="line-height: 1.5;"&gt; and b&lt;/span&gt;&lt;span style="line-height: 1.5; vertical-align: sub;"&gt;u&lt;/span&gt;&lt;span style="line-height: 1.5;"&gt; are the domain lower and upper bounds associated with basis rational b, and ¢(f) = 1200·log2(f), or the &amp;quot;cents&amp;quot; function converting frequency ratios to cents. Normally, b&lt;/span&gt;&lt;span style="line-height: 1.5; vertical-align: sub;"&gt;l &lt;/span&gt;&lt;span style="line-height: 1.5;"&gt;is set equal to the mediant of b and its nearest lower neighbor (if it exists), or -∞ if not; likewise with b&lt;/span&gt;&lt;span style="line-height: 1.5; vertical-align: sub;"&gt;u&lt;/span&gt;&lt;span style="line-height: 1.5;"&gt;.&lt;/span&gt;&lt;br /&gt;
where s&lt;span style="vertical-align: sub;"&gt;d&lt;/span&gt;(x) is the spreading function associated with d&lt;span style="line-height: 1.5;"&gt;, b&lt;/span&gt;&lt;span style="line-height: 1.5; vertical-align: sub;"&gt;l&lt;/span&gt;&lt;span style="line-height: 1.5;"&gt; and b&lt;/span&gt;&lt;span style="line-height: 1.5; vertical-align: sub;"&gt;u&lt;/span&gt;&lt;span style="line-height: 1.5;"&gt; are the domain lower and upper bounds associated with basis rational b, and ¢(f) = 1200·log2(f), or the &amp;quot;cents&amp;quot; function converting frequency ratios to cents. Normally, b&lt;/span&gt;&lt;span style="line-height: 1.5; vertical-align: sub;"&gt;l &lt;/span&gt;&lt;span style="line-height: 1.5;"&gt;is set equal to the mediant of b and its nearest lower neighbor (if it exists), or -∞ if not; likewise with b&lt;/span&gt;&lt;span style="line-height: 1.5; vertical-align: sub;"&gt;u&lt;/span&gt;&lt;span style="line-height: 1.5;"&gt;.&lt;/span&gt;&lt;br /&gt;
Line 255: Line 262:
&lt;!-- ws:start:WikiTextMathRule:4:
&lt;!-- ws:start:WikiTextMathRule:4:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
q_d(b) = \frac{s_d(\cent(b))}{\sqrt{n_b \cdot d_b}}&amp;lt;br/&amp;gt;[[math]]
q_d(b) = \frac{s_d(\cent(b))}{\sqrt{n_b \cdot d_b}}&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; q_d(b) = \frac{s_d(\cent(b))}{\sqrt{n_b \cdot d_b}}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:4 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;q_d(b) = \frac{s_d(\cent(b))}{\sqrt{n_b \cdot d_b}}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:4 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the q&lt;span style="font-size: 12px; vertical-align: sub;"&gt;d&lt;/span&gt;(b) now represent the unnormalized &amp;quot;probabilities&amp;quot;, and n&lt;span style="vertical-align: sub;"&gt;b&lt;/span&gt; and d&lt;span style="vertical-align: sub;"&gt;b&lt;/span&gt; are the numerator and denominator, respectively, of basis rational b. Again, the set of basis rationals here is assumed to be all of those rationals of Tenney Height ≤ N for some N.&lt;br /&gt;
where the q&lt;span style="font-size: 12px; vertical-align: sub;"&gt;d&lt;/span&gt;(b) now represent the unnormalized &amp;quot;probabilities&amp;quot;, and n&lt;span style="vertical-align: sub;"&gt;b&lt;/span&gt; and d&lt;span style="vertical-align: sub;"&gt;b&lt;/span&gt; are the numerator and denominator, respectively, of basis rational b. Again, the set of basis rationals here is assumed to be all of those rationals of Tenney Height ≤ N for some N.&lt;br /&gt;
Line 264: Line 271:
&lt;!-- ws:start:WikiTextMathRule:5:
&lt;!-- ws:start:WikiTextMathRule:5:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
q_d(b) = \frac{s_d(\cent(b))}{\max(n_b,d_b)}&amp;lt;br/&amp;gt;[[math]]
q_d(b) = \frac{s_d(\cent(b))}{\max(n_b,d_b)}&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; q_d(b) = \frac{s_d(\cent(b))}{\max(n_b,d_b)}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:5 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;q_d(b) = \frac{s_d(\cent(b))}{\max(n_b,d_b)}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:5 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where this time the set of basis rationals is assumed to be all of those of Weil Height ≤ N for some N.&lt;br /&gt;
where this time the set of basis rationals is assumed to be all of those of Weil Height ≤ N for some N.&lt;br /&gt;
Line 273: Line 280:
&lt;!-- ws:start:WikiTextMathRule:6:
&lt;!-- ws:start:WikiTextMathRule:6:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
q_d(b) = \frac{s_d(\cent(b))}{\|b\|}&amp;lt;br/&amp;gt;[[math]]
q_d(b) = \frac{s_d(\cent(b))}{\|b\|}&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; q_d(b) = \frac{s_d(\cent(b))}{\|b\|}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:6 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;q_d(b) = \frac{s_d(\cent(b))}{\|b\|}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:6 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where ||b|| denotes a complexity function mapping from rational numbers to reals.&lt;br /&gt;
where ||b|| denotes a complexity function mapping from rational numbers to reals.&lt;br /&gt;
Line 282: Line 289:
&lt;!-- ws:start:WikiTextMathRule:7:
&lt;!-- ws:start:WikiTextMathRule:7:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
p_d(b) = \frac{q_d(b)}{\sum_b q_d(b)}&amp;lt;br/&amp;gt;[[math]]
p_d(b) = \frac{q_d(b)}{\sum_b q_d(b)}&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; p_d(b) = \frac{q_d(b)}{\sum_b q_d(b)}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:7 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;p_d(b) = \frac{q_d(b)}{\sum_b q_d(b)}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:7 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The p&lt;span style="vertical-align: sub;"&gt;d&lt;/span&gt;(b) are then used directly to compute the entropy.&lt;br /&gt;
The p&lt;span style="vertical-align: sub;"&gt;d&lt;/span&gt;(b) are then used directly to compute the entropy.&lt;br /&gt;
Line 291: Line 298:
&lt;!-- ws:start:WikiTextHeadingRule:23:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc5"&gt;&lt;a name="Examples"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:23 --&gt;Examples&lt;/h1&gt;
&lt;!-- ws:start:WikiTextHeadingRule:23:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc5"&gt;&lt;a name="Examples"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:23 --&gt;Examples&lt;/h1&gt;
  &lt;br /&gt;
  &lt;br /&gt;
&lt;span style="background-color: #ffffff;"&gt;In all of these examples, the x-axis represents the width in cents of the dyad, and the y-axis represents &lt;/span&gt;&lt;em&gt;&lt;span style="background-color: #ffffff;"&gt;discordance&lt;/span&gt;&lt;/em&gt; rather than concordance&lt;span style="background-color: #ffffff;"&gt;, measured in bits of Shannon entropy. Note that by convention, the value for s is typically expressed as a percentage of frequency deviation; this can be converted to cents via &lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #ffffff;"&gt;In all of these examples, the x-axis represents the width in cents of the dyad, and the y-axis represents &lt;/span&gt;&lt;em&gt;&lt;span style="background-color: #ffffff;"&gt;discordance&lt;/span&gt;&lt;/em&gt; rather than concordance&lt;span style="background-color: #ffffff;"&gt;, measured in nats of Shannon entropy. Note that by convention, the value for s is typically expressed as a percentage of frequency deviation; this can be converted to cents via &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Line 306: Line 313:
&lt;!-- ws:start:WikiTextMathRule:8:
&lt;!-- ws:start:WikiTextMathRule:8:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
H(d) = \frac{1}{1-a} \log_β \sum_b p_d(b)^a&amp;lt;br/&amp;gt;[[math]]
H(d) = \frac{1}{1-a} \log_β \sum_b p_d(b)^a&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; H(d) = \frac{1}{1-a} \log_β \sum_b p_d(b)^a&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:8 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;H(d) = \frac{1}{1-a} \log_β \sum_b p_d(b)^a&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:8 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the p_d(b) are the probabilities assigned by dyad d to each basis rational b. Being a q-analog, it is noteworthy that Rényi entropy converges to Shannon entropy in the limit as a→1, a fact which can be verified using L'Hôpital's rule as found &lt;a class="wiki_link_ext" href="http://www.sonycsl.co.jp/person/nielsen/Note-HopitalRuleShannonRenyiTsallis.pdf" rel="nofollow" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;
where the p_d(b) are the probabilities assigned by dyad d to each basis rational b. Being a q-analog, it is noteworthy that Rényi entropy converges to Shannon entropy in the limit as a→1, a fact which can be verified using L'Hôpital's rule as found &lt;a class="wiki_link_ext" href="http://www.sonycsl.co.jp/person/nielsen/Note-HopitalRuleShannonRenyiTsallis.pdf" rel="nofollow" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;
Line 317: Line 324:
Some psychoacoustic effects naturally fit into this paradigm, such as the virtual pitch integration process, which actually does attempt to find a single victor when matching incoming chords with chunks of the harmonic series. Other psychoacoustic effects, such as that of beatlessness, may instead be better viewed as &amp;quot;dumb&amp;quot; processes whereby nothing in particular is being &amp;quot;chosen,&amp;quot; but where a more uniform distribution of matching rational numbers for a dyad simply generates a more discordant sonic effect. Different values of a can differentiate between the predominance given to these two types of effect in the overall construct of psychoacoustic concordance.&lt;br /&gt;
Some psychoacoustic effects naturally fit into this paradigm, such as the virtual pitch integration process, which actually does attempt to find a single victor when matching incoming chords with chunks of the harmonic series. Other psychoacoustic effects, such as that of beatlessness, may instead be better viewed as &amp;quot;dumb&amp;quot; processes whereby nothing in particular is being &amp;quot;chosen,&amp;quot; but where a more uniform distribution of matching rational numbers for a dyad simply generates a more discordant sonic effect. Different values of a can differentiate between the predominance given to these two types of effect in the overall construct of psychoacoustic concordance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Certain values of &lt;em&gt;a&lt;/em&gt; reduce to simpler expressions and have special names:&lt;br /&gt;
Certain values of &lt;em&gt;a&lt;/em&gt; reduce to simpler expressions and have special names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:25:&amp;lt;h3&amp;gt; --&gt;&lt;h3 id="toc6"&gt;&lt;a name="Examples--a=0: Harmonic Hartley Entropy"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:25 --&gt;a=0: Harmonic Hartley Entropy&lt;/h3&gt;
&lt;!-- ws:start:WikiTextHeadingRule:25:&amp;lt;h3&amp;gt; --&gt;&lt;h3 id="toc6"&gt;&lt;a name="Examples--a=0: Harmonic Hartley Entropy"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:25 --&gt;a=0: Harmonic Hartley Entropy&lt;/h3&gt;
  &lt;!-- ws:start:WikiTextMathRule:9:
  &lt;!-- ws:start:WikiTextMathRule:9:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
H(d) = \log |R|&amp;lt;br/&amp;gt;[[math]]
H(d) = \log |R|&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; H(d) = \log |R|&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:9 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;H(d) = \log |R|&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:9 --&gt;&lt;br /&gt;
where |R| is the cardinality of the set of basis rationals. This assumes, in essence, an &amp;quot;infinitely dumb&amp;quot; auditory system which can do no better than picking a rational number from a uniform distribution completely at random. All dyads have the same Harmonic Hartley Entropy.&lt;br /&gt;
where |R| is the cardinality of the set of basis rationals. This assumes, in essence, an &amp;quot;infinitely dumb&amp;quot; auditory system which can do no better than picking a rational number from a uniform distribution completely at random. All dyads have the same Harmonic Hartley Entropy. The Hartley Entropy is sometimes called the &amp;quot;max-entropy,&amp;quot; and is useful mainly as an upper bound on the other forms of entropy: all Rényi Entropies are always guaranteed to be less than the Hartley Entropy.&lt;br /&gt;
&lt;!-- ws:start:WikiTextRemoteImageRule:74:&amp;lt;img src=&amp;quot;http://i.imgur.com/iVFpChm.png&amp;quot; alt=&amp;quot;&amp;quot; title=&amp;quot;&amp;quot; style=&amp;quot;height: 281px; width: 560px;&amp;quot; /&amp;gt; --&gt;&lt;img src="http://i.imgur.com/iVFpChm.png" alt="external image iVFpChm.png" title="external image iVFpChm.png" style="height: 281px; width: 560px;" /&gt;&lt;!-- ws:end:WikiTextRemoteImageRule:74 --&gt;&lt;br /&gt;
&lt;em&gt;Harmonic Hartley Entropy (a=0) with the basis set all rationals with Tenney height ≤ 10000. Note that the choice of spreading function makes no difference in the end result at all.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:27:&amp;lt;h3&amp;gt; --&gt;&lt;h3 id="toc7"&gt;&lt;a name="Examples--a=1: Harmonic Shannon Entropy (Harmonic Entropy)"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:27 --&gt;a=1: Harmonic Shannon Entropy (Harmonic Entropy)&lt;/h3&gt;
&lt;!-- ws:start:WikiTextHeadingRule:27:&amp;lt;h3&amp;gt; --&gt;&lt;h3 id="toc7"&gt;&lt;a name="Examples--a=1: Harmonic Shannon Entropy (Harmonic Entropy)"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:27 --&gt;a=1: Harmonic Shannon Entropy (Harmonic Entropy)&lt;/h3&gt;
  &lt;!-- ws:start:WikiTextMathRule:10:
  &lt;!-- ws:start:WikiTextMathRule:10:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
H(d) = -\sum_{b} p_d(b) \log p_d(b)&amp;lt;br/&amp;gt;[[math]]
H(d) = -\sum_{b} p_d(b) \log p_d(b)&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; H(d) = -\sum_{b} p_d(b) \log p_d(b)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:10 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;H(d) = -\sum_{b} p_d(b) \log p_d(b)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:10 --&gt;&lt;br /&gt;
This is Paul's original Harmonic Entropy. This can be thought of as an auditory system which simply selects a rational at random from the incoming distribution, weighted via the distribution itself.&lt;br /&gt;
This is Paul's original Harmonic Entropy. Within the cryptographic analogy, this can be thought of as an auditory system which simply selects a rational at random from the incoming distribution, weighted via the distribution itself.&lt;br /&gt;
&lt;!-- ws:start:WikiTextRemoteImageRule:75:&amp;lt;img src=&amp;quot;http://i.imgur.com/bghmli1.png&amp;quot; alt=&amp;quot;&amp;quot; title=&amp;quot;&amp;quot; style=&amp;quot;height: 278px; width: 560px;&amp;quot; /&amp;gt; --&gt;&lt;img src="http://i.imgur.com/bghmli1.png" alt="external image bghmli1.png" title="external image bghmli1.png" style="height: 278px; width: 560px;" /&gt;&lt;!-- ws:end:WikiTextRemoteImageRule:75 --&gt;&lt;br /&gt;
&lt;em&gt;Harmonic Shannon Entropy (a=1) with the basis set all rationals with Tenney height ≤ 10000, spreading function a Gaussian distribution with s=1% (~17 cents), and sqrt(n·d) complexity.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:29:&amp;lt;h3&amp;gt; --&gt;&lt;h3 id="toc8"&gt;&lt;a name="Examples--a=2: Harmonic Collision Entropy"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:29 --&gt;a=2: Harmonic Collision Entropy&lt;/h3&gt;
&lt;!-- ws:start:WikiTextHeadingRule:29:&amp;lt;h3&amp;gt; --&gt;&lt;h3 id="toc8"&gt;&lt;a name="Examples--a=2: Harmonic Collision Entropy"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:29 --&gt;a=2: Harmonic Collision Entropy&lt;/h3&gt;
  &lt;!-- ws:start:WikiTextMathRule:11:
  &lt;!-- ws:start:WikiTextMathRule:11:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
H(d) = -\log \sum_b p_d(b)^2 = -log (P_d = Q_d)&amp;lt;br/&amp;gt;[[math]]
H(d) = -\log \sum_b p_d(b)^2 = -log (P_d = Q_d)&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; H(d) = -\log \sum_b p_d(b)^2 = -log (P_d = Q_d)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:11 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;H(d) = -\log \sum_b p_d(b)^2 = -log (P_d = Q_d)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:11 --&gt;&lt;br /&gt;
where P&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt; and Q&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt; are independent and identically distributed random variables corresponding to the same dyad, and the collision entropy is the same as the negative log of the probability that the two variables produce the same outcome.&lt;br /&gt;
where P&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt; and Q&lt;span style="font-size: 90%; vertical-align: sub;"&gt;d&lt;/span&gt; are independent and identically distributed random variables corresponding to the same dyad, and the collision entropy is the same as the negative log of the probability that the two variables produce the same outcome.&lt;br /&gt;
&lt;!-- ws:start:WikiTextRemoteImageRule:76:&amp;lt;img src=&amp;quot;http://i.imgur.com/LBzWxgY.png&amp;quot; alt=&amp;quot;&amp;quot; title=&amp;quot;&amp;quot; style=&amp;quot;height: 278px; width: 560px;&amp;quot; /&amp;gt; --&gt;&lt;img src="http://i.imgur.com/LBzWxgY.png" alt="external image LBzWxgY.png" title="external image LBzWxgY.png" style="height: 278px; width: 560px;" /&gt;&lt;!-- ws:end:WikiTextRemoteImageRule:76 --&gt;&lt;br /&gt;
&lt;em&gt;Harmonic Collision Entropy (a=2) with the basis set all rationals with Tenney height ≤ 10000, spreading function a Gaussian distribution with s=1% (~17 cents), and sqrt(n·d) complexity.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:31:&amp;lt;h3&amp;gt; --&gt;&lt;h3 id="toc9"&gt;&lt;a name="Examples--a=∞: Harmonic Min-Entropy"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:31 --&gt;a=∞: Harmonic Min-Entropy&lt;/h3&gt;
&lt;!-- ws:start:WikiTextHeadingRule:31:&amp;lt;h3&amp;gt; --&gt;&lt;h3 id="toc9"&gt;&lt;a name="Examples--a=∞: Harmonic Min-Entropy"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:31 --&gt;a=∞: Harmonic Min-Entropy&lt;/h3&gt;
  &lt;!-- ws:start:WikiTextMathRule:12:
  &lt;!-- ws:start:WikiTextMathRule:12:
[[math]]&amp;lt;br/&amp;gt;
[[math]]&amp;lt;br/&amp;gt;
-\log \max_b p_d(b)&amp;lt;br/&amp;gt;[[math]]
-\log \max_b p_d(b)&amp;lt;br/&amp;gt;[[math]]
  --&gt;&lt;script type="math/tex"&gt; -\log \max_b p_d(b)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:12 --&gt;&lt;br /&gt;
  --&gt;&lt;script type="math/tex"&gt;-\log \max_b p_d(b)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:12 --&gt;&lt;br /&gt;
This is the min-entropy, which simply takes the negative log of the largest probability in the distribution. This can be thought of as representing the &amp;quot;strength&amp;quot; of the incoming dyad from being &amp;quot;deciphered&amp;quot; by a &amp;quot;best-case&amp;quot; auditory system.&lt;br /&gt;
This is the min-entropy, which simply takes the negative log of the largest probability in the distribution. This can be thought of as representing the &amp;quot;strength&amp;quot; of the incoming dyad from being &amp;quot;deciphered&amp;quot; by a &amp;quot;best-case&amp;quot; auditory system. The name &amp;quot;min-entropy&amp;quot; reflects that the a=∞ case is guaranteed to be a lower bound among all Rényi entropies.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextRemoteImageRule:77:&amp;lt;img src=&amp;quot;http://i.imgur.com/u91Xkww.png&amp;quot; alt=&amp;quot;&amp;quot; title=&amp;quot;&amp;quot; style=&amp;quot;height: 281px; width: 560px;&amp;quot; /&amp;gt; --&gt;&lt;img src="http://i.imgur.com/u91Xkww.png" alt="external image u91Xkww.png" title="external image u91Xkww.png" style="height: 281px; width: 560px;" /&gt;&lt;!-- ws:end:WikiTextRemoteImageRule:77 --&gt;&lt;br /&gt;
&lt;em&gt;Harmonic Rényi Entropy with a=7, with the high value of a being chosen to approximate min-entropy (a=&lt;/em&gt;∞&lt;em&gt;). The basis set is still all rationals with Tenney height ≤ 10000, the spreading function a Gaussian distribution with s=1% (~17 cents), and the complexty function sqrt(n·d).&lt;/em&gt;&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:33:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc10"&gt;&lt;a name="References"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:33 --&gt;References&lt;/h1&gt;
&lt;!-- ws:start:WikiTextHeadingRule:33:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc10"&gt;&lt;a name="References"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:33 --&gt;References&lt;/h1&gt;
  &lt;a class="wiki_link_ext" href="http://www.webcitation.org/60qOlJVFS" rel="nofollow"&gt;Paul Erlich article&lt;/a&gt;&lt;br /&gt;
  &lt;a class="wiki_link_ext" href="http://www.webcitation.org/60qOlJVFS" rel="nofollow"&gt;Paul Erlich article&lt;/a&gt;&lt;br /&gt;