Theorems · Definition · algebraic geometry
WeierstrassCurve.Affine.slope
{F : Type u} → [Field F] → WeierstrassCurve.Affine F → [DecidableEq F] → F → F → F → F → FThe slope of the line through two nonsingular affine points (x₁, y₁) and (x₂, y₂) on a
Weierstrass curve W.
If x₁ ≠ x₂, then this line is the secant of W through (x₁, y₁) and (x₂, y₂), and has slope
(y₁ - y₂) / (x₁ - x₂). Otherwise, if y₁ ≠ -y₁ - a₁x₁ - a₃, then this line is the tangent of W
at (x₁, y₁) = (x₂, y₂), and has slope (3x₁² + 2a₂x₁ + a₄ - a₁y₁) / (2y₁ + a₁x₁ + a₃). Otherwise,
this line is vertical, in which case this returns the value 0.
This depends on W, and has argument order: x₁, x₂, y₁, y₂.
- Cited by
- 54 results in Mathlib
- Foundations
- Depth 45 from the axioms · uses propext, Quot.sound
- Assumes
- FieldDecidableEq
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites6
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Fieldstatement and proof · cited by 7,404
- WeierstrassCurve.a₁proof · cited by 272
- WeierstrassCurve.a₂proof · cited by 216
- WeierstrassCurve.a₄proof · cited by 187
- WeierstrassCurve.Affinestatement and proof · cited by 174
- WeierstrassCurve.Affine.negYproof · cited by 56
Cited by55
Results whose statement or proof uses this declaration.
- WeierstrassCurve.Affine.slope_of_X_nestatement · cited by 6
- WeierstrassCurve.Affine.nonsingular_addstatement and proof · cited by 5
- WeierstrassCurve.Affine.nonsingular_negAddstatement and proof · cited by 4
- WeierstrassCurve.Affine.addPolynomial_slopestatement and proof · cited by 3
- WeierstrassCurve.Affine.Point.add_of_Y_nestatement · cited by 3
- WeierstrassCurve.Jacobian.add_of_X_nestatement and proof · cited by 3
- WeierstrassCurve.Jacobian.add_of_Y_ne'statement and proof · cited by 3
- WeierstrassCurve.Projective.add_of_X_nestatement and proof · cited by 3
- WeierstrassCurve.Projective.add_of_Y_ne'statement and proof · cited by 3
- WeierstrassCurve.Affine.slope_of_Y_nestatement and proof · cited by 3
- WeierstrassCurve.Jacobian.addX_of_Z_ne_zerostatement and proof · cited by 2
- WeierstrassCurve.Projective.addX_of_Z_ne_zerostatement and proof · cited by 2