<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>
<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>
<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
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^)/ )
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.