"Source: Text/Geometry/Crv.text";
"Line: 5815";
"Date: Thu Sep 25 14:47:45 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Geometry/Crv.text, line: 5815
// Example: H124E34 ()
print "Example: H124E34";
ei := GetEchoInput();
SetEchoInput(true);
P<x,y,z> := ProjectiveSpace(Rationals(),2);
C := Curve(P,x^3*y+y^3*z+z^3*x);
D0 := CanonicalDivisor(C);
f := Basis(D0)[1];
D := D0+PrincipalDivisor(f);
IsEffective(D);
assert $1;
IsHypersurfaceDivisor(D);
SetEchoInput(ei);
