Macaulay2 » Documentation
Packages » MatrixFactorizations :: ZZdFactorizationMap == ZZdFactorizationMap
next | previous | forward | backward | up | index | toc

ZZdFactorizationMap == ZZdFactorizationMap -- whether two ZZ/d-graded factorization maps are equal

Description

Two ZZ/d-graded factorization maps are equal if they have the same source, the same target, and $f_i = g_i$ for all $i$.

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 : f = id_C

          4                       4
o6 = 0 : S  <------------------- S  : 0
               {3} | 1 0 0 0 |
               {3} | 0 1 0 0 |
               {3} | 0 0 1 0 |
               {3} | 0 0 0 1 |

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

o6 : ZZdFactorizationMap
i7 : assert(f == 1)
i8 : f === id_C[-1][1]

o8 = false
i9 : f == id_C[-1][1]

o9 = true

A factorization map is equal to zero if all the maps are zero. This could require computation to determine if something that is superficially not zero is in fact zero.

i10 : assert(0 * id_C == 0)
i11 : use S;
i12 : E = koszulMF({a,b,c}, a^3 + b^3 + c^3)

       4      4      4
o12 = S  <-- S  <-- S
                     
      0      1      0

o12 : ZZdFactorization
i13 : g = randomFactorizationMap(E, E)

           4                                         4
o13 = 0 : S  <------------------------------------- S  : 0
                {0}  | 24           0   0   0   |
                {-1} | -36a-30b-29c -29 -16 34  |
                {-1} | 19a+19b-10c  -24 39  19  |
                {-1} | -29a-8b-22c  -38 21  -47 |

           4                                                         4
      1 : S  <----------------------------------------------------- S  : 1
                {0}  | -39          0   38         -48          |
                {-1} | -18a-13b-43c -47 2a+16b+22c -47a+47b+19c |
                {0}  | -15          0   45         -16          |
                {0}  | -28          0   -34        7            |

o13 : ZZdFactorizationMap
i14 : h = inducedMap(coker g, target g)

                                                             4
o14 = 0 : cokernel {0}  | 24           0   0   0   | <----- S  : 0
                   {-1} | -36a-30b-29c -29 -16 34  |    0
                   {-1} | 19a+19b-10c  -24 39  19  |
                   {-1} | -29a-8b-22c  -38 21  -47 |

                                                                             4
      1 : cokernel {0}  | -39          0   38         -48          | <----- S  : 1
                   {-1} | -18a-13b-43c -47 2a+16b+22c -47a+47b+19c |    0
                   {0}  | -15          0   45         -16          |
                   {0}  | -28          0   -34        7            |

o14 : ZZdFactorizationMap
i15 : assert(prune h == 0)

Testing whether a map is equal to 1 is a shorthand for determining if the complex map is the identity. Although the matrices may appear to be the identity, the map is not the identity when the source and target are not equal.

i16 : g = randomFactorizationMap(C, C, InternalDegree=>1, Cycle=>true)

           4                                                                  4
o16 = 0 : S  <-------------------------------------------------------------- S  : 0
                {3} | 33a-38b-31c  -14a+8b+14c  7a+28b-35c   -43a-5b-44c |
                {3} | -16a+23b-46c -36a-40b+40c -3a+24b+11c  48a+37b-5c  |
                {3} | -50a+36b+20c 20a+19b-23c  22a-23b+33c  15a-26b+28c |
                {3} | -11a-17b-13c 40a-16b+50c  -43a+25b-39c 11a+16b-40c |

           4                                                                4
      1 : S  <------------------------------------------------------------ S  : 1
                {4} | 22a-40b-40c 50a-37b+50c 20a-24b-13c  15a-23b+39c |
                {4} | -7a+16b-5c  33a+16b+40c 14a+25b-46c  43a-17b-11c |
                {4} | -3a-19b-44c 16a-26b+14c -36a-23b-31c 48a+36b+35c |
                {4} | -43a-8b-28c 11a-5b+23c  40a+28b-20c  11a-38b+33c |

o16 : ZZdFactorizationMap
i17 : h = inducedMap(coker g, target g)

                                                                                                    4
o17 = 0 : cokernel {3} | 33a-38b-31c  -14a+8b+14c  7a+28b-35c   -43a-5b-44c | <------------------- S  : 0
                   {3} | -16a+23b-46c -36a-40b+40c -3a+24b+11c  48a+37b-5c  |    {3} | 1 0 0 0 |
                   {3} | -50a+36b+20c 20a+19b-23c  22a-23b+33c  15a-26b+28c |    {3} | 0 1 0 0 |
                   {3} | -11a-17b-13c 40a-16b+50c  -43a+25b-39c 11a+16b-40c |    {3} | 0 0 1 0 |
                                                                                 {3} | 0 0 0 1 |

                                                                                                  4
      1 : cokernel {4} | 22a-40b-40c 50a-37b+50c 20a-24b-13c  15a-23b+39c | <------------------- S  : 1
                   {4} | -7a+16b-5c  33a+16b+40c 14a+25b-46c  43a-17b-11c |    {4} | 1 0 0 0 |
                   {4} | -3a-19b-44c 16a-26b+14c -36a-23b-31c 48a+36b+35c |    {4} | 0 1 0 0 |
                   {4} | -43a-8b-28c 11a-5b+23c  40a+28b-20c  11a-38b+33c |    {4} | 0 0 1 0 |
                                                                               {4} | 0 0 0 1 |

o17 : ZZdFactorizationMap
i18 : assert(h != 1)

Testing for equality is not the same testing for isomorphism. In particular, different presentations of a complex need not be equal.

i19 : D = prune image g

       4      4      4
o19 = S  <-- S  <-- S
                     
      0      1      0

o19 : ZZdFactorization
i20 : p = D.cache.pruningMap

                                                                                                 4
o20 = 0 : image {3} | 33a-38b-31c  -14a+8b+14c  7a+28b-35c   -43a-5b-44c | <------------------- S  : 0
                {3} | -16a+23b-46c -36a-40b+40c -3a+24b+11c  48a+37b-5c  |    {4} | 1 0 0 0 |
                {3} | -50a+36b+20c 20a+19b-23c  22a-23b+33c  15a-26b+28c |    {4} | 0 1 0 0 |
                {3} | -11a-17b-13c 40a-16b+50c  -43a+25b-39c 11a+16b-40c |    {4} | 0 0 1 0 |
                                                                              {4} | 0 0 0 1 |

                                                                                               4
      1 : image {4} | 22a-40b-40c 50a-37b+50c 20a-24b-13c  15a-23b+39c | <------------------- S  : 1
                {4} | -7a+16b-5c  33a+16b+40c 14a+25b-46c  43a-17b-11c |    {5} | 1 0 0 0 |
                {4} | -3a-19b-44c 16a-26b+14c -36a-23b-31c 48a+36b+35c |    {5} | 0 1 0 0 |
                {4} | -43a-8b-28c 11a-5b+23c  40a+28b-20c  11a-38b+33c |    {5} | 0 0 1 0 |
                                                                            {5} | 0 0 0 1 |

o20 : ZZdFactorizationMap
i21 : p == 1

o21 = false
i22 : assert(coker p == 0 and ker p == 0)
i23 : assert(prune p == 1)

See also

Ways to use this method:

  • RingElement == ZZdFactorizationMap
  • ZZ == ZZdFactorizationMap
  • ZZdFactorizationMap == RingElement
  • ZZdFactorizationMap == ZZ
  • ZZdFactorizationMap == ZZdFactorizationMap -- whether two ZZ/d-graded factorization maps are equal

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