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

randomFactorizationMap -- a random map of ZZ/d-graded factorizations

Description

A random ZZ/d-graded factorization map $f : C \to D$ is obtained from a random element in the ZZ/d-graded factorization $Hom(C,D)$.

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

o3 = ideal (a, b)

o3 : Ideal of R
i4 : C = tailMF m

      2      2      2
o4 = S  <-- S  <-- S
                    
     0      1      0

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

      3      3      3
o5 = S  <-- S  <-- S
                    
     0      1      0

o5 : ZZdFactorization
i6 : f = randomFactorizationMap(D,C)

          3                     2
o6 = 0 : S  <----------------- S  : 0
               {3} | 0 24  |
               {3} | 0 -36 |
               {3} | 0 -30 |

          3         2
     1 : S  <----- S  : 1
               0

o6 : ZZdFactorizationMap
i7 : assert isWellDefined f
i8 : assert not isCommutative f

When the random element in the factorization $Hom(C,D)$ lies in the kernel of the differential, the associated map of complexes commutes with the differential.

i9 : g = randomFactorizationMap(D,C, Cycle => true, InternalDegree => 2)

          3                                       2
o9 = 0 : S  <----------------------------------- S  : 0
               {3} | -3a-10b -29a2-10ab-30b2 |
               {3} | 8b      19a2-39ab-10b2  |
               {3} | 48a+19b -29a2-27ab-14b2 |

          3                                2
     1 : S  <---------------------------- S  : 1
               {5} | -3a+14b -29a+19b |
               {5} | -30b    -19a+10b |
               {5} | 48a-10b -29a-8b  |

o9 : ZZdFactorizationMap
i10 : assert isWellDefined g
i11 : assert isCommutative g
i12 : assert isFactorizationMorphism g

Assume that $C$ and $D$ are factorizations of the same potential. Then the factorization $Hom(C,D)$ is actually a ZZ/d-graded complex. In period $p$, boundaries are sampled from the image of the $(p-1)$st power of the Hom differential. They are cycles and give null-homotopic maps. In period two this is the image of a single differential.

i13 : h = randomFactorizationMap(D,C, Boundary => true)

           3         2
o13 = 0 : S  <----- S  : 0
                0

           3         2
      1 : S  <----- S  : 1
                0

o13 : ZZdFactorizationMap
i14 : assert isWellDefined h
i15 : assert isCommutative h
i16 : assert isFactorizationMorphism h

When the degree of the random element in the factorization $Hom(C,D)$ is non-zero, the associated map of factorizations has the same degree.

i17 : p = randomFactorizationMap(D, C, Cycle => true, Degree => 1)

           3         2
o17 = 1 : S  <----- S  : 0
                0

           3         2
      0 : S  <----- S  : 1
                0

o17 : ZZdFactorizationMap
i18 : assert isWellDefined p
i19 : assert isCommutative p
i20 : assert not isFactorizationMorphism p
i21 : assert(degree p === 1)

By default, the random element is constructed as a random linear combination of the basis elements in the appropriate degree of $Hom(C,D)$. Given an internal degree, the random element is selected in that degree of the normalized Hom module. For even maps between period-two factorizations whose differential degrees are $0,w$, this is also the internal degree of every nonzero component matrix.

i22 : q = randomFactorizationMap(D, C, Boundary => true, InternalDegree => 2)

           3                                       2
o22 = 0 : S  <----------------------------------- S  : 0
                {3} | 21a+47b 16a2+39ab+5b2   |
                {3} | 34a+39b -23a2-38ab-28b2 |
                {3} | 19a+18b 21a2-16ab-44b2  |

           3                               2
      1 : S  <--------------------------- S  : 1
                {5} | 21a+44b 16a+18b |
                {5} | -34a+5b 23a-47b |
                {5} | 19a-28b 21a-39b |

o22 : ZZdFactorizationMap
i23 : assert all({0,1,2}, i -> degree q_i === {2})
i24 : assert isHomogeneous q
i25 : assert isWellDefined q
i26 : assert isCommutative q
i27 : assert isFactorizationMorphism q
i28 : source q === C

o28 = true
i29 : target q === D

o29 = true

Odd maps between those factorizations have component degrees $a$ and $a-w$ when InternalDegree is $a$. Thus homogeneity does not require the component degrees to agree. For other homogeneous differential profiles, the degrees are determined by the twists described in Hom(ZZdFactorization,ZZdFactorization). An explicit internal degree requires compatible homogeneous differential profiles; otherwise this method reports an error.

i30 : r = randomFactorizationMap(D, C, Cycle => true, Degree => 1, InternalDegree => 3)

           3                            2
o30 = 1 : S  <------------------------ S  : 0
                {5} | 47  43a-50b  |
                {5} | -13 -28a-43b |
                {5} | 15  -38a-26b |

           3                                 2
      0 : S  <----------------------------- S  : 1
                {3} | -47a+43b -43a-13b |
                {3} | -13a+26b -28a+15b |
                {3} | -15a-50b 38a-47b  |

o30 : ZZdFactorizationMap
i31 : assert isHomogeneous r
i32 : assert isCommutative r
i33 : assert all({0,1}, i -> r_i == 0 or degree r_i === if i == 0 then {3} else {0})
i34 : assert(homomorphism homomorphism' r == r)

See also

Ways to use randomFactorizationMap:

  • randomFactorizationMap(ZZdFactorization,ZZdFactorization)

For the programmer

The object randomFactorizationMap is a method function with options.


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