Macaulay2 » Documentation
Packages » MultiprojectiveVarieties » RationalMap » rationalMap
next | previous | forward | backward | up | index | toc

rationalMap -- the multi-rational map defined by a list of rational maps

Description

This is the basic constructor for the class RationalMap. It is mainly useful when the maps $\Phi_i$ are already available as legacy rational maps, for instance because they have been obtained using the package Cremona. Otherwise, it is usually more convenient to use Hom, which takes as input directly the defining forms (see defining a multi-rational map with Hom), or one of the shortcuts.

i1 : R = ring PP_(ZZ/65521)^{2,1};
i2 : f = legacyRationalMap for i to 3 list random({1,1},R);

o2 : LegacyMultihomogeneousRationalMap (rational map from PP^2 x PP^1 to PP^3)
i3 : g = legacyRationalMap(for i to 4 list random({0,1},R),Dominant=>true);

o3 : LegacyMultihomogeneousRationalMap (dominant rational map from PP^2 x PP^1 to curve in PP^4)
i4 : h = legacyRationalMap for i to 2 list random({1,0},R);

o4 : LegacyMultihomogeneousRationalMap (rational map from PP^2 x PP^1 to PP^2)
i5 : Phi = rationalMap {f,g,h}

o5 = Phi

o5 : RationalMap (rational map from PP^2 x PP^1 to sixfold in PP^3 x PP^4 x PP^2)
i6 : describe Phi -- long description

o6 = rational map between projective varieties
     represented by 3 tuples of homogeneous polynomials of degrees ((1,1),(0,1),(1,0))
     source variety: PP^2 x PP^1
     target variety: complete intersection in PP^3 x PP^4 x PP^2 of type (0,1,0)^3 
     base locus: empty subscheme of PP^2 x PP^1
     dominance: false
     image: threefold in PP^3 x PP^4 x PP^2 cut out by 14 hypersurfaces of multi-degrees (0,1,0)^3 (1,0,2)^4 (1,1,1)^6 (1,3,0)^1 
     multidegree: {3, 6, 12, 24}
     degree: 1
     degree sequence (map 1/3): [(1,1)]
     degree sequence (map 2/3): [(0,1)]
     degree sequence (map 3/3): [(1,0)]
     coefficient ring: ZZ/65521
i7 : ? Phi -- short description

o7 = rational map between projective varieties
     represented by 3 tuples of homogeneous polynomials of degrees ((1,1),(0,1),(1,0))
     source variety: PP^2 x PP^1
     target variety: complete intersection in PP^3 x PP^4 x PP^2 of type (0,1,0)^3 
     base locus: empty subscheme of PP^2 x PP^1
     dominance: false
     image: threefold in PP^3 x PP^4 x PP^2 cut out by 14 hypersurfaces of multi-degrees (0,1,0)^3 (1,0,2)^4 (1,1,1)^6 (1,3,0)^1 
     multidegree: {3, 6, 12, 24}
     degree: 1
i8 : X = projectiveVariety R;

o8 : ProjectiveVariety, PP^2 x PP^1
i9 : Phi;

o9 : RationalMap (morphism from X to sixfold in PP^3 x PP^4 x PP^2)
i10 : Y = target Phi;

o10 : ProjectiveVariety, sixfold in PP^3 x PP^4 x PP^2
i11 : Phi;

o11 : RationalMap (morphism from X to Y)
i12 : Z = (image rationalMap {f,g}) ** target h;

o12 : ProjectiveVariety, fivefold in PP^3 x PP^4 x PP^2
i13 : Psi = rationalMap({f,g,h},Z)

o13 = Psi

o13 : RationalMap (rational map from X to Z)
i14 : assert(image Psi == image Phi)

The same map can be obtained with Hom, by passing directly the defining forms:

i15 : Phi' = (Hom(X,Y)) {entries f,entries g,entries h}

o15 = Phi'

o15 : RationalMap (rational map from X to Y)
i16 : assert(Phi' == Phi)

Caveat

Be careful when you pass the target Y as input, because it must be compatible with the maps but for efficiency reasons a full check is not done automatically. See check(RationalMap).

See also

Ways to use rationalMap:

  • rationalMap(List)
  • rationalMap(List,MultiprojectiveVariety)
  • rationalMap(RationalMap) -- see rationalMap(...,Dominant=>...) -- replace the target of a multi-rational map with its image
  • rationalMap(MultiprojectiveVariety,MultiprojectiveVariety) -- get the natural inclusion
  • rationalMap(EmbeddedProjectiveVariety,Tally,ZZ) -- see rationalMap(MultiprojectiveVariety,Tally) -- rational map defined by an effective divisor
  • rationalMap(MultiprojectiveVariety,Tally) -- rational map defined by an effective divisor
  • rationalMap(MultiprojectiveVariety,Tally,List) -- see rationalMap(MultiprojectiveVariety,Tally) -- rational map defined by an effective divisor
  • rationalMap(RationalMap,MultiprojectiveVariety) -- change the target of a multi-rational map
  • rationalMap(LegacyRationalMap) -- see shortcuts -- Some convenient shortcuts for multi-rational maps whose target is an embedded projective variety
  • rationalMap(MultiprojectiveVariety) -- see shortcuts -- Some convenient shortcuts for multi-rational maps whose target is an embedded projective variety
  • rationalMap(MultiprojectiveVariety,List) -- see shortcuts -- Some convenient shortcuts for multi-rational maps whose target is an embedded projective variety
  • rationalMap(MultiprojectiveVariety,ZZ) -- see shortcuts -- Some convenient shortcuts for multi-rational maps whose target is an embedded projective variety
  • rationalMap(MultiprojectiveVariety,ZZ,ZZ) -- see shortcuts -- Some convenient shortcuts for multi-rational maps whose target is an embedded projective variety

For the programmer

The object rationalMap is a method function with options.


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