<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>The following example is taken from Section 2 of <a href="chapBib.html#biBBREACA">[BR06]</a>. <br /> <br /> The computation takes place over the local ring <span class="SimpleMath">R=ℤ_⟨ 2⟩</span> (i.e. ℤ localized at the maximal ideal generated by <span class="SimpleMath">2</span>).</p>
H we infinite exact of covariant spanclass="SimpleMath">Hom(Hom(-,R/2^7)R/^4R)<> (andits functors the short <brspan="SimpleMath"> -; M_2 -alpha_1--gt/25-alpha_2--gtR/R>0/>.</>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">LoadPackage( "LocalizeRingForHomalg" );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">GlobalR := HomalgRingOfIntegersInExternalGAP( );</span>
Z
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( GlobalR );</span>
<An external ring residing in the CAS GAP>
<span class="GAPprompt">gap></span> <span class="GAPinput">LoadPackage( "RingsForHomalg" );;</span>
<span="GAPprompt"gap;</span>< classGAPinput:LocalizeAt ,[ ;/spanjava.lang.StringIndexOutOfBoundsException: Range [104, 105) out of bounds for length 104
;
class>span(R )/>
<A local ring>
<span class="GAPprompt">gap></span> <span class="GAPinput">M := LeftPresentation( HomalgMatrix( [ 2^5 ], R ) );</span>
<A cyclic left module presented by 1 relation for a cyclic generator>
<span class="GAPprompt">gap></span> <span class="GAPinput">_M := LeftPresentation( HomalgMatrix( [ 2^3 ], R ) );</span>
lt module byrelation a generator;
<span class="GAPprompt">gap></span> <span class="GAPinput">alpha2 := HomalgMap( HomalgMatrix( [
< class"GAPprompt>>/span> < class="GAPinputLoadPackage"LocalizeRingForHomalg;<>
<span class="GAPpromptspan class"">>;
< ="">apgt;</pan>span="">Display );/>
r;
<span=GAPpromptgap<< classGAPinput"> := KernelEmb( alpha2)>
<Amonomorphismof modulesgtjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
< class=GAPprompt>;<spanspan="GAPinput">seq=HomalgComplex );/>
<A "complex" containing a single morphism of; cyclicmodule by relation a cyclic>
[ 0 .1]gt
<span class="GAPprompt">gap></span&tA cyclic modulepresented 1 relationcyclic>
<spanclass="GAPprompt>&;/pan >IsShortExactSequence );<span
true
< classGAPprompt>gap classGAPinputK = LeftPresentation(HomalgMatrix[^ ],R))<span
<;/spanspan class">_ =Kernel( alpha2 );
<span class class=GAPprompt>ap;/panspanclassGAPinput"> := KernelEmb( alpha2 );
&;cyclicm on generator 1relationgt
<span class="GAPprompt">gap></span> of modules
<An exact triangle containing 3 morphisms of left complexes at degrees 0 .1];
1,,3 1
<spanclass"GAPprompt>gap&t;span>GAPinputlehs LongSequencetriangle;span
java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 81
<span class="">ap;</span classGAPinputL=RightPresentation(HomalgMatrix[ ^4 ,/>
<A non-zero;A rightmodule a generatorsatisfying1relation&;
.14 &;
<span class="GAPprompt">gap></span> <span class="GAPinput"ltAn exacttriangle containing of complexes at degrees
true class="GAPprompt">
<lt; containing morphisms left atdegrees[ . 4]
< class"><>
<span class="span class"=( -^-^+*^" );
<span class="GAPprompt">gap></span> <span classx^x22*^
t;Aleft module by relations for generators&;
<span
<A right acyclic complex containing 2 morphisms class=GAPprompt"gapgt">LoadPackage("" ;>
[0. ]gt
<span class="GAPprompt">gap></lt module by 2 relations for 2 generators>
-------------------------
at homology degree: 2
0
-------------------------
(an;A right acyclic complex containing2morphisms left atdegrees
the currently byabove 2matrix
------------v------------
at degree homology degree: 2
[,]( 2
-----currently by above java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
y2 ^,
xy2y30
the map is currently represented by the above 2 x 2 matrix
---------
at homology degree)
[,^1 )
-----------java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
<prediv
pTry of class:</>
<div class="example"><pre>
<span class="&tA class ring>
Qxy/ -x^x22y2 a class>
<=GAPprompt>/> <span ="GAPinput">(R1;</pan
<A span="GAPprompt">gap;</pan< class= LocalizeAt( ,</>
<span s classGAPprompt>span> classGAPinput [HomalgRingElement ""java.lang.StringIndexOutOfBoundsException: Index 106 out of bounds for length 106
<A 2 x 2 matrix over a residue class ring>< class"">spanclass"> );
< classGAPpromptgap&;</ class=GAPinputLoadPackage"LocalizeRingForHomalg );>
<span class="GAPprompt">gap></span class"GAPprompt>>/> < class="">( R10 )
<span class="span class=GAPprompt"gap;/panspan="GAPinput"wmat10=HomalgLocalMatrix,R10/&;
< class)<span
<span class="GAPprompt">></span> <span class="GAPinput"> );</span>
Q[x,y]/( x^3+x^2-2*y^2 )_< |[ x ]|, class>gap&t</span<spanclass"">Res10= Resolution 2 W10/>
<span="GAPprompt">gap><span<pan="">( R10 )</span
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
<spanan emptyx 2 )
ver
<span homology:1
&;A left module presented by 2 relationsfor 2 generators&tjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
<span="GAPprompt">></span> span="">Res10:=Resolution 2,W10;<span
<Aright complexcontaining 2morphisms leftmodules at
[ 0 .. 2 ]>------v------------
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( Res10 );</span>
---></>
homology:
0
------------div="example"><>
(an )
the is represented by the
------------v------------
atlt; ring;
Qxy/ 3+^-*^ _lt |[x]|,| |&;^( 2
--------------&; 2 x 2matrix a local >
x*y^2+y^2,2*y^2,
y^2, y^4-2*y^3+2*y^2
modulo [ x^3+x^2-2*y">gap&;/span span lass="> : / );/span
/| 1]java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
the currently bythe 2 2
------------v------------
at degree
Q[x,](x3x22y2 )&; | x]|, |[]^1 )
-------------------------
</></div
<p>Try class oflocalization:<pjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
<div class="example"><pre>
<spanclass=GAPprompt"gap&t>gap&-------v------------
&t; ring
gap;</> < class"">wmat0 : R0 *wmat>
<A 2 x 2 matrix over a local ring-------------java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
< classGAPprompt>/> < classGAPinputR01 R0 ( / R0;</>
Q[x_ltx &;/(3-x2+*y21java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
<span class>&;<span> span=""Display R01/>
<A residue
<span class="GAPprompt">gap></span> <span class="">mat01 *wmat0span
<A 2 x 2 matrix over a residue
< classGAPpromptgap>span =""> :=( wmat01 ;span
< module 2generators;
<span =GAPpromptgap&;</><pan="">(LocalizeRingForHomalg/>
lt 2morphismsof degrees
[ 0 .. 2 ]>
<class;> spanjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 86
-------------------------
at homology degree ="gt;/span span =GAPinput x-w2*,<>
0
-------------------------
(an empty 0 x 2 matrix ="">&;/> span=GAPinput>:HomalgMatrix[<spanjava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
the map is classGAPprompt;/><spanclass>" 2);;spanjava.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
------------v------------
at:
Q[x,y]_< x, y >/([x,y]_< x, y >/( gt<span<="RmodI2 (M2 ;;/java.lang.StringIndexOutOfBoundsException: Index 103 out of bounds for length 103
-------------------------
y^3+y^2,2*<A grade objectconsisting 4leftmodules at [0. &t;
0, x*y^2-y^3
/ 1
the1,,00java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
------------v------------
at
Q,_java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
------------java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
</pre></div>
¤ 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.0.29Bemerkung:
¤
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.