Documentation

LeanPool.RiemannRochFunctionFields.EllipticCurve.ConcreteRegression

Concrete regression for the elliptic-curve development #

This file is an end-to-end smoke test: it instantiates the generic elliptic-curve theorems on a concrete Weierstrass curve over a concrete algebraically closed field, so that instance synthesis for the whole hypothesis pack is exercised for real.

We assemble the full k[X] / k⟮X⟯ algebra tower via the constructors in RiemannRoch.EllipticCurve.Instances, and then check that the public targets genus_eq_one, picTorsor, and picTorsor_compat_groupLaw elaborate on this concrete input.

All declarations live in the RiemannRochTest.EllipticCurve namespace so that the generic names k, curve, … do not leak into the root environment.

@[reducible, inline]

The concrete algebraically closed base field: the algebraic closure of .

Equations
Instances For

    The concrete Weierstrass curve y² = x³ - x over k = AlgebraicClosure.

    Equations
    Instances For

      curve is an elliptic curve: its discriminant 64 is a unit over a field of characteristic zero.

      The affine point (0, 0) is a nonsingular point of curve (here a₆ = 0 and a₄ = -1 ≠ 0).

      The instance tower on the abstract fraction field K #

      Each local instance is a constructor from RiemannRoch.EllipticCurve.Instances, introduced in strict dependency order so that the next one can synthesise the ones already in scope.

      @[instance_reducible]

      Item 1: the k[X]-algebra structure on K (Xx).

      Equations
      Instances For

        Item 1: compatibility of the k[X]-algebra with the coordinate-ring inclusion.

        @[instance_reducible]

        Item 2: the k⟮X⟯-algebra structure on K.

        Equations
        Instances For

          Item 2: the k[X] → k⟮X⟯ → K scalar tower.

          @[instance_reducible]

          Constant field: the k-algebra structure on K through k[X].

          Equations
          Instances For

            Constant field: the k → k[X] → K scalar tower.

            Item 5: over an algebraically closed base, the constant field is full.

            The headline targets, elaborated on the concrete input #