Macaulay2 » Documentation
Packages » MatrixFactorizations :: isHomogeneous(ZZdFactorizationMap)
next | previous | forward | backward | up | index | toc

isHomogeneous(ZZdFactorizationMap) -- whether a map of ZZ/d-graded factorizations is homogeneous

Description

This method tests whether each component map $f_i \colon C_i \to D_{d+i}$ is homogeneous with its recorded internal degree, where $d$ is the homological degree of $f$. The internal degrees need not be zero or agree between components. To test for a specified internal degree, also inspect degree on each nonzero component matrix. The degree of $f$ itself is its homological degree, not an internal degree.

i1 : S = ZZ/101[a,b,c];
i2 : R = S/(a^2+b^2+c^2);
i3 : m = ideal vars R

o3 = ideal (a, b, c)

o3 : Ideal of R
i4 : C = tailMF m

      4      4      4
o4 = S  <-- S  <-- S
                    
     0      1      0

o4 : ZZdFactorization
i5 : D = tailMF (m^2)

      8      8      8
o5 = S  <-- S  <-- S
                    
     0      1      0

o5 : ZZdFactorization
i6 : assert isHomogeneous dd^C
i7 : f = randomFactorizationMap(C, C, Degree => -1)

          4         4
o7 = 1 : S  <----- S  : 0
               0

          4         4
     0 : S  <----- S  : 1
               0

o7 : ZZdFactorizationMap
i8 : f = randomFactorizationMap(C, C, InternalDegree => 2)

          4                                                                                                                                           4
o8 = 0 : S  <--------------------------------------------------------------------------------------------------------------------------------------- S  : 0
               {3} | 24a2-36ab-29b2-30ac+19bc+19c2  -28a2-47ab+2b2+38ac+16bc+22c2  -38a2+33ab+11b2+40ac+46bc-28c2 32a2-9ab-20b2-32ac+24bc-30c2   |
               {3} | -10a2-29ab-22b2-8ac-29bc-24c2  45a2-34ab-47b2-48ac+47bc+19c2  a2-3ab-47b2+22ac-23bc-7c2      -48a2-15ab+39ac+33bc-49c2      |
               {3} | -38a2-16ab+21b2+39ac+34bc+19c2 -16a2+7ab-23b2+15ac+39bc+43c2  2a2+29ab+15b2-47ac-37bc-13c2   -33a2-19ab-20b2+17ac+44bc-39c2 |
               {3} | -47a2-39ab-13b2-18ac-43bc-15c2 -17a2-11ab+36b2+48ac+35bc+11c2 -10a2+30ab+39b2-18ac+27bc-22c2 36a2+9ab+4b2-39ac+13bc-26c2    |

          4                                                                                                                                         4
     1 : S  <------------------------------------------------------------------------------------------------------------------------------------- S  : 1
               {4} | 22a2-49ab-8b2-11ac+43bc-8c2  -49a2-13ab+30b2+4ac-47bc+27c2  -22a2+10ab+30b2+7ac+13bc-17c2  -18a2+27ab+23b2-21ac-37bc-23c2 |
               {4} | 36a2-3ab-30b2-22ac+41bc+16c2 -40a2+37ab-31b2-35ac-39bc-31c2 -13a2+3ab+8b2-41ac+8bc-29c2    44a2-39ab+19b2+20ac-47c2       |
               {4} | -28a2-6ab-9b2+35ac-35bc+6c2  -48a2-29ab+30b2-48ac-37bc+47c2 30a2-46ab-18b2+49ac+42bc+23c2  -28a2+47ab+6b2-28ac-9bc-33c2   |
               {4} | 40a2+3ab+25b2-31ac-2bc-41c2  -49a2+28ab+46b2-18ac+bc+40c2   -28a2+15ab-16b2+18ac-46bc+12c2 28a2-29ab+5b2+26ac-37bc-33c2   |

o8 : ZZdFactorizationMap

Multiplication by a homogeneous ring element can have nonzero internal degree. Twisting the source makes it a degree-zero map.

i9 : f = S_0 * id_C

          4                       4
o9 = 0 : S  <------------------- S  : 0
               {3} | a 0 0 0 |
               {3} | 0 a 0 0 |
               {3} | 0 0 a 0 |
               {3} | 0 0 0 a |

          4                       4
     1 : S  <------------------- S  : 1
               {4} | a 0 0 0 |
               {4} | 0 a 0 0 |
               {4} | 0 0 a 0 |
               {4} | 0 0 0 a |

o9 : ZZdFactorizationMap
i10 : assert isHomogeneous f
i11 : assert all({0,1}, i -> degree f_i === {1})
i12 : g = map(C, C ** S^{-1}, f)

           4                       4
o12 = 0 : S  <------------------- S  : 0
                {3} | a 0 0 0 |
                {3} | 0 a 0 0 |
                {3} | 0 0 a 0 |
                {3} | 0 0 0 a |

           4                       4
      1 : S  <------------------- S  : 1
                {4} | a 0 0 0 |
                {4} | 0 a 0 0 |
                {4} | 0 0 a 0 |
                {4} | 0 0 0 a |

o12 : ZZdFactorizationMap
i13 : assert isHomogeneous g
i14 : assert all({0,1}, i -> degree g_i === {0})

The image of a homogeneous factorization under a nonhomogeneous ring map may fail to be homogeneous.

i15 : use S;
i16 : phi = map(S, S, {1,b,c})

o16 = map (S, S, {1, b, c})

o16 : RingMap S <-- S
i17 : D = phi C

       4      4      4
o17 = S  <-- S  <-- S
                     
      0      1      0

o17 : ZZdFactorization
i18 : dd^D

           4                          4
o18 = 1 : S  <---------------------- S  : 0
                {4} | 0  -b 1 -c |
                {4} | -1 -c 0 b  |
                {4} | -c 1  b 0  |
                {4} | b  0  c 1  |

           4                          4
      0 : S  <---------------------- S  : 1
                {3} | 0  -1 -c b |
                {3} | -b -c 1  0 |
                {3} | 1  0  b  c |
                {3} | -c b  0  1 |

o18 : ZZdFactorizationMap
i19 : assert not isHomogeneous dd^D

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/MatrixFactorizations/MatrixFactorizationsDOC.m2:3007:0.