Macaulay2 » Documentation
Packages » NongeneralTypeSurfacesInP4 :: testMatrix1
next | previous | forward | backward | up | index | toc

testMatrix1 -- test whether a 3x4 matrix with entries over the exterior algebra leads to an Abo surface

Description

In the Tate resolution of Abo surfaces, there are linear 3x1 and linear 3x4 matrices. We assume that the matrix m3x1 is the transpose of matrix{{e_0,e_1,e_2}}. Whether the given m3x4 matrix together with the m3x1 matrix leads to a smooth surface can be tested with testMatrix1. We need that r1>5.

i1 : kk=ZZ/19;
i2 : P4=kk[x_0..x_4];
i3 : E=kk[e_0..e_4,SkewCommutative=>true];
i4 : m3x1 = transpose matrix{{E_0,E_1,E_2}}

o4 = {-1} | e_0 |
     {-1} | e_1 |
     {-1} | e_2 |

             3      1
o4 : Matrix E  <-- E
i5 : m3x4 = matrix {{2*e_0-6*e_1-5*e_2+e_3, -4*e_0+9*e_1+8*e_2+6*e_4, -6*e_0+6*e_1-5*e_2-2*e_3-2*e_4,
        4*e_0-8*e_1-7*e_2+2*e_3-2*e_4}, {7*e_0-8*e_1-5*e_2-4*e_3, 9*e_0-4*e_1+9*e_2-8*e_4,
        e_0-8*e_1+8*e_2-5*e_3-5*e_4, -4*e_0+2*e_1-6*e_2+5*e_3-5*e_4}, {e_0+5*e_1+3*e_2+e_3,
        e_0-8*e_1-6*e_2-9*e_4, 5*e_0+6*e_1-8*e_2+e_3+e_4, -e_0-9*e_1+8*e_2+6*e_3-6*e_4}}

o5 = | 2e_0-6e_1-5e_2+e_3  -4e_0+9e_1+8e_2+6e_4 -6e_0+6e_1-5e_2-2e_3-2e_4
     | 7e_0-8e_1-5e_2-4e_3 9e_0-4e_1+9e_2-8e_4  e_0-8e_1+8e_2-5e_3-5e_4
     | e_0+5e_1+3e_2+e_3   e_0-8e_1-6e_2-9e_4   5e_0+6e_1-8e_2+e_3+e_4
     4e_0-8e_1-7e_2+2e_3-2e_4  |
     -4e_0+2e_1-6e_2+5e_3-5e_4 |
     -e_0-9e_1+8e_2+6e_3-6e_4  |

             3      4
o5 : Matrix E  <-- E
i6 : elapsedTime r1=testMatrix1(m3x4,P4)

o6 = 6
i7 : elapsedTime r2=testMatrix2(m3x4,P4)

o7 = 1
i8 : r1==r2+5

o8 = true

The matrix m3x4 gives rize to a surface if r1>5. Notice that testMatrix1 is faster than testMatrix2. For a general 3x4 matrix, we have r1=5.

i9 : setRandomSeed("really general");
i10 : m3x4g=random(E^3,E^{4:-1});

              3      4
o10 : Matrix E  <-- E
i11 : testMatrix1(m3x4g,P4)==5

o11 = true

The matrix m3x4 does not determine the surface:

i12 : setRandomSeed("get twice a smooth surface");
i13 : X=aboSurfaceFromMatrix(m3x4,P4);

o13 : Ideal of P4
i14 : saturate ideal singularLocus(P4/X)

o14 = ideal 1

o14 : Ideal of P4
i15 : X = aboSurfaceFromMatrix(m3x4,P4);

o15 : Ideal of P4
i16 : X' = aboSurfaceFromMatrix(m3x4,P4);

o16 : Ideal of P4
i17 : X==X'

o17 = false

However the canonical divisors coincide:

i18 : D = canonicalDivisor X;

o18 : Ideal of P4
i19 : betti D

             0  1
o19 = total: 1 19
          0: 1  .
          1: .  .
          2: .  .
          3: . 16
          4: .  3

o19 : BettiTally
i20 : D' = canonicalDivisor X';

o20 : Ideal of P4
i21 : D==D'

o21 = true

See also

Ways to use testMatrix1:

  • testMatrix1(Matrix,Ring)

For the programmer

The object testMatrix1 is a method function with options.


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