Macaulay2 » Documentation
Packages » PushForward :: Hom(RingMap,Module,Module)
next | previous | forward | backward | up | index | toc

Hom(RingMap,Module,Module) -- pushed-forward module of homomorphisms

Description

Given a ring map $f \colon S \to R$, and $R$-modules $M$ and $N$, this computes the module of homomorphisms $\textrm{Hom}_R(M, N)$ as an $S$-module using the module structure induced by $f$.

In cases when $\textrm{Hom}_R(M, N)$ is an $R$-module - this includes the case when $R$ is a commutative ring - the computed module is isomorphic as an $S$-module to the push-forward of $\textrm{Hom}_R(M, N)$ along the map $f$.

i1 : kk = ZZ/7

o1 = kk

o1 : QuotientRing
i2 : R = kk[a..c, SkewCommutative => true]

o2 = R

o2 : PolynomialRing, 3 skew commutative variable(s)
i3 : f = map(R, kk)

o3 = map (R, kk, {})

o3 : RingMap R <-- kk
i4 : M = module ideal {a*b + c}

o4 = image | ab+c |

                             1
o4 : R-module, submodule of R
i5 : Hom(f, M, M)

o5 = image | 0 0 0  1 |
           | 0 0 -1 0 |
           | 0 1 0  0 |
           | 1 0 0  0 |
           | 0 0 0  0 |
           | 0 0 0  1 |
           | 0 0 0  0 |
           | 0 1 0  0 |
           | 0 0 0  0 |
           | 0 0 0  0 |
           | 0 0 0  1 |
           | 0 0 1  0 |
           | 0 0 0  0 |
           | 0 0 0  0 |
           | 0 0 0  0 |
           | 0 0 0  1 |

                               16
o5 : kk-module, submodule of kk

Given a matrix with $R$-coefficients representing an $R$-linear homomorphism, you can recover the corresponding element of $\textrm{Hom}_R(M, N)$ using the homomorphism'(RingMap,Matrix) method.

i6 : id_M

o6 = {2} | 1 |

o6 : Matrix M <-- M
i7 : homomorphism'(f, id_M)

o7 = | 0 |
     | 0 |
     | 0 |
     | 1 |

o7 : Matrix

You can recover the matrix corresponding to an element of one of these Hom-modules using the homomorphism method just as in the usual Hom construction.

i8 : H = Hom(f, M, M)

o8 = image | 0 0 0  1 |
           | 0 0 -1 0 |
           | 0 1 0  0 |
           | 1 0 0  0 |
           | 0 0 0  0 |
           | 0 0 0  1 |
           | 0 0 0  0 |
           | 0 1 0  0 |
           | 0 0 0  0 |
           | 0 0 0  0 |
           | 0 0 0  1 |
           | 0 0 1  0 |
           | 0 0 0  0 |
           | 0 0 0  0 |
           | 0 0 0  0 |
           | 0 0 0  1 |

                               16
o8 : kk-module, submodule of kk
i9 : homomorphism H_0

o9 = {2} | c |

o9 : Matrix M <-- M
i10 : homomorphism H_1

o10 = {2} | b |

o10 : Matrix M <-- M
i11 : homomorphism H_2

o11 = {2} | -a |

o11 : Matrix M <-- M
i12 : homomorphism H_3

o12 = {2} | 1 |

o12 : Matrix M <-- M

Note that in this non-commutative case, one can get nonsensical results without pushing-forward.

i13 : h = homomorphism' id_M

o13 = 0

o13 : Matrix
i14 : assert(h == 0)

While it's main utility is in computing Hom over a non-commutative ring such as an exterior algebra, this method can be used in the commutative case as well.

i15 : kk = ZZ/13

o15 = kk

o15 : QuotientRing
i16 : R = kk[x, y] / ideal {y^2}

o16 = R

o16 : QuotientRing
i17 : S = kk[a]

o17 = S

o17 : PolynomialRing
i18 : f = map(R, S, {x^2})

                   2
o18 = map (R, S, {x })

o18 : RingMap R <-- S
i19 : I = ideal vars R

o19 = ideal (x, y)

o19 : Ideal of R
i20 : Hom(f, I, I/I^3)

o20 = subquotient (| 0 0 0 0 0 1 |, | a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |)
                   | 1 0 0 0 0 0 |  | 0 a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
                   | 0 0 1 0 0 0 |  | 0 0 a 0 0 0 0 0 0 0 0 0 0 0 0 0 |
                   | 0 1 0 0 0 0 |  | 0 0 0 a 0 0 0 0 0 0 0 0 0 0 0 0 |
                   | 0 0 0 0 0 0 |  | 0 0 0 0 a 0 0 0 0 0 0 0 0 0 0 0 |
                   | 0 0 0 0 0 1 |  | 0 0 0 0 0 a 0 0 0 0 0 0 0 0 0 0 |
                   | 0 0 0 0 0 0 |  | 0 0 0 0 0 0 a 0 0 0 0 0 0 0 0 0 |
                   | 0 0 1 0 0 0 |  | 0 0 0 0 0 0 0 a 0 0 0 0 0 0 0 0 |
                   | 0 0 0 0 0 0 |  | 0 0 0 0 0 0 0 0 a 0 0 0 0 0 0 0 |
                   | 0 0 0 1 0 0 |  | 0 0 0 0 0 0 0 0 0 a 0 0 0 0 0 0 |
                   | 0 0 0 0 0 1 |  | 0 0 0 0 0 0 0 0 0 0 a 0 0 0 0 0 |
                   | 0 0 0 0 1 0 |  | 0 0 0 0 0 0 0 0 0 0 0 a 0 0 0 0 |
                   | 0 0 0 0 0 0 |  | 0 0 0 0 0 0 0 0 0 0 0 0 a 0 0 0 |
                   | 0 0 0 0 0 0 |  | 0 0 0 0 0 0 0 0 0 0 0 0 0 a 0 0 |
                   | 0 0 0 0 0 0 |  | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a 0 |
                   | 0 0 0 0 0 1 |  | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a |

                                16
o20 : S-module, subquotient of S

In the commutative case, this module is isomorphic to the push-forward of the usual Hom-module along $f$.

i21 : H = pushFwd(f, Hom(I, I/I^3));
i22 : H' = Hom(f, I, I/I^3);
i23 : images = for i from 0 to numgens H - 1 list homomorphism'(f, homomorphism pushforward' H_{i});
i24 : phi = map(H', H, matrix {images})

o24 = | 0 0 1 0 0 0 |
      | 0 0 0 1 0 0 |
      | 1 0 0 0 0 0 |
      | 0 0 0 0 0 1 |
      | 0 0 1 0 1 0 |
      | 0 1 0 0 0 0 |

o24 : Matrix H' <-- H
i25 : assert(phi^-1 * phi == id_H)

As an implementation detail, this method computes $\textrm{Hom}_R(M, N)$ as a submodule of $\textrm{Hom}_S(f_*M, f_*N)$.

i26 : kk = ZZ/7;
i27 : R = kk[a..c, SkewCommutative => true];
i28 : f = map(R, kk);

o28 : RingMap R <-- kk
i29 : M = module ideal {a + b};
i30 : N = module ideal {a*b + c};
i31 : H = Hom(pushFwd(f, M), pushFwd(f, N));
i32 : inducedMap(H, Hom(f, M, N))

o32 = | 0 0  |
      | 0 -1 |
      | 0 -1 |
      | 1 0  |
      | 0 0  |
      | 0 0  |
      | 0 0  |
      | 0 1  |
      | 0 0  |
      | 0 0  |
      | 0 0  |
      | 0 0  |
      | 0 0  |
      | 0 0  |
      | 0 0  |
      | 0 0  |

o32 : Matrix

This method can be used to produce random homomorphisms between modules over skew-rings.

i33 : kk = ZZ/101;
i34 : R = kk[a..d, SkewCommutative => true];
i35 : f = map(R, kk);

o35 : RingMap R <-- kk
i36 : M = R^1/ ideal {a*b, c+d}

o36 = cokernel | ab c+d |

                             1
o36 : R-module, quotient of R
i37 : homomorphism random Hom(f, R^1, M)

o37 = | 24ad-36bd+29a-19b-30d+19 |

                    1
o37 : Matrix M <-- R

See also

Ways to use this method:

  • Hom(RingMap,Ideal,Ideal)
  • Hom(RingMap,Ideal,Module)
  • Hom(RingMap,Ideal,Ring)
  • Hom(RingMap,Module,Ideal)
  • Hom(RingMap,Module,Module) -- pushed-forward module of homomorphisms
  • Hom(RingMap,Module,Ring)
  • Hom(RingMap,Ring,Ideal)
  • Hom(RingMap,Ring,Module)
  • Hom(RingMap,Ring,Ring)

The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/PushForward/Hom-doc.m2:109:0.