Macaulay2 » Documentation
Packages » SimplicialComplexes :: isInjective(SimplicialMap)
next | previous | forward | backward | up | index | toc

isInjective(SimplicialMap) -- checks if a simplicial map is injective

Synopsis

Description

Checks if vertices map to unique vertices.

The inclusion of a face is injective.

i1 : R = ZZ[a..f];
i2 : fish = simplicialComplex {a*b*c, b*c*d, d*e*f}

o2 = simplicialComplex | def bcd abc |

o2 : SimplicialComplex
i3 : R' = ZZ[x_0,x_1,x_2];
i4 : fishface = simplicialComplex {x_0*x_1*x_2}

o4 = simplicialComplex | x_0x_1x_2 |

o4 : SimplicialComplex
i5 : f = map(fish,fishface,{a,b,c})

o5 = | a b c |

o5 : SimplicialMap simplicialComplex | def bcd abc | <--- simplicialComplex | x_0x_1x_2 |
i6 : isInjective f

o6 = true

The identity map should always be injective.

i7 : isInjective id_fish

o7 = true
i8 : assert isInjective id_fish

Collapsing a triangle to an edge should not be injective.

i9 : f' = map(fish, fishface, {b,c,c})

o9 = | b c c |

o9 : SimplicialMap simplicialComplex | def bcd abc | <--- simplicialComplex | x_0x_1x_2 |
i10 : isInjective f'

o10 = false
i11 : assert not isInjective f'

See also

Ways to use this method: