Macaulay2 » Documentation
Packages » PencilsOfQuadrics :: LabBookProtocol
next | previous | forward | backward | up | index | toc

LabBookProtocol -- returns commands that lead to a construction of an Ulrich bundle

Description

Our function searchUlrich produces Ulrich bundles of rank r in principle. However some of the computations take lot of time. We break this approach for small (g,r) into parts and protocol the command and the timings.

i1 : g=3

o1 = 3
i2 : LabBookProtocol(g)
o2 =
  g=3
  kk=ZZ/101;
  elapsedTime (S,qq,R,u,M1,M2,Mu1,Mu2)=randomNicePencil(kk,g);
  P=kk[drop(gens S,-2)]
  M=cliffordModule(Mu1,Mu2,R);
  Mor = vectorBundleOnE M.evenCenter;
  Mor1= vectorBundleOnE M.oddCenter;
  f = M.hyperellipticBranchEquation;
  assert(dim (ideal f + ideal jacobian ideal f) == 0);
  elapsedTime while (
      m1=randomLineBundle(g+(g%2),f);
      m2=randomLineBundle(g%2,f);
      m12=randomExtension(m1.yAction,m2.yAction);
      V = vectorBundleOnE m12;
      Ul=tensor(Mor,V);
      Ul1=tensor(Mor1,V);
      d0=unique degrees target Ul.yAction;
      d1=unique degrees target Ul1.yAction;
      #d1 >=3 or #d0 >=3) do ();
  betti Ul.yAction, betti Ul1.yAction
  elapsedTime Ul = tensor(M,V); -- the heaviest part computing the actions of generators
  M1Ul=sum(#Ul.oddOperators,i->S_i*sub(Ul.oddOperators_i,S));
  r=2
  Ulrich := M1Ul^{r*2^g..(2*r)*2^g-1};
  Ulr=coker map(S^(r*2^g),,Ulrich);
  minimalBetti Ulr
i3 : g=3

o3 = 3
i4 : kk= ZZ/101;
i5 : elapsedTime (S,qq,R,u,M1,M2,Mu1,Mu2)=randomNicePencil(kk,g);
i6 : P=kk[drop(gens S,-2)]

o6 = P

o6 : PolynomialRing
i7 : M=cliffordModule(Mu1,Mu2,R);
i8 : Mor = vectorBundleOnE M.evenCenter;
i9 : Mor1= vectorBundleOnE M.oddCenter;
i10 : f = M.hyperellipticBranchEquation;
i11 : assert(dim (ideal f + ideal jacobian ideal f) == 0);
i12 : elapsedTime while (
    m1=randomLineBundle(g+(g%2),f);
    m2=randomLineBundle(g%2,f);
    m12=randomExtension(m1.yAction,m2.yAction);
    V = vectorBundleOnE m12;
    Ul=tensor(Mor,V);
    Ul1=tensor(Mor1,V);
    d0=unique degrees target Ul.yAction;
    d1=unique degrees target Ul1.yAction;
    #d1 >=3 or #d0 >=3) do ();
i13 : betti Ul.yAction, betti Ul1.yAction

               0  1          0  1
o13 = (total: 32 32, total: 32 32)
          -4: 16  .     -2: 32  .
          -3: 16  .     -1:  .  .
          -2:  .  .      0:  .  .
          -1:  . 16      1:  . 32
           0:  . 16

o13 : Sequence
i14 : elapsedTime Ul = tensor(M,V); -- the heaviest part computing the actions of generators
i15 : M1Ul=sum(#Ul.oddOperators,i->S_i*sub(Ul.oddOperators_i,S));

              32      32
o15 : Matrix S   <-- S
i16 : r=2

o16 = 2
i17 : Ulrich := M1Ul^{r*2^g..(2*r)*2^g-1};

              16      32
o17 : Matrix S   <-- S
i18 : Ulr=coker map(S^(r*2^g),,Ulrich);
i19 : minimalBetti Ulr

              0  1  2
o19 = total: 16 32 16
          0: 16 32 16

o19 : BettiTally
i20 : (g,r)=(3,4)

o20 = (3, 4)

o20 : Sequence
i21 : LabBookProtocol(g,r)

      g=3
      r=4
      kk= ZZ/101;
      elapsedTime (S,qq,R,u,M1,M2,Mu1,Mu2)=randomNicePencil(kk,g);
      P=kk[drop(gens S,-2)]
      gens P
      M=cliffordModule(Mu1,Mu2,R);
      Mor = vectorBundleOnE M.evenCenter;
      Mor1= vectorBundleOnE M.oddCenter;
      f = M.hyperellipticBranchEquation;
      assert(dim (ideal f + ideal jacobian ideal f) == 0);
      degSeq={1,2,3,4}
      elapsedTime while (
          V=randomLineBundle(degSeq#0,f);
          for i from 1 to r-1 do(
              m1=randomLineBundle(degSeq#i,f);
              m12=randomExtension(m1.yAction,V.yAction);
              V=vectorBundleOnE m12;
              );
          Ul=tensor(Mor,V);
          Ul1=tensor(Mor1,V);
          d0=unique degrees target Ul.yAction;
          d1=unique degrees target Ul1.yAction;
          #d1 >=3 or #d0 >=3) do ();
      betti Ul.yAction,betti Ul1.yAction
      elapsedTime Ul = tensor(M,V); -- the heaviest part computing the actions of generators
      M1Ul=sum(#Ul.oddOperators,i->S_i*sub(Ul.oddOperators_i,S));
      Ulrich = coker map(P^(r*2^g),,sub(M1Ul^{r*2^g..(2*r)*2^g-1},P));
      minimalBetti Ulrich
      elapsedTime qs=ann Ulrich
      ideal sub(diff((vars S)_{2*g+2,2*g+3},qq),P)==qs

See also

Ways to use LabBookProtocol:

  • LabBookProtocol(ZZ)
  • LabBookProtocol(ZZ,ZZ)

For the programmer

The object LabBookProtocol is a method function.


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