Binary Jacobi algorithm; fuel bounds every halving and reciprocity step.
Equations
- One or more equations did not get rendered due to their size.
- Hex.ECPP.CM.jacobi 0 x✝² x✝¹ x✝ = 0
Instances For
Fuel is linear in input bits; exhaustion conservatively returns zero.
Equations
- Hex.ECPP.CM.symbol a n = Hex.ECPP.CM.jacobi (4 * HexArith.bitLength n + 4) (a % n) n 1
Instances For
Bounded Tonelli–Shanks with a caller-supplied nonresidue. Even for a composite modulus, success requires the actual root equation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
A fixed portfolio; no subject-specific trace or factorization is stored.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Solve t² + d*v² = 4*n from a checked modular root. Odd discriminants
also try x² + d*y² = n, since a solution can have both coordinates even.
Even discriminants use the equivalent norm equation modulo n.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Candidate traces, including all extra associates for j=0 and j=1728.