Macaulay2 » Documentation
Packages » CanonicalMaps :: coimageMap
next | previous | forward | backward | up | index | toc

coimageMap -- canonical map associated to a coimage object

Description

The coimage of a map $f \colon M \to N$ of $R$-modules is an object $C := \operatorname{Coimage}(f)$, together with the epimorphism $e \colon M \to C$ and the map $g \colon C \to N$, such that the following two properties hold: (1) $f = g \circ e$, and (2) for any epimorphism $h \colon M \to L$ and any map $i \colon L \to N$ such that $f = i \circ h$, there exists a unique map $u \colon L \to C$ such that $e = u \circ h$ and $i = g \circ u$.

We illustrate the coimage map using a homomorphism of abelian groups.

i1 : f = matrix {{2, 0}, {0, 3}, {1, 4}}

o1 = | 2 0 |
     | 0 3 |
     | 1 4 |

              3       2
o1 : Matrix ZZ  <-- ZZ
i2 : (g,e) = coimageMap f

o2 = (| 2 0 |, | 1 0 |)
      | 0 3 |  | 0 1 |
      | 1 4 |

o2 : Sequence
i3 : assert(isWellDefined g and isWellDefined e and f === g * e)
i4 : assert(coker e == 0)
i5 : assert(source e === source f)
i6 : assert(target e === coimage f)
i7 : h = matrix {{0, 1}, {1, 4}}

o7 = | 0 1 |
     | 1 4 |

              2       2
o7 : Matrix ZZ  <-- ZZ
i8 : i = matrix {{-8, 2}, {3, 0}, {0, 1}}

o8 = | -8 2 |
     | 3  0 |
     | 0  1 |

              3       2
o8 : Matrix ZZ  <-- ZZ
i9 : assert(f === i * h and cokernel h == 0)
i10 : u = coimageMap(i, h, f)

o10 = | -4 1 |
      | 1  0 |

               2       2
o10 : Matrix ZZ  <-- ZZ
i11 : assert(e === u * h and i === g * u)
i12 : assert(source u === target h)
i13 : assert(target u === target e)

The coimage of $f$ is isomorphic to the cokernel of the kernel map of $f$, but the isomorphism is typically non-trivial, as the generators of a kernel are not canonically defined. Moreover, the epimorphism $e$ arises from the universal property of the cokernel applied to the kernel map of $f$.

i14 : assert(coimage f == cokernel kernelMap f)
i15 : v = cokernelMap(f, kernelMap f)

o15 = | 2 0 |
      | 0 3 |
      | 1 4 |

               3       2
o15 : Matrix ZZ  <-- ZZ
i16 : assert(source v === cokernel kernelMap f)
i17 : j = map(source v, target e, ((generators target e) // (generators source v)))

o17 = | 1 0 |
      | 0 1 |

               2       2
o17 : Matrix ZZ  <-- ZZ
i18 : assert(kernel j == 0 and coker j == 0)
i19 : assert(v * j * e === f)

In this example, the isomorphism $j$ between the cokernel of the kernel map and the coimage is the identity.

For a second example, we work over a quotient of a polynomial ring.

i20 : R = QQ[a,b,c,d]/(a*d-b*c);
i21 : f = map(R^2,, matrix{{a,b},{c,d}})

o21 = | a b |
      | c d |

              2      2
o21 : Matrix R  <-- R
i22 : (g,e) = coimageMap f

o22 = (| a b |, {1} | 1 0 |)
       | c d |  {1} | 0 1 |

o22 : Sequence
i23 : assert(isWellDefined g and isWellDefined e and f === g * e)
i24 : assert(coker e == 0)
i25 : assert(source e === source f)
i26 : assert(target e === coimage f)
i27 : h = R^{{-1}} ** matrix {{1_R, 3}, {2, 7}}

o27 = {1} | 1 3 |
      {1} | 2 7 |

              2      2
o27 : Matrix R  <-- R
i28 : assert(source h === source f)
i29 : i = matrix {{7*a-2*b, -3*a+b}, {7*c-2*d, -3*c+d}}

o29 = | 7a-2b -3a+b |
      | 7c-2d -3c+d |

              2      2
o29 : Matrix R  <-- R
i30 : assert(f === i * h and cokernel h == 0)
i31 : u = coimageMap(i, h, f)

o31 = {1} | 7  -3 |
      {1} | -2 1  |

o31 : Matrix
i32 : assert(e === u * h and i === g * u)
i33 : assert(source u === target h)
i34 : assert(target u === target e)

In this example, the isomorphism $j$ between the cokernel of the kernel map and the coimage is the identity.

i35 : assert(coimage f == cokernel kernelMap f)
i36 : v = cokernelMap(f, kernelMap f)

o36 = | a b |
      | c d |

o36 : Matrix
i37 : assert(source v === cokernel kernelMap f)
i38 : j = map(source v, target e, ((generators target e) // (generators source v)))

o38 = {1} | 1 0 |
      {1} | 0 1 |

o38 : Matrix
i39 : assert(kernel j == 0 and coker j == 0)
i40 : assert(v * j * e === f)

See also

Ways to use coimageMap:

  • coimageMap(Matrix)
  • coimageMap(Matrix,Matrix,Matrix)

For the programmer

The object coimageMap is a method function.


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