| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| 4 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 5 |
|
| 6 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 7 |
<head> |
| 8 |
<script type="text/javascript" |
| 9 |
src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> |
| 10 |
</script> |
| 11 |
<title>GAP (Congruence) - Chapter 4: Farey symbols for congruence subgroups</title> |
| 12 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
| 13 |
<meta name="generator" content="GAPDoc2HTML" /> |
| 14 |
<link rel="stylesheet" type="text/css" href="manual.css" /> |
| 15 |
<script src="manual.js" type="text/javascript"></script> |
| 16 |
<script type="text/javascript">overwriteStyle();</script> |
| 17 |
</head> |
| 18 |
<body class="chap4" onload="jscontent()"> |
| 19 |
|
| 20 |
|
| 21 |
<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0_mj.html">Top</a> <a href="chap1_mj.html">1</a> <a href="chap2_mj.html">2</a> <a href="chap3_mj.html">3</a> <a href="chap4_mj.html">4</a> <a href="chap5_mj.html">5</a> <a href="chapBib_mj.html">Bib</a> <a href="chapInd_mj.html">Ind</a> </div> |
| 22 |
|
| 23 |
<div class="chlinkprevnexttop"> <a href="chap0_mj.html">[Top of Book]</a> <a href="chap0_mj.html#contents">[Contents]</a> <a href="chap3_mj.html">[Previous Chapter]</a> <a href="chap5_mj.html">[Next Chapter]</a> </div> |
| 24 |
|
| 25 |
<p id="mathjaxlink" class="pcenter"><a href="chap4.html">[MathJax off]</a></p> |
| 26 |
<p><a id="X831C60277F7D80B2" name="X831C60277F7D80B2"></a></p> |
| 27 |
<div class="ChapSects"><a href="chap4_mj.html#X831C60277F7D80B2">4 <span class="Heading">Farey symbols for congruence subgroups</span></a> |
| 28 |
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap4_mj.html#X7F43DB8B803F313F">4.1 <span class="Heading">Computation of the Farey symbol for a finite index subgroup</span></a> |
| 29 |
</span> |
| 30 |
<div class="ContSSBlock"> |
| 31 |
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap4_mj.html#X8594896287DCFE8D">4.1-1 FareySymbol</a></span> |
| 32 |
</div></div> |
| 33 |
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap4_mj.html#X80AE179D869BEE90">4.2 <span class="Heading">Computation of generators of a finite index subgroup from its Farey symbol</span></a> |
| 34 |
</span> |
| 35 |
<div class="ContSSBlock"> |
| 36 |
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap4_mj.html#X8790C1498107A39A">4.2-1 MatrixByEvenInterval</a></span> |
| 37 |
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap4_mj.html#X78779BDF7A1DB4AE">4.2-2 MatrixByOddInterval</a></span> |
| 38 |
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap4_mj.html#X7F792846795E3A63">4.2-3 MatrixByFreePairOfIntervals</a></span> |
| 39 |
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap4_mj.html#X7905B050800E4416">4.2-4 GeneratorsByFareySymbol</a></span> |
| 40 |
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap4_mj.html#X79C44528864044C5">4.2-5 GeneratorsOfGroup</a></span> |
| 41 |
</div></div> |
| 42 |
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap4_mj.html#X7C5AB1D786207745">4.3 <span class="Heading">Other properties derived from Farey symbols</span></a> |
| 43 |
</span> |
| 44 |
<div class="ContSSBlock"> |
| 45 |
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap4_mj.html#X80EED34183408106">4.3-1 IndexInPSL2ZByFareySymbol</a></span> |
| 46 |
</div></div> |
| 47 |
</div> |
| 48 |
|
| 49 |
<h3>4 <span class="Heading">Farey symbols for congruence subgroups</span></h3> |
| 50 |
|
| 51 |
<p>The package <strong class="pkg">Congruence</strong> provides functions to construct Farey symbols for finite index subgroups. The algorithm used in the package allows to construct a Farey symbol for any finite index subgroup of <span class="SimpleMath">\(SL_2(ℤ)\)</span> for which it is possible to check whether a given matrix belongs to this subgroup or not.</p> |
| 52 |
|
| 53 |
<p>The development of an algorithm to determine the Farey symbol for a subgroup G of a finite index in <span class="SimpleMath">\(SL_2(ℤ)\)</span> was started by Ravi Kulkarni in <a href="chapBib_mj.html#biBKulkarni">[Kul91]</a> and later it was improved by Mong-Lung Lang, Chong-Hai Lim and Ser-Peow Tan in <a href="chapBib_mj.html#biBLLT-Hecke">[LLT95b]</a>, <a href="chapBib_mj.html#biBLLT-Algorithm">[LLT95a]</a>.</p> |
| 54 |
|
| 55 |
<p><a id="X7F43DB8B803F313F" name="X7F43DB8B803F313F"></a></p> |
| 56 |
|
| 57 |
<h4>4.1 <span class="Heading">Computation of the Farey symbol for a finite index subgroup</span></h4> |
| 58 |
|
| 59 |
<p><a id="X8594896287DCFE8D" name="X8594896287DCFE8D"></a></p> |
| 60 |
|
| 61 |
<h5>4.1-1 FareySymbol</h5> |
| 62 |
|
| 63 |
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ FareySymbol</code>( <var class="Arg">G</var> )</td><td class="tdright">( attribute )</td></tr></table></div> |
| 64 |
<p>For a subgroup of a finite index G, this attribute stores one of the Farey symbols corresponding to the congruence subgroup <var class="Arg">G</var>. The algorithm for its computation will work for any matrix group for which a membership test is available.</p> |
| 65 |
|
| 66 |
|
| 67 |
<div class="example"><pre> |
| 68 |
<span class="GAPprompt">gap></span> <span class="GAPinput">FareySymbol(PrincipalCongruenceSubgroup(8));</span> |
| 69 |
[ infinity, 0, 1/4, 1/3, 3/8, 2/5, 1/2, 3/5, 5/8, 2/3, 3/4, 1, 5/4, 4/3, |
| 70 |
11/8, 7/5, 3/2, 8/5, 13/8, 5/3, 7/4, 2, 9/4, 7/3, 19/8, 12/5, 5/2, 13/5, |
| 71 |
21/8, 8/3, 11/4, 3, 13/4, 10/3, 27/8, 17/5, 7/2, 18/5, 29/8, 11/3, 15/4, 4, |
| 72 |
17/4, 13/3, 9/2, 14/3, 19/4, 5, 21/4, 16/3, 11/2, 17/3, 23/4, 6, 25/4, |
| 73 |
19/3, 13/2, 20/3, 27/4, 7, 29/4, 22/3, 15/2, 23/3, 31/4, 8, infinity ] |
| 74 |
[ 1, 17, 10, 26, 32, 18, 19, 27, 30, 5, 2, 2, 13, 28, 26, 20, 21, 29, 27, 7, |
| 75 |
3, 3, 16, 31, 28, 22, 23, 33, 29, 9, 4, 4, 5, 30, 31, 24, 25, 32, 33, 12, |
| 76 |
6, 6, 7, 19, 18, 15, 8, 8, 9, 21, 20, 10, 11, 11, 12, 23, 22, 13, 14, 14, |
| 77 |
15, 25, 24, 16, 17, 1 ] |
| 78 |
<span class="GAPprompt">gap></span> <span class="GAPinput">FareySymbol(CongruenceSubgroupGamma0(20));</span> |
| 79 |
[ infinity, 0, 1/5, 1/4, 2/7, 3/10, 1/3, 2/5, 1/2, 3/5, 2/3, 3/4, 4/5, 1, |
| 80 |
infinity ] |
| 81 |
[ 1, 3, 4, 6, 7, 7, 5, 2, 2, 3, 6, 4, 5, 1 ] |
| 82 |
</pre></div> |
| 83 |
|
| 84 |
<p><a id="X80AE179D869BEE90" name="X80AE179D869BEE90"></a></p> |
| 85 |
|
| 86 |
<h4>4.2 <span class="Heading">Computation of generators of a finite index subgroup from its Farey symbol</span></h4> |
| 87 |
|
| 88 |
<p>If <var class="Arg">fs</var> is the Farey symbol for a group <span class="SimpleMath">\(G\)</span> with <span class="SimpleMath">\(r_1\)</span> even labels, <span class="SimpleMath">\(r_2\)</span> odd labels and <span class="SimpleMath">\(r_3\)</span> pairs of intervals, then <span class="SimpleMath">\(G\)</span> is generated by <span class="SimpleMath">\(r_1+r_2+r_3\)</span> matrices, which form a set of independent generators for <span class="SimpleMath">\(G\)</span>. These matrices are constructed as follows:</p> |
| 89 |
|
| 90 |
<p>for each even interval <span class="SimpleMath">\([x_i, x_{i+1}]\)</span>, take the matrix</p> |
| 91 |
|
| 92 |
|
| 93 |
<pre class="normal"> |
| 94 |
|
| 95 |
A= [a_{i+1} b_{i+1} + a_i b_i -a_i^2 - a_{i+1}^2 ] |
| 96 |
[b_i^2 +b_{i+1}^2 -a_{i+1} b_{i+1} - a_i b_i] |
| 97 |
|
| 98 |
</pre> |
| 99 |
|
| 100 |
<p>for each odd interval <span class="SimpleMath">\([x_j,x_{j+1}]\)</span>, take the matrix</p> |
| 101 |
|
| 102 |
|
| 103 |
<pre class="normal"> |
| 104 |
|
| 105 |
B= [a_{j+1} b_{j+1} + a_j b_{j+1} + a_j b_j -a_j^2 - a_j a_{j+1} -a_{j+1}^2] |
| 106 |
[ b_j^2 + b_j b_{j+1} + b_{j+1}^2 -a_{j+1} b_{j+1} - a_{j+1} b_j - a_j b_j] |
| 107 |
|
| 108 |
</pre> |
| 109 |
|
| 110 |
<p>for each pair of free intervals <span class="SimpleMath">\([x_k,x_{k+1}]\)</span> and <span class="SimpleMath">\([x_s,x_{s+1}]\)</span>, take the matrix</p> |
| 111 |
|
| 112 |
|
| 113 |
<pre class="normal"> |
| 114 |
|
| 115 |
C= [a_{s+1} b_{k+1} + a_s b_k -a_s a_k - a_{s+1} a_{k+1}] |
| 116 |
[b_s b_k- b_{s+1} b_{k+1}c -a_{k+1} b_{s+1} - a_k b_s] |
| 117 |
|
| 118 |
</pre> |
| 119 |
|
| 120 |
<p><a id="X8790C1498107A39A" name="X8790C1498107A39A"></a></p> |
| 121 |
|
| 122 |
<h5>4.2-1 MatrixByEvenInterval</h5> |
| 123 |
|
| 124 |
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ MatrixByEvenInterval</code>( <var class="Arg">gfs</var>, <var class="Arg">i</var> )</td><td class="tdright">( function )</td></tr></table></div> |
| 125 |
<p>Returns the matrix corresponding to the even interval i in the generalized Farey sequence <var class="Arg">gfs</var>.</p> |
| 126 |
|
| 127 |
|
| 128 |
<div class="example"><pre> |
| 129 |
<span class="GAPprompt">gap></span> <span class="GAPinput">H:=CongruenceSubgroupGamma0(5); </span> |
| 130 |
<congruence subgroup CongruenceSubgroupGamma_0(5) in SL_2(Z)> |
| 131 |
<span class="GAPprompt">gap></span> <span class="GAPinput">fs:=FareySymbol(H);</span> |
| 132 |
[ infinity, 0, 1/2, 1, infinity ] |
| 133 |
[ 1, "even", "even", 1 ] |
| 134 |
<span class="GAPprompt">gap></span> <span class="GAPinput">gfs:=GeneralizedFareySequence(fs);</span> |
| 135 |
[ infinity, 0, 1/2, 1, infinity ] |
| 136 |
<span class="GAPprompt">gap></span> <span class="GAPinput">MatrixByEvenInterval(gfs,2); </span> |
| 137 |
[ [ 2, -1 ], [ 5, -2 ] ] |
| 138 |
</pre></div> |
| 139 |
|
| 140 |
<p><a id="X78779BDF7A1DB4AE" name="X78779BDF7A1DB4AE"></a></p> |
| 141 |
|
| 142 |
<h5>4.2-2 MatrixByOddInterval</h5> |
| 143 |
|
| 144 |
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ MatrixByOddInterval</code>( <var class="Arg">gfs</var>, <var class="Arg">i</var> )</td><td class="tdright">( function )</td></tr></table></div> |
| 145 |
<p>Returns the matrix corresponding to the odd interval i in the generalized Farey sequence <var class="Arg">gfs</var>.</p> |
| 146 |
|
| 147 |
|
| 148 |
<div class="example"><pre> |
| 149 |
<span class="GAPprompt">gap></span> <span class="GAPinput">fs_oo:=FareySymbolByData([infinity,0,infinity],["odd","odd"]);;</span> |
| 150 |
<span class="GAPprompt">gap></span> <span class="GAPinput">gfs_oo:=GeneralizedFareySequence(fs_oo);</span> |
| 151 |
[ infinity, 0, infinity ] |
| 152 |
<span class="GAPprompt">gap></span> <span class="GAPinput">MatrixByOddInterval(gfs_oo,1);</span> |
| 153 |
[ [ -1, -1 ], [ 1, 0 ] ] |
| 154 |
</pre></div> |
| 155 |
|
| 156 |
<p><a id="X7F792846795E3A63" name="X7F792846795E3A63"></a></p> |
| 157 |
|
| 158 |
<h5>4.2-3 MatrixByFreePairOfIntervals</h5> |
| 159 |
|
| 160 |
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ MatrixByFreePairOfIntervals</code>( <var class="Arg">gfs</var>, <var class="Arg">k</var>, <var class="Arg">kp</var> )</td><td class="tdright">( function )</td></tr></table></div> |
| 161 |
<p>Returns the matrix corresponding to the pair of free intervals k and kp in the generalized Farey sequence <var class="Arg">gfs</var>.</p> |
| 162 |
|
| 163 |
|
| 164 |
<div class="example"><pre> |
| 165 |
<span class="GAPprompt">gap></span> <span class="GAPinput">fs_free:=FareySymbolByData([infinity,0,1,2,infinity],[1,2,2,1]);;</span> |
| 166 |
<span class="GAPprompt">gap></span> <span class="GAPinput">gfs_free:=GeneralizedFareySequence(fs_free);;</span> |
| 167 |
<span class="GAPprompt">gap></span> <span class="GAPinput">MatrixByFreePairOfIntervals(gfs_free,2,3); </span> |
| 168 |
[ [ 3, -2 ], [ 2, -1 ] ] |
| 169 |
</pre></div> |
| 170 |
|
| 171 |
<p><a id="X7905B050800E4416" name="X7905B050800E4416"></a></p> |
| 172 |
|
| 173 |
<h5>4.2-4 GeneratorsByFareySymbol</h5> |
| 174 |
|
| 175 |
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ GeneratorsByFareySymbol</code>( <var class="Arg">fs</var> )</td><td class="tdright">( function )</td></tr></table></div> |
| 176 |
<p>Returns a set of matrices constructed as above.</p> |
| 177 |
|
| 178 |
|
| 179 |
<div class="example"><pre> |
| 180 |
<span class="GAPprompt">gap></span> <span class="GAPinput">fs_eo:=FareySymbolByData([infinity,0,infinity],["even","odd"]);;</span> |
| 181 |
<span class="GAPprompt">gap></span> <span class="GAPinput">GeneratorsByFareySymbol(last); </span> |
| 182 |
[ [ [ 0, -1 ], [ 1, 0 ] ], [ [ 0, -1 ], [ 1, -1 ] ] ] |
| 183 |
<span class="GAPprompt">gap></span> <span class="GAPinput">GeneratorsByFareySymbol(fs); </span> |
| 184 |
[ [ [ 1, 1 ], [ 0, 1 ] ], [ [ 2, -1 ], [ 5, -2 ] ], [ [ 3, -2 ], [ 5, -3 ] ] ] |
| 185 |
<span class="GAPprompt">gap></span> <span class="GAPinput">GeneratorsByFareySymbol(fs_oo);</span> |
| 186 |
[ [ [ -1, -1 ], [ 1, 0 ] ], [ [ 0, -1 ], [ 1, -1 ] ] ] |
| 187 |
<span class="GAPprompt">gap></span> <span class="GAPinput">GeneratorsByFareySymbol(fs_free); </span> |
| 188 |
[ [ [ 1, 2 ], [ 0, 1 ] ], [ [ 3, -2 ], [ 2, -1 ] ] ] |
| 189 |
</pre></div> |
| 190 |
|
| 191 |
<p><a id="X79C44528864044C5" name="X79C44528864044C5"></a></p> |
| 192 |
|
| 193 |
<h5>4.2-5 GeneratorsOfGroup</h5> |
| 194 |
|
| 195 |
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ GeneratorsOfGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">( function )</td></tr></table></div> |
| 196 |
<p>Returns a set of generators for the finite index group G in <span class="SimpleMath">\(SL_2(Z)\)</span>.</p> |
| 197 |
|
| 198 |
|
| 199 |
<div class="example"><pre> |
| 200 |
<span class="GAPprompt">gap></span> <span class="GAPinput">G:=PrincipalCongruenceSubgroup(2);</span> |
| 201 |
<principal congruence subgroup of level 2 in SL_2(Z)> |
| 202 |
<span class="GAPprompt">gap></span> <span class="GAPinput">FareySymbol(G);</span> |
| 203 |
[ infinity, 0, 1, 2, infinity ] |
| 204 |
[ 2, 1, 1, 2 ] |
| 205 |
<span class="GAPprompt">gap></span> <span class="GAPinput">GeneratorsOfGroup(G);</span> |
| 206 |
#I Using the Congruence package for GeneratorsOfGroup ... |
| 207 |
[ [ [ 1, 2 ], [ 0, 1 ] ], [ [ 3, -2 ], [ 2, -1 ] ] ] |
| 208 |
<span class="GAPprompt">gap></span> <span class="GAPinput">H:=CongruenceSubgroupGamma0(5); </span> |
| 209 |
<congruence subgroup CongruenceSubgroupGamma_0(5) in SL_2(Z)> |
| 210 |
<span class="GAPprompt">gap></span> <span class="GAPinput">GeneratorsOfGroup(H);</span> |
| 211 |
#I Using the Congruence package for GeneratorsOfGroup ... |
| 212 |
[ [ [ 1, 1 ], [ 0, 1 ] ], [ [ 2, -1 ], [ 5, -2 ] ], [ [ 3, -2 ], [ 5, -3 ] ] ] |
| 213 |
<span class="GAPprompt">gap></span> <span class="GAPinput">I:=IntersectionOfCongruenceSubgroups(PrincipalCongruenceSubgroup(2),CongruenceSubgroupGamma0(3));</span> |
| 214 |
<intersection of congruence subgroups of resulting level 6 in SL_2(Z)> |
| 215 |
<span class="GAPprompt">gap></span> <span class="GAPinput">FareySymbol(I);</span> |
| 216 |
[ infinity, 0, 1/3, 1/2, 2/3, 1, 4/3, 3/2, 5/3, 2, infinity ] |
| 217 |
[ 1, 5, 4, 3, 2, 2, 3, 4, 5, 1 ] |
| 218 |
<span class="GAPprompt">gap></span> <span class="GAPinput">GeneratorsOfGroup(I); </span> |
| 219 |
#I Using the Congruence package for GeneratorsOfGroup ... |
| 220 |
[ [ [ 1, 2 ], [ 0, 1 ] ], [ [ 11, -2 ], [ 6, -1 ] ], |
| 221 |
[ [ 19, -8 ], [ 12, -5 ] ], [ [ 17, -10 ], [ 12, -7 ] ], |
| 222 |
[ [ 7, -6 ], [ 6, -5 ] ] ] |
| 223 |
</pre></div> |
| 224 |
|
| 225 |
<p><a id="X7C5AB1D786207745" name="X7C5AB1D786207745"></a></p> |
| 226 |
|
| 227 |
<h4>4.3 <span class="Heading">Other properties derived from Farey symbols</span></h4> |
| 228 |
|
| 229 |
<p><a id="X80EED34183408106" name="X80EED34183408106"></a></p> |
| 230 |
|
| 231 |
<h5>4.3-1 IndexInPSL2ZByFareySymbol</h5> |
| 232 |
|
| 233 |
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IndexInPSL2ZByFareySymbol</code>( <var class="Arg">fs</var> )</td><td class="tdright">( function )</td></tr></table></div> |
| 234 |
<p>By Proposition 7.2 in [Kulkarni], for the Farey symbol with underlying generalized Farey sequence [infinity, x0, x1, ..., xn, infinity], the index in <span class="SimpleMath">\(PSL_2(Z)\)</span> is given by the formula d = 3*n + e3, where e3 is the number of odd intervals.</p> |
| 235 |
|
| 236 |
|
| 237 |
<div class="example"><pre> |
| 238 |
<span class="GAPprompt">gap></span> <span class="GAPinput">IndexInPSL2ZByFareySymbol(fs);</span> |
| 239 |
6 |
| 240 |
<span class="GAPprompt">gap></span> <span class="GAPinput">IndexInPSL2ZByFareySymbol(fs_oo);</span> |
| 241 |
2 |
| 242 |
<span class="GAPprompt">gap></span> <span class="GAPinput">IndexInPSL2ZByFareySymbol(fs_free);</span> |
| 243 |
6 |
| 244 |
</pre></div> |
| 245 |
|
| 246 |
|
| 247 |
<div class="chlinkprevnextbot"> <a href="chap0_mj.html">[Top of Book]</a> <a href="chap0_mj.html#contents">[Contents]</a> <a href="chap3_mj.html">[Previous Chapter]</a> <a href="chap5_mj.html">[Next Chapter]</a> </div> |
| 248 |
|
| 249 |
|
| 250 |
<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0_mj.html">Top</a> <a href="chap1_mj.html">1</a> <a href="chap2_mj.html">2</a> <a href="chap3_mj.html">3</a> <a href="chap4_mj.html">4</a> <a href="chap5_mj.html">5</a> <a href="chapBib_mj.html">Bib</a> <a href="chapInd_mj.html">Ind</a> </div> |
| 251 |
|
| 252 |
<hr /> |
| 253 |
<p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p> |
| 254 |
</body> |
| 255 |
</html> |