Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/localizeringforhomalg/doc/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 5.9.2023 mit Größe 21 kB image not shown  

Quelle  chap5.html   Sprache: HTML

 
 products/Sources/formale Sprachen/GAP/pkg/localizeringforhomalg/doc/chap5.html


< version encoding>

<!DOCTYPEhtml PUBLIC/W3C0Strict
         ""://wwww3TR/DTD."java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GAP (LocalizeRingForHomalg) - Chapter 5: Examples</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="GAPDoc2HTML" />
<link rel="stylesheet" type="text/css" href="manual.css" />
<script src="manual.js" type="text/javascript"></script>
<script type="text/javascript">overwriteStyle();</script>
</head>
<body class="chap5"  onload="jscontent()">


<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chap4.html">4</a>  <a href="chap5.html">5</a

<div class="chlinkprevnexttop"> <a href="chap0.html">[Top of Book]</a>   <a href="chap0.html#contents">[Contents]</a>    <a href="chap4.html">[Previous Chapter]</a> <p>Here compute the() long homology sequence the functor< R,24R)<spanand  leftderived) appliedto exactsequence /> <br /> < classSimpleMath0-gt=R/2^2-alpha_1--&; M=R25 -alpha_2--&; _M=R/^3 -> <spanpjava.lang.StringIndexOutOfBoundsException: Index 340 out of bounds for length 340

<p id="mathjaxlink" class class>>spanspan="">R : ( GlobalR [ 2])<span>
<p><a id="X7A489A5D79DA9E5C" name="X7A489A5D79DA9E5C"></a></p>
<div class="ChapSects"><a href="chap5.html#X7A489A5D79DA9E5C">5 <span class="Heading">Examples</span></a>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap5.html#X8426A658837B4911">5.1 <span class="Heading">An Easy Polynomial Example</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap5.html#X7820475F7C884EA5">5.2 <span class="Heading">Hom(Hom(-,Z128),Z16)</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap5.html#X7CC8EA507E7AABA4">5.3 <span class="Heading">ResidueClass</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap5.html#X7958E7417BB312F0">5.4 <span class="Heading">Testing the Intersection Formula</span></a>
</span>
</div>
</div>

<h3>5 <span class="Heading">Examples</span></h3>

<p><a id="X8426A658837B4911" name="X8426A658837B4911"></a></p>

<h4>5.1 <span class="Heading">An Easy Polynomial Example</span></h4>

<p>The ground ring used in this example is <span class="SimpleMath">F_3[x,y]</span>. We want to see, how the different rings in this package can be used to localize at different points and how the results differ.</p>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">LoadPackage("RingsForHomalg");;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">F3xy := HomalgRingOfIntegersInSingular(3) * "x,y";;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">x1 := HomalgRingElement( "x+2", F3xy );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">y0 := HomalgRingElement( "y", F3xy );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">LoadPackage("LocalizeRingForHomalg");;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">R00 := LocalizeAtZero( F3xy );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">R10 := LocalizeAt( F3xy, [ x1, y0 ] );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">RMora := LocalizePolynomialRingAtZeroWithMora( F3xy );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">M := HomalgMatrix( "[\

<span class="GAPprompt">></span> <span class="GAPinput">       y^3+2*y^2+x+x^2+2*x*y+y^4+x*y^2, \</span>
<span class="GAPprompt">></span> <span class="GAPinput">       x*y^3+2*x^2*y+y^3+y^2+x+2*y+x^2, \</span>
<span class="GAPprompt">></span> <span class="GAPinput">       x^2*y^2+2*x^3+x^2*y+y^3+2*x^2+2*x*y+y^2+2*y\</span>
<span class="GAPprompt">></span> <span class="GAPinput">     ]", 1, 3, F3xy );;
<span class="GAPprompt">gap></span> <span class="GAPinput">LoadPackage( "Modules" );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">I := RightPresentation( M );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">M00 := HomalgLocalMatrix( M, R00 );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">M10 := HomalgLocalMatrix( M, R10 );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">MMora := HomalgLocalMatrix( M, RMora );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">I00 := RightPresentation( M00 );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">I10 := RightPresentation( M10 );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">IMora := RightPresentation( MMora );;</span>
</pre></div>

<p>This ring is able to compute a standard basis of the module.</p>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( IMora );</span>
GF(3)[x,y]_< x, y >/< (x+x^2-x*y-y^2+x*y^2+y^3+y^4)/1, (x-y+x^2+y^2-x^2*y+y^3+\
x*y^3)/1, (-y-x^2-x*y+y^2-x^3+x^2*y+y^3+x^2*y^2)/1 >
<span class="GAPprompt">gap></span> <span class="GAPinput">ByASmallerPresentation( IMora );</span>
<A cyclic torsion right module on a cyclic generator satisfying 2 relations>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( IMora );</span>
GF(3)[x,y]_< x, y >/< x/1, y/1 >
</pre></div>

<p>This ring recognizes, that the module is not zero, but is not able to find better generators.</p>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( I00 );</span>
GF(3)[x,y]_< x, y >/< (y^4+x*y^2+y^3+x^2-x*y-y^2+x)/1, (x*y^3-x^2*y+y^3+x^2+y^\
2+x-y)/1, (x^2*y^2-x^3+x^2*y+y^3-x^2-x*y+y^2-y)/1 >
<span class="GAPprompt">gap></span> <span class="GAPinput">ByASmallerPresentation( I00 );</span>
<A cyclic right module on a cyclic generator satisfying 3 relations>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( I00 );</span>
GF(3)[x,y]_< x, y >/< (y^4+x*y^2+y^3+x^2-x*y-y^2+x)/1, (x*y^3-x^2*y+y^3+x^2+y^\
2+x-y)/1, (x^2*y^2-x^3+x^2*y+y^3-x^2-x*y+y^2-y)/1 >
</pre></div>

<p>We are able to change the ring, to compute a nicer basis.</p>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">I00ToMora := RMora * I00;</span>
<A cyclic right module on a cyclic generator satisfying 3 relations>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( I00ToMora );</span>
GF(3)[x,y]_< x, y >/< (x+x^2-x*y-y^2+x*y^2+y^3+y^4)/1, (x-y+x^2+y^2-x^2*y+y^3+\
x*y^3)/1, (-y-x^2-x*y+y^2-x^3+x^2*y+y^3+x^2*y^2)/1 >
<span class="GAPprompt">gap></span> <span class="GAPinput">ByASmallerPresentation( I00ToMora );</span>
<A cyclic torsion right module on a cyclic generator satisfying 2 relations>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( I00ToMora );</span>
GF(3)[x,y]_< x, y >/< x/1, y/1 >
</pre></div>

<p>We are able to find out, that this module is actually zero.</p>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( I10 );</span>
GF(3)[x,y]_< x-1, y >/< (y^4+x*y^2+y^3+x^2-x*y-y^2+x)/1, (x*y^3-x^2*y+y^3+x^2+\
y^2+x-y)/1, (x^2*y^2-x^3+x^2*y+y^3-x^2-x*y+y^2-y)/1 >
<span class="GAPprompt">gap></span> <span class="GAPinput">ByASmallerPresentation( I10 );</span>
<A zero right module>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( I10 );</span>
0
</pre></div>

<p><a id="X7820475F7C884EA5" name="X7820475F7C884EA5"></a></p>

<h4>5.2 <<_< 2 >

<p>The="GAPprompt">gap></span><span class="GAPinput">Display R)<span

<p>Here we compute the (infinite) long exact homology sequence of the covariant functor <span class="SimpleMath">Hom(Hom(-,R/2^7R),R/2^4R)</span<;A cyclicleft presented 1  for cyclic>


<div class="example"><pre>
an=""gap;</span<spanclass">LoadPackage( LocalizeRingForHomalg" );/span
<span=GAPpromptgap/><spanGAPinput> =HomalgRingOfIntegersInExternalGAP
Z
<spanclassGAPprompt>>/pan < classGAPinput( GlobalR<span
<An external ring residing>
<span class class=">>/span> span class="GAPinputalpha1KernelEmb ;<span
<span class="GAPprompt">gapltA   left&;
Z_< 2 >
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( R );</span>
<A local ring>
<span class="GAPprompt">gap></span> <span classspanclass"GAPprompt">ap><> < class : ( alpha2<span
<A  left  presented 1 for generator;
<span class="GAPprompt">gap></span> <span class="[ 0. &;
&;A left presentedby for a  generator;
<span class="GAPprompt">gap></span> <span class="GAPinput">alpha2 class"gapgtGAPinput( seq</>
<A "homomorphism" ofspan="">></span> <span="GAPinput">K:LeftPresentation ( [27 ,   ;/>
<span class="GAPprompt">gap></> <span="GAPinput">: Kernel/>
<A cyclic left module presented by yet unknown relations for a cyclic generato\
r>
<span="g>s> < class="GAPinputalpha1KernelEmb;/>
<A monomorphism of left modules>
<span class="GAPprompt">gap></span> <span classltA  right odule a cyclic satisfying &;
<A "phism of left modules at degrees
[ .  ]gt
<span class="GAPprompt[ , 2 , ]>
<span class ="">&t;/ < class"> :=LongSequence( triangle )
true
<span class="GAPprompt">gap></span> <span class="GAPinput">K := LeftPresentation
<A cyclic left module presented by 1 relation for a cyclic generator>
<spanclass=GAPpromptg>> <span=""> : RightPresentation( HomalgMatrix( [24] R ) );<span
< cyclic module on cyclic  1>
<span class="GAPprompt">gap></span> <span class="GAPinput">triangle := LHomHom( 4, seq, K, [0. 14]gt
&;Anexact triangle  3morphisms left
[ 1, 2, 3, 1 ]>
<span="gap; lehs := LongSequence( triangle );

<Asequence 14morphismsof modules degrees  0.1 ]>
<span classjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
< classGAPprompt"gapgt;< =>("","&;=000.7 );<s>
[ 0n classGAPprompt&;<> span=GAPinputQxy HomalgFieldOfRationalsInDefaultCAS,";

<span class="GAPprompt">gap></span> <span class="GAPinput">IsExactSequence( lehs );</span>
true
</pre></div>

<p><a id="X7CC8EA507E7AABA4" name="X7CC8EA507E7AABA4"></a></p>

<h4>5.< class=GAPpromptgap/> <spanclass=GAPinputwmat: HomalgMatrixspan

<p>We classGAPpromptgt<span>< classGAPinput          [^3y2 ^-^2,y3y^ ,x^+^2]"


<div class="example">< over external>
< =GAPpromptgap</>< classGAPinput">(RingsForHomalg",&;= 000.7 );/span>
<spanclass"APprompt">gap><span< class"GAPinput"> :=HomalgFieldOfRationalsInDefaultCASy"
Q[x,y]
<span^-^+*^
<span class="GAPprompt">&<pre/div>
< classGAPprompt></span> <span class="GAPinput">          2, 2, Qxy)<span
<A 2 x 2 matrix overdiv class="example">pre
< ="GAPprompt">gap></span> <span class="GAPinput">ec: HomalgRingElement"x3x22y2,Qxy ;/>
-x^-^+*y2
</pre></div>

<p; left presented 2relations 2 generatorsgt


<div class="example"><pre>
<span=GAPprompt>&;/> <=GAPinput Modules);/pan
<span class="GAPprompt">gap></span> < 0 .2]&;
&;A left presented
<java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
<rightacycliccomplex   of modules degrees
[ 0 .. 2 ]>
<span class="GAPpromptthe map iscurrently representedby the 0 x matrix
--------- homology: 1
athomologydegree2
0xy^1x)
------------------------
(an empty 0 x 2 matrix)

the map is currently represented the 0 x2matrix
------------v------------
at homology degree: 1
Q[x,y]^(1 x 2)
-----------------^,x2
y^2,      x^*^-^,java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
x*y^2-y^3,0

----v------------
------------v------------
at homology degree: 0
Q[x,y]^(1 x 2)
---------------------Qx,]( x2java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
</pre></div>

<p>Try a localization of a residue class--------------


<div class="example"><pre>
<span class/pre></iv>
Q[x,y]/( -x^3-<> a localization a residue ringpjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( R1 );</span>
&t; residue ring
<span class="GAPprompt">gap></span>[,]( x^-^+*^ )
<A 2 x2 matrixover residue ringgt;
<span class="GAPprompt>gap;<span<spanclass">Display R1 );s>
< classGAPprompt>/> <pan="GAPinput">R10 := LocalizeAt R1/span
<pan="">&;</span <span="">          HomalgRingElement( x, R1 ),</span>
<span class="GAPprompt">></span> <span class="GAPinput">           HomalgRingElement( "y", R1 ) ]</span>
<span=GAPprompt"> >gapgt/span> <spanclass"">( "");/pan
<span=""gap;<spanspanGAPinputDisplay ;span
<A local ring>
<span">>
< class=>wmat10 : HomalgLocalMatrix( wmat R10 );

<A 2 x 2 matrix over a local ringgt
<span class="GAPprompt">gap></span> <span class="GAPinput">W10span="GAPprompt">></span> <span class="GAPinput">           HomalgRingElement( "y", R1  ]/span>
<A left module presented by 2 relations for 2 generators>
<span="GAPprompt">gapg;/>  =GAPinput :Resolution( ,W10 );<span
<A right acyclic classGAPprompt/> s classGAPinputDisplayR10;</>
[ 0 .. 2 ]>
<span class="GAPprompt">gap<A local ring>
-------------------------
at homology degree: 2
0
-------------------------
(an  0 x 2matrix

the map is <A 2 x 2 matrix o a local ring>
------------v------------
at degree 1
Q[x,y]/( x^3+x^2-2*lt forgenerators&t;
-------------------------
x*y^2+y^2,2*y^2,         
y^2,      y^4-2*y^3+2*y^2

modulo classGAPpromptgapgt < classGAPinputRes10 = (    );/>
/ |[ 1 ]|

the map islt;  acyclic containing  of modules degrees
--------java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
at homology degree: 0
Q[x,y]/( -----------------------
-------------------------
</pre</div

<pat degree 2


<div classexamplepre
<span class="an empty0x2matrix)
Q[x,y map currentlythe above0 x2matrix
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( R0 );</span>
<Alocal>
<span class=Qx,](x^3x22y2)&;|[  |, [y] gt1x )
&tA2 x2  over local ring;
<ptgt<><c=GAPinputR01= R0 /(ec R0<span>
Q[x,y]_ |1 ]|
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( R01 );</span>
<A residue class ring>
<span class="GAPprompt">gap map is represented  above x  matrix
<A 2 x 2 matrixhomology: 0
<span classx,y/ ^3^-*^ )_lt|[ ] y ]| >^(1 x2
<A left module/pre<div>
<span class=p aresidue ring a localization/>
<A right acyclic complex containing 2 morphisms of left modules at degrees
[ 0 .. 2 ]>
<span class="GAPprompt">java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
-------------------------
at class=>&t;/pan class">R0 : LocalizeAtZero( Qxy ;/span>
0
--------------
(an empty 0 x 2 matrix)

the map is currently represented by the above 0 x 2 matrix
-------
at homology&t;A local>
Q[x,y]_< x, y >/( >spanspan=GAPinputwmat0=R0 ;</span
-------------
y^3+y^2,2*y^2,   
0,      x*y^2-y^3
/ 1

modulo [ (x^3+x^2-2*y^2)/1 ]

the map is currently represented by the above 2 x 2 matrix
------------v------------
at homology degree: 0
Q[x,y]_< x, y >/( (x^3+x^2-2*y^2)/1 )^(1 x 2)
-spanclass="">gap;<spanspan="GAPinput"> := / ec );/span
</pre[,y]&; ,y gt;( -x^3-^2+2y^)/ )

<p><a id="X7958E7417BB312F0" name="X7958E7417BB312F0"></a></p>

<h4>5.4 <span class="Heading">Testing <span class="GAPprompt">gap></span> <sclass="GAPprompt"gapgt/span>< class=""GAPinput>Display( );<span

<p>We"GAPinput>mat01 := R01 * ;



<div class="example"><pre>
 
<span class="GAPprompt">gap>spanclass=""></> <spanclassGAPinputW01= LeftPresentationwmat01 )</>
<spanltA left presentedby2relations for 2  generators>
<spanclass"">gap>/span <pan classGAPinput>oadPackage "" );;<span>
<span class="GAPprompt">gap></span> <span class="GAPinput">R0 := LocalizePolynomialRingAtZeroWithMora&;A rightacycliccomplexcontaining2 morphisms of leftmodulesat
<span class="GAPprompt"<span ="GAPprompt">gap></span <<span class="GAPinput">Display( Res01 );</span>
<span class="GAPprompt">></span> <span class="GAPinput">       (w-x^2)*y, \</span>
<span class="GAPprompt">></span> <span class="GAPinput">       (w-x^2)*z, \</span>
<spanclass="GAPprompt">>></><spanclass"">(^2y, \</span>
<span class="GAPprompt">></span> <span class="GAPinput">       (x-w^2)*z  \</span>
<span class="GAPprompt">></span> <span class="GAPinput">     ]", 4, 1, R );;
<spanclass=GAPpromptgapgt<span< class="GAPinput"">2 = HomalgMatrix( "\</span>
<span class="GAPprompt">></span> <span class="GAPinput">       (w-x^2)-y, \</span>
<span class="GAPprompt">></span> <span class="GAPinput">       (x-w^2)-z  \</span>
<span="">><span <span class="GAPinput"     ],2 1, R )</>
<span class="GAPprompt">gap></span> <span class="GAPinput">LoadPackage( "Modules" );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">RmodI1 homology degree 1
<gap></spanspan class"GAPinput>RmodI2 :=LeftPresentation ));;span>
<span class="GAPprompt">gap></span> <span class="GAPinput">T:=Tor( RmodI1, RmodI2 );</span>
d homologyobject  of left modules at degrees  .. 3 ]&tjava.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
<span="GAPprompt">gap><span spanclass"">List ObjectsOfComplex( T) AffineDegree);</span>
[ 2, 4 , 0 ]
</pre></div>

<p>We read, that the intersection multiplicity is 12-4=8 globally.</p>


<div class="example"><pre>
<span class="GAPprompt">gap[xy]< x, y >/( (x^3+x^2-2*y^2)/1 )^(1 x 2)
<A 4 x 1 matrix over a local (Mora) ring>
<span class="GAPprompt">gap></span> <span class="GAPinput">M20-------------------
<A 2 x 1 matrix over a local (Mora) ring>
<span class="GAPprompt">gap></span> <span class="GAPinput">R0modI10 
<span class="GAPprompt">gap></span> <span class="GAPinput">R0modI20 
Pinput := Tor,R0modI20<span
<A graded homology object consisting
span="GAPprompt"gap;<span><spanclass="GAPinput">List( ObjectsOfComplex T0,AffineDegree ;</span>
[ 3< classexample<>
</pre></div>

<p>Theintersectionmultiplicity at zero 3-1=2</>


<div class="chlinkprevnextbot>html">[Top of Book]</a>   <a href="chap0.html#contents">>[Contents<a>&;   < href=chap4.html">PreviousChapter]nbsp; nbsp;a ref"chapA">[Next Chapter]]&;


<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href<pan ="GAPprompt">&;/> lassGAPinput> =LocalizePolynomialRingAtZeroWithMora );;</span>

<hr />
<p class="foot">generated by <spanclass"GAPprompt"gapgt;/span<span class"APinput"M1 : HomalgMatrix( "[
</body>
</html>

100%


¤ Dauer der Verarbeitung: 0.18 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.