Skip to content

Commit

Permalink
file for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlin-Mallory committed Jun 5, 2024
1 parent 8e57922 commit b8644d8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions demo.m2
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
loadPackage "Divisor"
loadPackage "RuledSurfaces"

P1 = Proj QQ[x,y]
E = OO_P1^2
PE = projectiveBundle E
peek PE
X11 = imageOfLinearSeries(PE,OO_P1(1),1)
ideal X11
X22 = imageOfLinearSeries(PE,OO_P1(2),2)
(dim X22, dim ambient X22, degree X22)

S = (ZZ/101)[x,y,z]
C = Proj quotient ideal(x^3+y^3+z^3)
E = OO_C^1++OO_C(1)
PE = projectiveBundle E

imageOfLinearSeries(PE,OO_C(0),1)
imageOfLinearSeries(PE,OO_C(1),1)
minimalEmbedding PE


0 comments on commit b8644d8

Please sign in to comment.