kummer-degrees

Compute the degree of Kummer extensions
git clone https://git.tronto.net/kummer-degrees
Download | Log | Files | Refs | README | LICENSE

commit 3062ce67bb0240a47841bfb954ca79a2d8d64768
parent 81b744ef7780ed061807ada72b532b44a2925dd4
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date:   Fri, 19 Apr 2019 12:00:04 +0200

Added documentation

Diffstat:
Adocs/README | 7+++++++
Adocs/af_code.aux | 15+++++++++++++++
Adocs/af_code.log | 780+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adocs/af_code.pdf | 0
Adocs/af_code.synctex.gz | 0
Adocs/af_code.tex | 467+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adocs/compute_degree.aux | 14++++++++++++++
Adocs/compute_degree.log | 706+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adocs/compute_degree.pdf | 0
Adocs/compute_degree.synctex.gz | 0
Adocs/compute_degree.tex | 321+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11 files changed, 2310 insertions(+), 0 deletions(-)

diff --git a/docs/README b/docs/README @@ -0,0 +1,7 @@ +Here we collect some incomplete and work-in-progress documentation. + +In compute_degrees we prove that our way to compute the degrees gives the +correct result. + +In af_code we break down the code for the "adelic failure" part of the script +and we check that it computes the degrees as described in compute_degrees. diff --git a/docs/af_code.aux b/docs/af_code.aux @@ -0,0 +1,15 @@ +\relax +\citation{DebryPerucca} +\@writefile{toc}{\contentsline {section}{\numberline {1}The SageMath Code}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {2}The Pseudocode}{3}} +\@writefile{loa}{\contentsline {algorithm}{\numberline {1}{\ignorespaces Compute the adelic failure}}{3}} +\@writefile{toc}{\contentsline {section}{\numberline {3}Pseudocode, the sub-cases}{4}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Case $G\leq \mathbb {Q}_+^\times $}{4}} +\@writefile{loa}{\contentsline {algorithm}{\numberline {2}{\ignorespaces Adelic failure, case $G\leq \mathbb {Q}^\times $}}{4}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Case $d\not =-1$, $n\leq d$}{5}} +\@writefile{loa}{\contentsline {algorithm}{\numberline {3}{\ignorespaces Adelic failure, case $d\not =-1$, $n\leq d$}}{5}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3}Case $d\not =-1$, $n\geq d+2$}{6}} +\@writefile{loa}{\contentsline {algorithm}{\numberline {4}{\ignorespaces Adelic failure, case $d\not =-1$, $n\geq d+2$}}{6}} +\bibcite{DebryPerucca}{1} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4}Case $d\not =-1$, $n= d+1$}{7}} +\@writefile{loa}{\contentsline {algorithm}{\numberline {5}{\ignorespaces Adelic failure, case $d\not =-1$, $n= d+1$}}{7}} diff --git a/docs/af_code.log b/docs/af_code.log @@ -0,0 +1,780 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2019.3.25) 25 MAR 2019 17:22 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**af_code.tex +(./af_code.tex +LaTeX2e <2017-04-15> +Babel <3.18> and hyphenation patterns for 84 language(s) loaded. +(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls +Document Class: article 2014/09/29 v1.4h Standard LaTeX document class +(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo +File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) +) +\c@part=\count79 +\c@section=\count80 +\c@subsection=\count81 +\c@subsubsection=\count82 +\c@paragraph=\count83 +\c@subparagraph=\count84 +\c@figure=\count85 +\c@table=\count86 +\abovecaptionskip=\skip41 +\belowcaptionskip=\skip42 +\bibindent=\dimen102 +) +(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2015/03/17 v1.2c Input encoding file +\inpenc@prehook=\toks14 +\inpenc@posthook=\toks15 + +(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def +File: utf8.def 2017/01/28 v1.1t UTF-8 support for inputenc +Now handling font encoding OML ... +... no UTF-8 mapping file for font encoding OML +Now handling font encoding T1 ... +... processing UTF-8 mapping file for font encoding T1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu +File: t1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A0 (decimal 160) + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00AB (decimal 171) + defining Unicode char U+00AD (decimal 173) + defining Unicode char U+00BB (decimal 187) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C0 (decimal 192) + defining Unicode char U+00C1 (decimal 193) + defining Unicode char U+00C2 (decimal 194) + defining Unicode char U+00C3 (decimal 195) + defining Unicode char U+00C4 (decimal 196) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00C7 (decimal 199) + defining Unicode char U+00C8 (decimal 200) + defining Unicode char U+00C9 (decimal 201) + defining Unicode char U+00CA (decimal 202) + defining Unicode char U+00CB (decimal 203) + defining Unicode char U+00CC (decimal 204) + defining Unicode char U+00CD (decimal 205) + defining Unicode char U+00CE (decimal 206) + defining Unicode char U+00CF (decimal 207) + defining Unicode char U+00D0 (decimal 208) + defining Unicode char U+00D1 (decimal 209) + defining Unicode char U+00D2 (decimal 210) + defining Unicode char U+00D3 (decimal 211) + defining Unicode char U+00D4 (decimal 212) + defining Unicode char U+00D5 (decimal 213) + defining Unicode char U+00D6 (decimal 214) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00D9 (decimal 217) + defining Unicode char U+00DA (decimal 218) + defining Unicode char U+00DB (decimal 219) + defining Unicode char U+00DC (decimal 220) + defining Unicode char U+00DD (decimal 221) + defining Unicode char U+00DE (decimal 222) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E0 (decimal 224) + defining Unicode char U+00E1 (decimal 225) + defining Unicode char U+00E2 (decimal 226) + defining Unicode char U+00E3 (decimal 227) + defining Unicode char U+00E4 (decimal 228) + defining Unicode char U+00E5 (decimal 229) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00E7 (decimal 231) + defining Unicode char U+00E8 (decimal 232) + defining Unicode char U+00E9 (decimal 233) + defining Unicode char U+00EA (decimal 234) + defining Unicode char U+00EB (decimal 235) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F0 (decimal 240) + defining Unicode char U+00F1 (decimal 241) + defining Unicode char U+00F2 (decimal 242) + defining Unicode char U+00F3 (decimal 243) + defining Unicode char U+00F4 (decimal 244) + defining Unicode char U+00F5 (decimal 245) + defining Unicode char U+00F6 (decimal 246) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+00F9 (decimal 249) + defining Unicode char U+00FA (decimal 250) + defining Unicode char U+00FB (decimal 251) + defining Unicode char U+00FC (decimal 252) + defining Unicode char U+00FD (decimal 253) + defining Unicode char U+00FE (decimal 254) + defining Unicode char U+00FF (decimal 255) + defining Unicode char U+0100 (decimal 256) + defining Unicode char U+0101 (decimal 257) + defining Unicode char U+0102 (decimal 258) + defining Unicode char U+0103 (decimal 259) + defining Unicode char U+0104 (decimal 260) + defining Unicode char U+0105 (decimal 261) + defining Unicode char U+0106 (decimal 262) + defining Unicode char U+0107 (decimal 263) + defining Unicode char U+0108 (decimal 264) + defining Unicode char U+0109 (decimal 265) + defining Unicode char U+010A (decimal 266) + defining Unicode char U+010B (decimal 267) + defining Unicode char U+010C (decimal 268) + defining Unicode char U+010D (decimal 269) + defining Unicode char U+010E (decimal 270) + defining Unicode char U+010F (decimal 271) + defining Unicode char U+0110 (decimal 272) + defining Unicode char U+0111 (decimal 273) + defining Unicode char U+0112 (decimal 274) + defining Unicode char U+0113 (decimal 275) + defining Unicode char U+0114 (decimal 276) + defining Unicode char U+0115 (decimal 277) + defining Unicode char U+0116 (decimal 278) + defining Unicode char U+0117 (decimal 279) + defining Unicode char U+0118 (decimal 280) + defining Unicode char U+0119 (decimal 281) + defining Unicode char U+011A (decimal 282) + defining Unicode char U+011B (decimal 283) + defining Unicode char U+011C (decimal 284) + defining Unicode char U+011D (decimal 285) + defining Unicode char U+011E (decimal 286) + defining Unicode char U+011F (decimal 287) + defining Unicode char U+0120 (decimal 288) + defining Unicode char U+0121 (decimal 289) + defining Unicode char U+0122 (decimal 290) + defining Unicode char U+0123 (decimal 291) + defining Unicode char U+0124 (decimal 292) + defining Unicode char U+0125 (decimal 293) + defining Unicode char U+0128 (decimal 296) + defining Unicode char U+0129 (decimal 297) + defining Unicode char U+012A (decimal 298) + defining Unicode char U+012B (decimal 299) + defining Unicode char U+012C (decimal 300) + defining Unicode char U+012D (decimal 301) + defining Unicode char U+012E (decimal 302) + defining Unicode char U+012F (decimal 303) + defining Unicode char U+0130 (decimal 304) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0132 (decimal 306) + defining Unicode char U+0133 (decimal 307) + defining Unicode char U+0134 (decimal 308) + defining Unicode char U+0135 (decimal 309) + defining Unicode char U+0136 (decimal 310) + defining Unicode char U+0137 (decimal 311) + defining Unicode char U+0139 (decimal 313) + defining Unicode char U+013A (decimal 314) + defining Unicode char U+013B (decimal 315) + defining Unicode char U+013C (decimal 316) + defining Unicode char U+013D (decimal 317) + defining Unicode char U+013E (decimal 318) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0143 (decimal 323) + defining Unicode char U+0144 (decimal 324) + defining Unicode char U+0145 (decimal 325) + defining Unicode char U+0146 (decimal 326) + defining Unicode char U+0147 (decimal 327) + defining Unicode char U+0148 (decimal 328) + defining Unicode char U+014A (decimal 330) + defining Unicode char U+014B (decimal 331) + defining Unicode char U+014C (decimal 332) + defining Unicode char U+014D (decimal 333) + defining Unicode char U+014E (decimal 334) + defining Unicode char U+014F (decimal 335) + defining Unicode char U+0150 (decimal 336) + defining Unicode char U+0151 (decimal 337) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+0154 (decimal 340) + defining Unicode char U+0155 (decimal 341) + defining Unicode char U+0156 (decimal 342) + defining Unicode char U+0157 (decimal 343) + defining Unicode char U+0158 (decimal 344) + defining Unicode char U+0159 (decimal 345) + defining Unicode char U+015A (decimal 346) + defining Unicode char U+015B (decimal 347) + defining Unicode char U+015C (decimal 348) + defining Unicode char U+015D (decimal 349) + defining Unicode char U+015E (decimal 350) + defining Unicode char U+015F (decimal 351) + defining Unicode char U+0160 (decimal 352) + defining Unicode char U+0161 (decimal 353) + defining Unicode char U+0162 (decimal 354) + defining Unicode char U+0163 (decimal 355) + defining Unicode char U+0164 (decimal 356) + defining Unicode char U+0165 (decimal 357) + defining Unicode char U+0168 (decimal 360) + defining Unicode char U+0169 (decimal 361) + defining Unicode char U+016A (decimal 362) + defining Unicode char U+016B (decimal 363) + defining Unicode char U+016C (decimal 364) + defining Unicode char U+016D (decimal 365) + defining Unicode char U+016E (decimal 366) + defining Unicode char U+016F (decimal 367) + defining Unicode char U+0170 (decimal 368) + defining Unicode char U+0171 (decimal 369) + defining Unicode char U+0172 (decimal 370) + defining Unicode char U+0173 (decimal 371) + defining Unicode char U+0174 (decimal 372) + defining Unicode char U+0175 (decimal 373) + defining Unicode char U+0176 (decimal 374) + defining Unicode char U+0177 (decimal 375) + defining Unicode char U+0178 (decimal 376) + defining Unicode char U+0179 (decimal 377) + defining Unicode char U+017A (decimal 378) + defining Unicode char U+017B (decimal 379) + defining Unicode char U+017C (decimal 380) + defining Unicode char U+017D (decimal 381) + defining Unicode char U+017E (decimal 382) + defining Unicode char U+01CD (decimal 461) + defining Unicode char U+01CE (decimal 462) + defining Unicode char U+01CF (decimal 463) + defining Unicode char U+01D0 (decimal 464) + defining Unicode char U+01D1 (decimal 465) + defining Unicode char U+01D2 (decimal 466) + defining Unicode char U+01D3 (decimal 467) + defining Unicode char U+01D4 (decimal 468) + defining Unicode char U+01E2 (decimal 482) + defining Unicode char U+01E3 (decimal 483) + defining Unicode char U+01E6 (decimal 486) + defining Unicode char U+01E7 (decimal 487) + defining Unicode char U+01E8 (decimal 488) + defining Unicode char U+01E9 (decimal 489) + defining Unicode char U+01EA (decimal 490) + defining Unicode char U+01EB (decimal 491) + defining Unicode char U+01F0 (decimal 496) + defining Unicode char U+01F4 (decimal 500) + defining Unicode char U+01F5 (decimal 501) + defining Unicode char U+0218 (decimal 536) + defining Unicode char U+0219 (decimal 537) + defining Unicode char U+021A (decimal 538) + defining Unicode char U+021B (decimal 539) + defining Unicode char U+0232 (decimal 562) + defining Unicode char U+0233 (decimal 563) + defining Unicode char U+1E02 (decimal 7682) + defining Unicode char U+1E03 (decimal 7683) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2010 (decimal 8208) + defining Unicode char U+2011 (decimal 8209) + defining Unicode char U+2012 (decimal 8210) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2015 (decimal 8213) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201A (decimal 8218) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) + defining Unicode char U+201E (decimal 8222) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2031 (decimal 8241) + defining Unicode char U+2039 (decimal 8249) + defining Unicode char U+203A (decimal 8250) + defining Unicode char U+2423 (decimal 9251) + defining Unicode char U+1E20 (decimal 7712) + defining Unicode char U+1E21 (decimal 7713) +) +Now handling font encoding OT1 ... +... processing UTF-8 mapping file for font encoding OT1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu +File: ot1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A0 (decimal 160) + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00AD (decimal 173) + defining Unicode char U+00B8 (decimal 184) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+0174 (decimal 372) + defining Unicode char U+0175 (decimal 373) + defining Unicode char U+0176 (decimal 374) + defining Unicode char U+0177 (decimal 375) + defining Unicode char U+0218 (decimal 536) + defining Unicode char U+0219 (decimal 537) + defining Unicode char U+021A (decimal 538) + defining Unicode char U+021B (decimal 539) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) +) +Now handling font encoding OMS ... +... processing UTF-8 mapping file for font encoding OMS + +(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu +File: omsenc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A7 (decimal 167) + defining Unicode char U+00B6 (decimal 182) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+2020 (decimal 8224) + defining Unicode char U+2021 (decimal 8225) + defining Unicode char U+2022 (decimal 8226) +) +Now handling font encoding OMX ... +... no UTF-8 mapping file for font encoding OMX +Now handling font encoding U ... +... no UTF-8 mapping file for font encoding U + defining Unicode char U+00A9 (decimal 169) + defining Unicode char U+00AA (decimal 170) + defining Unicode char U+00AE (decimal 174) + defining Unicode char U+00BA (decimal 186) + defining Unicode char U+02C6 (decimal 710) + defining Unicode char U+02DC (decimal 732) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2026 (decimal 8230) + defining Unicode char U+2122 (decimal 8482) + defining Unicode char U+2423 (decimal 9251) +)) +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty +Package: amsmath 2017/09/02 v2.17a AMS math features +\@mathmargin=\skip43 + +For additional information on amsmath, use the `?' option. +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty +Package: amstext 2000/06/29 v2.01 AMS text + +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty +File: amsgen.sty 1999/11/30 v2.0 generic functions +\@emptytoks=\toks16 +\ex@=\dimen103 +)) +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty +Package: amsbsy 1999/11/29 v1.2d Bold Symbols +\pmbraise@=\dimen104 +) +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty +Package: amsopn 2016/03/08 v2.02 operator names +) +\inf@bad=\count87 +LaTeX Info: Redefining \frac on input line 213. +\uproot@=\count88 +\leftroot@=\count89 +LaTeX Info: Redefining \overline on input line 375. +\classnum@=\count90 +\DOTSCASE@=\count91 +LaTeX Info: Redefining \ldots on input line 472. +LaTeX Info: Redefining \dots on input line 475. +LaTeX Info: Redefining \cdots on input line 596. +\Mathstrutbox@=\box26 +\strutbox@=\box27 +\big@size=\dimen105 +LaTeX Font Info: Redeclaring font encoding OML on input line 712. +LaTeX Font Info: Redeclaring font encoding OMS on input line 713. +\macc@depth=\count92 +\c@MaxMatrixCols=\count93 +\dotsspace@=\muskip10 +\c@parentequation=\count94 +\dspbrk@lvl=\count95 +\tag@help=\toks17 +\row@=\count96 +\column@=\count97 +\maxfields@=\count98 +\andhelp@=\toks18 +\eqnshift@=\dimen106 +\alignsep@=\dimen107 +\tagshift@=\dimen108 +\tagwidth@=\dimen109 +\totwidth@=\dimen110 +\lineht@=\dimen111 +\@envbody=\toks19 +\multlinegap=\skip44 +\multlinetaggap=\skip45 +\mathdisplay@stack=\toks20 +LaTeX Info: Redefining \[ on input line 2817. +LaTeX Info: Redefining \] on input line 2818. +) +(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty +Package: amsthm 2017/10/31 v2.20.4 +\thm@style=\toks21 +\thm@bodyfont=\toks22 +\thm@headfont=\toks23 +\thm@notefont=\toks24 +\thm@headpunct=\toks25 +\thm@preskip=\skip46 +\thm@postskip=\skip47 +\thm@headsep=\skip48 +\dth@everypar=\toks26 +) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xy.sty +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xy.tex Bootstrap'ing: +catcodes, docmode, (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyrecat.tex +) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyidioms.tex) + + Xy-pic version 3.8.9 <2013/10/06> + Copyright (c) 1991-2013 by Kristoffer H. Rose <krisrose@tug.org> and others + Xy-pic is free software: see the User's Guide for details. + +Loading kernel: messages; fonts; allocations: state, +\X@c=\dimen112 +\Y@c=\dimen113 +\U@c=\dimen114 +\D@c=\dimen115 +\L@c=\dimen116 +\R@c=\dimen117 +\Edge@c=\toks27 +\X@p=\dimen118 +\Y@p=\dimen119 +\U@p=\dimen120 +\D@p=\dimen121 +\L@p=\dimen122 +\R@p=\dimen123 +\Edge@p=\toks28 +\X@origin=\dimen124 +\Y@origin=\dimen125 +\X@xbase=\dimen126 +\Y@xbase=\dimen127 +\X@ybase=\dimen128 +\Y@ybase=\dimen129 +\X@min=\dimen130 +\Y@min=\dimen131 +\X@max=\dimen132 +\Y@max=\dimen133 +\lastobjectbox@=\box28 +\zerodotbox@=\box29 +\almostz@=\dimen134 + direction, +\d@X=\dimen135 +\d@Y=\dimen136 +\K@=\count99 +\KK@=\count100 +\Direction=\count101 +\K@dXdY=\dimen137 +\K@dYdX=\dimen138 +\xyread@=\read1 +\xywrite@=\write3 +\csp@=\count102 +\quotPTK@=\dimen139 + +utility macros; pictures: \xy, positions, +\swaptoks@@=\toks29 +\connectobjectbox@@=\box30 + objects, +\styletoks@=\toks30 + decorations; +kernel objects: directionals, circles, text; options; algorithms: directions, +edges, connections; Xy-pic loaded) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty +Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch +) +Package: xy 2013/10/06 Xy-pic version 3.8.9 + +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyall.tex + Xy-pic option: All features v.3.8 +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xycurve.tex + Xy-pic option: Curve and Spline extension v.3.12 curve, +\crv@cnt@=\count103 +\crvpts@=\toks31 +\splinebox@=\box31 +\splineval@=\dimen140 +\splinedepth@=\dimen141 +\splinetol@=\dimen142 +\splinelength@=\dimen143 + circles, +\L@=\dimen144 + loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyframe.tex + Xy-pic option: Frame and Bracket extension v.3.14 loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xycmtip.tex + Xy-pic option: Computer Modern tip extension v.3.7 +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xytips.tex + Xy-pic option: More Tips extension v.3.11 loaded) loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyline.tex + Xy-pic option: Line styles extension v.3.10 +\xylinethick@=\dimen145 + loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyrotate.tex + Xy-pic option: Rotate and Scale extension v.3.8 loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xycolor.tex + Xy-pic option: Colour extension v.3.11 loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xymatrix.tex + Xy-pic option: Matrix feature v.3.14 +\Row=\count104 +\Col=\count105 +\queue@=\toks32 +\queue@@=\toks33 +\qcount@=\count106 +\qcount@@=\count107 +\matrixsize@=\count108 + loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyarrow.tex + Xy-pic option: Arrow and Path feature v.3.9 path, \ar, loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xygraph.tex + Xy-pic option: Graph feature v.3.11 loaded) loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf.tex + Xy-pic option: PDF driver v.1.7 Xy-pic pdf driver: `color' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-co.tex loaded) +Xy-pic pdf driver: `curve' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-cu.tex loaded) +Xy-pic pdf driver: `frame' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-fr.tex loaded) +Xy-pic pdf driver: `line' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-li.tex loaded) +Xy-pic pdf driver: `rotate' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-ro.tex loaded) loaded)) +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty +Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support +\symAMSa=\mathgroup4 +\symAMSb=\mathgroup5 +LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' +(Font) U/euf/m/n --> U/euf/b/n on input line 106. +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty +Package: color 2016/07/10 v1.1e Standard LaTeX Color (DPC) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package color Info: Driver file: pdftex.def on input line 147. + +(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def +File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex +)) +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty +Package: amssymb 2013/01/14 v3.01 AMS font symbols +) +(/usr/share/texlive/texmf-dist/tex/latex/float/float.sty +Package: float 2001/11/08 v1.3d Float enhancements (AL) +\c@float@type=\count109 +\float@exts=\toks34 +\float@box=\box32 +\@float@everytoks=\toks35 +\@floatcapt=\box33 +) +(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty +Package: geometry 2010/09/12 v5.6 Page Geometry + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks36 +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty +Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO) +Package ifvtex Info: VTeX not detected. +) +(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty +Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional +) +\Gm@cnth=\count110 +\Gm@cntv=\count111 +\c@Gm@tempcnt=\count112 +\Gm@bindingoffset=\dimen146 +\Gm@wd@mp=\dimen147 +\Gm@odd@mp=\dimen148 +\Gm@even@mp=\dimen149 +\Gm@layoutwidth=\dimen150 +\Gm@layoutheight=\dimen151 +\Gm@layouthoffset=\dimen152 +\Gm@layoutvoffset=\dimen153 +\Gm@dimlist=\toks37 +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty +\lst@mode=\count113 +\lst@gtempboxa=\box34 +\lst@token=\toks38 +\lst@length=\count114 +\lst@currlwidth=\dimen154 +\lst@column=\count115 +\lst@pos=\count116 +\lst@lostspace=\dimen155 +\lst@width=\dimen156 +\lst@newlines=\count117 +\lst@lineno=\count118 +\lst@maxwidth=\dimen157 + +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2015/06/04 1.6 (Carsten Heinz) +\c@lstnumber=\count119 +\lst@skipnumbers=\count120 +\lst@framebox=\box35 +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg +File: listings.cfg 2015/06/04 1.6 listings configuration +)) +Package: listings 2015/06/04 1.6 (Carsten Heinz) + +(/usr/share/texlive/texmf-dist/tex/latex/algorithms/algorithm.sty +Package: algorithm 2009/08/24 v0.1 Document Style `algorithm' - floating enviro +nment + +(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty +Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC) +) +\@float@every@algorithm=\toks39 +\c@algorithm=\count121 +) +(/usr/share/texlive/texmf-dist/tex/latex/algorithmicx/algpseudocode.sty +Package: algpseudocode + +(/usr/share/texlive/texmf-dist/tex/latex/algorithmicx/algorithmicx.sty +Package: algorithmicx 2005/04/27 v1.2 Algorithmicx + +Document Style algorithmicx 1.2 - a greatly improved `algorithmic' style +\c@ALG@line=\count122 +\c@ALG@rem=\count123 +\c@ALG@nested=\count124 +\ALG@tlm=\skip49 +\ALG@thistlm=\skip50 +\c@ALG@Lnr=\count125 +\c@ALG@blocknr=\count126 +\c@ALG@storecount=\count127 +\c@ALG@tmpcounter=\count128 +\ALG@tmplength=\skip51 +) +Document Style - pseudocode environments for use with the `algorithmicx' style +) +\c@lemma=\count129 + (./af_code.aux) +\openout1 = `af_code.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 104. +LaTeX Font Info: ... okay on input line 104. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 104. +LaTeX Font Info: ... okay on input line 104. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 104. +LaTeX Font Info: ... okay on input line 104. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 104. +LaTeX Font Info: ... okay on input line 104. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 104. +LaTeX Font Info: ... okay on input line 104. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 104. +LaTeX Font Info: ... okay on input line 104. +LaTeX Font Info: Try loading font information for U+msa on input line 104. + (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd +File: umsa.fd 2013/01/14 v3.01 AMS symbols A +) +LaTeX Font Info: Try loading font information for U+msb on input line 104. + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd +File: umsb.fd 2013/01/14 v3.01 AMS symbols B +) +Package xypdf Info: Line width: 0.39998pt on input line 104. + +(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count130 +\scratchdimen=\dimen158 +\scratchbox=\box36 +\nofMPsegments=\count131 +\nofMParguments=\count132 +\everyMPshowfont=\toks40 +\MPscratchCnt=\count133 +\MPscratchDim=\dimen159 +\MPnumerator=\count134 +\makeMPintoPDFobject=\count135 +\everyMPtoPDFconversion=\toks41 +) +*geometry* driver: auto-detecting +*geometry* detected driver: pdftex +*geometry* verbose mode - [ preamble ] result: +* driver: pdftex +* paper: a4paper +* layout: <same size as paper> +* layoutoffset:(h,v)=(0.0pt,0.0pt) +* modes: +* h-part:(L,W,R)=(71.13188pt, 455.24411pt, 71.13188pt) +* v-part:(T,H,B)=(85.35826pt, 674.33032pt, 85.35826pt) +* \paperwidth=597.50787pt +* \paperheight=845.04684pt +* \textwidth=455.24411pt +* \textheight=674.33032pt +* \oddsidemargin=-1.1381pt +* \evensidemargin=-1.1381pt +* \topmargin=-23.91173pt +* \headheight=12.0pt +* \headsep=25.0pt +* \topskip=10.0pt +* \footskip=30.0pt +* \marginparwidth=57.0pt +* \marginparsep=11.0pt +* \columnsep=10.0pt +* \skip\footins=9.0pt plus 4.0pt minus 2.0pt +* \hoffset=0.0pt +* \voffset=0.0pt +* \mag=1000 +* \@twocolumnfalse +* \@twosidefalse +* \@mparswitchfalse +* \@reversemarginfalse +* (1in=72.27pt=25.4mm, 1cm=28.453pt) + +\c@lstlisting=\count136 +LaTeX Font Info: Try loading font information for OMS+cmr on input line 112. + +(/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd +File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 112. + +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2015/06/04 1.6 listings language file +) +LaTeX Font Info: Font shape `OMS/cmr/m/it' in size <10> not available +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 134. +LaTeX Font Info: Try loading font information for OML+cmr on input line 143. + + +(/usr/share/texlive/texmf-dist/tex/latex/base/omlcmr.fd +File: omlcmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: Font shape `OML/cmr/m/n' in size <10> not available +(Font) Font shape `OML/cmm/m/it' tried instead on input line 143. + +Overfull \hbox (12.76065pt too wide) in paragraph at lines 153--154 +[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] + [] + +[1 + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] [5] [6] +[7] (./af_code.aux) ) +Here is how much of TeX's memory you used: + 7819 strings out of 492982 + 96971 string characters out of 6134896 + 257658 words of memory out of 5000000 + 11256 multiletter control sequences out of 15000+600000 + 13804 words of font info for 58 fonts, out of 8000000 for 9000 + 1141 hyphenation exceptions out of 8191 + 27i,13n,40p,3239b,1685s stack positions out of 5000i,500n,10000p,200000b,80000s +</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts +/cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cm +bx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmcsc10. +pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb></ +usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/sh +are/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi12.pfb></usr/share/te +xlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb></usr/share/texlive/t +exmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></usr/share/texlive/texmf-di +st/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/font +s/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/fonts/type1 +/public/amsfonts/cm/cmr5.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/ +amsfonts/cm/cmr7.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts +/cm/cmr8.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy +10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy5.pfb> +</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy7.pfb></usr/s +hare/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy8.pfb></usr/share/te +xlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/share/texlive/ +texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/share/texlive/texmf- +dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb> +Output written on af_code.pdf (7 pages, 222183 bytes). +PDF statistics: + 108 PDF objects out of 1000 (max. 8388607) + 78 compressed objects within 1 object stream + 0 named destinations out of 1000 (max. 500000) + 1 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/docs/af_code.pdf b/docs/af_code.pdf Binary files differ. diff --git a/docs/af_code.synctex.gz b/docs/af_code.synctex.gz Binary files differ. diff --git a/docs/af_code.tex b/docs/af_code.tex @@ -0,0 +1,466 @@ +\documentclass[10pt,a4paper]{article} +\usepackage[utf8]{inputenc} +\usepackage{amsmath} +\usepackage{amsthm} +\usepackage[all]{xy} +\usepackage{amsfonts} +\usepackage{color} +\usepackage{amssymb} +\usepackage{float} +\usepackage[a4paper, top=3cm, bottom=3cm, left=2.5cm, right=2.5cm]{geometry} +\usepackage{listings} +\usepackage{algorithm} +%\usepackage{algorithmic} +\usepackage{algpseudocode} + +\DeclareMathOperator{\alg}{alg} +\DeclareMathOperator{\obj}{Obj} +\DeclareMathOperator{\Hom}{Hom} +\DeclareMathOperator{\End}{End} +\DeclareMathOperator{\hol}{Hol} +\DeclareMathOperator{\aut}{Aut} +\DeclareMathOperator{\gal}{Gal} +\DeclareMathOperator{\id}{id} +\DeclareMathOperator{\res}{res} +\DeclareMathOperator{\im}{Im} +\DeclareMathOperator{\Id}{Id} +\DeclareMathOperator{\fib}{Fib} +\DeclareMathOperator{\spec}{Spec} +\DeclareMathOperator{\proj}{Proj} +\DeclareMathOperator{\trdeg}{trdeg} +\DeclareMathOperator{\car}{char} +\DeclareMathOperator{\Frac}{Frac} +\DeclareMathOperator{\reduced}{red} +\DeclareMathOperator{\real}{Re} +\DeclareMathOperator{\imag}{Im} +\DeclareMathOperator{\vol}{vol} +\DeclareMathOperator{\den}{den} +\DeclareMathOperator{\rank}{rank} +\DeclareMathOperator{\lcm}{lcm} +\DeclareMathOperator{\rad}{rad} +\DeclareMathOperator{\ord}{ord} +\DeclareMathOperator{\Br}{Br} +\DeclareMathOperator{\inv}{inv} +\DeclareMathOperator{\Nm}{Nm} +\DeclareMathOperator{\Tr}{Tr} +\DeclareMathOperator{\an}{an} +\DeclareMathOperator{\op}{op} +\DeclareMathOperator{\sep}{sep} +\DeclareMathOperator{\unr}{unr} +\DeclareMathOperator{\et}{\acute et} +\DeclareMathOperator{\ev}{ev} +\DeclareMathOperator{\gl}{GL} +\DeclareMathOperator{\SL}{SL} +\DeclareMathOperator{\mat}{Mat} +\DeclareMathOperator{\ab}{ab} +\DeclareMathOperator{\tors}{tors} +\DeclareMathOperator{\ed}{ed} + +\newcommand{\grp}{\textsc{Grp}} +\newcommand{\set}{\textsc{Set}} +\newcommand{\x}{\mathbf{x}} +\newcommand{\naturalto}{\overset{.}{\to}} +\newcommand{\qbar}{\overline{\mathbb{Q}}} +\newcommand{\zbar}{\overline{\mathbb{Z}}} + +\newcommand{\pro}{\mathbb{P}} +\newcommand{\aff}{\mathbb{A}} +\newcommand{\quat}{\mathbb{H}} +\newcommand{\rea}{\mathbb{R}} +\newcommand{\kiu}{\mathbb{Q}} +\newcommand{\F}{\mathbb{F}} +\newcommand{\zee}{\mathbb{Z}} +\newcommand{\ow}{\mathcal{O}} +\newcommand{\mcx}{\mathcal{X}} +\newcommand{\mcy}{\mathcal{Y}} +\newcommand{\mcs}{\mathcal{S}} +\newcommand{\mca}{\mathcal{A}} +\newcommand{\mcb}{\mathcal{B}} +\newcommand{\mcf}{\mathcal{F}} +\newcommand{\mcg}{\mathcal{G}} +\newcommand{\mct}{\mathcal{T}} +\newcommand{\mcq}{\mathcal{Q}} +\newcommand{\mcr}{\mathcal{R}} +\newcommand{\adl}{\mathbf{A}} +\newcommand{\mbk}{\mathbf{k}} +\newcommand{\m}{\mathfrak{m}} +\newcommand{\p}{\mathfrak{p}} + +\newcommand{\kbar}{\overline{K}} + +\newtheorem{lemma}{Lemma} +\newtheorem{proposition}[lemma]{Proposition} +\newtheorem{conjecture}[lemma]{Conjecture} +\newtheorem{corollary}[lemma]{Corollary} +\newtheorem{definition}[lemma]{Definition} +\newtheorem{theorem}[lemma]{Theorem} +\newtheorem{cond-thm}[lemma]{Conditional Theorem} +\theoremstyle{definition} +\newtheorem{remark}[lemma]{Remark} + +\author{Sebastiano Tronto} + + +\begin{document} + +We begin by giving the code for the function that computes the adelic failure, both in SageMath and in pseudocode. Then we procede to breaking it down into different subcases, in order to check that it computes the correct values. + +\section{The SageMath Code} + +The function \texttt{adelic\_failure\_gb} takes two parameters as input: a list $B=\{B_0,\dots, B_t\}$ and an integer $d$. Each $B_i$ is itself a list of elements of $G$, and we require the following: +\begin{itemize} +\item Each element of $B_i=\{B_{i,0},\dots,B_{i,t_i}\}$ has $2$-divisibility $i$, using the terminology of \cite{DebryPerucca}. +\item $\mathcal{B}=\bigcup_{i=1}^t B_i$ is a $2$-maximal basis for $G$. +\item The integer $d$ is either $-1$ or $1\leq d\leq t$. For $i\in\{1,\dots,t\}\setminus\{d\}$ we have $B_i\subseteq \mathbb{Q}_+$. If $d\neq -1$ we have $B_{d,0}<0$ and $B_{d,j}>0$ for $j\neq 0$. +\end{itemize} +The output is a list $A=\{A_1,\dots,A_{N_0}\}$, where each $A_n=\{A_{n,0},\dots,A_{n,r_n}\}$ is a list of pairs $A_{n,i}=(d_{n,i},f_{n,i})$. We have $N_0=\max(3,t+1)$ if $d=t$, while $N_0=\max(3,t)$ otherwise. For each $1\leq n\leq N_0$ and each $i\leq r_n$, the integer $d_{n,i}$ is a divisor of $M_0=d_{N_0,r_{N_0}}$ and a multiple of $2^i$, and $f_{n,i}$ is the ``adelic failure'' (old definition), i.e.: +\begin{align*} +f_{n,i}=\left[\mathbb{Q}_{2^i}\left(G^{1/2^i}\right)\cap \mathbb{Q}_{d_{i,n}}:\mathbb{Q}_{2^i}\right]. +\end{align*} + +\lstset{language=Python} +\begin{lstlisting} +def adelic_failure_gb( B, d ): + + ad_fail = [] # The table to be returned at the end. + + if d == len(B)-1: + N = max(3,len(B)+1) + else: + N = max(3,len(B)) + + # The shortlist grows at each step, so we build it incrementally. + shortlist = [] + # The "special element" is (n,b) = \zeta_{2^n}\sqrt{b}. + special_element = (1,1) + + M = 1 # M also grows with n. + + for n in range( 1, N+1 ): # Read as: 1 \leq n \leq N + + # We add the new elements to the shortlist, modifying M if needed. + # This is not done in case we are in the extra "fake" level. + if n-1 < len(B): + for g in B[n-1]: + if g < 0 and n > 1: + special_element = ( n+1, abs(g)^(1/(2^(n-1))) ) + M = lcm( M, special_embed( special_element ) ) + else: + b = g^(1/(2^(n-1))) # b is 2-indivisible + shortlist.append( b ) + M = lcm( M, cyc_embed(b) ) + + # We add a root of an even power of the negative generator, as soon as + # we are beyond its level. + if d != -1 and n == d+2: + b = abs(B[d][0])^(1/2^d) + shortlist.append( b ) + M = lcm( M, cyc_embed(b) ) + + M = lcm(M,2^n) + + if n <= d: + M = lcm( M, 2^(n+1) ) + + if n == 1 and d >= 1: + shortlist.append(-1) + if n > 1 and -1 in shortlist: + shortlist.remove(-1) + + aux = [] # Next line of ad_fail table + + for dM in divisors( M ): + if dM % (2^n) != 0: + continue + + S = [ product(s) for s in subsets( shortlist ) ] + H = [ cyc_embed( s ) for s in S ] + r = len( [ b for b in H if dM % b == 0 ] ) + + if n <= d and dM % (2^(n+1)) == 0 and n > 1: + r *= 2 + + if 8 in H and dM % 8 == 0 and (n >= 3 or (n == 2 and n <= d)): + r = r/2 + + if special_element != (1,1) and special_element[0] == n+1: + nothing_to_do = False + intersecting_QdM = False + for s in S: + new_special = ( n+1, special_element[1] * s ) + m = special_embed( new_special ) + if n == 2 and m == 4: # \zeta_8 times 2 times square + nothing_to_do = True + if dM % m == 0: + intersecting_QdM = True + if intersecting_QdM and not nothing_to_do: + r *= 2 + + aux.append( (dM,r) ) + + ad_fail.append(aux) + + return ad_fail +\end{lstlisting} + +We have used the following auxiliary functions: + +\begin{lstlisting} +# Computes the minimal cyclotomic field containing \sqrt(b) +def cyc_embed( b ): + m = squarefree_part(b) + if m%4 != 1: + m *= 4 + return abs(m) + +# Computes the minimal cyclotomic field containing \zeta_{2^n}\sqrt(b) +def special_embed( (n,b) ): + m = squarefree_part(b) + if n == 3 and m % 2 == 0: + return 4 * cyc_embed(m/2) + else: + return lcm( 2^n, cyc_embed(b) ) +\end{lstlisting} + +\section{The Pseudocode} +We translate the SageMath code into pseudocode for ease of readability. + +\begin{algorithm} +\caption{Compute the adelic failure} +\begin{algorithmic} +\State Let $B$, $t$, $d$ and $N$ as described in the previous section +\State Let $M\leftarrow1$, $\texttt{special\_element}\leftarrow1$ and $\texttt{shortlist}\leftarrow[\,]$ + +\State + +\For {$n=1$ to $N$} +\If{$n-1<t$} +\For{$g\in B_{n-1}$} +\If{$g<0$ and $n>1$} +\State $\texttt{special\_element}\leftarrow(n+1,\sqrt[2^{n-1}]{|g|})$ +\State $M\leftarrow\lcm(M,\texttt{special\_embed}(\texttt{special\_element}))$ +\Else +\State Add $\sqrt[2^{n-1}]{g}$ to \texttt{shortlist} +\State $M\leftarrow\lcm(M,\texttt{cyc\_embed}(g))$ +\EndIf +\EndFor +\EndIf + +\State + +\If{$n=d+2$ and $d\neq -1$} +\State Add $\sqrt[2^{d}]{|B_{d,0}|}$ to \texttt{shortlist} +\State $M\leftarrow\lcm(M,\texttt{cyc\_embed}(|B_{d,0}|))$ +\EndIf + +\State +\If{$n\leq d$} +\State $M\leftarrow\lcm(M,2^{n+1})$ +\Else +\State $M\leftarrow\lcm(M,2^n)$ +\EndIf +\State + +\If{$n=1$ and $d\geq 1$} +\State Add $-1$ to \texttt{shortlist} +\EndIf +\State +\If{$n>1$} +\State Remove $-1$ from \texttt{shortlist} (if present) +\EndIf +\State +\algstore{alg1} +\end{algorithmic} +\end{algorithm} +\pagebreak + +\begin{algorithm} +\begin{algorithmic} +\algrestore{alg1} +\ForAll{$d_M\in \texttt{divisors}(M)$ such that $2^n\,|\,M$} +\State $S\leftarrow\left\{\prod_{x\in T}x\,|\,T\subseteq\texttt{shortlist}\right\}$ +\State $H\leftarrow\left\{\min\left\{x\in\mathbb{Z}_{>0}\,|\sqrt{s}\in \mathbb{Q}_x\right\}\,|\,s\in S\right\}$ +\State $r\leftarrow\# \left\{s\in S\,|\, \sqrt{s}\in\mathbb{Q}_{d_M}\right\}$ +\State +\If{$q<n\leq d$ and $2^{n+1}\,|\,{d_M}$} +\State $r\leftarrow 2r$ +\EndIf +\State +\If{$8\in H$ and $8\,|\,d_M$ and (either $n\geq 3$ or $n=2\leq d$)} +\State $r\leftarrow r/2$ +\EndIf +\State + +\If{$\texttt{special\_element}=\zeta_{2^{n+1}}\sqrt{b}$ for some $b\in\mathbb{Q}$} +\State $\texttt{specials}\leftarrow\{\zeta_{2^{n+1}}\sqrt{bs}\,|\,s\in S\}$ +\If{$\exists x\in \texttt{specials}$ such that $x\in\mathbb{Q}_{d_M}$ and $\texttt{special\_embed}(s)\neq 4\,\forall s\in\texttt{specials}$} +\State $r\leftarrow 2r$ +\EndIf +\EndIf +\State +\State Declare $\left[\mathbb{Q}_{2^n}\left(\sqrt[2^n]{G}\right)\cap \mathbb{Q}_{d_M}:\mathbb{Q}_{2^n}\right]=r$. + +\EndFor +\EndFor +\end{algorithmic} +\end{algorithm} + +\section{Pseudocode, the sub-cases} + +We divide the pseudocode in sub-cases. + +\subsection{Case $G\leq \mathbb{Q}_+^\times$} + +\begin{algorithm} +\caption{Adelic failure, case $G\leq \mathbb{Q}^\times$} + +\begin{algorithmic} +\For {$n=1$ to $N$} +\For{$g\in B_{n-1}$} +\State Add $\sqrt[2^{n-1}]{g}$ to \texttt{shortlist} +\State $M\leftarrow\lcm(M,\texttt{cyc\_embed}(g))$ +\EndFor +\State +\State $M\leftarrow\lcm(M,2^n)$ +\State +\ForAll{$d_M\in \texttt{divisors}(M)$ such that $2^n\,|\,M$} +\State $S\leftarrow\left\{\prod_{x\in T}x\,|\,T\subseteq\texttt{shortlist}\right\}$ +\State $H\leftarrow\left\{\min\left\{x\in\mathbb{Z}_{>0}\,|\sqrt{s}\in \mathbb{Q}_x\right\}\,|\,s\in S\right\}$ +\State $r\leftarrow\# \left\{s\in S\,|\, \sqrt{s}\in\mathbb{Q}_{d_M}\right\}$ +%\State +\State Declare $\left[\mathbb{Q}_{2^n}\left(\sqrt[2^n]{G}\right)\cap \mathbb{Q}_{d_M}:\mathbb{Q}_{2^n}\right]=\begin{cases} +r/2&\text{ if }8\in H\text{ and }n\geq 3,\\ +r&\text{ otherwise}. +\end{cases}$ +\EndFor +\EndFor +\end{algorithmic} + +\end{algorithm} +\pagebreak +\subsection{Case $d\neq -1$, $n\leq d$} +For this and the following cases, we assume we are already inside the main \texttt{for} cycle, since we have particular assumptions on $n$. +\begin{algorithm} +\caption{Adelic failure, case $d\neq -1$, $n\leq d$} +\begin{algorithmic} +\For{$g\in B_{n-1}$} +\State Add $\sqrt[2^{n-1}]{g}$ to \texttt{shortlist} +\State $M\leftarrow\lcm(M,\texttt{cyc\_embed}(g))$ +\EndFor +\State +\State $M\leftarrow\lcm(M,2^{n+1})$ +\State +\If{$n=1$ and $d\geq 1$} +\State Add $-1$ to \texttt{shortlist} +\EndIf +\State +\If{$n>1$} +\State Remove $-1$ from \texttt{shortlist} (if present) +\EndIf +\State +\ForAll{$d_M\in \texttt{divisors}(M)$ such that $2^n\,|\,M$} +\State $S\leftarrow\left\{\prod_{x\in T}x\,|\,T\subseteq\texttt{shortlist}\right\}$ +\State $H\leftarrow\left\{\min\left\{x\in\mathbb{Z}_{>0}\,|\sqrt{s}\in \mathbb{Q}_x\right\}\,|\,s\in S\right\}$ +\State $r\leftarrow\# \left\{s\in S\,|\, \sqrt{s}\in\mathbb{Q}_{d_M}\right\}$ +\State +\If{$n>1$ and $2^{n+1}\,|\,d_M$} +\State $r\leftarrow 2r$ +\EndIf +\State Declare $\left[\mathbb{Q}_{2^n}\left(\sqrt[2^n]{G}\right)\cap \mathbb{Q}_{d_M}:\mathbb{Q}_{2^n}\right]=\begin{cases} +r/2&\text{ if }8\in H\text{ and }n\geq 3,\\ +r/2&\text{ if }8\in H\text{ and }n=2\text{ and }8\,|\,d_M\\ +r&\text{ otherwise}. +\end{cases}$ +\EndFor +\end{algorithmic} + +\end{algorithm} + + +\pagebreak +\subsection{Case $d\neq -1$, $n\geq d+2$} + +\begin{algorithm} +\caption{Adelic failure, case $d\neq -1$, $n\geq d+2$} +\begin{algorithmic} +\If{$n-1<t$} +\For{$g\in B_{n-1}$} +\State Add $\sqrt[2^{n-1}]{g}$ to \texttt{shortlist} +\State $M\leftarrow\lcm(M,\texttt{cyc\_embed}(g))$ +\EndFor +\EndIf +\State + +\If{$n=d+2$} +\State Add $\sqrt[2^{d}]{|B_{d,0}|}$ to \texttt{shortlist} +\State $M\leftarrow\lcm(M,\texttt{cyc\_embed}(|B_{d,0}|))$ +\EndIf + +\State +\State $M\leftarrow\lcm(M,2^{n})$ +\State +\ForAll{$d_M\in \texttt{divisors}(M)$ such that $2^n\,|\,M$} +\State $S\leftarrow\left\{\prod_{x\in T}x\,|\,T\subseteq\texttt{shortlist}\right\}$ +\State $H\leftarrow\left\{\min\left\{x\in\mathbb{Z}_{>0}\,|\sqrt{s}\in \mathbb{Q}_x\right\}\,|\,s\in S\right\}$ +\State $r\leftarrow\# \left\{s\in S\,|\, \sqrt{s}\in\mathbb{Q}_{d_M}\right\}$ +\State Declare $\left[\mathbb{Q}_{2^n}\left(\sqrt[2^n]{G}\right)\cap \mathbb{Q}_{d_M}:\mathbb{Q}_{2^n}\right]=\begin{cases} +r/2&\text{ if }8\in H,\\ +r&\text{ otherwise}. +\end{cases}$ +\EndFor +\end{algorithmic} + +\end{algorithm} + +\pagebreak + +\subsection{Case $d\neq -1$, $n= d+1$} + +\begin{algorithm} +\caption{Adelic failure, case $d\neq -1$, $n= d+1$} +\begin{algorithmic} +\For{$g\in B_{n-1}$} +\If{$g<0$} +\State $\texttt{special\_element}\leftarrow(n+1,\sqrt[2^{n-1}]{|g|})$ +\State $M\leftarrow\lcm(M,\texttt{special\_embed}(\texttt{special\_element}))$ +\Else +\State Add $\sqrt[2^{n-1}]{g}$ to \texttt{shortlist} +\State $M\leftarrow\lcm(M,\texttt{cyc\_embed}(g))$ +\EndIf +\EndFor +\State +\State $M\leftarrow\lcm(M,2^{n})$ +\State +\State Remove $-1$ from \texttt{shortlist} (if present) + + +\State +\ForAll{$d_M\in \texttt{divisors}(M)$ such that $2^n\,|\,M$} +\State $S\leftarrow\left\{\prod_{x\in T}x\,|\,T\subseteq\texttt{shortlist}\right\}$ +\State $H\leftarrow\left\{\min\left\{x\in\mathbb{Z}_{>0}\,|\sqrt{s}\in \mathbb{Q}_x\right\}\,|\,s\in S\right\}$ +\State $r\leftarrow\# \left\{s\in S\,|\, \sqrt{s}\in\mathbb{Q}_{d_M}\right\}$ +\State +%\State $\texttt{specials}\leftarrow\{\zeta_{2^{n+1}}\sqrt{bs}\,|\,s\in S\}$ +\If{$\exists x\in \{\zeta_{2^{n+1}}\sqrt{bs}\,|\,s\in S\}\cap\mathbb{Q}_{d_M}$ and $\texttt{special\_embed}(s)\neq 4\,\forall s\in\texttt{specials}$} +\State $r\leftarrow 2r$ +\EndIf +\State Declare $\left[\mathbb{Q}_{2^n}\left(\sqrt[2^n]{G}\right)\cap \mathbb{Q}_{d_M}:\mathbb{Q}_{2^n}\right]=\begin{cases} +r/2&\text{ if }8\in H\text{ and }n\geq 3,\\ +r&\text{ otherwise}. +\end{cases}$ +\EndFor +\end{algorithmic} + +\end{algorithm} + +\begin{thebibliography}{10} \expandafter\ifx\csname url\endcsname\relax \def\url#1{\texttt{#1}}\fi \expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi + +\bibitem{DebryPerucca} +\textsc{Debry, C. - Perucca, A.}: \emph{Reductions of algebraic integers}, J. Number Theory, {\bf 167} (2016), 259--283. + +%\bibitem{PeruccaSgobba} +%\textsc{Perucca, A. - Sgobba, P.}: \emph{Kummer Theory for Number Fields}, preprint. + +\end{thebibliography} + +\end{document} +\ No newline at end of file diff --git a/docs/compute_degree.aux b/docs/compute_degree.aux @@ -0,0 +1,14 @@ +\relax +\citation{DebryPerucca} +\citation{DebryPerucca} +\newlabel{lemma_zero}{{1}{1}} +\newlabel{degree}{{1}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {1}Case $G\leq \mathbb {Q}_+^\times $}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {2}General case}{2}} +\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}General case, $n=1(\leq d)$}{2}} +\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}General case, $n=2\leq d$}{2}} +\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}General case, $3\leq n\leq d$}{2}} +\@writefile{toc}{\contentsline {subsection}{\numberline {2.4}General case, $n\geq d+2$}{3}} +\@writefile{toc}{\contentsline {subsection}{\numberline {2.5}General case, $n=d+1$}{3}} +\bibcite{DebryPerucca}{1} +\bibcite{PeruccaSgobba}{2} diff --git a/docs/compute_degree.log b/docs/compute_degree.log @@ -0,0 +1,706 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2019.3.25) 7 APR 2019 12:21 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**compute_degree.tex +(./compute_degree.tex +LaTeX2e <2017-04-15> +Babel <3.18> and hyphenation patterns for 84 language(s) loaded. +(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls +Document Class: article 2014/09/29 v1.4h Standard LaTeX document class +(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo +File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) +) +\c@part=\count79 +\c@section=\count80 +\c@subsection=\count81 +\c@subsubsection=\count82 +\c@paragraph=\count83 +\c@subparagraph=\count84 +\c@figure=\count85 +\c@table=\count86 +\abovecaptionskip=\skip41 +\belowcaptionskip=\skip42 +\bibindent=\dimen102 +) +(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2015/03/17 v1.2c Input encoding file +\inpenc@prehook=\toks14 +\inpenc@posthook=\toks15 + +(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def +File: utf8.def 2017/01/28 v1.1t UTF-8 support for inputenc +Now handling font encoding OML ... +... no UTF-8 mapping file for font encoding OML +Now handling font encoding T1 ... +... processing UTF-8 mapping file for font encoding T1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu +File: t1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A0 (decimal 160) + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00AB (decimal 171) + defining Unicode char U+00AD (decimal 173) + defining Unicode char U+00BB (decimal 187) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C0 (decimal 192) + defining Unicode char U+00C1 (decimal 193) + defining Unicode char U+00C2 (decimal 194) + defining Unicode char U+00C3 (decimal 195) + defining Unicode char U+00C4 (decimal 196) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00C7 (decimal 199) + defining Unicode char U+00C8 (decimal 200) + defining Unicode char U+00C9 (decimal 201) + defining Unicode char U+00CA (decimal 202) + defining Unicode char U+00CB (decimal 203) + defining Unicode char U+00CC (decimal 204) + defining Unicode char U+00CD (decimal 205) + defining Unicode char U+00CE (decimal 206) + defining Unicode char U+00CF (decimal 207) + defining Unicode char U+00D0 (decimal 208) + defining Unicode char U+00D1 (decimal 209) + defining Unicode char U+00D2 (decimal 210) + defining Unicode char U+00D3 (decimal 211) + defining Unicode char U+00D4 (decimal 212) + defining Unicode char U+00D5 (decimal 213) + defining Unicode char U+00D6 (decimal 214) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00D9 (decimal 217) + defining Unicode char U+00DA (decimal 218) + defining Unicode char U+00DB (decimal 219) + defining Unicode char U+00DC (decimal 220) + defining Unicode char U+00DD (decimal 221) + defining Unicode char U+00DE (decimal 222) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E0 (decimal 224) + defining Unicode char U+00E1 (decimal 225) + defining Unicode char U+00E2 (decimal 226) + defining Unicode char U+00E3 (decimal 227) + defining Unicode char U+00E4 (decimal 228) + defining Unicode char U+00E5 (decimal 229) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00E7 (decimal 231) + defining Unicode char U+00E8 (decimal 232) + defining Unicode char U+00E9 (decimal 233) + defining Unicode char U+00EA (decimal 234) + defining Unicode char U+00EB (decimal 235) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F0 (decimal 240) + defining Unicode char U+00F1 (decimal 241) + defining Unicode char U+00F2 (decimal 242) + defining Unicode char U+00F3 (decimal 243) + defining Unicode char U+00F4 (decimal 244) + defining Unicode char U+00F5 (decimal 245) + defining Unicode char U+00F6 (decimal 246) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+00F9 (decimal 249) + defining Unicode char U+00FA (decimal 250) + defining Unicode char U+00FB (decimal 251) + defining Unicode char U+00FC (decimal 252) + defining Unicode char U+00FD (decimal 253) + defining Unicode char U+00FE (decimal 254) + defining Unicode char U+00FF (decimal 255) + defining Unicode char U+0100 (decimal 256) + defining Unicode char U+0101 (decimal 257) + defining Unicode char U+0102 (decimal 258) + defining Unicode char U+0103 (decimal 259) + defining Unicode char U+0104 (decimal 260) + defining Unicode char U+0105 (decimal 261) + defining Unicode char U+0106 (decimal 262) + defining Unicode char U+0107 (decimal 263) + defining Unicode char U+0108 (decimal 264) + defining Unicode char U+0109 (decimal 265) + defining Unicode char U+010A (decimal 266) + defining Unicode char U+010B (decimal 267) + defining Unicode char U+010C (decimal 268) + defining Unicode char U+010D (decimal 269) + defining Unicode char U+010E (decimal 270) + defining Unicode char U+010F (decimal 271) + defining Unicode char U+0110 (decimal 272) + defining Unicode char U+0111 (decimal 273) + defining Unicode char U+0112 (decimal 274) + defining Unicode char U+0113 (decimal 275) + defining Unicode char U+0114 (decimal 276) + defining Unicode char U+0115 (decimal 277) + defining Unicode char U+0116 (decimal 278) + defining Unicode char U+0117 (decimal 279) + defining Unicode char U+0118 (decimal 280) + defining Unicode char U+0119 (decimal 281) + defining Unicode char U+011A (decimal 282) + defining Unicode char U+011B (decimal 283) + defining Unicode char U+011C (decimal 284) + defining Unicode char U+011D (decimal 285) + defining Unicode char U+011E (decimal 286) + defining Unicode char U+011F (decimal 287) + defining Unicode char U+0120 (decimal 288) + defining Unicode char U+0121 (decimal 289) + defining Unicode char U+0122 (decimal 290) + defining Unicode char U+0123 (decimal 291) + defining Unicode char U+0124 (decimal 292) + defining Unicode char U+0125 (decimal 293) + defining Unicode char U+0128 (decimal 296) + defining Unicode char U+0129 (decimal 297) + defining Unicode char U+012A (decimal 298) + defining Unicode char U+012B (decimal 299) + defining Unicode char U+012C (decimal 300) + defining Unicode char U+012D (decimal 301) + defining Unicode char U+012E (decimal 302) + defining Unicode char U+012F (decimal 303) + defining Unicode char U+0130 (decimal 304) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0132 (decimal 306) + defining Unicode char U+0133 (decimal 307) + defining Unicode char U+0134 (decimal 308) + defining Unicode char U+0135 (decimal 309) + defining Unicode char U+0136 (decimal 310) + defining Unicode char U+0137 (decimal 311) + defining Unicode char U+0139 (decimal 313) + defining Unicode char U+013A (decimal 314) + defining Unicode char U+013B (decimal 315) + defining Unicode char U+013C (decimal 316) + defining Unicode char U+013D (decimal 317) + defining Unicode char U+013E (decimal 318) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0143 (decimal 323) + defining Unicode char U+0144 (decimal 324) + defining Unicode char U+0145 (decimal 325) + defining Unicode char U+0146 (decimal 326) + defining Unicode char U+0147 (decimal 327) + defining Unicode char U+0148 (decimal 328) + defining Unicode char U+014A (decimal 330) + defining Unicode char U+014B (decimal 331) + defining Unicode char U+014C (decimal 332) + defining Unicode char U+014D (decimal 333) + defining Unicode char U+014E (decimal 334) + defining Unicode char U+014F (decimal 335) + defining Unicode char U+0150 (decimal 336) + defining Unicode char U+0151 (decimal 337) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+0154 (decimal 340) + defining Unicode char U+0155 (decimal 341) + defining Unicode char U+0156 (decimal 342) + defining Unicode char U+0157 (decimal 343) + defining Unicode char U+0158 (decimal 344) + defining Unicode char U+0159 (decimal 345) + defining Unicode char U+015A (decimal 346) + defining Unicode char U+015B (decimal 347) + defining Unicode char U+015C (decimal 348) + defining Unicode char U+015D (decimal 349) + defining Unicode char U+015E (decimal 350) + defining Unicode char U+015F (decimal 351) + defining Unicode char U+0160 (decimal 352) + defining Unicode char U+0161 (decimal 353) + defining Unicode char U+0162 (decimal 354) + defining Unicode char U+0163 (decimal 355) + defining Unicode char U+0164 (decimal 356) + defining Unicode char U+0165 (decimal 357) + defining Unicode char U+0168 (decimal 360) + defining Unicode char U+0169 (decimal 361) + defining Unicode char U+016A (decimal 362) + defining Unicode char U+016B (decimal 363) + defining Unicode char U+016C (decimal 364) + defining Unicode char U+016D (decimal 365) + defining Unicode char U+016E (decimal 366) + defining Unicode char U+016F (decimal 367) + defining Unicode char U+0170 (decimal 368) + defining Unicode char U+0171 (decimal 369) + defining Unicode char U+0172 (decimal 370) + defining Unicode char U+0173 (decimal 371) + defining Unicode char U+0174 (decimal 372) + defining Unicode char U+0175 (decimal 373) + defining Unicode char U+0176 (decimal 374) + defining Unicode char U+0177 (decimal 375) + defining Unicode char U+0178 (decimal 376) + defining Unicode char U+0179 (decimal 377) + defining Unicode char U+017A (decimal 378) + defining Unicode char U+017B (decimal 379) + defining Unicode char U+017C (decimal 380) + defining Unicode char U+017D (decimal 381) + defining Unicode char U+017E (decimal 382) + defining Unicode char U+01CD (decimal 461) + defining Unicode char U+01CE (decimal 462) + defining Unicode char U+01CF (decimal 463) + defining Unicode char U+01D0 (decimal 464) + defining Unicode char U+01D1 (decimal 465) + defining Unicode char U+01D2 (decimal 466) + defining Unicode char U+01D3 (decimal 467) + defining Unicode char U+01D4 (decimal 468) + defining Unicode char U+01E2 (decimal 482) + defining Unicode char U+01E3 (decimal 483) + defining Unicode char U+01E6 (decimal 486) + defining Unicode char U+01E7 (decimal 487) + defining Unicode char U+01E8 (decimal 488) + defining Unicode char U+01E9 (decimal 489) + defining Unicode char U+01EA (decimal 490) + defining Unicode char U+01EB (decimal 491) + defining Unicode char U+01F0 (decimal 496) + defining Unicode char U+01F4 (decimal 500) + defining Unicode char U+01F5 (decimal 501) + defining Unicode char U+0218 (decimal 536) + defining Unicode char U+0219 (decimal 537) + defining Unicode char U+021A (decimal 538) + defining Unicode char U+021B (decimal 539) + defining Unicode char U+0232 (decimal 562) + defining Unicode char U+0233 (decimal 563) + defining Unicode char U+1E02 (decimal 7682) + defining Unicode char U+1E03 (decimal 7683) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2010 (decimal 8208) + defining Unicode char U+2011 (decimal 8209) + defining Unicode char U+2012 (decimal 8210) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2015 (decimal 8213) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201A (decimal 8218) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) + defining Unicode char U+201E (decimal 8222) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2031 (decimal 8241) + defining Unicode char U+2039 (decimal 8249) + defining Unicode char U+203A (decimal 8250) + defining Unicode char U+2423 (decimal 9251) + defining Unicode char U+1E20 (decimal 7712) + defining Unicode char U+1E21 (decimal 7713) +) +Now handling font encoding OT1 ... +... processing UTF-8 mapping file for font encoding OT1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu +File: ot1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A0 (decimal 160) + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00AD (decimal 173) + defining Unicode char U+00B8 (decimal 184) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+0174 (decimal 372) + defining Unicode char U+0175 (decimal 373) + defining Unicode char U+0176 (decimal 374) + defining Unicode char U+0177 (decimal 375) + defining Unicode char U+0218 (decimal 536) + defining Unicode char U+0219 (decimal 537) + defining Unicode char U+021A (decimal 538) + defining Unicode char U+021B (decimal 539) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) +) +Now handling font encoding OMS ... +... processing UTF-8 mapping file for font encoding OMS + +(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu +File: omsenc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A7 (decimal 167) + defining Unicode char U+00B6 (decimal 182) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+2020 (decimal 8224) + defining Unicode char U+2021 (decimal 8225) + defining Unicode char U+2022 (decimal 8226) +) +Now handling font encoding OMX ... +... no UTF-8 mapping file for font encoding OMX +Now handling font encoding U ... +... no UTF-8 mapping file for font encoding U + defining Unicode char U+00A9 (decimal 169) + defining Unicode char U+00AA (decimal 170) + defining Unicode char U+00AE (decimal 174) + defining Unicode char U+00BA (decimal 186) + defining Unicode char U+02C6 (decimal 710) + defining Unicode char U+02DC (decimal 732) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2026 (decimal 8230) + defining Unicode char U+2122 (decimal 8482) + defining Unicode char U+2423 (decimal 9251) +)) +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty +Package: amsmath 2017/09/02 v2.17a AMS math features +\@mathmargin=\skip43 + +For additional information on amsmath, use the `?' option. +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty +Package: amstext 2000/06/29 v2.01 AMS text + +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty +File: amsgen.sty 1999/11/30 v2.0 generic functions +\@emptytoks=\toks16 +\ex@=\dimen103 +)) +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty +Package: amsbsy 1999/11/29 v1.2d Bold Symbols +\pmbraise@=\dimen104 +) +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty +Package: amsopn 2016/03/08 v2.02 operator names +) +\inf@bad=\count87 +LaTeX Info: Redefining \frac on input line 213. +\uproot@=\count88 +\leftroot@=\count89 +LaTeX Info: Redefining \overline on input line 375. +\classnum@=\count90 +\DOTSCASE@=\count91 +LaTeX Info: Redefining \ldots on input line 472. +LaTeX Info: Redefining \dots on input line 475. +LaTeX Info: Redefining \cdots on input line 596. +\Mathstrutbox@=\box26 +\strutbox@=\box27 +\big@size=\dimen105 +LaTeX Font Info: Redeclaring font encoding OML on input line 712. +LaTeX Font Info: Redeclaring font encoding OMS on input line 713. +\macc@depth=\count92 +\c@MaxMatrixCols=\count93 +\dotsspace@=\muskip10 +\c@parentequation=\count94 +\dspbrk@lvl=\count95 +\tag@help=\toks17 +\row@=\count96 +\column@=\count97 +\maxfields@=\count98 +\andhelp@=\toks18 +\eqnshift@=\dimen106 +\alignsep@=\dimen107 +\tagshift@=\dimen108 +\tagwidth@=\dimen109 +\totwidth@=\dimen110 +\lineht@=\dimen111 +\@envbody=\toks19 +\multlinegap=\skip44 +\multlinetaggap=\skip45 +\mathdisplay@stack=\toks20 +LaTeX Info: Redefining \[ on input line 2817. +LaTeX Info: Redefining \] on input line 2818. +) +(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty +Package: amsthm 2017/10/31 v2.20.4 +\thm@style=\toks21 +\thm@bodyfont=\toks22 +\thm@headfont=\toks23 +\thm@notefont=\toks24 +\thm@headpunct=\toks25 +\thm@preskip=\skip46 +\thm@postskip=\skip47 +\thm@headsep=\skip48 +\dth@everypar=\toks26 +) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xy.sty +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xy.tex Bootstrap'ing: +catcodes, docmode, (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyrecat.tex +) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyidioms.tex) + + Xy-pic version 3.8.9 <2013/10/06> + Copyright (c) 1991-2013 by Kristoffer H. Rose <krisrose@tug.org> and others + Xy-pic is free software: see the User's Guide for details. + +Loading kernel: messages; fonts; allocations: state, +\X@c=\dimen112 +\Y@c=\dimen113 +\U@c=\dimen114 +\D@c=\dimen115 +\L@c=\dimen116 +\R@c=\dimen117 +\Edge@c=\toks27 +\X@p=\dimen118 +\Y@p=\dimen119 +\U@p=\dimen120 +\D@p=\dimen121 +\L@p=\dimen122 +\R@p=\dimen123 +\Edge@p=\toks28 +\X@origin=\dimen124 +\Y@origin=\dimen125 +\X@xbase=\dimen126 +\Y@xbase=\dimen127 +\X@ybase=\dimen128 +\Y@ybase=\dimen129 +\X@min=\dimen130 +\Y@min=\dimen131 +\X@max=\dimen132 +\Y@max=\dimen133 +\lastobjectbox@=\box28 +\zerodotbox@=\box29 +\almostz@=\dimen134 + direction, +\d@X=\dimen135 +\d@Y=\dimen136 +\K@=\count99 +\KK@=\count100 +\Direction=\count101 +\K@dXdY=\dimen137 +\K@dYdX=\dimen138 +\xyread@=\read1 +\xywrite@=\write3 +\csp@=\count102 +\quotPTK@=\dimen139 + +utility macros; pictures: \xy, positions, +\swaptoks@@=\toks29 +\connectobjectbox@@=\box30 + objects, +\styletoks@=\toks30 + decorations; +kernel objects: directionals, circles, text; options; algorithms: directions, +edges, connections; Xy-pic loaded) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty +Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch +) +Package: xy 2013/10/06 Xy-pic version 3.8.9 + +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyall.tex + Xy-pic option: All features v.3.8 +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xycurve.tex + Xy-pic option: Curve and Spline extension v.3.12 curve, +\crv@cnt@=\count103 +\crvpts@=\toks31 +\splinebox@=\box31 +\splineval@=\dimen140 +\splinedepth@=\dimen141 +\splinetol@=\dimen142 +\splinelength@=\dimen143 + circles, +\L@=\dimen144 + loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyframe.tex + Xy-pic option: Frame and Bracket extension v.3.14 loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xycmtip.tex + Xy-pic option: Computer Modern tip extension v.3.7 +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xytips.tex + Xy-pic option: More Tips extension v.3.11 loaded) loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyline.tex + Xy-pic option: Line styles extension v.3.10 +\xylinethick@=\dimen145 + loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyrotate.tex + Xy-pic option: Rotate and Scale extension v.3.8 loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xycolor.tex + Xy-pic option: Colour extension v.3.11 loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xymatrix.tex + Xy-pic option: Matrix feature v.3.14 +\Row=\count104 +\Col=\count105 +\queue@=\toks32 +\queue@@=\toks33 +\qcount@=\count106 +\qcount@@=\count107 +\matrixsize@=\count108 + loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xyarrow.tex + Xy-pic option: Arrow and Path feature v.3.9 path, \ar, loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xygraph.tex + Xy-pic option: Graph feature v.3.11 loaded) loaded) +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf.tex + Xy-pic option: PDF driver v.1.7 Xy-pic pdf driver: `color' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-co.tex loaded) +Xy-pic pdf driver: `curve' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-cu.tex loaded) +Xy-pic pdf driver: `frame' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-fr.tex loaded) +Xy-pic pdf driver: `line' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-li.tex loaded) +Xy-pic pdf driver: `rotate' extension support +(/usr/share/texlive/texmf-dist/tex/generic/xypic/xypdf-ro.tex loaded) loaded)) +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty +Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support +\symAMSa=\mathgroup4 +\symAMSb=\mathgroup5 +LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' +(Font) U/euf/m/n --> U/euf/b/n on input line 106. +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty +Package: color 2016/07/10 v1.1e Standard LaTeX Color (DPC) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package color Info: Driver file: pdftex.def on input line 147. + +(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def +File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex +)) +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty +Package: amssymb 2013/01/14 v3.01 AMS font symbols +) +(/usr/share/texlive/texmf-dist/tex/latex/float/float.sty +Package: float 2001/11/08 v1.3d Float enhancements (AL) +\c@float@type=\count109 +\float@exts=\toks34 +\float@box=\box32 +\@float@everytoks=\toks35 +\@floatcapt=\box33 +) +(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty +Package: geometry 2010/09/12 v5.6 Page Geometry + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks36 +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty +Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO) +Package ifvtex Info: VTeX not detected. +) +(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty +Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional +) +\Gm@cnth=\count110 +\Gm@cntv=\count111 +\c@Gm@tempcnt=\count112 +\Gm@bindingoffset=\dimen146 +\Gm@wd@mp=\dimen147 +\Gm@odd@mp=\dimen148 +\Gm@even@mp=\dimen149 +\Gm@layoutwidth=\dimen150 +\Gm@layoutheight=\dimen151 +\Gm@layouthoffset=\dimen152 +\Gm@layoutvoffset=\dimen153 +\Gm@dimlist=\toks37 +) +\c@lemma=\count113 + +(./compute_degree.aux) +\openout1 = `compute_degree.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 100. +LaTeX Font Info: ... okay on input line 100. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 100. +LaTeX Font Info: ... okay on input line 100. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 100. +LaTeX Font Info: ... okay on input line 100. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 100. +LaTeX Font Info: ... okay on input line 100. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 100. +LaTeX Font Info: ... okay on input line 100. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 100. +LaTeX Font Info: ... okay on input line 100. +LaTeX Font Info: Try loading font information for U+msa on input line 100. + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd +File: umsa.fd 2013/01/14 v3.01 AMS symbols A +) +LaTeX Font Info: Try loading font information for U+msb on input line 100. + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd +File: umsb.fd 2013/01/14 v3.01 AMS symbols B +) +Package xypdf Info: Line width: 0.39998pt on input line 100. + +(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count114 +\scratchdimen=\dimen154 +\scratchbox=\box34 +\nofMPsegments=\count115 +\nofMParguments=\count116 +\everyMPshowfont=\toks38 +\MPscratchCnt=\count117 +\MPscratchDim=\dimen155 +\MPnumerator=\count118 +\makeMPintoPDFobject=\count119 +\everyMPtoPDFconversion=\toks39 +) +*geometry* driver: auto-detecting +*geometry* detected driver: pdftex +*geometry* verbose mode - [ preamble ] result: +* driver: pdftex +* paper: a4paper +* layout: <same size as paper> +* layoutoffset:(h,v)=(0.0pt,0.0pt) +* modes: +* h-part:(L,W,R)=(71.13188pt, 455.24411pt, 71.13188pt) +* v-part:(T,H,B)=(85.35826pt, 674.33032pt, 85.35826pt) +* \paperwidth=597.50787pt +* \paperheight=845.04684pt +* \textwidth=455.24411pt +* \textheight=674.33032pt +* \oddsidemargin=-1.1381pt +* \evensidemargin=-1.1381pt +* \topmargin=-23.91173pt +* \headheight=12.0pt +* \headsep=25.0pt +* \topskip=10.0pt +* \footskip=30.0pt +* \marginparwidth=57.0pt +* \marginparsep=11.0pt +* \columnsep=10.0pt +* \skip\footins=9.0pt plus 4.0pt minus 2.0pt +* \hoffset=0.0pt +* \voffset=0.0pt +* \mag=1000 +* \@twocolumnfalse +* \@twosidefalse +* \@mparswitchfalse +* \@reversemarginfalse +* (1in=72.27pt=25.4mm, 1cm=28.453pt) + +[1 + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] +LaTeX Font Info: Try loading font information for OMS+cmr on input line 217. + + +(/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd +File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 217. + [2] [3] [4] +(./compute_degree.aux) ) +Here is how much of TeX's memory you used: + 5407 strings out of 492982 + 64833 string characters out of 6134896 + 188355 words of memory out of 5000000 + 8878 multiletter control sequences out of 15000+600000 + 15245 words of font info for 62 fonts, out of 8000000 for 9000 + 1141 hyphenation exceptions out of 8191 + 27i,16n,24p,3246b,313s stack positions out of 5000i,500n,10000p,200000b,80000s +</usr/share/texlive/texmf-dist/fonts/type1/public/amsfo +nts/cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm +/cmbx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmcsc +10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb +></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr +/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi12.pfb></usr/share +/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb></usr/share/texliv +e/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></usr/share/texlive/texmf +-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/f +onts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/fonts/ty +pe1/public/amsfonts/cm/cmr7.pfb></usr/share/texlive/texmf-dist/fonts/type1/publ +ic/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/ams +fonts/cm/cmsy5.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/c +m/cmsy7.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti1 +0.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10 +.pfb> +Output written on compute_degree.pdf (4 pages, 176578 bytes). +PDF statistics: + 81 PDF objects out of 1000 (max. 8388607) + 58 compressed objects within 1 object stream + 0 named destinations out of 1000 (max. 500000) + 1 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/docs/compute_degree.pdf b/docs/compute_degree.pdf Binary files differ. diff --git a/docs/compute_degree.synctex.gz b/docs/compute_degree.synctex.gz Binary files differ. diff --git a/docs/compute_degree.tex b/docs/compute_degree.tex @@ -0,0 +1,320 @@ +\documentclass[10pt,a4paper]{article} +\usepackage[utf8]{inputenc} +\usepackage{amsmath} +\usepackage{amsthm} +\usepackage[all]{xy} +\usepackage{amsfonts} +\usepackage{color} +\usepackage{amssymb} +\usepackage{float} +\usepackage[a4paper, top=3cm, bottom=3cm, left=2.5cm, right=2.5cm]{geometry} + +\DeclareMathOperator{\alg}{alg} +\DeclareMathOperator{\obj}{Obj} +\DeclareMathOperator{\Hom}{Hom} +\DeclareMathOperator{\End}{End} +\DeclareMathOperator{\hol}{Hol} +\DeclareMathOperator{\aut}{Aut} +\DeclareMathOperator{\gal}{Gal} +\DeclareMathOperator{\id}{id} +\DeclareMathOperator{\res}{res} +\DeclareMathOperator{\im}{Im} +\DeclareMathOperator{\Id}{Id} +\DeclareMathOperator{\fib}{Fib} +\DeclareMathOperator{\spec}{Spec} +\DeclareMathOperator{\proj}{Proj} +\DeclareMathOperator{\trdeg}{trdeg} +\DeclareMathOperator{\car}{char} +\DeclareMathOperator{\Frac}{Frac} +\DeclareMathOperator{\reduced}{red} +\DeclareMathOperator{\real}{Re} +\DeclareMathOperator{\imag}{Im} +\DeclareMathOperator{\vol}{vol} +\DeclareMathOperator{\den}{den} +\DeclareMathOperator{\rank}{rank} +\DeclareMathOperator{\lcm}{lcm} +\DeclareMathOperator{\rad}{rad} +\DeclareMathOperator{\ord}{ord} +\DeclareMathOperator{\Br}{Br} +\DeclareMathOperator{\inv}{inv} +\DeclareMathOperator{\Nm}{Nm} +\DeclareMathOperator{\Tr}{Tr} +\DeclareMathOperator{\an}{an} +\DeclareMathOperator{\op}{op} +\DeclareMathOperator{\sep}{sep} +\DeclareMathOperator{\unr}{unr} +\DeclareMathOperator{\et}{\acute et} +\DeclareMathOperator{\ev}{ev} +\DeclareMathOperator{\gl}{GL} +\DeclareMathOperator{\SL}{SL} +\DeclareMathOperator{\mat}{Mat} +\DeclareMathOperator{\ab}{ab} +\DeclareMathOperator{\tors}{tors} +\DeclareMathOperator{\ed}{ed} + +\newcommand{\grp}{\textsc{Grp}} +\newcommand{\set}{\textsc{Set}} +\newcommand{\x}{\mathbf{x}} +\newcommand{\naturalto}{\overset{.}{\to}} +\newcommand{\qbar}{\overline{\mathbb{Q}}} +\newcommand{\zbar}{\overline{\mathbb{Z}}} + +\newcommand{\pro}{\mathbb{P}} +\newcommand{\aff}{\mathbb{A}} +\newcommand{\quat}{\mathbb{H}} +\newcommand{\rea}{\mathbb{R}} +\newcommand{\kiu}{\mathbb{Q}} +\newcommand{\F}{\mathbb{F}} +\newcommand{\zee}{\mathbb{Z}} +\newcommand{\ow}{\mathcal{O}} +\newcommand{\mcx}{\mathcal{X}} +\newcommand{\mcy}{\mathcal{Y}} +\newcommand{\mcs}{\mathcal{S}} +\newcommand{\mca}{\mathcal{A}} +\newcommand{\mcb}{\mathcal{B}} +\newcommand{\mcf}{\mathcal{F}} +\newcommand{\mcg}{\mathcal{G}} +\newcommand{\mct}{\mathcal{T}} +\newcommand{\mcq}{\mathcal{Q}} +\newcommand{\mcr}{\mathcal{R}} +\newcommand{\adl}{\mathbf{A}} +\newcommand{\mbk}{\mathbf{k}} +\newcommand{\m}{\mathfrak{m}} +\newcommand{\p}{\mathfrak{p}} + +\newcommand{\kbar}{\overline{K}} + +\newtheorem{lemma}{Lemma} +\newtheorem{proposition}[lemma]{Proposition} +\newtheorem{conjecture}[lemma]{Conjecture} +\newtheorem{corollary}[lemma]{Corollary} +\newtheorem{definition}[lemma]{Definition} +\newtheorem{theorem}[lemma]{Theorem} +\newtheorem{cond-thm}[lemma]{Conditional Theorem} +\theoremstyle{definition} +\newtheorem{remark}[lemma]{Remark} + +\author{Sebastiano Tronto} + + +\begin{document} + +\begin{lemma} +\label{lemma_zero} +Let $H\leq \mathbb{Q}^\times$ be a finitely generated subgroup. Assume that $H$ does not contain minus a square of $\mathbb{Q}^\times$ or that $m=1$. Then we have +\begin{align*} +\left[\mathbb{Q}_{2^m}\left(\sqrt{H}\right):\mathbb{Q}_{2^m}\right]=\begin{cases} +\#\overline H/2 & \text{ if }m\geq 3\text{ and }\exists b\in H\text{ with }b\equiv\pm2\pmod{\mathbb{Q}^{\times 2}},\\ +\#\overline H&\text{ otherwise}. +\end{cases} +\end{align*} +where $\overline{H}$ is the image of $H\cdot \mathbb{Q}^{\times 2}$ in $\mathbb{Q}^\times/\mathbb{Q}^{\times 2}$. +\begin{proof} +Clearly we may assume that $H$ is generated by suqarefree integers $\{g_1,\dots, g_r\}$, where $r=\#\overline H$. In fact, we have that $\mathbb{Q}_{2^m}(\sqrt{H})=\mathbb{Q}_{2^m}(\sqrt{H'})$ for any $H'$ such that $(H\cdot \mathbb{Q}^{\times 2})/\mathbb{Q}^{\times 2}=(H'\cdot \mathbb{Q}^{\times 2})/\mathbb{Q}^{\times 2}$. Recall moreover that by {\color{red}Lemma 13} if there is $\pm2$ times a square in $H$ we can assume that, say, $g_1=\pm 2$. + +Assume first that $m\geq 2$, so that $-1\not\in H$ by assumption. In this case we can work over $\mathbb Q_4$ and use Theorem 18 of \cite{DebryPerucca}. We just need to compute the divisibility parameters over $\mathbb{Q}_4$: +\begin{align*} +d_1=\begin{cases} +0&\text{ if }g_1\neq\pm2\\ +1&\text{ if }g_1=\pm2 +\end{cases}, +&& +d_i=0 +\quad \text{ for $i=2,\dots, r$},\\ +h_1=\begin{cases} +0&\text{ if } 0\leq g_1\neq2\\ +1&\text{ if } -2\neq g_1<0\\ +2&\text{ if } g_1=\pm 2 +\end{cases}, && +h_i=\begin{cases} +0&\text{ if }g_i>0\\ +1&\text{ if }g_i<0 +\end{cases} +\quad \text{ for $i=2,\dots, r$}. +\end{align*} +Thus, keeping the notation of the aformentioned Theorem, we get +\begin{align*} +n_1=\min(1,d_1)=\begin{cases} +0&\text{ if }g_1\neq\pm2\\ +1&\text{ if }g_1=\pm2 +\end{cases},&& n_i=0\quad \text{ for $i=2,\dots, r$}. +\end{align*} +Thus we get +\begin{align*} +v_2\left[\mathbb{Q}_{2^m}(\sqrt{H}):\mathbb Q_{2^m}\right]&=\max(h_1+n_1,\dots, h_r+n_r,m)-m+r-\sum_{i=1}^rn_i=\\ +&=\begin{cases} +\max(3,m)-m+r-\sum_{i=1}^rn_i&\text{ if }\pm2\in H\\ +r-\sum_{i=1}^rn_i&\text{ if }\pm2\not \in H +\end{cases}\\ +&=\begin{cases} +1+r-1&\text{ if }m=2\text{ and }\pm2\in H\\ +r-1&\text{ if }m\geq3\text{ and }\pm2\in H\\ +r&\text{ if }\pm2\not\in H +\end{cases} +\end{align*} +which is what we want. + +Assume now that $m=1$. If $-1\not\in H$, we get the desired result directly from Lemma 19 of \cite{DebryPerucca} applied with $G=H$, using the computations that we did in the previous case. In case $-1\in H$, let $H'$ be any subgroup of $H$ such that $H=H'\oplus\langle-1\rangle$. Notice that we have $\#\overline {H'}=r-1$, so that Lemma 19 with $G=H'$ again gives our result, and the Proposition is proved. +\end{proof} +\end{lemma} + +Let $G\leq \mathbb{Q}^\times$ be a finitely generated torsion-free subgroup of rank $r$ and let $M$ and $n$ be integers such that $2^n\,|\,M$. We want to compute the degree +\begin{align} +\label{degree} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]. +\end{align} + +We will use the same notation as that of Remark 17 of Pietro's file. + +\section{Case $G\leq \mathbb{Q}_+^\times$} + +Assume that $G\leq \mathbb{Q}_+^\times$. In this case, by Remark 17, we have that +\begin{align*} +\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M =\mathbb{Q}_{2^n}\left(\sqrt{H}\right). +\end{align*} + +Let $\overline{H}$ be the image of $H$ in $\mathbb{Q^\times}/\mathbb{Q}^{\times 2}$. By Remark 17 and Lemma \ref{lemma_zero} above, the degree (\ref{degree}) is given by +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]= +\begin{cases} +\#\overline H/2 & \text{if }n\geq 3\text{ and }2\in H,\\ +\#\overline H&\text{ otherwise}. +\end{cases} +\end{align*} + +\section{General case} + +Let $\mathcal{B}$ be a basis for $G$ and let $\mathcal{B}_i\subseteq \mathcal{B}$ be the subset of basis elements of $2$-divisibility $i$. Call also $L=\max d_i$ the largest $2$-divisiblity parameter. In this way $\mathcal{B}_0,\dots,\mathcal{B}_L$ is a partition of $\mathcal{B}$. + +As explained in ({\color{red}ref}) we may assume that there is at most one negative basis element. Since we have dealt with the $G\subseteq \mathbb{Q}_+$ case in the previous section, we assume that such an element exists and that it has $2$-divisibility $d$. We call this element $g_0$. + +It is (or will be?) clear ({\color{red}but we should explain it}) that it actually does not matter if we have negative elements of divisibility $0$: that case is treated exactly as the case $G\subseteq \mathbb{Q}_+$. In conclusion, we assume that: +\begin{align*} +\mathcal{B}_1,\dots,\mathcal{B}_{d-1},\mathcal{B}_{d+1},\dots,\mathcal{B}_L\subseteq \mathbb{Q}_+,\\ +g_0<0 \text{ and }\mathcal{B}_d\setminus \{g_0\}\subseteq \mathbb{Q}_+,\\ +d\geq 1. +\end{align*} + +We also let +\begin{align*} +N=\begin{cases} +\max(3,L)&\text{if }d\neq L,\\ +\max(3,L+1)&\text{if }d=L. +\end{cases} +\end{align*} + +\subsection{General case, $n=1(\leq d)$} +This case can be treated as follows: let $\mathcal{S}'=\mathcal{S}\cup \{-1\}$ and let $H'$ be constructed from $\mathcal{S}'$ in the exact same way as $H$ is constructed from $\mathcal{S}$. Then it's easy to check ({\color{red}it follows from the ``torsion case'' for $G$, it is for sure in some other file}) that $\mathbb{Q}_{2^n}\left(\sqrt{H'}\right)=\mathbb{Q}_{2^{w'}}\left(\sqrt{H}\right)$, where $w'=\min(v_2(M),n+1)$ (as in Remark 17). Then we can again use Lemma \ref{lemma_zero} and conclude that +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]= +\#\overline{H'}, +\end{align*} +where $\#\overline{H'}$ is the image of $H'$ in $\mathbb{Q}^\times/\mathbb{Q}^{\times 2}$. + +\subsection{General case, $n=2\leq d$} +We consider two cases: +\begin{itemize} +\item If $v_2(M)=2$ we have $\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]=\left[\mathbb{Q}_4\left(\sqrt{H}\right):\mathbb{Q}_4\right]=\#\overline{H}$ by Lemma \ref{lemma_zero}. +\item If $v_2(M)\geq 3$ we have +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]&=\left[\mathbb{Q}_8\left(\sqrt{H}\right):\mathbb{Q}_4\right]=\left[\mathbb{Q}_8\left(\sqrt{H}\right):\mathbb{Q}_8\right]\cdot \left[\mathbb{Q}_8:\mathbb{Q}_4\right]=\\&=2\left[\mathbb{Q}_8\left(\sqrt{H}\right):\mathbb{Q}_8\right], +\end{align*} +which, by Lemma \ref{lemma_zero}, is given by $\#\overline{H}$ if $2 \in H$ and by $2\#\overline{H}$ otherwise. +\end{itemize} + +\subsection{General case, $3\leq n\leq d$} +We consider two cases: +\begin{itemize} +\item If $v_2(M)=3$, by lemma \ref{lemma_zero} we have +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]=\left[\mathbb{Q}_8\left(\sqrt{H}\right):\mathbb{Q}_8\right]=\begin{cases} +\#\overline H/2 & \text{ if }\pm 2\in H,\\ +\#\overline H&\text{ otherwise}. +\end{cases} +\end{align*} +\item If $v_2(M)\geq 4$ we have +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]&=\left[\mathbb{Q}_{16}\left(\sqrt{H}\right):\mathbb{Q}_8\right]=\left[\mathbb{Q}_{16}\left(\sqrt{H}\right):\mathbb{Q}_{16}\right]\cdot \left[\mathbb{Q}_{16}:\mathbb{Q}_8\right]=\\&=2\left[\mathbb{Q}_{16}\left(\sqrt{H}\right):\mathbb{Q}_{16}\right], +\end{align*} +which, by Lemma \ref{lemma_zero}, is given by $\#\overline{H}$ if $2 \in H$ and by $2\#\overline{H}$ otherwise. +\end{itemize} + +\subsection{General case, $n\geq d+2$} +By the corresponding case in Remark 17, we simply have +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]=\begin{cases} +\#\overline {H'}/2 & \text{ if }\pm 2\in H,\\ +\#\overline {H'}&\text{ otherwise}. +\end{cases} +\end{align*} +where $H'$ is constructed from $\mathcal{S}'=\mathcal{S}\cup\{B_0\}$ and $\overline{H'}$ is the image of $H'$ in $\mathbb{Q}^\times/\mathbb{Q}^{\times 2}$. + +\subsection{General case, $n=d+1$} +We distinguish between some cases. +\begin{itemize} +\item Assume $n=2$ (thus $d=3$) and $v_2(g_0)=2$ (i.e. $2$ divides the square-free part of $B_0$, where $g_0=-B_0^{2^d}$). Then we write the square-free part of $B_0$ as $2s$ for some odd square-free $s\in\mathbb{Z}$. Then letting $\mathcal{S}':=\mathcal{S}\cup \{s\}$ and construct $H'$ from $\mathcal{S}'$ in the usual way. By Remark 17 we have +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]=\left[\mathbb{Q}_{2^n}\left(\sqrt{H'}\right):\mathbb{Q}_{2^n}\right]=\#\overline{H'}. +\end{align*} +But we can be more precise and say that +\begin{align*} +\#\overline{H'}=\begin{cases} +2\#\overline{H}&\text{if }\sqrt{xs}\in\mathbb{Q}_M\text{ for some }x\in\mathcal{S}\text{ and }s\not\in \mathcal{S},\\ +\#\overline{H}&\text{otherwise}. +\end{cases} +\end{align*} +%\item Assume $n=2$, $2^{n+1}\nmid M$ and either $v_2(g_0)>2$ or $g_0$ is odd. Then $\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]=\#\overline H$. +%\item Assume $n=2$, $2^{n+1}\,|\,M$ and either $v_2(g_0)>2$ or $g_0$ is odd. ({\color{red}TODO}) +\item Assume $n\geq 2$ and $2^{n+1}\nmid M$. Then +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]=\begin{cases} +\#\overline H/2 & \text{ if }\pm 2\in H\text{ and }n\geq 3,\\ +\#\overline H&\text{ otherwise}. +\end{cases} +\end{align*} +\item Assume $n\geq 2$ and $2^{n+1}\,|\,M$. Following the notation of Remark 17, we have +\begin{align*} +\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M=\mathbb{Q}_{2^n}\left(\sqrt{\langle H, H'\rangle}\right) +\end{align*} +hence +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]&=\left[\mathbb{Q}_{2^n}\left(\sqrt{\langle H, H'\rangle}\right):\mathbb{Q}_{2^n}\right]=\\ +&=\left[\mathbb{Q}_{2^n}\left(\sqrt{\langle H, H'\rangle}\right):\mathbb{Q}_{2^n}\left(\sqrt{H}\right)\right]\cdot \left[\mathbb{Q}_{2^n}\left(\sqrt{H}\right):\mathbb{Q}_{2^n}\right]. +\end{align*} +We claim that +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(\sqrt{\langle H, H'\rangle}\right):\mathbb{Q}_{2^n}\left(\sqrt{H}\right)\right]=\begin{cases} +1&\text{ if }H'=\emptyset\text{ or }H'=\{2\zeta_4\},\\ +2&\text{ otherwise}. +\end{cases} +\end{align*} +To see this, notice that $\sqrt{2\zeta_4}=\zeta_8\sqrt{2}\in\mathbb{Q}_4\subseteq\mathbb{Q}_{2^n}\left(\sqrt{H}\right)$, so the first case is settled. Assume now that there is $x=\zeta_{2^n}b\in H'$ with $x\neq 2\zeta_4$. If $y=\zeta_{2^n}c$ is any other element of $H'$, then we have $\sqrt{x/y}=\sqrt{b/c}$. So if $x,y\in \mathbb{Q}_{2^n}\left(\sqrt{\langle H, H'\rangle}\right)$ we have also $\sqrt{b/c}\in \mathbb{Q}_{2^n}\left(\sqrt{\langle H, H'\rangle}\right)$, which by Kummer theory implies $bc\in H$. But then $y\in \mathbb{Q}_{2^n}\left(\sqrt{H}\right)\left(x\right)$. So we have $\mathbb{Q}_{2^n}\left(\sqrt{\langle H, H'\rangle}\right)=\mathbb{Q}_{2^n}\left(\sqrt{H}\right)(x)$, and the sought degree is $\left[\mathbb{Q}_{2^n}\left(\sqrt{H}\right)(x):\mathbb{Q}_{2^n}\left(\sqrt{H}\right)\right]$, which is in fact $2$ ({\color{red}Do we need to explain this better?}). + +We conclude that +\begin{align*} +\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]=\begin{cases} +\#\overline{H}/2&\text{ if } n\geq 3,\,\pm2 \in H\text{ and }H'\subseteq\{2\zeta_4\},\\ +\#\overline{H}&\text{ if }(n<3\text{ or }\pm2\not\in H)\text{ and }H'\subseteq \{2\zeta_4\},\\ +\#\overline{H}&\text{ if } n\geq 3,\,\pm2 \in H\text{ and }H'\not\subseteq\{2\zeta_4\},\\ +2\cdot \#\overline{H}&\text{ if }(n<3\text{ or }\pm2\not\in H)\text{ and }H'\not\subseteq \{2\zeta_4\}. +\end{cases} +\end{align*} +%Let $s$ as in the first subcase of this section and let $\mathcal{C}'$ and $H'$ be as in the last case of Remark 17. We have +%\begin{align*} +%\left[\mathbb{Q}_{2^n}\left(G^{1/2^n}\right)\cap \mathbb{Q}_M:\mathbb{Q}_{2^n}\right]=&\left[\mathbb{Q}_{2^n}\left(\sqrt{\langle H,\zeta_{2^n}H'\rangle}\right):\mathbb{Q}_{2^n}\right]=\\ +%=&\left[\mathbb{Q}_{2^n}\left(\sqrt{\langle H,\zeta_{2^n}H'\rangle}\right):\mathbb{Q}_{2^n}\left(\sqrt{H}\right)\right]\cdot \left[\mathbb{Q}_{2^n}\left(\sqrt{H}\right):\mathbb{Q}_{2^n}\right]. +%\end{align*} +%Notice that, by construction of $H$ and $H'$, the degree $\left[\mathbb{Q}_{2^n}\left(\sqrt{\langle H,\zeta_{2^n}H'\rangle}\right):\mathbb{Q}_{2^n}\left(\sqrt{H}\right)\right]$ is either $1$ +\end{itemize} + +\begin{thebibliography}{10} \expandafter\ifx\csname url\endcsname\relax \def\url#1{\texttt{#1}}\fi \expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi + +\bibitem{DebryPerucca} +\textsc{Debry, C. - Perucca, A.}: \emph{Reductions of algebraic integers}, J. Number Theory, {\bf 167} (2016), 259--283. + +\bibitem{PeruccaSgobba} +\textsc{Perucca, A. - Sgobba, P.}: \emph{Kummer Theory for Number Fields}, preprint. + +\end{thebibliography} + +\end{document} +\ No newline at end of file