Brill--Noether parameters #
This module fixes the integer parameter conventions used throughout the
library. For a graph of genus g, the Brill--Noether rectangle associated to
rank r and degree d has height r + 1 and width g - d + r.
The existence predicate deliberately includes the degree equality. This makes duality and later arithmetic reductions insensitive to the particular divisor chosen as a witness.
The Brill--Noether number g - (r + 1) * (g - d + r).
Equations
- Utilities.bnNumber G r d = G.genus - (r + 1) * Utilities.rectangleWidth G r d
Instances For
There is a divisor of degree d and rank at least r on G.
Equations
- Utilities.BNExists G r d = ∃ (D : CFDiv G), CFDiv.degree D = d ∧ rank G D ≥ r
Instances For
The dual rank g - d + r - 1.
Equations
- Utilities.dualRank G r d = Utilities.rectangleWidth G r d - 1