The short Weierstrass curve
DefinitionZInQCurvenumber-theoryz-is-diophantine-in-q
This bundle defines, over any field , the short Weierstrass curve with equation , i.e. the Weierstrass curve with coefficients and . It is used for the congruent number curves over .
Definition code
import Mathlib
namespace ZInQ
open WeierstrassCurve WeierstrassCurve.Affine
variable {F : Type*} [Field F]
/-- The short Weierstrass curve y^2 = x^3 + A x. -/
def shortCurve (A : F) : WeierstrassCurve F where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := A
a₆ := 0
end ZInQSource
Read-back
What the Lean code literally says, in plain math · glm
For any field and any , is the Weierstrass curve over whose coefficients are , , , , . Its affine equation is . The definition is polymorphic in the field .