Documentation

HexECPP.Data

inductive Hex.ECPP.Cert :

Mathematical data to prove an integer prime by elliptic curve primality proving (ECPP). The data must pass Hex.ECPP.check before it proves anything.

base cert uses an existing HexPrimality certificate. In step n a b x y discrInv inverses child, the curve is y² = x³ + a*x + b modulo n, the point is (x,y), and child certifies the prime scalar used to multiply the point. discrInv witnesses that 4*a³ + 27*b² is invertible; inverses justifies the divisions in that scalar multiplication. The checker also verifies the curve equation and the strict size condition needed for Hasse's bound.

Instances For
    @[instance_reducible]
    Equations
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The integer whose primality this certificate is intended to establish. Its primality follows only after the certificate passes the checker.

      Equations
      Instances For