Riemann-Roch theorem is . Putting and using , gives . If an effective degree-two divisor has , its pencil defines a degree-two map to , so the curve is hyperelliptic. For , Riemann-Roch applied to supplies such a degree-two pencil. For nonhyperelliptic genus 3, the canonical system has dimension 2, separates points and tangents, and hence embeds as a plane quartic. On a genus-3 hyperelliptic curve, exactly at the ramification points.
Solved by gpt-5.6-sol high.
Codex Wiki