S-expression: Difference between revisions

Godtone (talk | contribs)
m Derivation: brackets are appropriate here, but as it's still important ive bolded the brackets to make it stand out that this isnt an ordinary note, as i didnt want to create a whole new section for smth trivially understood as a proof corollary
Eufalesio (talk | contribs)
Added olympia and refined more examples list
 
(38 intermediate revisions by 3 users not shown)
Line 2: Line 2:


== Quick rules of S-expressions ==
== Quick rules of S-expressions ==
As S-expressions are deployed widely on the wiki and in the broader xen community, below is a list of what the most common S-expression categories imply when they are [[tempering out|tempered out]]. The linked sections provide deeper information into each comma family.
[[File:S(expression).svg|thumb|Here is a summarized infographic of what many of these S-expression types do to a harmonic series segment when tempered out.]]
As S-expressions are deployed widely on the wiki and in the broader xen community, below is a list of what the most common S-expression categories imply is equated when they are [[tempering out|tempered out]]. The linked sections provide deeper information into each comma family.


* [[#Sk (square-particulars)|Square-particulars]]: '''S''k''''', superparticular fractions of the form {{sfrac|''k''<sup>2</sup>|''k''<sup>2</sup> − 1}}. <br>Tempering out S''k'' equates {{sfrac|''k'' + 1|''k''}} with {{sfrac|''k''|''k'' − 1}} and splits {{sfrac|''k'' + 1|''k'' − 1}} in two.
* [[#Sk (square-particulars)|Square-particulars]]: '''S''k''''', superparticular fractions of the form {{sfrac|''k''<sup>2</sup>|''k''<sup>2</sup> − 1}}. <br>Tempering out S''k'' equates {{sfrac|''k'' + 1|''k''}} with {{sfrac|''k''|''k'' − 1}} and splits {{sfrac|''k'' + 1|''k'' − 1}} in two.
Line 9: Line 10:
* [[#Sk/S(k + 1) (ultraparticulars)|Ultraparticulars]]: {{nowrap|'''S''k''/S(''k'' + 1)'''}}. Tempering this out splits {{sfrac|''k'' + 2|''k'' − 1}} into {{pars|{{sfrac|''k'' + 1|''k''}}}}<sup>3</sup>.
* [[#Sk/S(k + 1) (ultraparticulars)|Ultraparticulars]]: {{nowrap|'''S''k''/S(''k'' + 1)'''}}. Tempering this out splits {{sfrac|''k'' + 2|''k'' − 1}} into {{pars|{{sfrac|''k'' + 1|''k''}}}}<sup>3</sup>.
* [[#Sk/S(k + 2) (semiparticulars)|Semiparticulars]]: {{nowrap|'''S''k''/S(''k'' + 2)'''}}. Tempering this out splits {{sfrac|''k'' + 3|''k'' − 1}} into {{pars|{{sfrac|''k'' + 2|''k''}}}}<sup>2</sup>.
* [[#Sk/S(k + 2) (semiparticulars)|Semiparticulars]]: {{nowrap|'''S''k''/S(''k'' + 2)'''}}. Tempering this out splits {{sfrac|''k'' + 3|''k'' − 1}} into {{pars|{{sfrac|''k'' + 2|''k''}}}}<sup>2</sup>.
* [[#Ck and Cpk (cube-particulars)|Cube-particulars]]: '''C''k''''' and '''Cp''k''''', superparticular fractions of the form {{sfrac|''k''<sup>3</sup>|''k''<sup>3</sup> − 1}} and {{sfrac|''k''<sup>3</sup> + 1|''k''<sup>3</sup>}}, respectively.  
* [[#Ck and Cpk (cube-particulars)|Cube-particulars]]: '''C''k''''' and '''Cp''k''''', superparticular fractions of the form {{sfrac|''k''<sup>3</sup>|''k''<sup>3</sup> − 1}} and {{sfrac|''k''<sup>3</sup> + 1|''k''<sup>3</sup>}}, respectively.


== S''k'' (square-particulars) ==
== S''k'' (square-particulars) ==
A square superparticular, or ''square-particular'' for short, is a [[superparticular]] [[interval]] whose numerator is a square number, which is to say, a superparticular of the form
A square superparticular, or ''square-particular'' for short, is a [[superparticular]] [[interval]] whose numerator is a square number, which is to say, a superparticular of the form


$$ \frac {k^2}{k^2 - 1} = \frac {k/(k - 1)}{(k + 1)/k} $$
$$ \frac {}{- 1} = \frac {k/(k - 1)}{(k + 1)/k} $$


which is square-superparticular ''k'' for a given integer {{nowrap| ''k'' > 1 }}. A suggested shorthand for this interval is '''S''k''''' for the ''k''-th square superparticular, where the ''S'' stands for ''second-order/square superparticular''. This will be used later in this article as the notation will prove powerful in understanding the commas and implied tempered structures of [[regular temperament]]s. Note that {{nowrap| S2 {{=}} [[4/3]] }} is the first musically meaningful square-particular, as {{nowrap| S1 {{=}} 1/0 }}.
which is square-superparticular ''k'' for a given integer {{nowrap| ''k'' > 1 }}. A suggested shorthand for this interval is '''S''k''''' for the ''k''-th square superparticular, where the ''S'' stands for ''second-order/square superparticular''. This will be used later in this article as the notation will prove powerful in understanding the commas and implied tempered structures of [[regular temperament]]s. Note that {{nowrap| S2 {{=}} [[4/3]] }} is the first musically meaningful square-particular, as {{nowrap| S1 {{=}} 1/0 }}.
Line 521: Line 522:


=== Short proof of the superparticularity of triangle-particulars ===
=== Short proof of the superparticularity of triangle-particulars ===
$$ S(k) \cdot S(k + 1) = \frac{\frac{k}{k - 1}}{\frac{k + 2}{k + 1}} = \frac{k(k + 1)}{(k - 1)(k + 2)} = \frac{k^2 + k}{k^2 + k - 2} $$
<nowiki>$$ S(k) \cdot S(k + 1) = \frac{\frac{k}{k - 1}}{\frac{k + 2}{k + 1}} = \frac{k(k + 1)}{(k - 1)(k + 2)} = \frac{+ k}{+ k - 2} $$</nowiki>


Then notice that {{nowrap| ''k''<sup>2</sup> + ''k'' }} is always a multiple of 2; therefore the above always simplifies to a superparticular. Half of this superparticular is halfway between the corresponding square-particulars, and because of its composition it could be reasoned that it would likely be half as accurate as tempering out either of the square-particulars individually, so these are "1/2-square-particulars" in a sense, and half of a square is a triangle, which is not a coincidence here because the numerators of all of these superparticular intervals are [[triangular number]]s, hence the alternative name ''triangle-particular''.
Then notice that {{nowrap| ''k''<sup>2</sup> + ''k'' }} is always a multiple of 2; therefore the above always simplifies to a superparticular. Half of this superparticular is halfway between the corresponding square-particulars, and because of its composition it could be reasoned that it would likely be half as accurate as tempering out either of the square-particulars individually, so these are "1/2-square-particulars" in a sense, and half of a square is a triangle, which is not a coincidence here because the numerators of all of these superparticular intervals are [[triangular number]]s, hence the alternative name ''triangle-particular''.
Line 1,627: Line 1,628:
From this, it can be deduced that {{nowrap| (6/5)<sup>3</sup> ~ [[7/4]] }}, because one of the 6/5's can be lowered by S6 to 7/6 and another of the 6/5's can be raised by S5 to 5/4. Then because we have tempered S5 and S6 together, we have lowered and raised by the same amount, so the result of {{nowrap| (7/6)⋅(6/5)⋅(5/4) {{=}} 7/4 }} must be the same as the result of {{nowrap| (6/5)⋅(6/5)⋅(6/5)}} in this temperament.
From this, it can be deduced that {{nowrap| (6/5)<sup>3</sup> ~ [[7/4]] }}, because one of the 6/5's can be lowered by S6 to 7/6 and another of the 6/5's can be raised by S5 to 5/4. Then because we have tempered S5 and S6 together, we have lowered and raised by the same amount, so the result of {{nowrap| (7/6)⋅(6/5)⋅(5/4) {{=}} 7/4 }} must be the same as the result of {{nowrap| (6/5)⋅(6/5)⋅(6/5)}} in this temperament.


The reader is encouraged to familiarize themself with the structure of this argument, as it generalizes to arbitrary S''k'' (→ [[S-expression/Advanced results #Mathematical derivations|]]); the algebraic proof is tedious, but the intuition is the same:
The reader is encouraged to familiarize themself with the structure of this argument, as it generalizes to arbitrary S''k'' (→ [[S-expression/Advanced_results#Mathematical_derivations]]); the algebraic proof is tedious, but the intuition is the same:


$$ \frac{k+2}{k+1} \leftarrow S(k+1)~Sk \rightarrow \frac{k+1}{k} \leftarrow S(k+1)~Sk \rightarrow \frac{k}{k-1} $$
$$ \frac{k+2}{k+1} \leftarrow S(k+1)~Sk \rightarrow \frac{k+1}{k} \leftarrow S(k+1)~Sk \rightarrow \frac{k}{k-1} $$
Line 1,635: Line 1,636:
=== Significance ===
=== Significance ===
# Tempering out any two consecutive square-particulars S''k'' and S({{nowrap|''k'' + 1}}) will naturally imply tempering out the ultraparticular between them, {{sfrac|S''k''|S(''k'' + 1)}}, meaning they are very common implicit commas.
# Tempering out any two consecutive square-particulars S''k'' and S({{nowrap|''k'' + 1}}) will naturally imply tempering out the ultraparticular between them, {{sfrac|S''k''|S(''k'' + 1)}}, meaning they are very common implicit commas.
# Tempering out any two consecutive ultraparticulars will imply tempering out the [[#Sk/S(k + 2) (semiparticulars)|semiparticular]], which is their product. A rather-interesting arithmetic of square-particular and related commas exists. This arithmetic can be described compactly with S-expressions, which is to say, expressions composed of square superparticulars multiplied and divided together, using the S''k'' notation to achieve that compactness.{{clarify}}
# Tempering out any two consecutive ultraparticulars will imply tempering out the [[#Sk/S(k + 2) (semiparticulars)|semiparticular]], which is their product. A rather-interesting arithmetic of square-particular and related commas exists. This arithmetic can be described compactly with S-expressions, which is to say, expressions composed of square superparticulars multiplied and divided together, using the S''k'' notation to achieve that compactness.
# Tempering out the ultraparticular S''k''/S({{nowrap|''k'' + 1}}) along with either the corresponding 1/2-square-particular {{nowrap|S''k''⋅S(''k'' + 1)}} or one of the two corresponding lopsided commas {{nowrap|S''k''<sup>2</sup>⋅S(''k'' + 1)}} or {{nowrap|S''k''⋅S(''k'' + 1)<sup>2</sup>}} implies tempering both of S''k'' and S({{nowrap|''k'' + 1}}) individually, and vice versa, so that there is a total of ''five'' equivalences—corresponding to ''five'' infinite families of commas—for every such S''k'' and {{nowrap|S(''k'' + 1)}}. This only gets better{{clarify}} if you temper out a third consecutive square-particular. This is an abundance of "at-a-glance" essential tempering information that is fully general, so it only needs to be learned once, and is another motivation of the use of S-expressions. For example, {{nowrap|{S16, S17} → {S16⋅S17, S16/S17, S16<sup>2</sup>⋅S17, S16⋅S17<sup>2</sup>} }}, and any of the two commas in the latter set imply all the other commas too.
# Tempering out the ultraparticular S''k''/S({{nowrap|''k'' + 1}}) along with either the corresponding 1/2-square-particular {{nowrap|S''k''⋅S(''k'' + 1)}} or one of the two corresponding lopsided commas {{nowrap|S''k''<sup>2</sup>⋅S(''k'' + 1)}} or {{nowrap|S''k''⋅S(''k'' + 1)<sup>2</sup>}} implies tempering both of S''k'' and S({{nowrap|''k'' + 1}}) individually, and vice versa, so that there is a total of ''five'' equivalences—corresponding to ''five'' infinite families of commas—for every such S''k'' and {{nowrap|S(''k'' + 1)}}. This only gets better if you temper out a third consecutive square-particular. This is an abundance of "at-a-glance" essential tempering information that is fully general, so it only needs to be learned once, and is another motivation of the use of S-expressions. For example, {{nowrap|{S16, S17} → {S16⋅S17, S16/S17, S16<sup>2</sup>⋅S17, S16⋅S17<sup>2</sup>} }}, and any of the two commas in the latter set imply all the other commas too.


=== Table of ultraparticulars ===
=== Table of ultraparticulars ===
Line 1,917: Line 1,918:
Tempering out S(''k'' - 1)/S(''k'' + 1) implies that (''k'' + 2)/(''k'' - 2) is divisible exactly into two halves of (''k'' + 1)/(''k'' - 1). It also implies that the intervals (''k'' + 2)/''k'' (= s) and ''k''/(''k'' - 2) (= L) are equidistant from (''k'' + 1)/(''k'' - 1) (= M) because, to make them equidistant, we need to temper out:
Tempering out S(''k'' - 1)/S(''k'' + 1) implies that (''k'' + 2)/(''k'' - 2) is divisible exactly into two halves of (''k'' + 1)/(''k'' - 1). It also implies that the intervals (''k'' + 2)/''k'' (= s) and ''k''/(''k'' - 2) (= L) are equidistant from (''k'' + 1)/(''k'' - 1) (= M) because, to make them equidistant, we need to temper out:


$$ \frac{L/M}{M/s} = \frac{ \left(\frac{k}{k-2}\right)/\left(\frac{k+1}{k-1}\right) }{ \left(\frac{k+1}{k-1}\right)/\left(\frac{k+2}{k}\right) } = \frac{Ls}{M^2} = \frac{\frac{k+2}{k-2}}{\left(\frac{k+1}{k-1}\right)^2} $$
<nowiki>$$ \frac{L/M}{M/s} = \frac{ \left(\frac{k}{k-2}\right)/\left(\frac{k+1}{k-1}\right) }{ \left(\frac{k+1}{k-1}\right)/\left(\frac{k+2}{k}\right) } = \frac{Ls}{} = \frac{\frac{k+2}{k-2}}{\left(\frac{k+1}{k-1}\right)²} $$</nowiki>


… and notice that the latter expression is the one we have shown is equal to S(''k'' - 1)/S(''k'' + 1)]] up to an offset ''k'' (→ [[S-expression/Advanced results #Mathematical derivations]]). In other words, that tempering out S(''k'' - 1)/S(''k'' + 1) results in (''k'' + 1)/(''k'' - 1) being half of (''k'' + 2)/(''k'' - 2) is an implication that it makes (''k'' + 2)/''k'', (''k'' + 1)/(''k'' - 1), and ''k''/(''k'' - 2) equidistant.  
… and notice that the latter expression is the one we have shown is equal to S(''k'' - 1)/S(''k'' + 1) up to an offset ''k'' (→ [[S-expression/Advanced results #Mathematical derivations]]). In other words, that tempering out S(''k'' - 1)/S(''k'' + 1) results in (''k'' + 1)/(''k'' - 1) being half of (''k'' + 2)/(''k'' - 2) is an implication that it makes (''k'' + 2)/''k'', (''k'' + 1)/(''k'' - 1), and ''k''/(''k'' - 2) equidistant.  


Also note that in the above, (''k'' + 1)/(''k'' - 1) is the mediant of the adjacent two intervals, meaning that division of an interval into two via tempering out a semiparticular is in some sense 'optimal' relative to the complexity. This also means that if ''k'' is a multiple of 2, this corresponds to a natural way to split the square superparticular S(''k''/2) into two parts. For example, if ''k'' = 10, then we have (10 + 2)/10, (10 + 1)/(10 - 1), 10/(10 - 2) as equidistant, which simplified is 6/5, 11/9, 5/4, with 11/9 being the mediant of 6/5 and 5/4, and therefore the corresponding superparticular S5 = (5/4)/(6/5) is split into two parts which are tempered together: (5/4)/(11/9) = 45/44 and (11/9)/(6/5) = 55/54. The semiparticular is therefore S(10 - 1)/S(10 + 1) = S9/S11 = 243/242 = (45/44)/(55/54) = ((10 + 2)/(10 - 2))/((10 + 1)/(10 - 1))<sup>2</sup>.
Also note that in the above, (''k'' + 1)/(''k'' - 1) is the mediant of the adjacent two intervals, meaning that division of an interval into two via tempering out a semiparticular is in some sense 'optimal' relative to the complexity. This also means that if ''k'' is a multiple of 2, this corresponds to a natural way to split the square superparticular S(''k''/2) into two parts. For example, if ''k'' = 10, then we have (10 + 2)/10, (10 + 1)/(10 - 1), 10/(10 - 2) as equidistant, which simplified is 6/5, 11/9, 5/4, with 11/9 being the mediant of 6/5 and 5/4, and therefore the corresponding superparticular S5 = (5/4)/(6/5) is split into two parts which are tempered together: (5/4)/(11/9) = 45/44 and (11/9)/(6/5) = 55/54. The semiparticular is therefore S(10 - 1)/S(10 + 1) = S9/S11 = 243/242 = (45/44)/(55/54) = ((10 + 2)/(10 - 2))/((10 + 1)/(10 - 1))<sup>2</sup>.
Line 2,160: Line 2,161:


=== Derivation ===
=== Derivation ===
For a general introduction to method we use here, see [[#Using S-factorizations to understand the significance of S-expressions|S-factorizations]], as I will not re-explain the method here (though I find it quite straightforward).
For a general introduction to method we use here, see [[#Using S-factorizations to understand the significance of S-expressions|S-factorizations]], as we will not re-explain the method here.


We start with:
We start with:
Line 2,185: Line 2,186:
...as expected. In fact, if you look at the expressions in the table, it becomes obvious why we have the central element squared (via a 2 and -2 in the S-factorization), as it follows from the general algebraic form of {{nowrap| ''n''<sup>2</sup> / (''n''<sup>2</sup> - 1) {{=}} ( ''n''/(''n'' - 1) )/( (''n'' + 1)/''n'' ) }}.
...as expected. In fact, if you look at the expressions in the table, it becomes obvious why we have the central element squared (via a 2 and -2 in the S-factorization), as it follows from the general algebraic form of {{nowrap| ''n''<sup>2</sup> / (''n''<sup>2</sup> - 1) {{=}} ( ''n''/(''n'' - 1) )/( (''n'' + 1)/''n'' ) }}.


'''(It should be noted:''' The same derivation above can be observed as not depending on the number of 0's in the S-factorization of the expressions of <code>F(k + 1)</code> and <code>F(k + 2)</code>, and that therefore we have S''a''/S''b'' being an equidistance relation of intervals, where the generalized versions of the terms <code>F(k + 1)</code> and <code>F(k + 2)</code> correspond to the two differences of intervals of the form (''n'' + ''k'')/''n'', where ''k'' = 3 corresponds to one zero in the monzo, and where the terms <code>F(k + 1)</code> and <code>F(k + 2)</code> therefore correspond to the two differences used to make three intervals of the form (''n'' + ''k'')/''n'' equidistant. "Which three intervals" is thus answered as those of 3 consecutive/adjacent values of ''n''. '''Therefore:''' What makes three-particulars special in this more general S-comma family is that the largest and smallest interval of the three almost compose to something simple, up to a superparticular difference, s.t the corresponding splitting relation can often simplify for cases of interest, as discussed in [[S-expression#Significance_7|#Significance]]'''.)'''
'''(An important corollary that should be noted:''' The same derivation above can be observed as not depending on the number of 0's in the S-factorization of the expressions of {{nowrap| <code>F(k + 1)</code> and <code>F(k + 2)</code> }}, and that therefore we have S''a''/S''b'' being an equidistance relation of intervals, where the generalized versions of the terms {{nowrap| <code>F(k + 1)</code> and <code>F(k + 2)</code> }} correspond to the two differences of intervals of the form (''n'' + ''k'')/''n'', where ''k'' = 3 corresponds to one zero in the monzo and zero in {{nowrap| <code>[ -1, 2, -1, 1, -2, 1 ]</code> }}, and where the terms {{nowrap| <code>F(k + 1)</code> and <code>F(k + 2)</code> }} therefore correspond to the two differences used to make three intervals of the form (''n'' + ''k'')/''n'' equidistant. "Which three intervals" is thus answered as those of 3 consecutive/adjacent values of ''n''. '''Therefore:''' What makes three-particulars special in this more general S-comma family is that the largest and smallest interval of the three almost compose to something simple, up to a superparticular difference, s.t the corresponding splitting relation can often simplify for cases of interest, as discussed in [[S-expression#Significance_7|#Significance]]'''.)'''


=== Table of three-particulars ===
=== Table of three-particulars ===
Line 2,419: Line 2,420:


=== Derivation ===
=== Derivation ===
As before, for a general introduction to the method we use here, see [[#Using S-factorizations to understand the significance of S-expressions|S-factorizations]], as I will not re-explain the method here. However, we will use a previous result from three-particulars as to immediately say that:
As before, for a general introduction to the method we use here, see [[#Using S-factorizations to understand the significance of S-expressions|S-factorizations]], as we will not re-explain the method here. However, we will use a previous result from three-particulars as to immediately say that:
<pre>
<pre>
Sk / S(k+3) = [k-1, k, k+1, k+2, k+3, k+4]^[-1, 2, -1, 1, -2, 1]
Sk / S(k+3) = [k-1, k, k+1, k+2, k+3, k+4]^[-1, 2, -1, 1, -2, 1]
Line 3,093: Line 3,094:


== C''k'' and Cp''k'' (cube-particulars) ==
== C''k'' and Cp''k'' (cube-particulars) ==
This family of superparticular interval is of the form {{nowrap|{{sfrac|''k''<sup>3</sup>|''k''<sup>3</sup> − 1}} {{=}} C''k''}} and {{nowrap|{{sfrac|''k''<sup>3</sup> + 1|''k''<sup>3</sup>}} {{=}} Cp''k''}} (for ''cube-particular complement''). Both C''k'' and Cp''k'' are notable because ''k''<sup>3</sup> + 1 and ''k''<sup>3</sup> − 1 are always composite for ''k'' ≥ 2, unlike with square-particulars, where ''k''<sup>2</sup> + 1 can be prime. The term ''S-expression'' applies to these despite not using the letter ''S'', in avoidance of introducing additional terms.  
This family of superparticular interval is of the form {{nowrap|{{sfrac|''k''<sup>3</sup>|''k''<sup>3</sup> − 1}} {{=}} C''k''}} and {{nowrap|{{sfrac|''k''<sup>3</sup> + 1|''k''<sup>3</sup>}} {{=}} Cp''k''}} (for ''cube-particular complement''). Both C''k'' and Cp''k'' are notable because ''k''<sup>3</sup> + 1 and ''k''<sup>3</sup> − 1 are always composite for ''k'' ≥ 2, unlike with square-particulars, where ''k''<sup>2</sup> + 1 can be prime. The term ''S-expression'' arguably does not apply here, but they are noted on this page nonetheless because they appear as an extension of [[ultraparticular]]s, as {{nowrap| S''k''/S(''k'' + 1) {{=}} C''k''⋅Cp(''k'' + 1) }}, therefore every temperament tempering out an ultraparticular can potentially be extended in a non-obvious way to tempering out a pair of cube-particulars.


Note that as ''k'' increases, the maximal prime limit of a cube-particular grows more quickly than that of a square-particular; cube-particulars essentially rely on the factorizability of the term (''k''<sup>2</sup> + ''k'' + 1) for C''k'' or (''k''<sup>2</sup> − ''k'' + 1) for Cp''k'' to get to a reasonable prime limit.  
Note that as ''k'' increases, the maximal prime limit of a cube-particular grows more quickly than that of a square-particular; cube-particulars essentially rely on the factorizability of the term (''k''<sup>2</sup> + ''k'' + 1) for C''k'' or (''k''<sup>2</sup> − ''k'' + 1) for Cp''k'' to get to a reasonable prime limit.  
Line 3,325: Line 3,326:


== Equivalent S-expressions ==
== Equivalent S-expressions ==
All S-expressions have other equivalent S-expressions; however, when the equivalence makes one comma a member of two of the infinite families discussed above, or otherwise makes it equal to a product or ratio between two such commas, this often means nontrivial, deep tempering opportunities, usually leading to multiple of the most elegant and efficient temperaments that we know of depending on how the tempering is further realized. Generally we exclude 1/''n''-square-particulars, only noting up to 1/3-square-particulars, because equivalent 1/''n''-square-particular expressions become very common for higher ''n'', but are still quite rare for small ''n''.
All S-expressions have other equivalent S-expressions; however, a comma might appear in more than one family of S-commas or arise as a specific product of them. This often means nontrivial, deep tempering opportunities, usually leading to multiple of the most elegant and efficient temperaments that we know of depending on how the tempering is further realized. Generally we exclude 1/''n''-square-particulars, only noting up to 1/3-square-particulars, because equivalent 1/''n''-square-particular expressions become very common for higher ''n'', but are still quite rare for small ''n''.


=== A useful general rule ===
=== A useful general rule ===
Line 3,331: Line 3,332:


$$
$$
{\rm S}k = {\rm S}(2k - 1) \cdot {\rm S}(2k)^2 \cdot {\rm S}(2k + 1)
{\rm S}k = {\rm S}(2k - 1) \cdot {\rm S}(2k)² \cdot {\rm S}(2k + 1)
$$
$$


This is important to note because using this simple rule we can derive an infinite amount of trivially and obviously equivalent S-expressions. See [[S-expression/Advanced results]] for mathematical details.
This is important to note because using this simple rule we can derive an infinite amount of trivial equivalent S-expressions. See [[#The general S-expression equivalence]] for mathematical details.


=== Examples ===
=== Examples ===
Line 3,341: Line 3,342:
{| class="wikitable center-1"
{| class="wikitable center-1"
|-
|-
! Comma
! rowspan="2" | Comma<br>(by size)
! S-expressions
! colspan="4" | S-expressions
|-
! colspan="2" |Main
! colspan="2" |Secondary
|-
|-
| [[28/27]]
| [[28/27]]
| S7⋅S8, S4/S6
| S7⋅S8
|S4/S6
|
|
|-
|-
| [[36/35]]
| [[36/35]]
| S6, S8⋅S9
| S6
|S8⋅S9
|
|
|-
|-
| [[64/63]]
| [[64/63]]
| S8, S6/S9, S4/(S6⋅S7), (S4⋅S5⋅S6)/S3
| S8
|S6/S9
|S4/(S6⋅S7)
|(S4⋅S5⋅S6)/S3
|-
|-
| [[81/80]]
| [[81/80]]
| S9, S6/S8
| S9
|S6/S8
|
|
|-
| [[245/243]]
| S7/S9
|
|
|S10/(S12/S14)
|-
|-
| [[176/175]]
| [[176/175]]
| S8/S10, S22⋅S23⋅S24
| S8/S10
|S22⋅S23⋅S24
|
|(S26⋅S27)²/S351
|-
|[[15625/15552]]
|S25²⋅S26
|
|S15⋅(S25/S27)
|
|-
|[[225/224]]
|S15
|S25⋅S26⋅S27
|
|
|-
|-
| [[243/242]]
| [[243/242]]
| S9/S11, S15/S55, S15/(S22/S24)
| S9/S11
|
|S15/S55
|S15/(S22/S24)
|-
|-
| [[325/324]]
| [[325/324]]
| S25⋅S26, S10/S12
| S10/S12
|S25⋅S26
|
|
|-
|[[352/351]]*
|S12/(S9/S11)
|S11⋅S12/S9
|
|(S8/S9)/(S64⋅S65)
|-
| [[364/363]]*
| S14/(S11/S13)
|(S13⋅S14)/S11
|S24⋅S25⋅S26/S22
|(S9/S11)/S27
|-
|[[385/384]]
|S33⋅S34⋅S35
|
|
|(S8/S9)/(S64²/S65)
|-
|[[Septischisma|<small>33554432​/33480783</small>]]*
|(S8/S9)²/S15
|
|(S16/S18)³/(S19/S20)
|S49⋅S55⋅(S64²⋅S65)²
|-
|-
| [[540/539]]
| [[540/539]]
| S12/S14, (S9⋅S10)/S7, (S6/S7)/(S8/S10)
| S12/S14
|
|(S9⋅S10)/S7
|(S6/S7)/(S8/S10)
|-
|[[4000/3993]]
|S10/S11
|
|(S12/S14)/S99
|S25⋅(S64⋅S65)/S55
|-
|-
| [[676/675]]
| [[676/675]]
| S26, S13/S15
| S13/S15
|S26
|
|S49⋅(S64⋅S65)²⋅S99
|-
|[[32805/32768]]*
|
|
|S15/(S8/S9)
|S19/(S16/S18)²
|-
|[[1001/1000]]
|
|Cp10
|√{{Overline|S26⋅S49⋅S99}}
|S49⋅(S64⋅S65)⋅S99
|-
|[[4459/4455]]
|
|
|S49⋅(S64⋅S65)
|(S64⋅S65)/S26⋅S99
|-
|[[1216/1215]]
|S16/S18
|
|
|(S64⋅S65)⋅(S76⋅S77)
|-
|[[10985/10976]]
|S13/S14
|
|(S64⋅S65²)⋅S99
|
|-
|-
| [[1225/1224]]
| [[1225/1224]]
| S35, S49⋅S50
| S35
|S49⋅S50
|
|
|-
|[[41503/41472]]*
|
|
|S49⋅S55
|S65⋅(S76⋅S77²)
|-
|<small>[[131072/130977]]</small>
|S64²⋅S65
|
|S32/S63
|
|-
|[[43904/43875]]
|S14/S15
|
|S49⋅S64
|S56⋅(S76⋅S77)
|-
|[[2080/2079]]
|S64⋅S65
|S78⋅S79⋅S80
|√{{Overline|S26/(S49⋅S99)}}
|
|-
|-
| [[2601/2600]]
| [[2601/2600]]
| S51, S17/(S25⋅S26)
| S51
|
|S17/(S25⋅S26)
|
|-
|-
| [[3025/3024]]
| [[3025/3024]]
| S55, S22/S24, (S25/S27)⋅S99
| S55
|S22/S24
|(S25/S27)⋅S99
|
|-
|[[3136/3135]]
|S56
|S96⋅S97⋅S98
|
|
|-
|[[4225/4224]]
|S65
|
|(S25/S27)⋅S351
|
|-
|[[4375/4374]]
|S25/S27
|
|S55/S99
|S65/S351
|-
|[[6656/6655]]
|
|
|(S64⋅S65)/S55
|S64⋅S351/S99
|-
|-
| [[9801/9800]]
| [[9801/9800]]
| S99, S33/S35
| S99
|S33/S35
|
|
|-
|[[10241/10240]]*
|
|
|(S76⋅S77)/S64
|((S18⋅S19)/S16)/(S12/S14)
|-
|[[10648/10647]]*
|
|
|S99/S351
|S55⋅S65
|-
|-
| [[25921/25920]]
| [[25921/25920]]
| S161, S46/S48
| S161
|
|S46/S48
|
|-
|-
| <small>[[123201/123200]]</small>
| <small>[[123201/123200]]</small>
| S351, S78/S80
| S351
|S78/S80
|
|(S25/S27)/S65
|}
|}
'''*important:''' commas marked with an asterisk appear commonly but do not appear elsewhere on this page, so the extra slots are used as extra equivalent expressions.


{{Note| Examples that can ''easily'' (with one or two algebraic rewriting steps) be shown to result from the aforementioned [[#A useful general rule|useful general rule]] are not included. }}
{{Note| Examples that can ''easily'' (with one or two algebraic rewriting steps) be shown to result from the aforementioned [[#A useful general rule|useful general rule]] are not included. }}